Comment 10 for bug 365477

Revision history for this message
Bertrand Rousseau (bertrand-rousseau) wrote : Re: [Bug 365477] Re: Crashes on startup

I have no idea what this is all about. As far as I can see, the
gettext.translation function is correctly used:
http://docs.python.org/library/gettext.html

Could you post here the content of those environnement variables:
LANGUAGE, LC_ALL, LC_MESSAGES, LANG ?

On Mon, Apr 27, 2009 at 4:32 PM, Lionel Dricot <email address hidden> wrote:
> Børre > This is really helpful. I add pyroom to this bug and I hope that
> they will help us to debug this issue.
>
> ** Also affects: pyroom
>   Importance: Undecided
>       Status: New
>
> --
> Crashes on startup
> https://bugs.launchpad.net/bugs/365477
> You received this bug notification because you are a member of Gtg
> developers, which is the registrant for Getting Things GNOME!.
>
> Status in Getting Things GNOME!: New
> Status in PyRoom: distraction-free writing: New
>
> Bug description:
> When I start up gtg (from the commandline), I get this message:
> gtg
> Traceback (most recent call last):
>  File "/usr/bin/gtg", line 30, in <module>
>    import sys, GTG.gtg
>  File "/usr/lib/python2.6/dist-packages/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'
>
> This also happens when I try to start it like this: LC_ALL=C gtg
>

--
Bertrand Rousseau
Place communale 1, 1450 Chastre, Belgium
e-mail : <email address hidden>
tel : +32 485 96 69 86