gnome-language-selector crashed with locale.Error in setlocale(): unsupported locale setting

Bug #1507369 reported by Rogério Theodoro de Brito on 2015-10-18
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
language-selector (Ubuntu)
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-selector-gnome 0.150
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic i686
NonfreeKernelModules: wl
ApportVersion: 2.19.1-0ubuntu2
Architecture: i386
CurrentDesktop: MATE
Date: Sun Oct 18 19:04:58 2015
ExecutablePath: /usr/bin/gnome-language-selector
InstallationDate: Installed on 2015-10-17 (0 days ago)
InstallationMedia: Ubuntu-MATE 15.10 "Wily Werewolf" - Alpha i386 (20150924)
InterpreterPath: /usr/bin/python3.4
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/gnome-language-selector
PythonArgs: ['/usr/bin/gnome-language-selector']
SourcePackage: language-selector
Title: gnome-language-selector crashed with locale.Error in setlocale(): unsupported locale setting
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

information type: Private → Public
tags: removed: need-duplicate-check
Changed in language-selector (Ubuntu):
importance: Undecided → Medium
Gunnar Hjalmarsson (gunnarhj) wrote :

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?

Changed in language-selector (Ubuntu):
status: New → Incomplete
Gunnar Hjalmarsson (gunnarhj) wrote :

Another Brazilian user reported the same odd locale error recently - see comment #150 in bug #518056. Coincidence?

Changed in language-selector (Ubuntu):
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
importance: Medium → High
status: Incomplete → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package language-selector - 0.151

---------------
language-selector (0.151) wily; urgency=medium

  * LanguageSelector/ImConfig.py:
    Prevent crash if the locale is broken (LP: #1507369, LP: #1507500).

 -- Gunnar Hjalmarsson <email address hidden> Mon, 19 Oct 2015 18:06:00 +0200

Changed in language-selector (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers