There is no such ServerPlugin: GremlinPlugin

I want to put some data in a Neo4j using a python script. I think bulbflow may be a simple way to do this.

I have this little script from my homepage and documents.

 #!/usr/bin/python from bulbs.neo4jserver import Graph g = Graph() james = g.vertices.create(name="James") 

But when I run it, I get this error:

 Traceback (most recent call last): File "./bulb.py", line 4, in <module> james = g.vertices.create(name="James") File "/usr/lib/python2.7/site-packages/bulbs/element.py", line 565, in create resp = self.client.create_vertex(data, keys=_keys) File "/usr/lib/python2.7/site-packages/bulbs/neo4jserver/client.py", line 424, in create_vertex return self.create_indexed_vertex(data, index_name, keys=keys) File "/usr/lib/python2.7/site-packages/bulbs/neo4jserver/client.py", line 1054, in create_indexed_vertex return self.gremlin(script,params) File "/usr/lib/python2.7/site-packages/bulbs/neo4jserver/client.py", line 384, in gremlin return self.request.post(path, params) File "/usr/lib/python2.7/site-packages/bulbs/rest.py", line 131, in post return self.request(POST, path, params) File "/usr/lib/python2.7/site-packages/bulbs/rest.py", line 186, in request return self.response_class(http_resp, self.config) File "/usr/lib/python2.7/site-packages/bulbs/neo4jserver/client.py", line 217, in __init__ self.handle_response(response) File "/usr/lib/python2.7/site-packages/bulbs/neo4jserver/client.py", line 249, in handle_response response_handler(response) File "/usr/lib/python2.7/site-packages/bulbs/rest.py", line 39, in not_found raise LookupError(http_resp) LookupError: ({'status': '404', 'access-control-allow-origin': '*', 'content-type': 'application/json; charset=UTF-8', 'content-length': '833', 'server': 'Jetty(9.0.5.v20130815)'}, '{\n "message" : "No such ServerPlugin: \\"GremlinPlugin\\"",\n "exception" : "PluginLookupException",\n "fullname" : "org.neo4j.server.plugins.PluginLookupException",\n "stacktrace" : [ "org.neo4j.server.plugins.PluginManager.extension(PluginManager.java:124)", "org.neo4j.server.plugins.PluginManager.invoke(PluginManager.java:165)", "org.neo4j.server.rest.web.ExtensionService.invokeGraphDatabaseExtension(ExtensionService.java:312)", "org.neo4j.server.rest.web.ExtensionService.invokeGraphDatabaseExtension(ExtensionService.java:134)", "java.lang.reflect.Method.invoke(Unknown Source)", "org.neo4j.server.rest.transactional.TransactionalRequestDispatcher.dispatch(TransactionalRequestDispatcher.java:139)", "org.neo4j.server.rest.security.SecurityFilter.doFilter(SecurityFilter.java:112)", "java.lang.Thread.run(Unknown Source)" ]\n}') 

bulbflow and Neo4j correctly installed according to http://bulbflow.com/download/ . Neo4j works with the default setting, and I can open http://localhost:7474/ .

Could you help me with this problem?

Thanks, FrostyX

+7
python neo4j bulbs
source share
2 answers

Starting with Neo4j 2.0, the gremlin plugin is no longer included. However, you can easily create and install it yourself, see https://github.com/neo4j-contrib/gremlin-plugin .

+5
source share

Yes, as @stefan said, with Neo4j 2 you have to install the Gremlin plugin manually on Neo4j Server. However, you can use Neo4j with a TinkerPop Rexster server - Rexster installs with the latest Gremlin, and Bulbs works with any server.

Cm...

+2
source share

All Articles