Code review comment for lp:~seb128/software-properties/handle-no-candidate

Revision history for this message
Sebastien Bacher (seb128) wrote :

Not sure what it means having no candidate version, but that's happening, see that error bucket
https://errors.ubuntu.com/problem/55c1babf9ec1556365267f9ae7de740aec64d777

" File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 1260, in gather_device_data
    description = _("Using {} from {}").format(pkg.candidate.summary, pkg.shortname)
AttributeError: 'NoneType' object has no attribute 'summary'"

(I tried to install an nvidia driver and remove the apt source containing it but that's not enough to reproduce the issue)

Note that you can test software-propoerties on hardware that don't require binary drivers using
"usr/share/ubuntu-drivers-common/fake-devices-wrapper software-properties-gtk"

« Back to merge proposal