Comment 1 for bug 1742301

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.