Tails Installer crashes if any UUID includes Unicode character
Someone reported us that Tails Installer crashes if any UUID on the
system includes a Unicode character. Apparently, this could happen with
some disk encryption software for Windows. Then, even if that UUID is on
the local hard disk, Tails Installer crashes:
amnesiaamnesia:~$ liveusb-creator -u -n —clone -P -m -x -v@
Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
[creator:1188] extlinux not found! Only FAT filesystems will be
[creator:663] Skipping device '/org/freedesktop/UDisks/devices/sda1'
connected to 'ata' interface
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/dbus/connection.py”, line 604, in msg_reply_handler
@ File “/usr/lib/python2.7/dist-packages/liveusb/creator.py”, line @
647, in handle_reply
@ ‘uuid’: str(dev.Get(device, ‘IdUuid’)),@
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0297' in
position 18: ordinal not in range(128)
The reporter says that this can be solved by changing str() to
on line 647 of creator.py.
Someone knowledgeable about the internals of the installer should
investigate whether this fix could be applied with no risk.
- Related to #15292 (closed)