[Bug 366951] Re: ValueError: too many values to unpack

Gunnar Hjalmarsson 366951 at bugs.launchpad.net
Sun May 15 22:13:42 UTC 2016

By using a non-utf8 locale on an Ubuntu desktop, you ask for trouble. I
don't see a strong enough reason to make language-selector deal with it.

** Changed in: language-selector (Ubuntu)
       Status: Triaged => Opinion

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to language-selector in Ubuntu.

  ValueError: too many values to unpack

Status in language-selector:
Status in language-selector package in Ubuntu:

Bug description:
  The language-selector fails to launch after upgrade to Ubuntu 9.04.
  (Although I have not run it before the upgrade for long time.)

  The log is as follows:
  $ /usr/bin/gnome-language-selector
  /usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py:837: GtkWarning: gtk_cell_view_set_cell_data: assertion `cell_view->priv->displayed_row != NULL' failed
    cell = combo.get_child().get_cell_renderers()[0]
  Traceback (most recent call last):
    File "/usr/bin/gnome-language-selector", line 34, in <module>
    File "/usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 171, in __init__
    File "/usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 58, in wrapper
      res = f(*args, **kwargs)
    File "/usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 856, in updateUserDefaultCombo
    File "/usr/lib/python2.6/dist-packages/LanguageSelector/LocaleInfo.py", line 135, in translate
      (lang, country) = string.split(locale, "_")
  ValueError: too many values to unpack
  $ lsb_release -d
  Description:    Ubuntu 9.04

  Which config files should I to attach?

To manage notifications about this bug go to:

More information about the foundations-bugs mailing list