Maybe you're deleting a node which still has relationships left? All
relationships on deleted nodes must be deleted in the same transaction.

2010/8/19 Dan Gould <d...@dangould.com>

> I'm trying to delete all the nodes in my graph.  I iterate over all
> relationships and delete them successfully.  Then I iterate over all the
> nodes and delete them (all node deletion is one transaction).
>
> Every once in awhile, I get:
>
> in
>     node.delete()
>   File "virtualenv/lib/python2.6/site-packages/neo4j/_core.py", line
> 297, in__exit__
>     self.__tx.finish()
> java.lang.RuntimeExceptionPyRaisable:
> org.neo4j.kernel.impl.transaction.TransactionFailureException: Unable to
> commit transaction
>
> Once this has occurred, I can't delete that node: the same thng happens
> each time I try to delete it.
>
> Any ideas?
>
> Thanks,
> Dan
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to