/usr/bin/software-properties-gtk:UnboundLocalError:show_drivers:gather_device_data

Bug #1742301 reported by errors.ubuntu.com bug bridge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Triaged
High
Alberto Milone

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding software-properties. This problem was most recently seen with package version 1.92.36bodhi1, the problem page at https://errors.ubuntu.com/problem/dbe7741e95ffda0ea64d12522c8f664897773564 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

Revision history for this message
Brian Murray (brian-murray) wrote :

Here's the traceback:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 1349, in show_drivers
    (overall_status, icon, drivers) = self.gather_device_data(self.devices[device])
  File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 1337, in gather_device_data
    return (overall_status, icon, returned_drivers)
UnboundLocalError: local variable 'overall_status' referenced before assignment

It seems like overall_status and icon should be set to something so we don't hit this situation.

tags: added: rls-bb-incoming
Changed in software-properties (Ubuntu):
status: New → Triaged
importance: Undecided → High
Changed in software-properties (Ubuntu):
assignee: nobody → Alberto Milone (albertomilone)
tags: removed: rls-bb-incoming
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.