0
0 Comments

I am preparing Duckiebot according to ‘Duckiebot operational manual’ of DT19, and have done C-2 (duckietown account).
But, when I try to initialize sd car with $dts init_sd_card [options], I get the following error message at the end. What is wrong?

INFO:dts:Stacks to run: [‘DT18_00_basic’, ‘DT18_01_health_stats’, ‘DT18_03_roscore’, ‘DT18_06_dashboard’]
DEBUG:dts:$ [‘docker-compose’, ‘-f’, ‘/home/oit-ee1/.dt-shell/commands/init_sd_card/stacks/DT18_00_basic.yaml’, ‘config’, ‘–quiet’]
ERROR: .IOError: [Errno 13] Permission denied: ‘/home/oit-ee1/.dt-shell/commands/init_sd_card/stacks/DT18_00_basic.yaml’
dts : Traceback (most recent call last):
: File “/home/oit-ee1/.local/lib/python3.6/site-packages/dt_shell/__init__.py”, line 48, in cli_main
: cli_main_()
: File “/home/oit-ee1/.local/lib/python3.6/site-packages/dt_shell/__init__.py”, line 127, in cli_main_
: shell.onecmd(cmdline)
: File “/usr/lib/python3.6/cmd.py”, line 217, in onecmd
: return func(arg)
: File “/home/oit-ee1/.local/lib/python3.6/site-packages/dt_shell/cli.py”, line 410, in <lambda>
: do_command_lam = lambda s, w: do_command(klass, s, w)
: File “/home/oit-ee1/.local/lib/python3.6/site-packages/dt_shell/dt_command_abs.py”, line 47, in do_command
: cls.command(shell, args)
: File “/home/oit-ee1/.dt-shell/commands/init_sd_card/command.py”, line 204, in command
: step2function[step_name](shell, parsed)
: File “/home/oit-ee1/.dt-shell/commands/init_sd_card/command.py”, line 463, in step_setup
: configure_images(parsed, user_data, add_file_local, add_file)
: File “/home/oit-ee1/.dt-shell/commands/init_sd_card/command.py”, line 526, in configure_images
: _run_cmd([‘docker-compose’, ‘-f’, lpath, ‘config’, ‘–quiet’])
: File “/home/oit-ee1/.dt-shell/commands/init_sd_card/command.py”, line 751, in _run_cmd
: subprocess.check_call(cmd)
: File “/usr/lib/python3.6/subprocess.py”, line 311, in check_call
: raise CalledProcessError(retcode, cmd)
: subprocess.CalledProcessError: Command ‘[‘docker-compose’, ‘-f’, ‘/home/oit-ee1/.dt-shell/commands/init_sd_card/stacks/DT18_00_basic.yaml’, ‘config’, ‘–quiet’]’ returned non-zero exit status 1.
dts : If you think this is a bug, please report that you are using:
:
: duckietown-challenges: 4.0.30
: duckietown-shell-commands: 4.0.22
: python: “3.6.8 (default, Jan 14 2019, 11:02:34) n[GCC 8.0.1 20180414 (experimental)
: [trunk revision 259383]]”
: duckietown-shell: 4.0.22
: encodings:
: stdout: UTF-8
: stderr: UTF-8
: locale: UTF-8

Thank you.

Changed status to publish