So what I did so far is:
- Pull the official ubuntu16.04 container from docker-hub
- inside install python2.7, pip (pip 19.1.1), git (2.7.4) and mapillary_tools (0.5.0), everything done as per the excellent guide (GitHub - mapillary/mapillary_tools: Command line tools for processing and uploading Mapillary imagery).
Everything seems to be installed and up and running, but then when I try a simple:
mapillary_tools process_and_upload --import_path /data/IspraCascine/POT --user_name momut1
i get:
File "/usr/local/bin/mapillary_tools", line 76, in <module> command.run(args) File "/usr/local/lib/python2.7/dist-packages/mapillary_tools/commands/process_and_upload.py", line 143, in run process_user_properties(**({k: v for k, v in vars_args.iteritems() File "/usr/local/lib/python2.7/dist-packages/mapillary_tools/process_user_properties.py", line 87, in process_user_properties user_properties) File "/usr/local/lib/python2.7/dist-packages/mapillary_tools/processing.py", line 788, in create_and_log_process_in_list verbose) File "/usr/local/lib/python2.7/dist-packages/mapillary_tools/processing.py", line 796, in create_and_log_process os.makedirs(log_root) File "/usr/lib/python2.7/os.py", line 150, in makedirs makedirs(head, mode) File "/usr/lib/python2.7/os.py", line 150, in makedirs makedirs(head, mode) File "/usr/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/data/IspraCascine/POT/.mapillary'
I’ve tried giving read, write, and execution permissions to all scripts in all folders of mapillary_tools with
find /usr/local/lib/python2.7/dist-packages/mapillary_tools/commands -type f -iname "*.py" -exec chmod +x {} \;
but I still get the same error. Does anyone have any experience with this issue? Is it because of the docker? Any help would be appreciated.
Thanks!