/usr/bin/usb-creator-gtk:UnboundLocalError:<lambda>:_device_changed:_udisks_obj_added:_udisks_cdrom_added

Bug #1411879 reported by errors.ubuntu.com bug bridge on 2015-01-16
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
usb-creator (Ubuntu)
Medium
Brian Murray
Trusty
Medium
Unassigned
Utopic
Medium
Unassigned

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding usb-creator. This problem was most recently seen with version 0.2.63, the problem page at https://errors.ubuntu.com/problem/2c3c6c9e66a0bacc01a466aaf029b58988a98ada contains more details.

Brian Murray (brian-murray) wrote :

Here's the traceback:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/usbcreator/backends/udisks/backend.py", line 69, in <lambda>
    self.handles += [self.manager.connect('interface-added', lambda man, obj, iface: self._device_changed(obj))]
  File "/usr/lib/python3/dist-packages/usbcreator/backends/udisks/backend.py", line 233, in _device_changed
    self._udisks_obj_added(obj)
  File "/usr/lib/python3/dist-packages/usbcreator/backends/udisks/backend.py", line 92, in _udisks_obj_added
    self._udisks_cdrom_added(obj, block, drive, path)
  File "/usr/lib/python3/dist-packages/usbcreator/backends/udisks/backend.py", line 116, in _udisks_cdrom_added
    total, free = misc.fs_size(mount)
UnboundLocalError: local variable 'mount' referenced before assignment

Changed in usb-creator (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Changed in usb-creator (Ubuntu):
assignee: nobody → Brian Murray (brian-murray)
Changed in usb-creator (Ubuntu Trusty):
status: New → Triaged
importance: Undecided → Medium
Changed in usb-creator (Ubuntu Utopic):
status: New → Triaged
importance: Undecided → Medium
Changed in usb-creator (Ubuntu):
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package usb-creator - 0.2.64

---------------
usb-creator (0.2.64) vivid; urgency=medium

  * udisks/backend.py: exit if we can't determine the mount of the cd that was
    added. (LP: #1411879)
 -- Brian Murray <email address hidden> Fri, 16 Jan 2015 16:01:41 -0800

Changed in usb-creator (Ubuntu):
status: Fix Committed → Fix Released
Rolf Leggewie (r0lf) wrote :

utopic has seen the end of its life and is no longer receiving any updates. Marking the utopic task for this ticket as "Won't Fix".

Changed in usb-creator (Ubuntu Utopic):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers