Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for issue #78 #79

Merged
merged 2 commits into from
Feb 1, 2013
Merged

Fix for issue #78 #79

merged 2 commits into from
Feb 1, 2013

Conversation

digitalbias
Copy link
Contributor

Pull request for issue #78. Handles empty error messages from the server on 4xx..500 errors.

a 404 message can be returned from the server without having a message in it (when deleting from an index with key, value and id and an empty string is contained in the value)
Needed to specify which error in the spec. Fixed code so it works properly with the correct error now
maxdemarzi added a commit that referenced this pull request Feb 1, 2013
@maxdemarzi maxdemarzi merged commit e59ab33 into maxdemarzi:master Feb 1, 2013
@maxdemarzi
Copy link
Owner

Thanks!

@shamshul2007
Copy link

while trying to run the app https://github.com/neo4j-contrib/neo4j-heroku-seeds/tree/master/ruby/sinatra-neography
i am getting following error .please guide

sham@sham-HP:~/Desktop/neo4j-heroku-seeds-master/ruby/sinatra-neography$ ruby graphapp.rb
Awesome! Neo4j is available at http://localhost:7474
/var/lib/gems/1.9.1/gems/neography-1.0.9/lib/neography/connection.rb:150:in handle_4xx_500_response': Neography::NeographyError from /var/lib/gems/1.9.1/gems/neography-1.0.9/lib/neography/connection.rb:112:inevaluate_response'
from /var/lib/gems/1.9.1/gems/neography-1.0.9/lib/neography/connection.rb:37:in get' from /var/lib/gems/1.9.1/gems/neography-1.0.9/lib/neography/rest/nodes.rb:28:inroot'
from /var/lib/gems/1.9.1/gems/neography-1.0.9/lib/neography/rest.rb:67:in get_root' from graphapp.rb:34:increate_graph'
from graphapp.rb:58:in `

'

@maxdemarzi
Copy link
Owner

It's telling you that you don't have a root node for this graph. Stop Neo4j, find your neo4j directory, delete data/graph.db, start neo4j, try it again.

willkessler pushed a commit to willkessler/neography that referenced this pull request Apr 21, 2014
Disable neography.log in development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants