Comment 3 for bug 365477

Revision history for this message
Børre Gaup (boerre) wrote :

I use the ppa version: gtg_0.1.1~jaunty1_all.deb
My locale is se_NO.UTF-8. I have set it like this: LC_ALL=se_NO.UTF-8
Kubuntu Jaunty fully updated is my distribution.

I checked out gtg like this: bzr branch lp:gtg, and when I run ./gtg I get exactly the same error:
Traceback (most recent call last):
  File "./gtg", line 30, in <module>
    import sys, GTG.gtg
  File "/home/boerre/Dokumenter/gtg/GTG/__init__.py", line 78, in <module>
    fallback=True)
  File "/usr/lib/python2.6/gettext.py", line 480, in translation
    mofiles = find(domain, localedir, languages, all=1)
  File "/usr/lib/python2.6/gettext.py", line 437, in find
    for nelang in _expand_lang(lang):
  File "/usr/lib/python2.6/gettext.py", line 132, in _expand_lang
    locale = normalize(locale)
  File "/usr/lib/python2.6/locale.py", line 333, in normalize
    fullname = localename.lower()
AttributeError: 'list' object has no attribute 'lower'

I also tried LC_ALL=C ./gtg and LC_ALL=nb_NO.UTF-8 ./gtg with the same results