GithubHelp home page GithubHelp logo

Query failed about bolt_sips HOT 12 CLOSED

florinpatrascu avatar florinpatrascu commented on June 28, 2024
Query failed

from bolt_sips.

Comments (12)

florinpatrascu avatar florinpatrascu commented on June 28, 2024 1

Awesome! Thank you for the feedback!

from bolt_sips.

caldempsey avatar caldempsey commented on June 28, 2024 1

Working now :) +1

from bolt_sips.

florinpatrascu avatar florinpatrascu commented on June 28, 2024

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.

from bolt_sips.

sweco-semtne avatar sweco-semtne commented on June 28, 2024

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

from bolt_sips.

florinpatrascu avatar florinpatrascu commented on June 28, 2024

Hi Mats,

It's as simple as adding this: {:bolt_sips, github: "florinpatrascu/bolt_sips"}, to your dependencies, in the mix.exs.

HTH
Florin

from bolt_sips.

leveloid avatar leveloid commented on June 28, 2024

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}

from bolt_sips.

florinpatrascu avatar florinpatrascu commented on June 28, 2024

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"}

from bolt_sips.

florinpatrascu avatar florinpatrascu commented on June 28, 2024

any feedback for this issue?

from bolt_sips.

sweco-semtne avatar sweco-semtne commented on June 28, 2024

Hi Florin,
0.4.12 works great for me.
Thank you!

from bolt_sips.

florinpatrascu avatar florinpatrascu commented on June 28, 2024

@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 :)

from bolt_sips.

caldempsey avatar caldempsey commented on June 28, 2024

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!

from bolt_sips.

florinpatrascu avatar florinpatrascu commented on June 28, 2024

Haha thank you! ❤️

from bolt_sips.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.