ubuntu-support-status crashed with UnicodeEncodeError in __main__: ascii codec can t encode character xf6 in position 29: ordinal not in range 128
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
In order to get output in English (not my local Swedish language) I ran the following alias in a terminal window
alias LC='LC_
and after that I ran
ubuntu-
$ LC
$ ubuntu-
Traceback (most recent call last):
File "/usr/bin/
print(
UnicodeEncodeError: 'ascii' codec can't encode character '\xf6' in position 29: ordinal not in range(128)
(I have used LC for years in several versions of Ubuntu without problems.)
The command
ubuntu-
works in my local language.
ProblemType: Crash
DistroRelease: Ubuntu 16.04
Package: update-manager-core 1:15.10.3
ProcVersionSign
Uname: Linux 4.4.0-11-generic i686
NonfreeKernelMo
ApportVersion: 2.20-0ubuntu3
Aptdaemon:
Architecture: i386
CurrentDesktop: LXDE
Date: Sat Mar 12 09:22:32 2016
ExecutablePath: /usr/bin/
InstallationDate: Installed on 2016-02-28 (12 days ago)
InstallationMedia: Lubuntu 16.04 LTS "Xenial Xerus" - Alpha i386 (20160226)
InterpreterPath: /usr/bin/python3.5
PackageArchitec
ProcCmdline: /usr/bin/python3 /usr/bin/
PythonArgs: ['/usr/
SourcePackage: update-manager
Title: ubuntu-
Traceback:
Traceback (most recent call last):
File "/usr/bin/
print(
UnicodeEncodeE
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dialout dip fax floppy libvirtd lpadmin netdev plugdev sambashare scanner sudo tape video
tags: | removed: need-duplicate-check |
Changed in update-manager (Ubuntu): | |
importance: | Undecided → Medium |
information type: | Private → Public |
I bisected my LC alias:
LANG=C
provokes this bug.
LC_ALL=C
does not provoke it, but the output will still be in my native language.