Bugs item #642996, was opened at 2002-11-24 02:42 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100103&aid=642996&group_id=103 Category: mail delivery Group: 2.1 beta
Status: Closed Resolution: Works For Me Priority: 4 Submitted By: Hatuka*nezumi (hatukanezumi) Assigned to: Nobody/Anonymous (nobody) Summary: can't send Plain Digest w/multipart msg.
Initial Comment: cron/senddigests and cgi-bin/admin/digest can't send plain digest when multipart message(s) are contained. Note: Attached file will solve this problem for only cron/senddigests, but not for cgi. Traceback: admin(17454): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ admin(17454): [----- Mailman Version: 2.1b5 -----] admin(17454): [----- Traceback ------] admin(17454): Traceback (most recent call last): admin(17454): File "/usr/local/mail/mailman/scripts/driver", line 87, in run_main admin(17454): main() admin(17454): File "/usr/local/mail/mailman/Mailman/Cgi/admin.py", line 169, in main admin(17454): change_options(mlist, category, subcat, cgidata, doc) admin(17454): File "/usr/local/mail/mailman/Mailman/Cgi/admin.py", line 1229, in change_options admin(17454): gui.handleForm(mlist, category, subcat, cgidata, doc) admin(17454): File "/usr/local/mail/mailman/Mailman/Gui/GUIBase.py", line 169, in handleForm admin(17454): self._setValue(mlist, property, val, doc) admin(17454): File "/usr/local/mail/mailman/Mailman/Gui/Digest.py", line 148, in _setValue admin(17454): status = mlist.send_digest_now() admin(17454): File "/usr/local/mail/mailman/Mailman/Digester.py", line 60, in send_digest_now admin(17454): ToDigest.send_digests(self, mboxfp) admin(17454): File "/usr/local/mail/mailman/Mailman/Handlers/ToDigest.py", line 130, in send_digests admin(17454): send_i18n_digests(mlist, mboxfp) admin(17454): File "/usr/local/mail/mailman/Mailman/Handlers/ToDigest.py", line 301, in send_i18n_digests admin(17454): g(msg, unixfrom=0) admin(17454): File "/usr/local/mail/mailman/pythonlib/email/Generator.py", line 100, in flatten admin(17454): self._write(msg) admin(17454): File "/usr/local/mail/mailman/pythonlib/email/Generator.py", line 128, in _write admin(17454): self._dispatch(msg) admin(17454): File "/usr/local/mail/mailman/pythonlib/email/Generator.py", line 154, in _dispatch admin(17454): meth(msg) admin(17454): File "/usr/local/mail/mailman/pythonlib/email/Generator.py", line 212, in _handle_text admin(17454): raise TypeError, 'string payload expected: %s' % type(payload) admin(17454): TypeError: string payload expected: <type 'list'> ----------------------------------------------------------------------
Comment By: Barry A. Warsaw (bwarsaw) Date: 2002-12-12 09:18
Message: Logged In: YES user_id=12800 Cool, thanks for the update ---------------------------------------------------------------------- Comment By: Hatuka*nezumi (hatukanezumi) Date: 2002-12-12 06:17 Message: Logged In: YES user_id=529503 Hmm... It is not reproducible on 2.1b6 release. Please delete. Sorry. ---------------------------------------------------------------------- Comment By: Barry A. Warsaw (bwarsaw) Date: 2002-12-02 11:11 Message: Logged In: YES user_id=12800 I tried some examples but couldn't get this to reproduce. Can you send me an example message which, when sent through the plain text digest, causes it to barf like this? IOW, can you upload a reproducible test case? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100103&aid=642996&group_id=103