[Bug 1839501] [NEW] Can't Switch between Nvidia Drivers because of error in SoftwarePropertiesQt.py

Bryce Leo Bryce.leo at gmail.com
Thu Aug 8 16:09:21 UTC 2019


Public bug reported:

Hardware: Dell Latitude E6430 with GF108GLM [NVS 5200m]

Lubuntu 19.04
LBS Release: Description:    Ubuntu 19.04
software-properties-qt:
  Installed: 0.97.11
  Candidate: 0.97.11
  Version table:
 *** 0.97.11 500
        500 http://us.archive.ubuntu.com/ubuntu disco/universe amd64 Packages
        100 /var/lib/dpkg/status

I ran "Additional Drivers" from the menu and switched from Nouveau to the nvidia-driver-418 to see how it ran. 
After testing for a couple days I tried to switch back.
When I select Nouveau and click "Apply changes" nothing happens. 

I ran software-properties-qt from the command line and get this error
when I click "Apply Changes".

#lxsudo /usr/bin/software-properties-qt '--open-tab=4'
 (0x7ffda7818770) Warning: Icon theme "breeze" not found.

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/softwareproperties/qt/SoftwarePropertiesQt.py", line 845, in on_driver_changes_apply
    for dep in get_dependencies(self.apt_cache, pkg.shortname, 'nvidia'):
NameError: name 'get_dependencies' is not defined


I searched through the source and I'm guessing it's the extra parameter 'nvidia' at the end that's causing the issue, since there's no 3 parameter function definition for get_dependencies.

** Affects: software-properties (Ubuntu)
     Importance: Undecided
         Status: New

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

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

Status in software-properties package in Ubuntu:
  New

Bug description:
  Hardware: Dell Latitude E6430 with GF108GLM [NVS 5200m]

  Lubuntu 19.04
  LBS Release: Description:    Ubuntu 19.04
  software-properties-qt:
    Installed: 0.97.11
    Candidate: 0.97.11
    Version table:
   *** 0.97.11 500
          500 http://us.archive.ubuntu.com/ubuntu disco/universe amd64 Packages
          100 /var/lib/dpkg/status

  I ran "Additional Drivers" from the menu and switched from Nouveau to the nvidia-driver-418 to see how it ran. 
  After testing for a couple days I tried to switch back.
  When I select Nouveau and click "Apply changes" nothing happens. 

  I ran software-properties-qt from the command line and get this error
  when I click "Apply Changes".

  #lxsudo /usr/bin/software-properties-qt '--open-tab=4'
   (0x7ffda7818770) Warning: Icon theme "breeze" not found.

  QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/softwareproperties/qt/SoftwarePropertiesQt.py", line 845, in on_driver_changes_apply
      for dep in get_dependencies(self.apt_cache, pkg.shortname, 'nvidia'):
  NameError: name 'get_dependencies' is not defined

  
  I searched through the source and I'm guessing it's the extra parameter 'nvidia' at the end that's causing the issue, since there's no 3 parameter function definition for get_dependencies.

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



More information about the foundations-bugs mailing list