maxdemarzi / neography

A thin Ruby wrapper to the Neo4j Rest API
MIT License
602 stars 135 forks source link

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

Open HariprasadNuttu opened 7 years ago

HariprasadNuttu commented 7 years ago

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:inhandle_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:inevaluate_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:inlog' 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:inexecute_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:inneo_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:inneo_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:inblock 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:inblock 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:inconsole' 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:inblock 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:inrequire' 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:inload' 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:inload_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:inrequire' 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 >