how to use ActiveRecord with Neo4j . i am using ActiveRecord with neoid and neography gem .but i am facing an issue with create a record with getting No such ServerPlugin: "GremlinPlugin",

29 wyświetleń
Przejdź do pierwszej nieodczytanej wiadomości

Nuttu Hariprasad

nieprzeczytany,
4 sie 2017, 15:45:354.08.2017
do Neo4j



hariprasad@Hari:~/Neo4J_Apps/sixth$ rake neo4j:start
Starting Neo4j...
WARNING: Max 1024 open files allowed, minimum of 40 000 recommended. See the Neo4j manual.
Starting Neo4j Server...WARNING: not changing user
process [6156]... waiting for server to be ready.... OK.
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 `<main>'2.3.0 :002 > 

Michael Hunger

nieprzeczytany,
17 wrz 2017, 22:21:2017.09.2017
do ne...@googlegroups.com
Best ask in the gitter channel of neo4jrb.io 

Michael

--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nuttu Hariprasad

nieprzeczytany,
18 wrz 2017, 02:57:5018.09.2017
do Neo4j
Thank you Michael Hunger


To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
Odpowiedz wszystkim
Odpowiedz autorowi
Przekaż
Nowe wiadomości: 0