Op dinsdag 17-10-2006 om 15:14 uur [tijdzone +0200], schreef Amedee Van
Gasse:
> I just upgraded to the latest&greatest version of spambayes, and now
> sb_server.py tells me:
> 
> Traceback (most recent call last):
>   File "/usr/bin/sb_server.py", line 979, in ?
>     state = State()
>   File "/usr/bin/sb_server.py", line 719, in __init__
>     self.init()
>   File "/usr/bin/sb_server.py", line 734, in init
>     self.lang_manager.set_language(\
>   File "/usr/lib/python2.3/site-packages/spambayes/i18n.py", line 116, in
> locale_default_lang
>     return getdefaultlocale()[0]
>   File "/usr/lib/python2.3/locale.py", line 346, in getdefaultlocale
>     return _parse_localename(localename)
>   File "/usr/lib/python2.3/locale.py", line 280, in _parse_localename
>     raise ValueError, 'unknown locale: %s' % localename
> ValueError: unknown locale: en_DE:en_US:en_GB:en
> 
Forget I ever asked.
The last line says it all:

ValueError: unknown locale: en_DE:en_US:en_GB:en

I changed $LANGUAGE to nl_BE and now it works like a charm!

-- 
Amedee Van Gasse <[EMAIL PROTECTED]>

_______________________________________________
[email protected]
http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html

Reply via email to