I'm away from the computer in question now, but I did have that
directory, and it did contain files. I've also tried installing to a
directory in my home directory, i.e. no sudo involved, and everything
seemed to install just fine. But still no backend when actually
running.

Is there a list of the files needed to be in that directory



On Tue, Mar 16, 2010 at 9:43 PM, Tobias Ivarsson
<[email protected]> wrote:
> Your previous error indicated that the dependencies directory could not be
> created during the setup, this is where all the java libraries gets
> downloaded to. Could you make sure that your Neo4j python install directory
> (seems to be /usr/local/jython/Lib/site-packages/neo4j in your case)
> contains a directory called "classes", and that it contains the necessary
> jar-files? Since this directory contains jar-files and not class-files, it
> will not work as CLASSPATH, so your CLASSPATH setting does not add anything.
> The Neo4j python bindings will automatically discover the jar files in this
> directory and add them to sys.path in Jython, so you don't have to manage
> the CLASSPATH on your own.
>
> -Tobias
>
> On Tue, Mar 16, 2010 at 4:50 PM, Erik Ask <[email protected]> wrote:
>
>> Tobias Ivarsson wrote:
>> > It looks very strange. Which version of Jython are you using?
>> >
>> > On Tue, Mar 16, 2010 at 4:12 PM, Erik Ask <[email protected]> wrote:
>> >
>> >
>> >> Hello, I'm having trouble installing neo4j.py
>> >>
>> >>
>> >>> sudo jython setup.py install
>> >>>
>> >> root's password:
>> >> warning: /root/.jython is a directory, not a file
>> >> *sys-package-mgr*: processing new jar, '/usr/local/jython/jython.jar'
>> >> *sys-package-mgr*: processing new jar,
>> >> '/usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/lib/resources.jar'
>> >> *sys-package-mgr*: processing new jar,
>> >> '/usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/lib/rt.jar'
>> >> *sys-package-mgr*: processing new jar,
>> >> '/usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/lib/jsse.jar'
>> >> *sys-package-mgr*: processing new jar,
>> >> '/usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/lib/jce.jar'
>> >> *sys-package-mgr*: processing new jar,
>> >> '/usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/lib/charsets.jar'
>> >> *sys-package-mgr*: processing new jar,
>> >> '/usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/lib/ext/localedata.jar'
>> >> *sys-package-mgr*: processing new jar,
>> >> '/usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/lib/ext/sunpkcs11.jar'
>> >> *sys-package-mgr*: processing new jar,
>> >> '/usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/lib/ext/dnsns.jar'
>> >> *sys-package-mgr*: processing new jar,
>> >> '/usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/lib/ext/sunjce_provider.jar'
>> >> Traceback (most recent call last):
>> >>  File "setup.py", line 146, in <module>
>> >>    main()
>> >>  File "setup.py", line 104, in main
>> >>    for dependency,include in
>> pom.download_dependencies(dependencies_path):
>> >>  File "/usr/matematik/erikask/python/neo4j-python/pom.py", line 67,
>> >> in download_dependencies
>> >>    os.mkdir(destination)
>> >>  File "/usr/local/jython/Lib/os.py", line 309, in mkdir
>> >>    raise OSError(err, msg, path)
>> >> OSError: [Errno 0] couldn't make directory: 'dependencies'
>> >>
>> >> Does this look familiar to anyone??
>> >> _______________________________________________
>> >> Neo mailing list
>> >> [email protected]
>> >> https://lists.neo4j.org/mailman/listinfo/user
>> >>
>> >>
>> >
>> >
>> >
>> >
>> 2.5.1 Just installed it from their homepage
>>
>> I was actually able to finish the installation by rerunning it without
>> sudo, checking what directories weren't created
>> (/usr/local/jython/Lib/site-packages/neo4j in this case) crating them,
>> sudo chmod a+w. I'm guessing it relates to the system setup I have with
>> some discs being nfs mounted with other root accounts (although none of
>> those were involved in this so I'm not sure)
>>
>> Now I'm getting another error instead (while running a script):
>>
>> Traceback (most recent call last):
>>   File "initialtests.py", line 15, in <module>
>>    qq=BOWQueries('/home/erikask/neo4j')
>>  File "neo_mser_db.py", line 159, in __init__
>>    self.neo=setup_neo(db)
>>  File "neo_mser_db.py", line 17, in setup_neo
>>    return neo4j.NeoService(store)
>>  File "/usr/local/jython/Lib/site-packages/neo4j/__init__.py", line
>> 517, in __new__
>>    neo = core.load_neo(resource_uri, params)
>>  File "/usr/local/jython/Lib/site-packages/neo4j/_core.py", line 180,
>> in load_neo
>>    backend.initialize(**parameters)
>>  File "/usr/local/jython/Lib/site-packages/neo4j/_backend/__init__.py",
>> line 61, in initialize
>>    raise ImportError("No applicable backend found.")
>> ImportError: No applicable backend found.
>> erik...@lebesgue:~/python/neovision> echo $JAVA_HOME
>> /usr/lib64/jvm/java
>> erik...@lebesgue:~/python/neovision> echo $CLASSPATH
>> /usr/local/jython/Lib/site-packages/neo4j/classes/
>>
>> JAVA_HOME, CLASSPATH is set as above. I don't know if this relates to my
>> previous error
>> _______________________________________________
>> Neo mailing list
>> [email protected]
>> https://lists.neo4j.org/mailman/listinfo/user
>>
>
>
>
> --
> Tobias Ivarsson <[email protected]>
> Hacker, Neo Technology
> www.neotechnology.com
> Cellphone: +46 706 534857
> _______________________________________________
> Neo mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to