[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2023-06-12 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-drivers-common - 1:0.9.6.2~0.22.04.3 --- ubuntu-drivers-common (1:0.9.6.2~0.22.04.3) jammy; urgency=medium * UbuntuDrivers/detect.py: - Fix "882:5 local variable 'with_nvidia_kms' is assigned to but never used" FTBFS (triggered by

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2023-06-12 Thread Dirk Su
All related bugs https://bugs.launchpad.net/bugs/1988836 and https://bugs.launchpad.net/bugs/1935070 had been verified in Jammy. Can 0.9.6.2~0.22.04.3 be released to jammy-updates? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2023-06-01 Thread Seth Arnold
Alberto, it looks like nobody verified https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics- drivers-515/+bug/1988836 You can find the bugs that need verification or that failed verification on https://ubuntu-archive-team.ubuntu.com/pending-sru.html Thanks -- You received this bug

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2023-05-31 Thread Alberto Milone
Any reason for not releasing 0.9.6.2~0.22.04.3 to jammy-updates? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to ubuntu-drivers-common in Ubuntu. https://bugs.launchpad.net/bugs/1993019 Title: UnboundLocalError: local variable

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2023-04-27 Thread Christopher Perisho
Can someone tell me how to know when this fix hits the normal updates? Or how long this normally takes? I don't want to mess with editing files if I can help it, or attempting to not mess up my system by trying to include proposed. -- You received this bug notification because you are a member

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2023-03-21 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-drivers-common - 1:0.9.6.3.2 --- ubuntu-drivers-common (1:0.9.6.3.2) kinetic; urgency=medium * UbuntuDrivers/detect.py: - Fix "882:5 local variable 'with_nvidia_kms' is assigned to but never used" FTBFS (triggered by

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2023-03-13 Thread Alberto Milone
Note: neither in Jammy nor in Kinetic was the -open driver preferred over its non-open counterpart, which is one of the things that we want for this SRU. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to ubuntu-drivers-common in Ubuntu.

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2023-03-13 Thread Alberto Milone
The installation proceeded as expected in Jammy. :~$ apt-cache policy ubuntu-drivers-common ubuntu-drivers-common: Installed: 1:0.9.6.2~0.22.04.3 Candidate: 1:0.9.6.2~0.22.04.3 Version table: *** 1:0.9.6.2~0.22.04.3 500 500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2023-03-13 Thread Alberto Milone
The installation proceeded as expected in Kinetic. :~$ apt-cache policy ubuntu-drivers-common ubuntu-drivers-common: Installed: 1:0.9.6.3.2 Candidate: 1:0.9.6.3.2 Version table: *** 1:0.9.6.3.2 400 400 http://archive.ubuntu.com/ubuntu kinetic-proposed/main amd64 Packages

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2023-03-02 Thread Timo Aaltonen
Hello Seth, or anyone else affected, Accepted ubuntu-drivers-common into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-drivers- common/1:0.9.6.2~0.22.04.2 in a few hours, and then in the -proposed repository. Please help us by testing

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2023-03-02 Thread Timo Aaltonen
Hello Seth, or anyone else affected, Accepted ubuntu-drivers-common into kinetic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-drivers-common/1:0.9.6.3.1 in a few hours, and then in the -proposed repository. Please help us by testing this

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2023-02-23 Thread Alberto Milone
** Changed in: ubuntu-drivers-common (Ubuntu Bionic) Status: In Progress => Triaged ** Changed in: ubuntu-drivers-common (Ubuntu Focal) Status: In Progress => Triaged -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2023-02-23 Thread Alberto Milone
** Description changed: + [ Impact ] + + * The introduction of the -open NVIDIA drivers requires a change in the + way we detect driver series and flavours. Failing to do so, causes the + ubuntu-drivers tool to crash (LP: #1993019), or to prefer the -open + drivers over the non-open ones (LP:

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2023-02-23 Thread Alberto Milone
** Description changed: - Hello, we received a drive-by complaint about the ubuntu-drivers - autoinstall tool: + == Changelogs == + + === Kinetic and Jammy === + + [ Alberto Milone ] + * debian/rules: + - Limit the tests to the selected architectures (amd64, arm64). + This

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2023-01-13 Thread Alberto Milone
** Also affects: ubuntu-drivers-common (Ubuntu Kinetic) Importance: Undecided Status: New ** Also affects: ubuntu-drivers-common (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: ubuntu-drivers-common (Ubuntu Jammy) Importance: Undecided Status: New

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2023-01-11 Thread Gabriel Devenyi
The proposed change breaks extraction for drivers without -open. A more appropriate fix is to regex extract the version number: ``` version = int(re.findall("[0-9]+", package_name)[0] ``` -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2023-01-05 Thread Alberto Milone
** Changed in: ubuntu-drivers-common (Ubuntu) Assignee: (unassigned) => Alberto Milone (albertomilone) ** Changed in: ubuntu-drivers-common (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2022-12-20 Thread Leonardo Veiga
I have nvidia-520 installed for a while. After noticing that the packages have been kept back (don't know why), I tried to upgrade the driver from the "Software and Updates" GUI. Not possible, all options grayed out and a message reads "This device is using a manually- installed driver". Then I

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2022-11-16 Thread Bill Gan
I have also encountered this issue -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to ubuntu-drivers-common in Ubuntu. https://bugs.launchpad.net/bugs/1993019 Title: UnboundLocalError: local variable 'version' referenced before

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2022-11-05 Thread JK
I've just experienced the same issue, but with the ubuntu driver tool GUI (on Ubuntu 22.04). I tried to change the NVIDIA drivers from 515 to 520-open. After asking for my password I got a pop-up with a big grey "X" and an "OK" button, but no text. Not helpful at all. Then I took a look at the

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2022-11-01 Thread Guilherme Alvarenga
I have the same issue but I can't edit 'detect.py' as other people have suggested. It is a read-only file and I can't edit it. Any ideas how to do so? My issue is also that my second and third monitors are mostly black. Sometimes they work out of nowhere but then it goes out again. -- You

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2022-10-26 Thread D F
Also have this. Decided to update drivers after failure to run steam app. autoinstall fails -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to ubuntu-drivers-common in Ubuntu. https://bugs.launchpad.net/bugs/1993019 Title:

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2022-10-22 Thread SzySzySzy
What happened that it broken so many ppl things? wtf ubuntu My gpu stopped detecting other two displays and one display has limited resolution. It was working!!! Stopped working few days ago 3080TI if that helps.. I think it's for nvidia only, but someone messed something pretty badly.. -- You

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2022-10-17 Thread Gustavo Canabrava
Have the same problem using a Ideapad 3i. The solution provided by Weston Kelliher works, with a few start up problems, but all right now. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to ubuntu-drivers-common in Ubuntu.

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2022-10-17 Thread Sebastien Bacher
** Tags added: rls-jj-incoming -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to ubuntu-drivers-common in Ubuntu. https://bugs.launchpad.net/bugs/1993019 Title: UnboundLocalError: local variable 'version' referenced before assignment

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2022-10-15 Thread Vic Lim
I confirmed @westonkelliher 's method and I have changed the python script with the file name '{usr-directory}/detect.py and it worked. Thanks @westonkelliher ! # detect.py def nvidia_desktop_pre_installation_hook(to_install): '''Applies changes that need to happen before installing the

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2022-10-15 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu-drivers-common (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to ubuntu-drivers-common in Ubuntu.

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2022-10-15 Thread Weston Kelliher
I also ran into this issue. In my case the package names were `nvidia- driver-515-open` and `nvidia-dkms-515-open` so I changed `version = int(package_name.split('-')[-1])` to `version = int(package_name.split('-')[2])` and that worked for me (`sudo ubuntu- drivers install` ran to completion). Not

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2022-10-14 Thread Onno
See screenshot for message ** Attachment added: "screenshot-1.png" https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1993019/+attachment/5624257/+files/screenshot-1.png -- You received this bug notification because you are a member of Desktop Packages, which is

[Desktop-packages] [Bug 1993019] Re: UnboundLocalError: local variable 'version' referenced before assignment

2022-10-14 Thread Onno
I saw the same issue. I performed fresh Ubuntu 22.04.1 install on Dell Precision 7540. First attempt I immediately installed proprietary drivers by enabling this third party option in install dialog. After this Software & Updates do not allow update. All options are greyed out and cannot be