On Mon, Oct 23, 2006 at 01:57:28AM +0200, Christoph Anton Mitterer wrote:
> Subject: apt-listchanges fails with custom locale
> Package: apt-listchanges
> Version: 2.70
> Severity: important
> 
> Hi.
> 
> I'm using my own custom locale in debian. It seems that apt-listchanges
> doesn't support the use of custom locales. The error I get is the
> following:
> 
> Reading changelogs... Done
> Traceback (most recent call last):
>   File "/usr/bin/apt-listchanges", line 215, in ?
>     main()
>   File "/usr/bin/apt-listchanges", line 179, in main
>     frontend.display_output(changes)
>   File "/usr/share/apt-listchanges/apt_listchanges.py", line 431, in
> display_output
>     tmp.write(self._render(text))
>   File "/usr/share/apt-listchanges/apt_listchanges.py", line 365, in _render
>     newtext.append(uline.encode(locale.getlocale()[1] or 'ascii',
> 'replace'))
>   File "/usr/lib/python2.4/locale.py", line 365, in getlocale
>     return _parse_localename(localename)
>   File "/usr/lib/python2.4/locale.py", line 278, in _parse_localename
>     raise ValueError, 'unknown locale: %s' % localename
> ValueError: unknown locale: [EMAIL PROTECTED]
> Extracting templates from packages: 100%
> 
> Any ideas? For additional information please ask me :)

  yes, what is that "custom" locale you're using ?

-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org

Attachment: pgphNv6Up85Yh.pgp
Description: PGP signature

Reply via email to