[elbe-devel] UnicodeEncodeError: 'ascii' codec can't encode character u'\u0151'

Olivier Dion dion at linutronix.de
Mon Aug 3 15:04:00 CEST 2020


On Sat, 01 Aug 2020, Martin Petzold <martin.petzold at tavla.de> wrote:
> [CMD] umount /dev/loop0
> [CMD] losetup -d /dev/loop0
> [CMD] losetup --offset 537919488 --sizelimit 4294967296 --find --show 
> "/var/cache/elbe/9e4729c9-34b2-4ce7-a1bd-e8ed3f8cf547/install.img"
> [CMD] sync
> losetup: 
> /var/cache/elbe/9e4729c9-34b2-4ce7-a1bd-e8ed3f8cf547/install.img: failed 
> to set up loop device: Resource temporarily unavailable
> [CMD] losetup --offset 537919488 --sizelimit 4294967296 --find --show 
> "/var/cache/elbe/9e4729c9-34b2-4ce7-a1bd-e8ed3f8cf547/install.img"
> [CMD] mv 
> "/var/cache/elbe/9e4729c9-34b2-4ce7-a1bd-e8ed3f8cf547/filesystems/1"/* 
> "/var/cache/elbe/9e4729c9-34b2-4ce7-a1bd-e8ed3f8cf547/target/"
> losetup: 
> /var/cache/elbe/9e4729c9-34b2-4ce7-a1bd-e8ed3f8cf547/install.img: failed 
> to set up loop device: Resource temporarily unavailable
> [ERROR] Build failed
> Traceback (most recent call last):
>    File "/usr/lib/python2.7/dist-packages/elbepack/asyncworker.py", line 
> 194, in execute
>      skip_pbuild=self.skip_pbuilder)
>    File "/usr/lib/python2.7/dist-packages/elbepack/elbeproject.py", line 
> 686, in build
>      self.targetfs.part_target(self.builddir, grub_version, grub_fw_type)
>    File "/usr/lib/python2.7/dist-packages/elbepack/efilesystem.py", line 
> 417, in part_target
>      grub_fw_type)
>    File "/usr/lib/python2.7/dist-packages/elbepack/hdimg.py", line 571, 
> in do_hdimg
>      grub_fw_type)
>    File "/usr/lib/python2.7/dist-packages/elbepack/hdimg.py", line 449, 
> in do_image_hd
>      create_label(disk, part, ppart, fslabel, target, grub)
>    File "/usr/lib/python2.7/dist-packages/elbepack/hdimg.py", line 357, 
> in create_label
>      loopdev = entry.losetup()
>    File "/usr/lib/python2.7/dist-packages/elbepack/fstab.py", line 145, 
> in losetup
>      loopdev = get_command_out(cmd)
>    File "/usr/lib/python2.7/dist-packages/elbepack/shellhelper.py", line 
> 313, in get_command_out
>      raise CommandError(cmd, p.returncode)
> CommandError: Error: 1 returned from Command losetup --offset 537919488 
> --sizelimit 4294967296 --find --show 
> "/var/cache/elbe/9e4729c9-34b2-4ce7-a1bd-e8ed3f8cf547/install.img"

Errr.  This seems related to
<https://github.com/Linutronix/elbe/issues/254> I though that this issue
was fixed for good...

-- 
Olivier Dion
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen


More information about the elbe-devel mailing list