qt-language-selector has bad char encoding

Bug #186157 reported by Rafael Belmonte
2
Affects Status Importance Assigned to Milestone
language-selector (Ubuntu)
Fix Released
Undecided
Michael Vogt

Bug Description

Binary package hint: language-selector-qt

Using Kubuntu 8.04 and language-selector-qt 0.2.10:
Language selector has bad charset encoding, and that make impossible to select or install/uninstall languages.
I am attaching screenshot.

###See the konsole output below###
sudo qt-language-selector --mode select
/usr/lib/python2.5/site-packages/LanguageSelector/qt/QtLanguageSelector.py:222: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  code = self._localeinfo.localeToCodeMap[new_locale]
ERROR: can not find new_locale: 'Inglés'
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/LanguageSelector/qt/QtLanguageSelector.py", line 173, in onSystemPushButtonOk
    (lang, code) = self.getSystemLanguage()
TypeError: 'NoneType' object is not iterable

###See my locale actual configuration below:###
LANG=es_ES.UTF-8
LANGUAGE=es_ES:es:en_GB:en
LC_CTYPE="es_ES.UTF-8"
LC_NUMERIC="es_ES.UTF-8"
LC_TIME="es_ES.UTF-8"
LC_COLLATE="es_ES.UTF-8"
LC_MONETARY="es_ES.UTF-8"
LC_MESSAGES="es_ES.UTF-8"
LC_PAPER="es_ES.UTF-8"
LC_NAME="es_ES.UTF-8"
LC_ADDRESS="es_ES.UTF-8"
LC_TELEPHONE="es_ES.UTF-8"
LC_MEASUREMENT="es_ES.UTF-8"
LC_IDENTIFICATION="es_ES.UTF-8"
LC_ALL=

Revision history for this message
Rafael Belmonte (eaglescreen) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

This should be fixed in my local bzr tree and will be part of the next upload (0.3.1)

Changed in language-selector:
assignee: nobody → mvo
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package language-selector - 0.3.1

---------------
language-selector (0.3.1) hardy; urgency=low

  [ Michale Vogt ]
  * LanguageSelector/gtk/GtkLanguageSelector.py
    - use absolute path when calling gksu (LP: #194166)
  * data/language-selector.desktop.in:
    - remove X-KDE-SubstituteUID
  * fix icon inconsistency (LP: #164316)
  * LanguageSelector/qt/QtLanguageSelector.py:
    - fix charackter encoding in UI (LP: #186157)
  * data/Language-selector.glade:
    - make the main wndow type "Normal" (LP: #148912)

  [ Arne Goetje ]
  * debian/rules: remove dh_link for locale specific fontconfig files
  * LanguageSelector/FontConfig.py: link all locale specific fontconfig files
    only when the locale is called. (LP: #199557)

 -- Michael Vogt <email address hidden> Wed, 12 Mar 2008 13:06:16 +0100

Changed in language-selector:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.