Closed sweco-semtne closed 6 years ago
Thank you so much for trying our driver. And I apologize for the issue. We’re between versions and there are few caveats which are now affecting your deployment. Can you use bolt_sips, from master?! If not, then use it from hexpm but please move the boltex dep one version down, in your dependencies I will post a fix as soon as possible. Please let me know how it goes.
No need to apologize. Keep up the good work! How can I use the master version? Point at git in mix.exs? {:bolt, git: "https://github.com/florinpatrascu/bolt_sips.git"}
Unchecked dependencies for environment dev:
* bolt (https://github.com/florinpatrascu/bolt_sips.git)
could not find an app file at "_build/dev/lib/bolt/ebin/bolt.app". This may happen if the dependency was not yet compiled, or you specified the wrong application name in your deps, or the dependency indeed has no app file (then you can pass app: false as option)
** (Mix) Can't continue due to errors on dependencies
Update: I works better if you call the application by its correct name :bolt_sips ... Having done that I can build it :-)
Running with the example readme I get this from master.
{:ok, pid} = Bolt.Sips.start_link(url: "localhost")
[error] GenServer #PID<0.1585.0> terminating
** (WithClauseError) no with clause matching: {:ok, %{"server" => "Neo4j/3.3.1"}}
(bolt_sips) lib/bolt_sips/protocol.ex:28: Bolt.Sips.Protocol.connect/1
(db_connection) lib/db_connection/connection.ex:134: DBConnection.Connection.connect/2
(connection) lib/connection.ex:622: Connection.enter_connect/5
(stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
Last message: nil
Hi Mats,
It's as simple as adding this: {:bolt_sips, github: "florinpatrascu/bolt_sips"}
, to your dependencies, in the mix.exs
.
HTH Florin
I'm seeing the same:
[error] GenServer #PID<0.2662.0> terminating
** (WithClauseError) no with clause matching: {:ok, %{"server" => "Neo4j/3.2.7"}}
(bolt_sips) lib/bolt_sips/protocol.ex:28: Bolt.Sips.Protocol.connect/1
(db_connection) lib/db_connection/connection.ex:134: DBConnection.Connection.connect/2
(connection) lib/connection.ex:622: Connection.enter_connect/5
(stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
Last message: nil
State: Bolt.Sips.Protocol
with these in my mix.exs:
{:bolt_sips, github: "florinpatrascu/bolt_sips"},
{:db_connection, github: "elixir-ecto/db_connection", override: true}
sorry, my fault again. Please use everything from hex.pm.
I just published a maintenance release for Bolt.Sips; v0.4.12, here: {:bolt_sips, "~> 0.4.12"}
any feedback for this issue?
Hi Florin, 0.4.12 works great for me. Thank you!
Awesome! Thank you for the feedback!
Working now :) +1
@mmacheerpuppy - glad the mystery is solved :) However, you should probably use the master
version from now on, as we committed a bunch of bug fixes and improvements lately. HTH, and let us know how it goes :)
Hey florin thank you so much. Had a few drinks at the bar but I'd like to extend my love and respect to you and your team. Buy everyone coffee on me! Cheers!
Haha thank you! ❤️
Hi Florin, I would like to thank you for a great library! But, I'm having troubles running through the example in the readme.
I get this match error: "no function clause matching in :gen_tcp.send/2"
I'm using Erlang 20 and Elixir 1.5.2 and Bolt 0.4.11 (latest from Hex)