[Mailman-Developers] problems with Generator.py

Heiko Rommel rommel at suse.de
Wed May 5 07:04:13 EDT 2004


Hi,

I experienced this bug with 2.1.14:

May 05 12:49:21 2004 (2345) Uncaught runner exception: string payload expected: <type 'list'>
May 05 12:49:21 2004 (2345) Traceback (most recent call last):
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 110, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 160, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
    more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
    sys.modules[modname].process(mlist, msg, msgdata)
  File "/usr/lib/mailman/Mailman/Handlers/SpamDetect.py", line 108, in process
    g.flatten(msg)
  File "/usr/lib/mailman/pythonlib/email/Generator.py", line 103, in flatten
    self._write(msg)
  File "/usr/lib/mailman/pythonlib/email/Generator.py", line 131, in _write
    self._dispatch(msg)
  File "/usr/lib/mailman/pythonlib/email/Generator.py", line 157, in _dispatch
    meth(msg)
  File "/usr/lib/mailman/pythonlib/email/Generator.py", line 200, in _handle_text
    raise TypeError, 'string payload expected: %s' % type(payload)
TypeError: string payload expected: <type 'list'>

May 05 12:49:21 2004 (2345) SHUNTING: 1083538445.4679279+8226bb6aa539e458952456fe2b2a0028198aa560


For debugging purposes, I attached the shunted message files.

-- 
Heiko Rommel                             rommel at suse.de
SUSE Linux AG,     Maxfeldstr. 5,     D-90409 Nuernberg
T: +49 (0) 911 74053 0        F:  +49 (0) 911 741 77 55
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1083538445.4679279+8226bb6aa539e458952456fe2b2a0028198aa560.pck
Type: application/octet-stream
Size: 6339 bytes
Desc: 
Url : http://mail.python.org/pipermail/mailman-developers/attachments/20040505/4fccf15e/1083538445.46792798226bb6aa539e458952456fe2b2a0028198aa560.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1083538445.4679279+8226bb6aa539e458952456fe2b2a0028198aa560.db
Type: application/octet-stream
Size: 428 bytes
Desc: 
Url : http://mail.python.org/pipermail/mailman-developers/attachments/20040505/4fccf15e/1083538445.46792798226bb6aa539e458952456fe2b2a0028198aa560-0001.obj


More information about the Mailman-Developers mailing list