gettext on Windows
"Martin v. Löwis"
martin at v.loewis.de
Sat Oct 28 05:28:28 EDT 2006
russ.phillips.nospam at googlemail.com schrieb:
> Traceback (most recent call last):
> File "panicbutton.py", line 36, in ?
> lan = gettext.GNUTranslations (open (sLang, "rb"))
> File "C:\Python24\lib\gettext.py", line 177, in __init__
> self._parse(fp)
> File "C:\Python24\lib\gettext.py", line 280, in _parse
> raise IOError(0, 'File is corrupt', filename)
> IOError: [Errno 0] File is corrupt: 'locale\\fr_FR.mo'
If it says so, it likely is right. How did you create the file?
Regards,
Martin
More information about the Python-list
mailing list