Hi,

I am using neo4j.py and I created an index using the command

index = neo.index("nodes", create=True)

When I try to access the index from another script using

index = neo.index("nodes")

with the same database data directory, I get:

Traceback (most recent call last):
  File "incidenceMatrix.py", line 8, in <module>
    index = neo.index("nodes")
  File 
"/Library/Python/2.6/site-packages/Neo4j.py-0.1_SNAPSHOT-py2.6.egg/neo4j/__init__.py",
line 433, in index
    return self.__index.get(name, options, create)
  File 
"/Library/Python/2.6/site-packages/Neo4j.py-0.1_SNAPSHOT-py2.6.egg/neo4j/_index.py",
line 47, in get
    raise KeyError("No index named '%s'." % name)
KeyError: "No index named 'nodes'."

What am I doing wrong?

TIA,
Ryan
_______________________________________________
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to