You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you accept? (y=Yes, n=No) [y]: y
INFO:dts:Looking for ZIP image file...
INFO:dts:Reusing cached ZIP image file [/tmp/duckietown/dts/init_sd_card/dt-hypriotos-rpi-v1.2.1.zip].
INFO:dts:Reusing cached DISK image file [/tmp/duckietown/dts/init_sd_card/dt-hypriotos-rpi-v1.2.1.img].
(NOTE: The problem happens regardless of removing tmp and downloading from scratch or not)
==============================
Please, enter the size of your SD card (in GB): 32
The following devices were found (size ~32GB):
Name Size Plugged in
/dev/mmcblk0 29.1GB 11 seconds ago
Type the name of your device: /dev/mmcblk0
INFO:dts:Trying to unmount all partitions from device /dev/mmcblk0
INFO:dts:All partitions unmounted.
INFO:dts:Flashing File[/tmp/duckietown/dts/init_sd_card/dt-hypriotos-rpi-v1.2.1.img] -> SD[/dev/mmcblk0]:
Traceback (most recent call last):
File "/home/amirhesam/.dt-shell/commands-multi/daffy/init_sd_card/dd.py", line 55, in <module>
os.fsync(tgt.fileno())
OSError: [Errno 5] Input/output error
dts : Traceback (most recent call last):
: File "/home/amirhesam/.local/lib/python3.8/site-packages/dt_shell/main.py", line 39, in cli_main
: cli_main_()
: File "/home/amirhesam/.local/lib/python3.8/site-packages/dt_shell/main.py", line 197, in cli_main_
: shell.onecmd(cmdline)
: File "/usr/lib/python3.8/cmd.py", line 217, in onecmd
: return func(arg)
: File "/home/amirhesam/.local/lib/python3.8/site-packages/dt_shell/cli.py", line 278, in <lambda>
: do_command_lam = lambda s, w: do_command(klass, s, w)
: File "/home/amirhesam/.local/lib/python3.8/site-packages/dt_shell/dt_command_abs.py", line 48, in do_command
: cls.command(shell, args)
: File "/home/amirhesam/.dt-shell/commands-multi/daffy/init_sd_card/command.py", line 280, in command
: data.update(step2function[step_name](shell, parsed, data))
: File "/home/amirhesam/.dt-shell/commands-multi/daffy/init_sd_card/command.py", line 487, in step_flash
: _run_cmd(dd_cmd)
: File "/home/amirhesam/.dt-shell/commands-multi/daffy/init_sd_card/command.py", line 732, in _run_cmd
: subprocess.check_call(cmd, shell=shell, env=env, **outputs)
: File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
: raise CalledProcessError(retcode, cmd)
: subprocess.CalledProcessError: Command '['sudo', '/home/amirhesam/.dt-shell/commands-multi/daffy/init_sd_card/dd.py', '--input', '/tmp/duckietown/dts/init_sd_card/dt-hypriotos-rpi-v1.2.1.img', '--output', '/dev/mmcblk0', '--block-size', '1048576']' returned non-zero exit status 1.
dts : To report a bug, please also include the contents of /home/amirhesam/shell-debug-info.txt
I am reflashing an SD card that was working fine Yesterday.
I use the same instructions that worked perfectly before:
.....
(NOTE: The problem happens regardless of removing tmp and downloading from scratch or not)
(base) [ amirhesam: Desktop ]$ cat /home/amirhesam/shell-debug-info.txt
I really appreciate your help.
The text was updated successfully, but these errors were encountered: