This is because lightdm has been fixed to correctly handle locales but the crash still exists in ccsm if the locale isn't installed on the system (see test case)
--- Ubuntu Bug Squad volunteer triager http://wiki.ubuntu.com/BugSquad ** Description changed: - Binary package hint: compizconfig-settings-manager + TEST CASE: + 1. open a terminal + 2. run the command: + $ export LC_MESSAGES=unknown + 3. ccsm + + Results: + The crash below. ccsm should catch the exception and fallback to C. $ ccsm (process:1732): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Traceback (most recent call last): File "/usr/bin/ccsm", line 93, in <module> import ccm File "/usr/lib/python2.7/dist-packages/ccm/__init__.py", line 1, in <module> from ccm.Conflicts import * File "/usr/lib/python2.7/dist-packages/ccm/Conflicts.py", line 26, in <module> from ccm.Constants import * File "/usr/lib/python2.7/dist-packages/ccm/Constants.py", line 79, in <module> locale.setlocale(locale.LC_ALL, "") File "/usr/lib/python2.7/locale.py", line 531, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting When started with LANG=C it opens fine. - TEST CASE: - 1. open a terminal - 2. run the command: - $ export LC_MESSAGES=unknown - 3. ccsm - - Results: - The crash above. ccsm should catch the exception and fallback to C. ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: compizconfig-settings-manager 0.9.4-0ubuntu3 ProcVersionSignature: Ubuntu 2.6.39-3.10-generic 2.6.39 Uname: Linux 2.6.39-3-generic x86_64 NonfreeKernelModules: wl Architecture: amd64 Date: Sun Jun 12 20:58:30 2011 EcryptfsInUse: Yes InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110423) PackageArchitecture: all ProcEnviron: LANGUAGE=de:en PATH=(custom, no user) LANG=C LC_MESSAGES=de_DE.UTF-8 SHELL=/bin/bash SourcePackage: compizconfig-settings-manager UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/796308 Title: ccsm crashes with "locale.Error: unsupported locale setting" when locale is unsupported - should fallback to C To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/compizconfig-settings-manager/+bug/796308/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
