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.

** Changed in: meld (Ubuntu)
   Importance: Undecided => Medium

** Changed in: meld (Ubuntu)
       Status: New => Triaged

** Visibility changed to: Public

** Description changed:

  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.setlocale(locale.LC_ALL,'')
+   File "/usr/lib/python2.7/locale.py", line 531, in setlocale
+     return _setlocale(category, locale)
+ Error: unsupported locale setting
+ 
  
  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: meld 1.5.1-1
  ProcVersionSignature: Ubuntu 3.0-1.2-generic 3.0.0-rc3
  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
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/meld -a 
--label=pydlnadms.py@61:8485e07dd08b 
/tmp/thg.Ie2LtI/pydlnadms.1.61/pydlnadms.py --label=pydlnadms.py 
/home/username/src/pydlnadms/pydlnadms.py
  ProcEnviron:
-  LANGUAGE=en_AU:en
-  PATH=(custom, user)
-  LANG=en_AU
-  LC_MESSAGES=en_AU.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=en_AU:en
+  PATH=(custom, user)
+  LANG=en_AU
+  LC_MESSAGES=en_AU.UTF-8
+  SHELL=/bin/bash
  PythonArgs: ['/usr/bin/meld', '-a', '--label=pydlnadms.py@61:8485e07dd08b', 
'/tmp/thg.Ie2LtI/pydlnadms.1.61/pydlnadms.py', '--label=pydlnadms.py', 
'/home/username/src/pydlnadms/pydlnadms.py']
  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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/799721

Title:
  meld crashed with Error in setlocale(): unsupported locale setting

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/meld/+bug/799721/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to