[Pkg-mailman-hackers] Bug#384016: I have this problem too, and it's caused by python 2.4.

Joey Hess joeyh at debian.org
Sun Sep 10 17:32:15 UTC 2006


wren% /usr/lib/mailman/cron/senddigests
Traceback (most recent call last):
  File "/usr/lib/mailman/cron/senddigests", line 94, in ?
    main()
  File "/usr/lib/mailman/cron/senddigests", line 86, in main
    mlist.send_digest_now()
  File "/var/lib/mailman/Mailman/Digester.py", line 60, in send_digest_now
    ToDigest.send_digests(self, mboxfp)
  File "/var/lib/mailman/Mailman/Handlers/ToDigest.py", line 142, in send_digests
    send_i18n_digests(mlist, mboxfp)
  File "/var/lib/mailman/Mailman/Handlers/ToDigest.py", line 324, in send_i18n_digests
    msg = scrubber(mlist, msg)
  File "/var/lib/mailman/Mailman/Handlers/Scrubber.py", line 393, in process
    replace_payload_by_text(msg, sep.join(text), charset)
  File "/var/lib/mailman/Mailman/Handlers/Scrubber.py", line 175, in replace_payload_by_text
    msg.set_payload(text, charset)
  File "email/Message.py", line 218, in set_payload
  File "email/Message.py", line 242, in set_charset
TypeError: iso-8859-1

Here's one way to avoid this problem:

wren% python2.3 /usr/lib/mailman/cron/senddigests
wren% echo $?
0

So for a temporary workaround, I've edited the hashbang in that file
to force the use of python2.3..

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-mailman-hackers/attachments/20060910/ee0bdc81/attachment.pgp


More information about the Pkg-mailman-hackers mailing list