We are having a similar issue. Running version 2.1.9 on RHEL4. We do not lose every email that is HTML. It is random and so far appears to be affecting only 1 user (although I suspect it occasionally happens to others as well). The message is successfully getting to mailman but is "disappearing" and here' s what we're seeing in the log:
Apr 05 23:56:35 2009 (4051) Uncaught runner exception: Expected list, got <type 'str'>
Apr 05 23:56:35 2009 (4051) Traceback (most recent call last):
File "/tekops/mailman2/Mailman/Queue/Runner.py", line 112, in _oneloop
self._onefile(msg, msgdata)
File "/tekops/mailman2/Mailman/Queue/Runner.py", line 170, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/tekops/mailman2/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
File "/tekops/mailman2/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
File "/tekops/mailman2/Mailman/Handlers/MimeDel.py", line 95, in process
collapse_multipart_alternatives(msg)
File "/tekops/mailman2/Mailman/Handlers/MimeDel.py", line 184, in collapse_multipart_alternatives
firstalt = subpart.get_payload(0)
File "/tekops/mailman2/pythonlib/email/Message.py", line 211, in get_payload
raise TypeError, 'Expected list, got %s' % type(self._payload)
TypeError: Expected list, got <type 'str'>
We are having a similar issue. Running version 2.1.9 on RHEL4. We do not lose every email that is HTML. It is random and so far appears to be affecting only 1 user (although I suspect it occasionally happens to others as well). The message is successfully getting to mailman but is "disappearing" and here' s what we're seeing in the log:
Apr 05 23:56:35 2009 (4051) Uncaught runner exception: Expected list, got <type 'str'> mailman2/ Mailman/ Queue/Runner. py", line 112, in _oneloop _onefile( msg, msgdata) mailman2/ Mailman/ Queue/Runner. py", line 170, in _onefile mlist, msg, msgdata) mailman2/ Mailman/ Queue/IncomingR unner.py" , line 130, in _dispose e(mlist, msg, msgdata, pipeline) mailman2/ Mailman/ Queue/IncomingR unner.py" , line 153, in _dopipeline modules[ modname] .process( mlist, msg, msgdata) mailman2/ Mailman/ Handlers/ MimeDel. py", line 95, in process multipart_ alternatives( msg) mailman2/ Mailman/ Handlers/ MimeDel. py", line 184, in collapse_ multipart_ alternatives get_payload( 0) mailman2/ pythonlib/ email/Message. py", line 211, in get_payload
Apr 05 23:56:35 2009 (4051) Traceback (most recent call last):
File "/tekops/
self.
File "/tekops/
keepqueued = self._dispose(
File "/tekops/
more = self._dopipelin
File "/tekops/
sys.
File "/tekops/
collapse_
File "/tekops/
firstalt = subpart.
File "/tekops/
raise TypeError, 'Expected list, got %s' % type(self._payload)
TypeError: Expected list, got <type 'str'>
Thanks,
David