[Mailman-Users] senddigests error
Paul Williams
paul.williams at uwex.edu
Mon Sep 13 16:32:34 CEST 2004
We are running mailman-2.1.1-5 on a Redhat 9 server.
Recently, (I think on Aug 30) we started getting the following error messages
Subject: Cron <mailman at shad> /usr/bin/python -S /var/mailman/cron/senddigests
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/var/mailman>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=mailman>
Traceback (most recent call last):
File "/var/mailman/cron/senddigests", line 94, in ?
main()
File "/var/mailman/cron/senddigests", line 86, in main
mlist.send_digest_now()
File "/var/mailman/Mailman/Digester.py", line 60, in send_digest_now
ToDigest.send_digests(self, mboxfp)
File "/var/mailman/Mailman/Handlers/ToDigest.py", line 123, in send_digests
send_i18n_digests(mlist, mboxfp)
File "/var/mailman/Mailman/Handlers/ToDigest.py", line 295, in
send_i18n_digests
msg = scrubber(mlist, msg)
File "/var/mailman/Mailman/Handlers/Scrubber.py", line 257, in process
url = save_attachment(mlist, part, dir)
File "/var/mailman/Mailman/Handlers/Scrubber.py", line 348, in
save_attachment
fnext = os.path.splitext(msg.get_filename(''))[1]
File "/var/mailman/pythonlib/email/Message.py", line 683, in get_filename
filename = self.get_param('filename', missing, 'content-disposition')
File "/var/mailman/pythonlib/email/Message.py", line 566, in get_param
for k, v in self._get_params_preserve(failobj, header):
File "/var/mailman/pythonlib/email/Message.py", line 516, in
_get_params_preserve
params = Utils.decode_params(params)
File "/var/mailman/pythonlib/email/Utils.py", line 337, in decode_params
charset, language, value = decode_rfc2231(EMPTYSTRING.join(value))
File "/var/mailman/pythonlib/email/Utils.py", line 283, in decode_rfc2231
charset, language, s = s.split("'", 2)
ValueError: unpack list of wrong size
We had a similar problem a couple of months ago and someone
recommended we
Edit /var/mailman/Mailman/Handlers/Scrubber.py
line 280, changed
if charset is None or charset == 'us-ascii':
to
if charset is None or charset == '' or charset == 'us-ascii':
Then I ran as user mailman
./cron/senddigests -l on_the_problem_list
This seemed to fix the problem, but now we are getting a similar problem.
Does anyone have an idea what is happening, and how to fix the problem?
If one list is causing a problem, how can you identify which list is
causing the problem?
Thanks,
paulw
More information about the Mailman-Users
mailing list