[Mailman-Developers] cronpass.txt error

Michael Heydekamp my at freexp.de
Thu Feb 5 16:47:00 EST 2004


Michael Heydekamp <my at freexp.de> wrote on 02.02.04:

> cronpass.txt has not been sent out this month.  Can anybody explain
> what's going wrong here?

> ----------8<----------
>> Traceback (most recent call last):
>>   File "/usr/lib/mailman/cron/mailpasswds", line 238, in ?
>>     main()
>>   File "/usr/lib/mailman/cron/mailpasswds", line 214, in main
>>     text += (header + '\n' + NL.join(table))
>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xdf in position 43:
>> ordinal not in range(128)
> ----------8<----------

As there was again no answer to this I did some investigation, found
that mailman.mo is the reason for this problem, plowed through a 180k
diff file which contained all the changes I made to mailman.po and
isolated the offending line:

----------8<----------
@@ -11693,7 +11691,7 @@
 # Mailman/Cgi/confirm.py:203 Mailman/Cgi/options.py:658
 #: cron/mailpasswds:198
 msgid "Password // URL"
-msgstr "Passwort // URL"
+msgstr "Paßwort // URL"

 # Mailman/Deliverer.py:103
 #: cron/mailpasswds:221
----------8<----------

Which means that this line (which is appended to cronpass.txt) may not
contain the character "ß" - or probably even no 8bit characters at all.

Well, because...?

Anyway, looks like a bug to me.


        Michael



More information about the Mailman-Developers mailing list