[Bug 1273739] Re: usb-creator-gtk does not work: "Installation Failed"
Данило Шеган
1273739 at bugs.launchpad.net
Mon Feb 24 14:29:43 UTC 2014
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
Foundations Bugs, which is subscribed to usb-creator in Ubuntu.
https://bugs.launchpad.net/bugs/1273739
Title:
usb-creator-gtk does not work: "Installation Failed"
Status in “usb-creator” package in Ubuntu:
Confirmed
Bug description:
usb-creator-gtk does not working, when i try to create a disk i got a
window message like: "Installation Fails"
usb-creator-gtk
** (usb-creator-gtk:32270): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-nTY7rREXZN: Connexion refusée
/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()
/usr/lib/python3/dist-packages/usbcreator/frontends/gtk/frontend.py:615: PyGTKDeprecationWarning: The "buttons" argument must be a Gtk.ButtonsType enum value. Please use the "add_buttons" method for adding buttons. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
buttons=(Gtk.STOCK_CANCEL,Gtk.ResponseType.CANCEL,Gtk.STOCK_OPEN,Gtk.ResponseType.OK))
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: usb-creator-gtk 0.2.53
ProcVersionSignature: Ubuntu 3.13.0-5.20-generic 3.13.0
Uname: Linux 3.13.0-5-generic x86_64
ApportVersion: 2.13.2-0ubuntu2
Architecture: amd64
Date: Tue Jan 28 18:02:19 2014
InstallationDate: Installed on 2014-01-09 (19 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140109)
ProcEnviron:
LANGUAGE=fr_FR
TERM=xterm
PATH=(custom, no user)
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: usb-creator
UDisksDump: Error: [Errno 2] Aucun fichier ou dossier de ce type: 'udisks'
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1273739/+subscriptions
More information about the foundations-bugs
mailing list