I just uploaded bindings I'm working on to GitHub.  They work well for me,
though minimally tested.  They're for CPython only and JCC must be installed
first.

https://github.com/OneSaidWho/neo4py

Hope they help you out.  Feedback and testing much appreciated!  Let me know
what errors you get.  I'm running python 2.6 on OSX 10.6

Aaron


On Wed, Jun 1, 2011 at 9:11 AM, Boris Kizelshteyn <bo...@popcha.com> wrote:

> So I have built jpype+jython+neo4j python on an Fedora machine and it seems
> to work. The weird thing is that I never installed neo4j on its own. I have
> a directory called "/neo4j-db/path" in the jython directory and that's it.
> Where is the rest of the db (server, tools, etc?). What I'm really trying
> to
> do is get this working on my AWS instance which is ubuntu and there
> everything is installed discretely and I thought logically, but when I call
> the db I get:
>
> >>> import
> neo4j
> >>> graphdb = neo4j.GraphDatabase(
> "/opt/neo4j/neo4j-community-1.4.M02/data/graph.db" )
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File "/opt/jython/jython-2.5.2/Lib/site-packages/neo4j/__init__.py", line
> 522, in __new__
>    neo = core.load_neo(resource_uri, params)
>  File "/opt/jython/jython-2.5.2/Lib/site-packages/neo4j/_core.py", line
> 332, in load_neo
>    return load_neo(resource_uri, parameters)
>  File "/opt/jython/jython-2.5.2/Lib/site-packages/neo4j/_core.py", line
> 225, in load_neo
>    return GraphDatabase(resource_uri, settings, config, log)
>  File "/opt/jython/jython-2.5.2/Lib/site-packages/neo4j/_core.py", line
> 230, in __init__
>    neo = backend.load_neo(resource_uri, settings)
>  File
> "/opt/jython/jython-2.5.2/Lib/site-packages/neo4j/_backend/__init__.py",
> line 74, in load_neo
>    return impl(resource_uri, implementation.make_map(settings))
>    at
>
> org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java:148)
>    at org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:123)
>    at
> org.neo4j.kernel.EmbeddedGraphDbImpl.<init>(EmbeddedGraphDbImpl.java:89)
>    at
>
> org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:76)
>    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>    at
>
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>    at
>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>    at
>
> org.python.core.PyReflectedConstructor.constructProxy(PyReflectedConstructor.java:210)
>
> org.neo4j.kernel.impl.transaction.TransactionFailureException:
> org.neo4j.kernel.impl.transaction.TransactionFailureException: Could not
> create data source [nioneodb], see nested exception for cause of error
>
> Please, Please help!
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to