[Bug 1361474] Re: [SRU] Error erasing device when there is dos partition table but no partition

Launchpad Bug Tracker 1361474 at bugs.launchpad.net
Wed Jan 14 18:20:28 UTC 2015


This bug was fixed in the package usb-creator - 0.2.56.3

---------------
usb-creator (0.2.56.3) trusty-proposed; urgency=medium

  [ Brian Murray ]
  * udisks/backend.py: fix some calls to mount_sync that were missed in the
    port to the UDisks2 API. Thanks to Marc Culler for the patch.
    (LP: #1279987)

  [ Yu Ning ]
  * usb-creator-helper: use parent object only if there is a parent.
    (LP: #1380041)
  * usb-creator-helper: re-create the udisks client otherwise it will not
    return the newly created device or partition. (LP: #1361474, #1300361)
  * usb-creator-helper: use parted instead of udisks2 to create the new
    partition table since udisks2 uses wipefs to erase the old partition
    table, however partition table erasing is not supported in wipefs yet in
    trusty, and that would cause a timed out error.
 -- Brian Murray <brian at ubuntu.com>   Thu, 18 Dec 2014 14:48:14 -0800

** Changed in: usb-creator (Ubuntu Trusty)
       Status: Fix Committed => Fix Released

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

Title:
  [SRU] Error erasing device when there is dos partition table but no
  partition

Status in usb-creator package in Ubuntu:
  Fix Released
Status in usb-creator source package in Trusty:
  Fix Released

Bug description:
  [Impact]
  Unable to erase the device if there's a partition table but no partitions.

  [Test Case]

  Steps to reproduce:
  1. prepare an usbstick with dos partition table but no partition, this can be done with gparted
  2. erase the usbstick with usb-creator-gtk or usb-creator-kde

  Expected result:
  The usbstick is successfully erased (and a partition should be created)

  Actual result:
  An error message is popped up:

  org.freedesktop.DBus.Python.gi._glib.GError: 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 239, in Format
      block.call_format_sync('dos', GLib.Variant('a{sv}', {}), None)
  gi._glib.GError: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error synchronizing after initial wipe: Timed out waiting for object

  [Regression Potential]

  Should not affect negatively the normal use case (=usb stick with
  partition table, one partition vfat formatted).

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



More information about the foundations-bugs mailing list