[Bug 1460607] Re: Erasing usb stick failed: AttributeError: 'NoneType' object has no attribute 'get_block'
Launchpad Bug Tracker
1460607 at bugs.launchpad.net
Fri Jun 12 14:42:28 UTC 2015
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: usb-creator (Ubuntu)
Status: New => Confirmed
--
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/1460607
Title:
Erasing usb stick failed: AttributeError: 'NoneType' object has no
attribute 'get_block'
Status in usb-creator package in Ubuntu:
Confirmed
Bug description:
I tried erasing a standard USB stick on up to date Ubuntu 15.04. This caused
another new error message:
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'
Looks like obj can be None in some situation and this is not handled properly.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: usb-creator-gtk 0.2.67ubuntu0.1
ProcVersionSignature: Ubuntu 3.19.0-18.18-generic 3.19.6
Uname: Linux 3.19.0-18-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CurrentDesktop: X-Cinnamon
Date: Mon Jun 1 13:42:46 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-02-12 (108 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
SourcePackage: usb-creator
UDisksDump: Error: [Errno 2] No such file or directory: 'udisks'
UpgradeStatus: Upgraded to vivid on 2015-05-12 (19 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1460607/+subscriptions
More information about the foundations-bugs
mailing list