On Mon, Sep 21, 2015 at 7:39 PM, Gilles Delpech <[email protected]> wrote:
> I have an error when I use oetl.sh
>
>
> OrientDB etl v.2.1.2 (build @BUILD@) www.orientdb.com
>
> Exception in thread "main"
> com.orientechnologies.orient.core.exception.OConfigurationException: Error
> on creating ETL processor
>
> at
> com.orientechnologies.orient.etl.OETLProcessor.parse(OETLProcessor.java:278)
>
> at
> com.orientechnologies.orient.etl.OETLProcessor.parse(OETLProcessor.java:186)
>
> at
> com.orientechnologies.orient.etl.OETLProcessor.main(OETLProcessor.java:161)
>
> Caused by: com.orientechnologies.orient.etl.source.OSourceException: [File
> source] path '../posts.csv' not exists

So, the file post isn't where you think it is :)

The path is relative to the current working dir.
So, if you launch oetl.sh from folder bin, ../posts.csv refers to a
file that is on orientdb dir:

orientdb/
     bin/
     databases/

I suggest to use absolute paths or even relative path to a knonw root,
such ad ~/my/relative/path/to/file.csv

If you are in dubt, use absolute path.

Best regards,
RF

-- 
Roberto Franchini
"L'impossibile รจ inevitabile"
jabber:[email protected] skype:ro.franchini

-- 

--- 
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.

Reply via email to