Comment 1 for bug 266230

Revision history for this message
David Beecher (dbeecher) wrote :

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'>

Thanks,
David