[Mailman-i18n] Fwd: slovene .po file corrupted

Matjaž Kljun matjaz.kljun at pef.upr.si
Mon Jan 19 07:26:29 EST 2004

The header of mailman.po file of slovene language in version
2.1.4 is currupted. I copied the header of english version 
and inserted the slovene info and it works fine:

# Mailman
msgid ""
msgstr ""
"Project-Id-Version: mailman_new_poprn"
"POT-Creation-Date: Sat Dec 13 14:40:28 2003n"
"PO-Revision-Date: 2003-09-30 11:18+0200n"
"Last-Translator: Urska Colner <urska.colner at agenda.si>n"
"Language-Team: Sloven??ina <sl at li.org>n"
"MIME-Version: 1.0n"
"Content-Type: text/plain; charset=ISO-8859-2n"
"Content-Transfer-Encoding: 8bitn"
"X-Generator: KBabel 1.0.1n"

Thanks for your help ;)


----- Posredovano sporočilo od Matjaž Kljun <matjaz.kljun at pef.upr.si> -----
    Datum: Mon, 19 Jan 2004 11:10:31 +0100
Pošiljatelj: Matjaž Kljun <matjaz.kljun at pef.upr.si>
Odgovori:Matjaž Kljun <matjaz.kljun at pef.upr.si>
  Zadeva: slovene .po file corrupted
 Prejemnik: mailman-i18n at python.org

Looks like I've seached every corner of the web to solve this 
problem. And found olny one person having the one like me. But
the sollution unfortunately doesn't work .-(


I'm running the Mailman 2.1.4 and whne I try to select Slovene 
as a default language Mailman hits this error.

Traceback (most recent call last):
  File "/usr/local/mailman/scripts/driver", line 80, in run_main
    pkg = __import__('Mailman.Cgi', globals(), locals(), [scriptname])
  File "/usr/local/mailman/Mailman/Cgi/listinfo.py", line 35, in ?
  File "/usr/local/mailman/Mailman/i18n.py", line 35, in set_language
  File "/usr/local/lib/python2.2/gettext.py", line 248, in translation
    t = _translations.setdefault(key, class_(open(mofile, 'rb')))
  File "/usr/local/lib/python2.2/gettext.py", line 106, in __init__
  File "/usr/local/lib/python2.2/gettext.py", line 180, in _parse
    k, v = item.split(':', 1)
ValueError: unpack list of wrong size

I went to download the last mailman.po file and compiled it (msgfmt 
-o mailman.mo mailman.po) and overwrited the old file but it does't 
help. I reported this bug at SF.org but haven't got any answer yet
(my impatience).

All other languages are working fine!

Any Idea how to solve this problem? 

Thank you

Poslano iz: https://www.pef.upr.si/Portal/horde/imp

----- Končaj posredovano sporočilo -----

Poslano iz: https://www.pef.upr.si/Portal/horde/imp

More information about the Mailman-i18n mailing list