One of my lists is totally dead, and how much I try to revive it it does not come up alive (others are well). All mails sent to the list end up in the shunt/ directory. Web interface fails when sending mail (like 'subscribe' requests)...
Here's the error :
Mar 15 15:08:08 2002 (25919) Uncaught runner exception: sequence item 0: expect Mar 15 15:08:08 2002 (25919) Traceback (most recent call last): File "/home/mailman/Mailman/Queue/Runner.py", line 104, in __oneloop self.__onefile(msg, msgdata) File "/home/mailman/Mailman/Queue/Runner.py", line 155, in __onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/home/mailman/Mailman/Queue/IncomingRunner.py", line 111, in _dispose status = self._dopipeline(mlist, msg, msgdata, pipeline) File "/home/mailman/Mailman/Queue/IncomingRunner.py", line 134, in _dopipelin sys.modules[modname].process(mlist, msg, msgdata) File "/home/mailman/Mailman/Handlers/ToDigest.py", line 86, in process send_digests(mlist, mboxfp) File "/home/mailman/Mailman/Handlers/ToDigest.py", line 127, in send_digests send_i18n_digests(mlist, mboxfp) File "/home/mailman/Mailman/Handlers/ToDigest.py", line 211, in send_i18n_dig addresses = getaddresses([msg['From']]) File "/home/mailman/pythonlib/email/Utils.py", line 83, in getaddresses all = COMMASPACE.join(fieldvalues) TypeError: sequence item 0: expected string, None found
-- Fil
"F" == Fil <fil@rezo.net> writes:
F> One of my lists is totally dead, and how much I try to revive F> it it does not come up alive (others are well). All mails sent F> to the list end up in the shunt/ directory. Web interface fails F> when sending mail (like 'subscribe' requests)... F> TypeError: sequence item 0: expected string, None found The only way I can see this happening is if your messages have no From: header. That's anti-RFC and pretty broken, but here's a patch that should at least avoid the tracebacks in that situation. Give it a try. -Barry Index: ToDigest.py =================================================================== RCS file: /cvsroot/mailman/mailman/Mailman/Handlers/ToDigest.py,v retrieving revision 2.15 diff -u -u -r2.15 ToDigest.py --- ToDigest.py 19 Dec 2001 07:03:22 -0000 2.15 +++ ToDigest.py 15 Mar 2002 15:44:22 -0000 @@ -208,7 +208,7 @@ subject, re.IGNORECASE) if mo: subject = subject[:mo.start(2)] + subject[mo.end(2):] - addresses = getaddresses([msg['From']]) + addresses = getaddresses([msg.get('From', '')]) username = '' # Take only the first author we find if type(addresses) is ListType and len(addresses) > 0:
participants (2)
-
barry@zope.com
-
Fil