[Bug 1273925] Re: usb-creator-gtk fails to finish erasing a usb drive

gene_wood 1273925 at bugs.launchpad.net
Fri Aug 22 21:26:51 UTC 2014


Bug 243039 was linked to this bug. I can confirm what @jfhavet is saying
that with usb-creator-gtk 0.2.56.1 which is the most recent version
under Ubuntu 14.04, this issue persists. When clicking the "Erase"
button the following error pops up :

org.freedesktop.DBus.Python.AttributeError: 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 218, in Format
    parent_dev = _get_parent_object(udisks, device)
  File "/usr/share/usb-creator/usb-creator-helper", line 49, in _get_parent_object
    parent = partition.get_cached_property('Table').get_string()
AttributeError: 'NoneType' object has no attribute 'get_cached_property'

I can also confirm that @jfhavet's workaround works well. Under English
localized Ubuntu 14.04 the process is :

1 Open unity dash
2 Search for "Disks" or "udisksd" and launch "Disks"
3 Select your usb stick in the peripherals list
4 Click the little gears then select "Restore disk image..."
5 "Restore" Ubuntu iso image onto your stick

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

Title:
  usb-creator-gtk fails to finish erasing a usb drive

Status in “usb-creator” package in Ubuntu:
  Fix Released

Bug description:
  Test case:
  open usb-creator-gtk on a usb drive that has been used before & needs erasing
  click erase
  What happens:
  The erase process never completes though after a bit the "Make Startup Disk" box becomes active
  If the  "Make Startup Disk" box  is clicked on the s-d-c closes with an installation failed message
  Otherwise 'erasing disc' just goes on & on.

  If s-d-c is closed & then re-opened the disc drive will have been
  erased & installation proceeds normally

  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
  CurrentDesktop: Unity
  Date: Tue Jan 28 21:40:29 2014
  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/1273925/+subscriptions



More information about the foundations-bugs mailing list