[Bug 905429] Re: gnome-language-selector crashed with ValueError in _build_localename(): too many values to unpack
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 Desktop Bugs, which is subscribed to pygobject in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 905429] Re: gnome-language-selector crashed with ValueError in _build_localename(): too many values to unpack
On 2011-12-17 18:11, Justin wrote: same problem occurs in Oneiric too This _exact_ problem should only affect Precise. If you see something similar in Oneiric, can you please submit a separate bug about it. ** Also affects: python2.7 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to pygobject in 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/ubuntu/+source/language-selector/+bug/905429/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 905429] Re: gnome-language-selector crashed with ValueError in _build_localename(): too many values to unpack
This issue was introduced by the _decode_value() function in pygobject/gi/overrides/Gtk.py. Assuming that there is a good reason for that function, I propose a python2.7 patch that fixes the issue. ** Patch added: locale-as-unicode.diff https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/905429/+attachment/2638093/+files/locale-as-unicode.diff ** Changed in: python2.7 (Ubuntu) Status: New = Confirmed ** Tags removed: amd64 running-unity ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to pygobject in 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/ubuntu/+source/language-selector/+bug/905429/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 905429]
The attachment locale-as-unicode.diff of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report. [This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.] -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to pygobject in 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/ubuntu/+source/language-selector/+bug/905429/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 905429] Re: gnome-language-selector crashed with ValueError in _build_localename(): too many values to unpack
same problem occurs in Oneiric too -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to pygobject in 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/ubuntu/+source/language-selector/+bug/905429/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 905429] Re: gnome-language-selector crashed with ValueError in _build_localename(): too many values to unpack
Same problem also in 32 bit Xubuntu 12.04 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to pygobject in 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/ubuntu/+source/language-selector/+bug/905429/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 905429] Re: gnome-language-selector crashed with ValueError in _build_localename(): too many values to unpack
Thanks for your help to improve Ubuntu by reporting this bug! I'm able to reproduce it. I could also make the bug disappear by downgrading python-gi, python-gi-cairo and python-gobject from 3.0.3-1 to 3.0.2-4, so it seems to be caused by the latest pygobject upgrade. ** Also affects: pygobject (Ubuntu) Importance: Undecided Status: New ** Changed in: pygobject (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to pygobject in 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/ubuntu/+source/language-selector/+bug/905429/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs