Front page › Forums › Communities › 🇨🇦 Canada › 🇨🇦 Quebec › 🇨🇦 Montréal › 🎓 U. Montréal › Error when reflashing SD card
This topic contains 1 reply, has 1 voice, and was last updated by Jon 3 years, 6 months ago.
-
AuthorPosts
-
November 15, 2018 at 1:31 am #30054
Hello guys,
I am trying to reflash my SD card since I cannot get a log. We reflashed it today but now I cannot ping him when on.
I am trying to reflash mt SD with this command:
dts init_sd_card –hostname mrquackers –country CA
I am getting this error:
from docker.utils import LogConfig
ImportError: cannot import name LogConfigdts : Traceback (most recent call last):
: File “/home/jon/.local/lib/python2.7/site-packages/dt_shell/__init__.py”, line 38, in cli_main
: cli_main_()
: File “/home/jon/.local/lib/python2.7/site-packages/dt_shell/__init__.py”, line 106, in cli_main_
: shell.onecmd(cmdline)
: File “/usr/lib/python2.7/cmd.py”, line 221, in onecmd
: return func(arg)
: File “/home/jon/.local/lib/python2.7/site-packages/dt_shell/cli.py”, line 409, in <lambda>
: do_command_lam = lambda s, w: do_command(klass, s, w)
: File “/home/jon/.local/lib/python2.7/site-packages/dt_shell/dt_command_abs.py”, line 46, in do_command
: cls.command(shell, args)
: File “/home/jon/.dt-shell/commands/init_sd_card/command.py”, line 190, in command
: step2function[step_name](shell, parsed)
: File “/home/jon/.dt-shell/commands/init_sd_card/command.py”, line 471, in step_setup
: configure_images(parsed, user_data, add_file_local, add_file)
: File “/home/jon/.dt-shell/commands/init_sd_card/command.py”, line 534, in configure_images
: _run_cmd([‘docker-compose’, ‘-f’, lpath, ‘config’, ‘–quiet’])
: File “/home/jon/.dt-shell/commands/init_sd_card/command.py”, line 745, in _run_cmd
: subprocess.check_call(cmd)
: File “/usr/lib/python2.7/subprocess.py”, line 541, in check_call
: raise CalledProcessError(retcode, cmd)
: CalledProcessError: Command ‘[‘docker-compose’, ‘-f’, ‘/home/jon/.dt-shell/commands/init_sd_card/stacks/DT18_00_basic.yaml’, ‘config’, ‘–quiet’]’ returned non-zero exit status 1dts : Please report that you are using:
:
: duckietown-shell: 3.0.30
: duckietown-shell-commands: 1.1.1
: python: “2.7.12 (default, Dec 4 2017, 14:50:18) \n[GCC 5.4.0 20160609]”November 15, 2018 at 2:01 am #30055Solved:
pip install -U docker-compose
-
AuthorPosts
You must be logged in to reply to this topic.