gnome-language-selector crashed with ValueError in _build_localename(): too many values to unpack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
language-selector (Ubuntu) |
Fix Released
|
Undecided
|
Gunnar Hjalmarsson | ||
Oneiric |
Fix Released
|
Low
|
Gunnar Hjalmarsson | ||
Precise |
Fix Released
|
Undecided
|
Gunnar Hjalmarsson |
Bug Description
SRU note
--------
I suggest that the linked branch is uploaded to oneiric-proposed. The change (patch attached) is identical with the change to LanguageSelecto
Even if I don't know the exact reason why unicode strings may be passed to locale.setlocale() also in Oneiric, the fact that it apparently can happen is a good enough reason IMO to backport the Precise fix to Oneiric as an SRU, especially since the regression risk is zero.
/ Gunnar Hjalmarsson
Rest of description
-------------------
This bug affects Oneiric:
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
/usr/lib/
if lang_name == self._lang[lang]:
Traceback (most recent call last):
File "/usr/bin/
options=
File "/usr/lib/
self.
File "/usr/lib/
res = f(*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
locale.
File "/usr/lib/
locale = normalize(
File "/usr/lib/
language, encoding = localetuple
ValueError: too many values to unpack
Related branches
tags: | added: oneiric-proposed sru |
Changed in language-selector (Ubuntu Oneiric): | |
assignee: | nobody → Gunnar Hjalmarsson (gunnarhj) |
status: | New → In Progress |
Changed in language-selector (Ubuntu Precise): | |
status: | In Progress → Fix Released |
tags: |
added: verification-done removed: verification-needed |
Status changed to 'Confirmed' because the bug affects multiple users.