Activity log for bug #1943614

Date Who What changed Old value New value Message
2021-09-14 15:01:12 Łukasz Zemczak bug added bug
2021-09-14 15:01:52 Łukasz Zemczak description [Impact] Ok, first of all - I am unsure if this is a regression or not, since I did not test extra drivers with old images. I'm testing this on kvm now. Basically when installing Ubuntu desktop on a system that uses ubuntu-drivers but using a non-standard locale (like in my case, the Polish language from the language selector), ubuntu-drivers will crash with: ` Traceback (most recent call last): File "/usr/bin/ubuntu-drivers", line 480, in <module> greet() File "/usr/lib/python3/dist-packages/click/core.py", line 722, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python3/dist-packages/click/core.py", line 676, in main _verify_python3_env() File "/usr/lib/python3/dist-packages/click/_unicodefun.py", line 118, in _verify_python3_env 'for mitigation steps.' + extra) RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment. Consult http://click.pocoo.org/python3/for mitigation steps. This system supports the C.UTF-8 locale which is recommended. You might be able to resolve your issue by exporting the following environment variables: export LC_ALL=C.UTF-8 export LANG=C.UTF-8 Click discovered that you exported a UTF-8 locale but the locale system could not pick up from it because it does not exist. The exported locale is "pl_PL.UTF-8" but it is not supported ubuntu-drivers autoinstall failed with code: 1 ` [Test Case] * Download latest 18.04.6 candidate image for ubuntu-desktop * In language selector, select Polish (Polski) * Proceed with the installation and checking "Install third-party software..." * Boot into the installed system * Check if `ubuntu-drivers install ...` succeeded during installation, checking the installer syslog. [Impact] Ok, first of all - I am unsure if this is a regression or not, since I did not test extra drivers with old images. I'm testing this on kvm now. So far this bug appeared for me when I was running ubiquity with secureboot enabled on a NVidia GPU machine. Basically when installing Ubuntu desktop on a system that uses ubuntu-drivers but using a non-standard locale (like in my case, the Polish language from the language selector), ubuntu-drivers will crash with: ` Traceback (most recent call last):   File "/usr/bin/ubuntu-drivers", line 480, in <module>     greet()   File "/usr/lib/python3/dist-packages/click/core.py", line 722, in __call__     return self.main(*args, **kwargs)   File "/usr/lib/python3/dist-packages/click/core.py", line 676, in main     _verify_python3_env()   File "/usr/lib/python3/dist-packages/click/_unicodefun.py", line 118, in _verify_python3_env     'for mitigation steps.' + extra) RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment. Consult http://click.pocoo.org/python3/for mitigation steps. This system supports the C.UTF-8 locale which is recommended. You might be able to resolve your issue by exporting the following environment variables:     export LC_ALL=C.UTF-8     export LANG=C.UTF-8 Click discovered that you exported a UTF-8 locale but the locale system could not pick up from it because it does not exist. The exported locale is "pl_PL.UTF-8" but it is not supported ubuntu-drivers autoinstall failed with code: 1 ` [Test Case] * Download latest 18.04.6 candidate image for ubuntu-desktop * In language selector, select Polish (Polski) * Proceed with the installation and checking "Install third-party software..." * Boot into the installed system * Check if `ubuntu-drivers install ...` succeeded during installation, checking the installer syslog.
2021-09-14 15:27:35 Łukasz Zemczak nominated for series Ubuntu Bionic
2021-09-14 15:27:35 Łukasz Zemczak bug task added ubiquity (Ubuntu Bionic)
2021-09-14 15:27:39 Łukasz Zemczak ubiquity (Ubuntu Bionic): importance Undecided Critical
2021-09-14 15:27:45 Łukasz Zemczak ubiquity (Ubuntu): status New Invalid
2021-09-14 15:27:47 Łukasz Zemczak ubiquity (Ubuntu Bionic): status New Confirmed
2021-09-14 15:27:53 Łukasz Zemczak ubiquity (Ubuntu Bionic): assignee Łukasz Zemczak (sil2100)
2021-09-14 15:59:26 Łukasz Zemczak description [Impact] Ok, first of all - I am unsure if this is a regression or not, since I did not test extra drivers with old images. I'm testing this on kvm now. So far this bug appeared for me when I was running ubiquity with secureboot enabled on a NVidia GPU machine. Basically when installing Ubuntu desktop on a system that uses ubuntu-drivers but using a non-standard locale (like in my case, the Polish language from the language selector), ubuntu-drivers will crash with: ` Traceback (most recent call last):   File "/usr/bin/ubuntu-drivers", line 480, in <module>     greet()   File "/usr/lib/python3/dist-packages/click/core.py", line 722, in __call__     return self.main(*args, **kwargs)   File "/usr/lib/python3/dist-packages/click/core.py", line 676, in main     _verify_python3_env()   File "/usr/lib/python3/dist-packages/click/_unicodefun.py", line 118, in _verify_python3_env     'for mitigation steps.' + extra) RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment. Consult http://click.pocoo.org/python3/for mitigation steps. This system supports the C.UTF-8 locale which is recommended. You might be able to resolve your issue by exporting the following environment variables:     export LC_ALL=C.UTF-8     export LANG=C.UTF-8 Click discovered that you exported a UTF-8 locale but the locale system could not pick up from it because it does not exist. The exported locale is "pl_PL.UTF-8" but it is not supported ubuntu-drivers autoinstall failed with code: 1 ` [Test Case] * Download latest 18.04.6 candidate image for ubuntu-desktop * In language selector, select Polish (Polski) * Proceed with the installation and checking "Install third-party software..." * Boot into the installed system * Check if `ubuntu-drivers install ...` succeeded during installation, checking the installer syslog. [Impact] Ok, first of all - I am unsure if this is a regression or not, since I did not test extra drivers with old images. I'm testing this on kvm now. So far this bug appeared for me when I was running ubiquity with secureboot enabled on a NVidia GPU machine. Note: this only happens when the language selection is done on the Ubiquity screen. If you get the language right in the isolinux menu, everything works. Basically when installing Ubuntu desktop on a system that uses ubuntu-drivers but using a non-standard locale (like in my case, the Polish language from the language selector), ubuntu-drivers will crash with: ` Traceback (most recent call last):   File "/usr/bin/ubuntu-drivers", line 480, in <module>     greet()   File "/usr/lib/python3/dist-packages/click/core.py", line 722, in __call__     return self.main(*args, **kwargs)   File "/usr/lib/python3/dist-packages/click/core.py", line 676, in main     _verify_python3_env()   File "/usr/lib/python3/dist-packages/click/_unicodefun.py", line 118, in _verify_python3_env     'for mitigation steps.' + extra) RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment. Consult http://click.pocoo.org/python3/for mitigation steps. This system supports the C.UTF-8 locale which is recommended. You might be able to resolve your issue by exporting the following environment variables:     export LC_ALL=C.UTF-8     export LANG=C.UTF-8 Click discovered that you exported a UTF-8 locale but the locale system could not pick up from it because it does not exist. The exported locale is "pl_PL.UTF-8" but it is not supported ubuntu-drivers autoinstall failed with code: 1 ` [Test Case] * Download latest 18.04.6 candidate image for ubuntu-desktop * In language selector, select Polish (Polski) * Proceed with the installation and checking "Install third-party software..." * Boot into the installed system * Check if `ubuntu-drivers install ...` succeeded during installation, checking the installer syslog.
2021-09-14 17:10:10 Steve Langasek summary ubuntu-drivers crashes due to click when ubiquity runs the Polish language (locale) ubuntu-drivers crashes in python3-click when ubiquity runs the Polish language (locale)
2021-09-14 17:11:23 Steve Langasek bug task added ubuntu-drivers-common (Ubuntu)
2021-09-14 17:11:33 Steve Langasek ubuntu-drivers-common (Ubuntu): status New Invalid
2021-09-14 19:44:04 Brian Murray ubuntu-drivers-common (Ubuntu Bionic): status New Fix Committed
2021-09-14 19:44:06 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2021-09-14 19:44:08 Brian Murray bug added subscriber SRU Verification
2021-09-14 19:44:12 Brian Murray tags verification-needed verification-needed-bionic
2021-09-15 08:47:47 Łukasz Zemczak tags verification-needed verification-needed-bionic verification-done verification-done-bionic
2021-09-15 15:09:35 Launchpad Janitor ubuntu-drivers-common (Ubuntu Bionic): status Fix Committed Fix Released
2021-09-15 15:09:44 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team