[Mailman-Users] errors
Richard Barrett
R.Barrett at ftel.co.uk
Fri Aug 30 10:51:47 CEST 2002
At 09:42 30/08/2002 +0200, Roelf Schreurs wrote:
>Hi
>
>I'm quite worried about these errors in mailman.
>Can somebody please explain what this means.
>
>Thanks
>
>Aug 30 09:37:42 2002 (21563) Uncaught runner exception: unpack list of
>wrong size
>Aug 30 09:37:42 2002 (21563) Traceback (most recent call last):
> File "/opt/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop
> self._onefile(msg, msgdata)
> File "/opt/mailman/Mailman/Queue/Runner.py", line 154, in _onefile
> keepqueued = self._dispose(mlist, msg, msgdata)
> File "/opt/mailman/Mailman/Queue/IncomingRunner.py", line 129, in _dispose
> status = self._dopipeline(mlist, msg, msgdata, pipeline)
> File "/opt/mailman/Mailman/Queue/IncomingRunner.py", line 152, in
> _dopipeline
> sys.modules[modname].process(mlist, msg, msgdata)
> File "/opt/mailman/Mailman/Handlers/ToDigest.py", line 76, in process
> g(msg, unixfrom=1)
> File "/opt/mailman/pythonlib/email/Generator.py", line 81, in flatten
> self._write(msg)
> File "/opt/mailman/pythonlib/email/Generator.py", line 109, in _write
> self._dispatch(msg)
> File "/opt/mailman/pythonlib/email/Generator.py", line 128, in _dispatch
> main, sub = ctype.split('/')
>ValueError: unpack list of wrong size
>
>Aug 30 09:38:13 2002 (21563) Uncaught runner exception: unpack list of
>wrong size
>Aug 30 09:38:13 2002 (21563) Traceback (most recent call last):
> File "/opt/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop
> self._onefile(msg, msgdata)
> File "/opt/mailman/Mailman/Queue/Runner.py", line 154, in _onefile
> keepqueued = self._dispose(mlist, msg, msgdata)
> File "/opt/mailman/Mailman/Queue/IncomingRunner.py", line 129, in _dispose
> status = self._dopipeline(mlist, msg, msgdata, pipeline)
> File "/opt/mailman/Mailman/Queue/IncomingRunner.py", line 152, in
> _dopipeline
> sys.modules[modname].process(mlist, msg, msgdata)
> File "/opt/mailman/Mailman/Handlers/ToDigest.py", line 76, in process
> g(msg, unixfrom=1)
> File "/opt/mailman/pythonlib/email/Generator.py", line 81, in flatten
> self._write(msg)
> File "/opt/mailman/pythonlib/email/Generator.py", line 109, in _write
> self._dispatch(msg)
> File "/opt/mailman/pythonlib/email/Generator.py", line 128, in _dispatch
> main, sub = ctype.split('/')
>ValueError: unpack list of wrong size
I can explain what but not necessarily why or the consequences.
The qrunner code processing an incoming message has extracted a
Content-type: header from the message expecting it to be of the form
'maintype/subtype'.
The code is trying to separate the two parts of the mime type, i.e.
'maintype' and 'subtype', by splitting the string into two parts with '/'
as the delimiter between the parts.
This split operation is failing because the Content-type: header value
there has either no '/' character or more than one '/' character in it. In
either case the header value in the message concerned is malformed.
I haven't looked beyond the obvious to determine what is done with/to the
message having the apparently defective header.
More information about the Mailman-Users
mailing list