Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1863  / 2 Years ago, mon, may 9, 2022, 10:03:12

I'm trying to use Software Properties (software-properties-gtk) to install nvidia drivers. When I open the Additional Drivers tab it just says "searching for additional drivers..." and then Apport comes up telling me Ubuntu has had an internal error. The available additional drivers never show up, the list just stays empty.



When I run software-properties-gtk from the terminal I get the following output right before the crash:



Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 634, in <lambda>
return (lambda data: callback(*data), user_data)
File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 1323, 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 1277, in gather_device_data
description = base_string.format(base_description=description, licence=licence)
KeyError: 'license'


Is this a known bug? Can I fix it?


More From » drivers

 Answers
1

Edit the /usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py and correct that typo! Find "licence" and replace it with "license"!



That did the trick for me :)


[#27540] Tuesday, May 10, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
aclavadoug

Total Points: 317
Total Questions: 103
Total Answers: 125

Location: Bangladesh
Member since Wed, Mar 24, 2021
3 Years ago
;