[Bug 1943614] Re: ubuntu-drivers crashes in python3-click when ubiquity runs the Polish language (locale)
Brian Murray
1943614 at bugs.launchpad.net
Tue Sep 14 19:44:13 UTC 2021
Hello Łukasz, or anyone else affected,
Accepted ubuntu-drivers-common into bionic-proposed. The package will
build now and be available at
https://launchpad.net/ubuntu/+source/ubuntu-drivers-
common/1:0.8.6.3~0.18.04.2 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
bionic to verification-done-bionic. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-bionic. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: ubuntu-drivers-common (Ubuntu Bionic)
Status: New => Fix Committed
** Tags added: verification-needed verification-needed-bionic
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1943614
Title:
ubuntu-drivers crashes in python3-click when ubiquity runs the Polish
language (locale)
Status in ubiquity package in Ubuntu:
Invalid
Status in ubuntu-drivers-common package in Ubuntu:
Invalid
Status in ubiquity source package in Bionic:
Confirmed
Status in ubuntu-drivers-common source package in Bionic:
Fix Committed
Bug 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.
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1943614/+subscriptions
More information about the foundations-bugs
mailing list