Hi all

I am having trouble creating a TinkerGraph on a writable empty directory
with the code line

        graph = new TinkerGraph(graphdbpath, TinkerGraph.FileType.JAVA);

or even with

        graph = new TinkerGraph(graphdbpath);

It should run, but instead it throws an exception (see below).

How could I fix this ???

Thanks a lot in advance

Regards Fabio



PS: The dir /Users/fabio/tmp/OrientDBtest/graph/db is writable and empty!

Exception in thread "main" java.lang.RuntimeException:
/Users/fabio/tmp/OrientDBtest/graph/db/tinkergraph.dat (No such file or
directory)
    at
com.tinkerpop.blueprints.impls.tg.TinkerGraph.init(TinkerGraph.java:145)
    at
com.tinkerpop.blueprints.impls.tg.TinkerGraph.<init>(TinkerGraph.java:114)
    at com.semweb.load.OrientDBLoader.graphinit(OrientDBLoader.java:53)
    at com.semweb.load.OrientDBLoader.main(OrientDBLoader.java:88)
Caused by: java.io.FileNotFoundException:
/Users/fabio/tmp/OrientDBtest/graph/db/tinkergraph.dat (No such file or
directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at java.io.FileInputStream.<init>(FileInputStream.java:93)
    at
com.tinkerpop.blueprints.impls.tg.TinkerStorageFactory$JavaTinkerStorage.load(TinkerStorageFactory.java:213)
    at
com.tinkerpop.blueprints.impls.tg.TinkerGraph.init(TinkerGraph.java:135)
    ... 3 more

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to