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:
amnesia@amnesia:~$ 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 unicode()
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.
#8 Updated by intrigeri over 1 year ago
- Status changed from Rejected to Confirmed
Upstream is supposed to have fixed this.
I think there's a misunderstanding: with "upstream", back then we meant the original liveusb-creator code base we've forked 7 years ago. But we never brought these fixes to Tails Installer.