[Mailman-Users] error message
Mark Sapiro
msapiro at value.net
Sat Dec 17 22:56:06 CET 2005
Con Wieland wrote:
>any ideas?
>
>Your "cron" job
>/usr/local/bin/python -S /usr/local/mailman/cron/senddigests
>
>produced the following output:
>
>Traceback (most recent call last):
> File "/usr/local/mailman/cron/senddigests", line 94, in ?
> main()
> File "/usr/local/mailman/cron/senddigests", line 86, in main
> mlist.send_digest_now()
> File "/usr/local/mailman/Mailman/Digester.py", line 60, in
>send_digest_now
> ToDigest.send_digests(self, mboxfp)
> File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 132,
>in send_digests
> send_i18n_digests(mlist, mboxfp)
> File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 306,
>in send_i18n_digests
> msg = scrubber(mlist, msg)
> File "/usr/local/mailman/Mailman/Handlers/Scrubber.py", line 262,
>in process
> size = len(payload)
>TypeError: len() of unsized object
This was fixed in Mailman 2.1.6
Some list's lists/listname/digest.mbox has a message with the following
characteristics:
# XXX Under email 2.5, it is possible that payload will be None.
# This can happen when you have a Content-Type: multipart/* with
# only one part and that part has two blank lines between the
# first boundary and the end boundary.
Or possibly a message with different characteristics that produces the
same symptom. You can work around this by finding the offending
message and editing the digest.mbox, or see
<http://cvs.sourceforge.net/viewcvs.py/mailman/mailman/Mailman/Handlers/Scrubber.py?r1=2.18.2.12&r2=2.18.2.13>
for a fix.
--
Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list