ODM icon indicating copy to clipboard operation
ODM copied to clipboard

python: can't open file '../OpenDroneMap/run.sh': [Errno 2] No such file or directory

Open Bavar2142 opened this issue 10 years ago • 8 comments

home/gis/Pictures# ../OpenDroneMap/run.py bash: ../OpenDroneMap/run.py: Permission denied

Anyone got ideas as to how i'd get around the above issue?

Bavar2142 avatar Jun 29 '16 05:06 Bavar2142

try: home/gis/Pictures# python ../OpenDroneMap/run.py

Fi156 avatar Jun 29 '16 05:06 Fi156

~/Pictures$ python ../OpenDroneMap/run.py Traceback (most recent call last): File "../OpenDroneMap/run.py", line 8, in import ecto File "/home/gis/OpenDroneMap/SuperBuild/install/lib/python2.7/dist-packages/ecto/init.py", line 30, in from ecto.ecto_main import _cell_base, _cell_cpp, getitem_list, getitem_slice, getitem_str, getitem_tuple, lookup ImportError: libecto.so.0.6: cannot open shared object file: No such file or directory

is what i get. Does that help?

Bavar2142 avatar Jun 29 '16 05:06 Bavar2142

I have the images themselves within a folder called images in the Pictures folder.

Bavar2142 avatar Jun 29 '16 05:06 Bavar2142

This is what I get when I try to run it in the images folder:

/Pictures/images$ python ../OpenDroneMap/run.sh python: can't open file '../OpenDroneMap/run.sh': [Errno 2] No such file or directory

Bavar2142 avatar Jun 29 '16 05:06 Bavar2142

I am currently running a clean install of Ubuntu 16.04 if that helps.

Bavar2142 avatar Jun 29 '16 07:06 Bavar2142

If I understand correctly, your ODM install is here: /home/gis/OpenDroneMap

If that is the case, then it would be easier to cd /home/gis/OpenDroneMap then

./run.sh --project-path /home/gis/Pictures`

dakotabenjamin avatar Jun 29 '16 17:06 dakotabenjamin

Bingo. Thanks for all the help and patience.

Bavar2142 avatar Jun 29 '16 23:06 Bavar2142

@Bavar2142 it looks like the problem was that you have to call run.sh from within the ODM directory, that's all.

dakotabenjamin avatar Jul 01 '16 15:07 dakotabenjamin