connormanning / entwine

Entwine - point cloud organization for massive datasets
https://entwine.io
Other
451 stars 128 forks source link

Entwine Can't Find File #213

Closed martincarlin87 closed 5 years ago

martincarlin87 commented 5 years ago

Hi,

I am trying to run the following docker command:

docker run -it -v ~/entwine:/entwine connormanning/entwine build \
    -i ~/entwine/test.laz \
    -o ~/entwine/test

but I receive this error:

Scanning input
1/1: /Users/martin/entwine/test.laz
Exception in pool task: During /Users/martin/entwine/test.laz: Unable to open stream for '/Users/martin/entwine/test.laz' with error 'No such file or directory'
SRS could not be determined
Encountered an error: No points found!
Exiting.

The test.laz is in the ~/entwine directory:

image

Any ideas on what I am doing wrong?

I also tried this from reading other issues but that didn't work either I'm afraid.

docker run -it -v ~/entwine:/entwine connormanning/entwine build \
    -i ~/opt/data/entwine/test.laz \
    -o ~/entwine/test
chrislcs commented 5 years ago

You are mounting ~/entwine to /entwine within the docker container. Entwine will run from within this docker container so you will need to adjust your command accordingly:

docker run -it -v ~/entwine:/entwine connormanning/entwine build \
    -i /entwine/test.laz \
    -o /entwine/test

(The ~ is removed from the paths)

martincarlin87 commented 5 years ago

ah, knew it would be something silly.

Thank you very much for your help @chrislcs - much appreciated.

Cheers, Martin