My senddigests cron stopped working a couple of days ago. It runs through about 1/3 of the domains and then spits out this error:

Traceback (most recent call last):
File "/home/mailman/cron/senddigests", line 95, in ?
main()
File "/home/mailman/cron/senddigests", line 87, in main
mlist.send_digest_now()
File "/home/mailman/Mailman/Digester.py", line 60, in send_digest_now
ToDigest.send_digests(self, mboxfp)
File "/home/mailman/Mailman/Handlers/ToDigest.py", line 132, in send_digests
send_i18n_digests(mlist, mboxfp)
File "/home/mailman/Mailman/Handlers/ToDigest.py", line 306, in send_i18n_digests
msg = scrubber(mlist, msg)
File "/home/mailman/Mailman/Handlers/Scrubber.py", line 227, in process
url = save_attachment(mlist, part, dir, filter_html=False)
File "/home/mailman/Mailman/Handlers/Scrubber.py", line 359, in save_attachment
fnext = os.path.splitext(msg.get_filename(''))[1]
File "/home/mailman/pythonlib/email/Message.py", line 708, in get_filename
filename = self.get_param('filename', missing, 'content-disposition')
File "/home/mailman/pythonlib/email/Message.py", line 591, in get_param
for k, v in self._get_params_preserve(failobj, header):
File "/home/mailman/pythonlib/email/Message.py", line 538, in _get_params_preserve
params = Utils.decode_params(params)
File "/home/mailman/pythonlib/email/Utils.py", line 337, in decode_params
charset, language, value = decode_rfc2231(EMPTYSTRING.join(value))
File "/home/mailman/pythonlib/email/Utils.py", line 284, in decode_rfc2231
charset, language, s = parts
ValueError: unpack list of wrong size



I made it print out the lists as it went through them and I was able to figure out which digest file was causing the problem and after moving it out of the way the senddigests script finished.


Any ideas?  I have the goofy digest file if that helps.

        Dallas


_______________________________________________ Mailman-Developers mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-developers Unsubscribe: http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Reply via email to