gnome-language-selector crashed with locale.Error in setlocale(): unsupported locale setting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
language-selector (Ubuntu) |
Fix Released
|
High
|
Gunnar Hjalmarsson |
Bug Description
Hi.
I'm trying to fix the locale of a system where I just installed wily and I'm getting the "unsupported locale setting" as in the subject.
I had a problem with the installation CD with something related to the language settings, but I thought that it would very simple to fix this without going to the command line.
If any extra information is needed, please let me know.
Rogério Brito.
ProblemType: Crash
DistroRelease: Ubuntu 15.10
Package: language-
ProcVersionSign
Uname: Linux 4.2.0-16-generic i686
NonfreeKernelMo
ApportVersion: 2.19.1-0ubuntu2
Architecture: i386
CurrentDesktop: MATE
Date: Sun Oct 18 19:04:58 2015
ExecutablePath: /usr/bin/
InstallationDate: Installed on 2015-10-17 (0 days ago)
InstallationMedia: Ubuntu-MATE 15.10 "Wily Werewolf" - Alpha i386 (20150924)
InterpreterPath: /usr/bin/python3.4
PackageArchitec
ProcCmdline: /usr/bin/python3 /usr/bin/
PythonArgs: ['/usr/
SourcePackage: language-selector
Title: gnome-language-
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
Related branches
tags: | removed: need-duplicate-check |
Changed in language-selector (Ubuntu): | |
importance: | Undecided → Medium |
Changed in language-selector (Ubuntu): | |
assignee: | nobody → Gunnar Hjalmarsson (gunnarhj) |
importance: | Medium → High |
status: | Incomplete → Fix Committed |
Your locale is broken. Somehow you have set the LANG variable to "pt_BR:pt:en", which is an invalid value. Given the other locale related variables, it should reasonably be "pt_BR.UTF-8". Probably the invalid setting is in /etc/default/locale or ~/.pam_environment.
Do you possibly have an idea how that happened?