Error on running odm -- 'No Module named 'appsettings'


#1

From @leeprevost on Sat Nov 18 2017 13:18:21 GMT+0000 (UTC)

I created an odm image using option 2 replication from github.

On my first run, I entered the command line as instructed and got the following traceback.

Traceback (most recent call last):
File “run.py”, line 4, in
from opendm import config
File “C:\Users\lprevost\odm\OpenDroneMap\opendm\config.py”, line 6, in
from appsettings import SettingsParser
ModuleNotFoundError: No module named 'appsettings’

Copied from original issue: https://github.com/OpenDroneMap/OpenDroneMap/issues/716


#2

From @dakotabenjamin on Tue Nov 28 2017 16:04:58 GMT+0000 (UTC)

Can you try reinstalling? ./configure.sh reinstall 1


#3

I replied to this issue on the github project as well

I have this same issue.
Ubuntu, 16.04.5 LTS; following the instructions here.
I’m attempting the reinstall right now.

Three points of inquiry:

  1. I had to install with sudo (sudo bash configure.sh install), or the installation failed with permissions errors. Is this going to cause errors later? (I may have used the poor practice of [sudo pip...]
  2. In the above-linked-to quickstart, the instructions include bash for initiating the install script. Is this necessary, since elsewhere in the docs it simply says ./configure.sh (vs bash ./configure.sh)
  3. Does reinstall require the 1, or is it sufficient to execute sudo ./configure.sh reinstall?

#4

Reinstall completed; I’m still getting the same error.

user@host:~/drone/data$ cd -
/home/user/drone/code/OpenDroneMap-0.4-RC1
user@host:~/drone/code/OpenDroneMap-0.4-RC1$ ./run.sh /home/user/drone/data/
aukerman/                         stadium/
Fay_Stadium_Pic_Adj2_sources.zip  
user@host:~/drone/code/OpenDroneMap-0.4-RC1$ ./run.sh /home/user/drone/data/aukerman/
master.zip                odm_data_aukerman-master/ 
user@host:~/drone/code/OpenDroneMap-0.4-RC1$ ./run.sh /home/user/drone/data/aukerman/odm_data_aukerman-master/
aukerman.png  images/       README.md     
user@host:~/drone/code/OpenDroneMap-0.4-RC1$ ./run.sh /home/user/drone/data/aukerman/odm_data_aukerman-master/
Traceback (most recent call last):
  File "/home/user/drone/code/OpenDroneMap-0.4-RC1/run.py", line 4, in <module>
    from opendm import config
  File "/home/user/drone/code/OpenDroneMap-0.4-RC1/opendm/config.py", line 5, in <module>
    from appsettings import SettingsParser
ImportError: No module named appsettings
user@host:~/drone/code/OpenDroneMap-0.4-RC1$  

What can I try next? I do have the entire output from the reinstall. It’s giving me issues putting the text into pastebin, but I’ll try again shortly and see if I successfully paste and share the link here…

… the paste of the reinstall output is too long to put into pastebin (4.5 mb); recommendations on how to share the log file?