Easily reproducible python2.7 bug:

$ python -c "import locale; locale.setlocale(locale.LC_ALL, u'de_DE.UTF-8')"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/locale.py", line 538, in setlocale
    locale = normalize(_build_localename(locale))
  File "/usr/lib/python2.7/locale.py", line 445, in _build_localename
    language, encoding = localetuple
ValueError: too many values to unpack

Python 3 is not affected. I'll forward this to upstream and add a
workaround to language-selector.

** Also affects: language-selector (Ubuntu Precise)
   Importance: Undecided
       Status: Confirmed

** Also affects: pygobject (Ubuntu Precise)
   Importance: Undecided
       Status: Confirmed

** Also affects: python2.7 (Ubuntu Precise)
   Importance: Undecided
       Status: Confirmed

** No longer affects: pygobject (Ubuntu Precise)

** No longer affects: pygobject (Ubuntu)

** Changed in: language-selector (Ubuntu Precise)
     Assignee: (unassigned) => Martin Pitt (pitti)

** Changed in: language-selector (Ubuntu Precise)
   Importance: Undecided => High

** Changed in: language-selector (Ubuntu Precise)
    Milestone: None => precise-alpha-2

** Changed in: language-selector (Ubuntu Precise)
       Status: Confirmed => In Progress

** No longer affects: python2.7 (Ubuntu Precise)

** Changed in: python2.7 (Ubuntu)
   Importance: Undecided => Medium

** Changed in: python2.7 (Ubuntu)
       Status: Confirmed => Triaged

** Bug watch added: Python Roundup #3067
   http://bugs.python.org/issue3067

** Also affects: python via
   http://bugs.python.org/issue3067
   Importance: Unknown
       Status: Unknown

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

Title:
  gnome-language-selector crashed with ValueError in
  _build_localename(): too many values to unpack

To manage notifications about this bug go to:
https://bugs.launchpad.net/python/+bug/905429/+subscriptions

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

Reply via email to