No such file or directory?


#1

From @OrangOrangUtan on Thu Dec 21 2017 22:08:14 GMT+0000 (UTC)

I am running OpenDroneMap on Ubuntu 16.04 (on a machine with 32 GB RAM) after no luck using a Macbook Air. Running into the following issue:

Generating texture views: 
NVM: Loading file...
NVM: Number of views: 75
NVM: Number of features: 0
        Loading 0%...terminate called after throwing an instance of 'util::FileException'
  what():  No such file or directory
Aborted (core dumped)
Traceback (most recent call last):
  File "/code/run.py", line 47, in <module>
    plasm.execute(niter=1)
  File "/code/scripts/mvstex.py", line 124, in process
    '{keepUnseenFaces}'.format(**kwargs))
  File "/code/opendm/system.py", line 34, in run
    raise Exception("Child returned {}".format(retcode))
Exception: Child returned 134

I tried adding the setting --use-opensfm-pointcloud in accordance with https://github.com/OpenDroneMap/OpenDroneMap/issues/486. It didn’t seem to work:

$ sudo docker run -it --rm -v $(pwd)/images:/code/images -v $(pwd)/odm_orthophoto:/code/odm_orthophoto -v $(pwd)/odm_texturing:/code/odm_texturing opendronemap/opendronemap --use-opensfm-pointcloud
sudo: unable to resolve host ip-172-30-0-212
usage: run.py [options] <project name>
run.py: error: unrecognized arguments: --use-opensfm-pointcloud
```<br /><br /><i>Copied from original issue: https://github.com/OpenDroneMap/OpenDroneMap/issues/731</i>

#2

From @pierotofy on Wed Jan 03 2018 23:15:28 GMT+0000 (UTC)

Hey @OrangOrangUtan, could you copy paste the entire output from the console? Perhaps something went wrong with an earlier stage of the process.


#3

I encountered the same problem, but in the windows , how to solve this trouble?


#4

How are you installing opendronemap? Can you post the contents of your texturing directory?


#5

I’m having this exact problem and currently am troubleshooting. I am running ODM through docker on ubuntu


#6

The problem here, as I finally discovered, is that I my image filenames had characters that caused the process to fail.

The filenames were batch2 (2).jpg, batch (3).jpg, batch (4).jpg, etc. This is a result of taking over 1000 images with a DJI drone where the naming starts over at 1000 and images are stored in separate folders during flight. I was forced to batch change the filenames so that they could all be in the same folder. Windows always adds a parenthesis and a space which caused the failure. When I used those filenames in Ubuntu the process failed.