Hi Peter, You're right: when reopening in gremlin, same recovery message. I will report this issue + node 0 to gremlin mailing list.
Thanks, Pierre 2011/6/9 Peter Neubauer <[email protected]> > Pierre, > it seems that the db is not closed properly, it tries to resolve > transaction upon startup. Could you try the same by opening it the > second time with gremlin again? I am suspecting that node 0 is removed > by Marko ;) and the import is not committed so the nodes are not there > upon the next startup? > > Cheers, > > /peter neubauer > > GTalk: neubauer.peter > Skype peter.neubauer > Phone +46 704 106975 > LinkedIn http://www.linkedin.com/in/neubauer > Twitter http://twitter.com/peterneubauer > > http://www.neo4j.org - Your high performance graph database. > http://startupbootcamp.org/ - Ă–resund - Innovation happens HERE. > http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. > > > > On Thu, Jun 9, 2011 at 12:52 PM, Pierre De Wilde > <[email protected]> wrote: > > Hey, > > > > When creating a Neo4jGraph from gremlin (1.1-SNAPSHOT), I cannot change > node > > in neo4j-shell (1.4-M03). > > It's probably related to inexistent root node 0... > > > > Here is the steps to reproduce this issue: > > > > ~$ gremlin > > > > \,,,/ > > (o o) > > -----oOOo-(_)-oOOo----- > > gremlin> g = new Neo4jGraph("/data/neo4j/tinkergraph") > > ==>neo4jgraph[EmbeddedGraphDatabase [/data/neo4j/tinkergraph]] > > gremlin> g.loadGraphML("data/graph-example-1.xml") > > ==>null > > gremlin> g.V.count() > > ==>6 > > gremlin> g.E.count() > > ==>6 > > gremlin> g.shutdown() > > ==>null > > gremlin> quit > > > > ~$ neo4j-shell -path /data/neo4j/tinkergraph > > Jun 9, 2011 12:34:17 PM org.neo4j.kernel.impl.transaction.TxManager init > > INFO: Unresolved transactions found, recovery started ... > > Jun 9, 2011 12:34:17 PM org.neo4j.kernel.impl.transaction.TxManager init > > INFO: Recovery completed, all transactions have been resolved to a > > consistent state. > > NOTE: Local Neo4j graph database service at '/data/neo4j/tinkergraph' > > Welcome to the Neo4j Shell! Enter 'help' for a list of commands > > > > neo4j-sh \W$ ls 1 > > *age =[29] > > *name =[marko] > > (marko,1) --[created]-> (lop,3) > > (marko,1) --[knows]-> (josh,4) > > (marko,1) --[knows]-> (vadas,2) > > neo4j-sh \W$ pwd > > org.neo4j.graphdb.NotFoundException: Node[0] > > neo4j-sh \W$ cd -a 1 > > org.neo4j.graphdb.NotFoundException: Node[0] > > > > > > Thanks beforehand for you help, > > Pierre > > _______________________________________________ > > Neo4j mailing list > > [email protected] > > https://lists.neo4j.org/mailman/listinfo/user > > > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

