[Bug 1516279] [NEW] error erasing disk

teo1978 teo8976 at gmail.com
Sat Nov 14 18:06:18 UTC 2015


Public bug reported:

I selected a usb stick under "Disk to use" and I hit the "Erase disk"
button.

After prompting me for the sudo password, this error immediately popped
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 292, in Format
    block = obj.get_block()
AttributeError: 'NoneType' object has no attribute 'get_block'


I tried again, and at the second attempt the error message was different (maybe because the previous attempt partially deleted something and corrupted the disk? Anyway, erase should work no matter what)

org.freedesktop.DBus.Python.GLib.Error: 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 287, in Format
    partition = table.call_create_partition_sync(0, size, '0x0c', '', no_options, None)
GLib.Error: udisks-error-quark: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error wiping newly created partition /dev/sdb1: Command-line `wipefs -a "/dev/sdb1"' exited with non-zero exit status 1: wipefs: error: /dev/sdb1: probing initialization failed: No such file or directory
 (0)

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: usb-creator-gtk 0.2.67ubuntu0.1
ProcVersionSignature: Ubuntu 3.19.0-32.37-generic 3.19.8-ckt7
Uname: Linux 3.19.0-32-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.7
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Nov 14 19:01:16 2015
InstallationDate: Installed on 2013-10-11 (764 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
SourcePackage: usb-creator
UpgradeStatus: Upgraded to vivid on 2015-08-15 (90 days ago)

** Affects: usb-creator (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug vivid

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

Title:
  error erasing disk

Status in usb-creator package in Ubuntu:
  New

Bug description:
  I selected a usb stick under "Disk to use" and I hit the "Erase disk"
  button.

  After prompting me for the sudo password, this error immediately
  popped 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 292, in Format
      block = obj.get_block()
  AttributeError: 'NoneType' object has no attribute 'get_block'

  
  I tried again, and at the second attempt the error message was different (maybe because the previous attempt partially deleted something and corrupted the disk? Anyway, erase should work no matter what)

  org.freedesktop.DBus.Python.GLib.Error: 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 287, in Format
      partition = table.call_create_partition_sync(0, size, '0x0c', '', no_options, None)
  GLib.Error: udisks-error-quark: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error wiping newly created partition /dev/sdb1: Command-line `wipefs -a "/dev/sdb1"' exited with non-zero exit status 1: wipefs: error: /dev/sdb1: probing initialization failed: No such file or directory
   (0)

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: usb-creator-gtk 0.2.67ubuntu0.1
  ProcVersionSignature: Ubuntu 3.19.0-32.37-generic 3.19.8-ckt7
  Uname: Linux 3.19.0-32-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1.7
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Nov 14 19:01:16 2015
  InstallationDate: Installed on 2013-10-11 (764 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  SourcePackage: usb-creator
  UpgradeStatus: Upgraded to vivid on 2015-08-15 (90 days ago)

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



More information about the foundations-bugs mailing list