meld crashed with Error in setlocale(): unsupported locale setting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
meld (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: meld
This probably shouldn't happen.
TEST CASE:
1. open a terminal and run the command:
$ LC_ALL=unknown meld
Result:
meld crashes with the traceback:
Traceback (most recent call last):
File "/usr/bin/meld", line 75, in <module>
locale.
File "/usr/lib/
return _setlocale(
Error: unsupported locale setting
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: meld 1.5.1-1
ProcVersionSign
Uname: Linux 3.0-1-generic x86_64
Architecture: amd64
Date: Mon Jun 20 23:05:48 2011
ExecutablePath: /usr/bin/meld
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/meld -a --label=
ProcEnviron:
LANGUAGE=en_AU:en
PATH=(custom, user)
LANG=en_AU
LC_MESSAGES=
SHELL=/bin/bash
PythonArgs: ['/usr/bin/meld', '-a', '--label=
SourcePackage: meld
Title: meld crashed with Error in setlocale(): unsupported locale setting
UpgradeStatus: Upgraded to oneiric on 2011-06-16 (4 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
tags: | removed: need-duplicate-check |
tags: | added: testcase |
Changed in meld (Ubuntu): | |
assignee: | nobody → Omar Abdallah (bloody-grim) |
Changed in meld (Ubuntu): | |
status: | Triaged → In Progress |
Thanks for your report. Reproducible by setting a non-existent locale. meld should fall back to C instead of crashing. Setting to traiged/medium the workaround being to set the locale to C or an installed locale before launching meld.