[Bug 1165200] Re: usb-creator-gtk fails to run on lubuntu13.04 beta 2

sudodus nio.wiklund at gmail.com
Fri Jun 7 02:45:27 UTC 2013


Yuri (wdwp) wrote on 2013-05-15:        #6

"I installed python-gudev and gir1.2-gudev-1.0 packages. usb-creator-gtk
works."

Others wrote that it is enough with gir1.2-gudev-1.0

-o-

I started testing in a 5 year old desktop computer with an ASUS mobo and
a dual core AMD 4400+ 64-bit CPU (but I stick to the 32-bit Lubuntu
13.04 iso file).

I tried adding only gir1.2-gudev-1.0 in Lubuntu 13.04 and it was
possible to run usb-creator-gtk and make a live disk. It was also
possible to make a casper-rw partition manually, add the boot option
persistent (temporary) and have persistence. I did not manage to make it
work with the built-in persistence. There was an error, and the
bootloader was not copied to the USB drive, so the USB drive was dead.

-o-

Then I tried with usb-creator-kde and it worked out of the box.

-o-

I installed python-gudev, although I thought there was another bug too
in usb-creator-gtk

The first attempt after installing python-gudev and updating/upgrading,
usb-creator-gtk worked as well as the kde rival. So it seems the comment
by Yuri was correct. The comments that only one of the packages was
necessary were incorrect (it fixed only the live part, not the
persistence).

I tested a second time without mounting the FAT32 partition on the USB
drive. Then usb-creator-gtk stopped with segmentation fault (and failed
to create a good USB boot drive). The partition was mounted after the
crash, so usb-creator-gtk had mounted it. Restarting usb-creator-gtk
made it successful. (So I did nothing but checking that the drive was
mounted and restarting usb-creator-gtk.)

Then I tested again. I wiped the USB drive completely dd-overwriting
with zeros, and making one FAT32 partition, and mounting the partition.
This time usb-creator-gtk succeeded again to make a complete persistent
live USB drive.

-o-

So my conclusion is:

1. Yuri's comment is correct. Both packages are necessary for all
functions of usb-creator-gtk. The size of python-gudev (installed) is
80.9 kB and the size of gir1.2-gudev-1.0 (installed) is 50.2 kB
according to apt-get.

2. But in addition, the partition on the USB drive should be mounted
before usb-creator-gtk is started. Otherwise the process will crash with
a segmentation fault. I guess this is another bug, but a minor bug. With
proper instructions, usb-creator-gtk can be used to create live as well
as persistent live USB drives.

*. So the packages python-gudev and gir1.2-gudev-1.0 should be included
when usb-creator-gtk is installed. And the user should be told to mount
the partition on the USB drive before starting usb-creator-gtk.

I hope some of you will also test usb-creator-gtk including persistence.
I am going to make some noise about this, trying to get a working
version at least in Saucy, but I hope it will also trickle down into
13.04.

Best regards
sudodus alias Nio

-- 
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/1165200

Title:
  usb-creator-gtk fails to run on lubuntu13.04 beta 2

Status in “usb-creator” package in Ubuntu:
  Confirmed

Bug description:
  usb-creator-gtk version: 0.2.47
  systems: lubuntu desktop 13.04 beta 2 (live session and also after installing)

  Error message:

  ERROR:root:Could not find any typelib for GUdev
  Traceback (most recent call last):
    File "/usr/bin/usb-creator-gtk", line 30, in <module>
      from usbcreator.backends.fastboot import FastbootBackend
    File "/usr/lib/python3/dist-packages/usbcreator/backends/fastboot/__init__.py", line 1, in <module>
      from usbcreator.backends.fastboot.backend import FastbootBackend
    File "/usr/lib/python3/dist-packages/usbcreator/backends/fastboot/backend.py", line 3, in <module>
      from gi.repository import GUdev
  ImportError: cannot import name GUdev

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: usb-creator-gtk 0.2.47
  ProcVersionSignature: Ubuntu 3.8.0-16.26-generic 3.8.5
  Uname: Linux 3.8.0-16-generic i686
  ApportVersion: 2.9.2-0ubuntu5
  Architecture: i386
  Date: Fri Apr  5 19:32:32 2013
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: usb-creator
  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/1165200/+subscriptions




More information about the foundations-bugs mailing list