[Bug 1294877] Re: usb-creator fails to wipe usb device when the device has ext4 partition
Bug Watch Updater
1294877 at bugs.launchpad.net
Tue Jun 10 19:25:28 UTC 2014
Launchpad has imported 1 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=76432.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.
------------------------------------------------------------------------
On 2014-03-21T09:20:16+00:00 Xiaojun Ma wrote:
The following Python code
from gi.repository import GLib
from gi.repository import UDisks
udisks = UDisks.Client.new_sync(None)
dev = udisks.get_object('/org/freedesktop/UDisks2/block_devices/sdb')
block = dev.get_block()
block.call_format_sync('dos', GLib.Variant('a{sv}', {'erase': GLib.Variant('s', '')}), None)
results in either
Traceback (most recent call last):
File "format.py", line 7, in <module>
block.call_format_sync('dos', GLib.Variant('a{sv}', {'erase': GLib.Variant('s', '')}), None)
gi._glib.GError: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error erasing device: Unknown or unsupported erase type `'
or
Traceback (most recent call last):
File "format.py", line 7, in <module>
block.call_format_sync('dos', GLib.Variant('a{sv}', {'erase': GLib.Variant('s', '')}), None)
gi._glib.GError: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error synchronizing after initial wipe: Timed out waiting for object
Reply at: https://bugs.launchpad.net/ubuntu/+source/usb-
creator/+bug/1294877/comments/2
** Changed in: udisks
Status: Unknown => Confirmed
** Changed in: udisks
Importance: Unknown => Medium
--
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/1294877
Title:
usb-creator fails to wipe usb device when the device has ext4
partition
Status in OEM Priority Project:
Triaged
Status in abstraction for enumerating and managing block devices:
Confirmed
Status in “udisks2” package in Ubuntu:
Confirmed
Status in “usb-creator” package in Ubuntu:
Invalid
Bug description:
A dialog with the following text appears anytime I try to wipe my usb
pen (both when partitioned and unpartitioned):
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}', {'erase': GLib.Variant('s', '')}), None)
gi._glib.GError: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error synchronizing after initial wipe: Timed out waiting for object
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: usb-creator-gtk 0.2.55
ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
Uname: Linux 3.13.0-17-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Mar 19 23:26:15 2014
InstallationDate: Installed on 2013-10-05 (165 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Beta amd64 (20131005)
SourcePackage: usb-creator
UpgradeStatus: Upgraded to trusty on 2013-12-10 (99 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1294877/+subscriptions
More information about the foundations-bugs
mailing list