Comment 16 for bug 1294877

Revision history for this message
Yu Ning (yuningdodo) wrote : Re: usb-creator fails to wipe usb device when the device has ext4 partition

I tested this on trusty, with the "zero" erase type it popups below messages several seconds after clicking the "erase" button.

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

It has similar error messages if we modify the call_format_sync() line as below:

            block.call_format_sync('dos', no_options, None)