Similarly for me, in trusty as well.

Terminal output of running usb-creator-gtk doesn't say much either:

$ usb-creator-gtk 
/usr/lib/python3/dist-packages/usbcreator/frontends/gtk/frontend.py:38: 
PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer 
needed. See: https://wiki.gnome.org/PyGObject/Threading
  GObject.threads_init()
$

Commenting out the exception-swallowing try-except in gtk/frontend.py
install(), I get a better error message:

/usr/lib/python3/dist-packages/usbcreator/frontends/gtk/frontend.py:38: 
PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer 
needed. See: https://wiki.gnome.org/PyGObject/Threading
  GObject.threads_init()
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/usbcreator/frontends/gtk/frontend.py", 
line 655, in install
    allow_system_internal=self.allow_system_internal)
  File "/usr/lib/python3/dist-packages/usbcreator/backends/udisks/backend.py", 
line 312, in install
    source = self.helper.MountISO(isofile)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in 
call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.UnicodeDecodeError: 
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dbus/service.py", line 707, in 
_message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/share/usb-creator/usb-creator-helper", line 270, in MountISO
    popen(['mount', '-o', 'loop', device, ret])
  File "/usr/lib/python3/dist-packages/usbcreator/misc.py", line 170, in popen
    out, err = process.communicate()
  File "/usr/lib/python3.3/subprocess.py", line 921, in communicate
    stdout, stderr = self._communicate(input, endtime, timeout)
  File "/usr/lib/python3.3/subprocess.py", line 1570, in _communicate
    self.stderr.encoding)
  File "/usr/lib/python3.3/subprocess.py", line 846, in _translate_newlines
    data = data.decode(encoding)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 33: 
ordinal not in range(128)

This led to identifying the problem: my .img file (actually, my entire
download folder) is in a directory containing UTF-8 characters. Simply
moving the .img file to a path containing no Unicode allowed usb-
creator-gtk to create an image from it.

Changing the locale itself didn't help, except that running in C locale
made it crash even earlier.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1273739

Title:
  usb-creator-gtk does not work: "Installation Failed"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1273739/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to