Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to install neo4django in virtual environment
    text
    copied!<p>I receive the error below when trying to install neo4django in my virtual environment. Not sure what the problem is. The server is running on my machine and py2neo works with the restful api, but not neo4django.</p> <p>I'm running ubuntu 12.0.4 with the latest version of neo4j installed (1.9-M01) and jdk 1.7 (openjkd) installed with JAVA_HOME pointing to: /usr/lib/jvm/java-7-openjdk-amd64</p> <blockquote> <p>Traceback (most recent call last): File "manage.py", line 10, in execute_from_command_line(sys.argv) File "/home/alan/workspace/neowiki/venv/local/lib/python2.7/site-packages/django/core/management/<strong>init</strong>.py", line 443, in execute_from_command_line utility.execute() File "/home/alan/workspace/neowiki/venv/local/lib/python2.7/site-packages/django/core/management/<strong>init</strong>.py", line 382, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/home/alan/workspace/neowiki/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv self.execute(*args, **options.<strong>dict</strong>) File "/home/alan/workspace/neowiki/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute output = self.handle(*args, **options) File "/home/alan/workspace/neowiki/neowiki/nodes/management/commands/testcmd.py", line 10, in handle pete = Person.objects.create(name='Pete') File "/home/alan/workspace/neowiki/venv/local/lib/python2.7/site-packages/neo4django/db/models/manager.py", line 41, in create return self.get_query_set().create(*<em>kwargs) File "/home/alan/workspace/neowiki/venv/local/lib/python2.7/site-packages/neo4django/db/models/query.py", line 747, in create return super(NodeQuerySet, self).create(</em>*kwargs) File "/home/alan/workspace/neowiki/venv/local/lib/python2.7/site-packages/django/db/models/query.py", line 377, in create obj.save(force_insert=True, using=self.db) File "/home/alan/workspace/neowiki/venv/local/lib/python2.7/site-packages/neo4django/db/models/base.py", line 325, in save return super(NodeModel, self).save(using=using, **kwargs) File "/home/alan/workspace/neowiki/venv/local/lib/python2.7/site-packages/django/db/models/base.py", line 463, in save self.save_base(using=using, force_insert=force_insert, force_update=force_update) File "/home/alan/workspace/neowiki/venv/local/lib/python2.7/site-packages/neo4django/db/models/base.py", line 340, in save_base self._save_neo4j_node(using) File "", line 2, in _save_neo4j_node File "/home/alan/workspace/neowiki/venv/local/lib/python2.7/site-packages/neo4django/db/models/base.py", line 115, in trans_method ret = func(*args, **kw) File "/home/alan/workspace/neowiki/venv/local/lib/python2.7/site-packages/neo4django/db/models/base.py", line 370, in _save_neo4j_node typesToIndex=type_names_to_index) File "/home/alan/workspace/neowiki/venv/local/lib/python2.7/site-packages/neo4django/neo4jclient.py", line 179, in gremlin_tx return self.gremlin(script, tx=True, **params) File "/home/alan/workspace/neowiki/venv/local/lib/python2.7/site-packages/neo4django/neo4jclient.py", line 168, in gremlin params) File "/home/alan/workspace/neowiki/venv/local/lib/python2.7/site-packages/neo4django/neo4jclient.py", line 153, in send_script script_rv = ext.execute_script(s, params=params, **execute_kwargs) File "/home/alan/workspace/neowiki/venv/local/lib/python2.7/site-packages/neo4jrestclient/client.py", line 1960, in <strong>call</strong> raise StatusException(response.status, msg) neo4jrestclient.request.StatusException: Error [400]: Bad Request. Bad request syntax or unsupported method. Invalid data sent: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script4.groovy: 94: unable to resolve class org.neo4j.cypher.javacompat.CypherParser @ line 94, column 1.<br> import org.neo4j.cypher.javacompat.CypherParser ^</p> <p>1 error</p> </blockquote> <p>My requirements.txt includes:</p> <p>-e git://github.com/scholrly/neo4django.git@eefdf6a122fdbe26c62b6563f9ff6b30a4de2f93#egg=neo4django-dev</p> <p>neo4jrestclient==1.7.0</p> <p>Any help is greatly appreciated!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload