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

getting error Neography::NeographyError: NeographyError: when i am using ActiveRecord with neo4j #44

Open
HariprasadNuttu opened this issue Aug 29, 2017 · 0 comments

Comments

@HariprasadNuttu
Copy link

hariprasad@Hari:~/Neo4J_Apps/sixth$ rails c
Running via Spring preloader in process 6236
Loading development environment (Rails 4.2.3)
2.3.0 :001 > Book.create(title:"haripr")
(0.1ms) begin transaction
SQL (0.3ms) INSERT INTO "books" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "haripr"], ["created_at", "2017-08-04 14:07:54.288748"], ["updated_at", "2017-08-04 14:07:54.288748"]]
(0.1ms) rollback transaction
Neography::NeographyError: NeographyError:
--message: No such ServerPlugin: "GremlinPlugin",
--code: 404,
--stacktrace: ,
--request: {:path=>"/db/data/ext/GremlinPlugin/graphdb/execute_script", :body=>"{"script":" q = g.v(0).out(neo_subref_rel_type);\n\n subref = q.hasNext() ? q.next() : null;\n\n if (!subref) {\n subref = g.addVertex([name: neo_subref_rel_type, type: name]);\n g.addEdge(g.v(0), subref, neo_subref_rel_type);\n }\n\n subref\n","params":{"neo_subref_rel_type":"books_subref","name":"Book"}}"},
--index: 0
from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/neography-1.8.0/lib/neography/connection.rb:250:in raise_errors' from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/neography-1.8.0/lib/neography/connection.rb:222:in handle_4xx_500_response'
from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/neography-1.8.0/lib/neography/connection.rb:193:in return_result' from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/neography-1.8.0/lib/neography/connection.rb:164:in evaluate_response'
from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/neography-1.8.0/lib/neography/connection.rb:76:in block (3 levels) in <class:Connection>' from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/neography-1.8.0/lib/neography/connection.rb:89:in log'
from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/neography-1.8.0/lib/neography/connection.rb:67:in block (2 levels) in <class:Connection>' from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/neography-1.8.0/lib/neography/rest/gremlin.rb:14:in execute_script'
from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/neoid-0.2.1/lib/neoid.rb:122:in execute_script_or_add_to_batch' from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/neoid-0.2.1/lib/neoid/node.rb:73:in neo_subref_node'
from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/neoid-0.2.1/lib/neoid/node.rb:134:in _neo_save' from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/neoid-0.2.1/lib/neoid/model_additions.rb:56:in neo_save'
from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/neoid-0.2.1/lib/neoid/model_additions.rb:50:in neo_save_after_model_save' from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:430:in block in make_lambda'
from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:226:in block in halting_and_conditional' from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:504:in block in call'
... 20 levels...
from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/railties-4.2.3/lib/rails/commands/console.rb:9:in start' from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:68:in console'
from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:39:in run_command!' from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/railties-4.2.3/lib/rails/commands.rb:17:in <top (required)>'
from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in require' from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in block in require'
from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:240:in load_dependency' from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in require'
from /home/hariprasad/Neo4J_Apps/sixth/bin/rails:9:in <top (required)>' from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:268:in load'
from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:268:in block in load' from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:240:in load_dependency'
from /home/hariprasad/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:268:in load' from /usr/share/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require'
from /usr/share/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' from -e:1:in

'2.3.0 :002 >

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

No branches or pull requests

1 participant