[Mailman-Users] shunting problem (unpack list of wrong size)

Mark Sapiro msapiro at value.net
Fri Mar 24 04:44:56 CET 2006

Jim Savoy wrote:
>   The error message we get is:
>  Mar 23 12:37:33 2006 (19290) Uncaught runner exception: unpack list of 
>wrong size
>                       .
>                       .
>                       .
> File "/mail/mailman/pythonlib/email/Utils.py", line 337, in decode_params
>     charset, language, value = decode_rfc2231(EMPTYSTRING.join(value))
>   File "/mail/mailman/pythonlib/email/Utils.py", line 284, in 
>     charset, language, s = parts
> ValueError: unpack list of wrong size

It appears that the message has a malformed rfc-2231
<http://www.faqs.org/rfcs/rfc2231.html> encoded header or some header
with exactly one single quote "'" character that's being misidentified
as an RFC-2231 encoded header.

Beyond that, it would help to see the rest of the traceback to see how
we got here.

Also, can you do either bin/dumpdb or bin/show_qfiles on the shunt
queue entry and perhaps see what the problem with the message is?

Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list