It's actually because the "get_dependencies" function is not defined in
SoftwarePropertiesQt.py and is not imported.

softwareproperties/gtk/SoftwarePropertiesGtk.py:def get_dependencies(apt_cache, 
package_name, pattern=None):
softwareproperties/gtk/SoftwarePropertiesGtk.py:                    for dep in 
get_dependencies(self.apt_cache, pkg.shortname, 'nvidia'):
softwareproperties/qt/SoftwarePropertiesQt.py:            for dep in 
get_dependencies(self.apt_cache, pkg.shortname, 'nvidia'):


** Tags added: eoan

** Changed in: software-properties (Ubuntu)
   Importance: Undecided => High

** Changed in: software-properties (Ubuntu)
       Status: Confirmed => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839501

Title:
  Can't Switch between Nvidia Drivers because of error in
  SoftwarePropertiesQt.py

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1839501/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to