Linked MP sponsored.

** Changed in: nvidia-prime (Ubuntu)
     Assignee: (unassigned) => Dan Bungert (dbungert)

** Changed in: nvidia-prime (Ubuntu)
   Importance: Undecided => Medium

** Changed in: nvidia-prime (Ubuntu)
       Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-prime in Ubuntu.
https://bugs.launchpad.net/bugs/1948362

Title:
  UnboundLocalError: local variable 't' referenced before assignment

Status in nvidia-prime package in Ubuntu:
  Fix Committed

Bug description:
  ```
  Traceback (most recent call last):
    File "/usr/bin/prime-select", line 458, in <module>
      switcher.enable_profile(arg)
    File "/usr/bin/prime-select", line 223, in enable_profile
      if not self._has_integrated_gpu():
    File "/usr/bin/prime-select", line 198, in _has_integrated_gpu
      if t.find('8086') != -1 or t.lower().find('1002') != -1:
  UnboundLocalError: local variable 't' referenced before assignment
  ```

  at file `prime-select`, line 198

  https://git.launchpad.net/ubuntu/+source/nvidia-prime/tree/prime-
  select#n198

  that `t` should be `vendor` I think. :)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1948362/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to