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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1294877 Title: usb-creator fails to wipe usb device when the device has ext4 partition To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1294877/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
