[Mailman-Users] Shunting due to unknown encoding?

Nick Arnett narnett at mccmedia.com
Wed Sep 17 06:55:20 CEST 2003


The following is an error log entry that *seems* to be associated with
Mailman holding up delivery of messages.  If I do a bin/unshunt, that
seems to end the constipation for a while, although the same entries get
into the error log anew.

Any idea what can be done about this?  It appears to me that it's trying
to encode a string as unicode, but the unicode library doesn't recognize
"gb2312" as a valid encoding scheme...?  And so this particular message
is getting shunted, but should that have any effect on other messages?

> Sep 16 21:09:13 2003 (31119) SHUNTING: 1062284017.614586+9fafb35059e24e6af1604ba
> d0d81a1c0cae6c64a
> Sep 16 21:09:13 2003 (31119) Uncaught runner exception: unknown encoding: gb2312
> Sep 16 21:09:13 2003 (31119) Traceback (most recent call last):
>   File "/var/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop
>     self._onefile(msg, msgdata)
>   File "/var/mailman/Mailman/Queue/Runner.py", line 155, in _onefile
>     keepqueued = self._dispose(mlist, msg, msgdata)
>   File "/var/mailman/Mailman/Queue/CommandRunner.py", line 218, in _dispose
>     res = Results(mlist, msg, msgdata)
>   File "/var/mailman/Mailman/Queue/CommandRunner.py", line 75, in __init__
>     subj = make_header(decode_header(subj)).__unicode__()
>   File "/var/mailman/pythonlib/email/Header.py", line 144, in make_header
>   File "/var/mailman/pythonlib/email/Header.py", line 272, in append
> LookupError: unknown encoding: gb2312

Now that I look a bit further back in the error log, I find this:

> Sep 16 17:19:54 2003 (31186) Traceback (most recent call last):
>   File "/var/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop
>     self._onefile(msg, msgdata)
>   File "/var/mailman/Mailman/Queue/Runner.py", line 155, in _onefile
>     keepqueued = self._dispose(mlist, msg, msgdata)
>   File "/var/mailman/Mailman/Queue/CommandRunner.py", line 218, in _dispose
>     res = Results(mlist, msg, msgdata)
>   File "/var/mailman/Mailman/Queue/CommandRunner.py", line 75, in __init__
>     subj = make_header(decode_header(subj)).__unicode__()
>   File "/var/mailman/pythonlib/email/Header.py", line 144, in make_header
>   File "/var/mailman/pythonlib/email/Header.py", line 272, in append
> UnicodeError: ASCII decoding error: ordinal not in range(128)

Error on the same, line, but different error.  Shortly thereafter, in
the smtp log:

> Sep 16 17:25:40 2003 (12262) All recipients refused: [Errno 4] Interrupted syste
> m call
> Sep 16 17:25:41 2003 (12262) All recipients refused: [Errno 104] Connection rese
> t by peer
> Sep 16 17:25:42 2003 (12262) All recipients refused: Server not connected

And then the floodgates opened and mail started going to the lists
again.  I think that at 17:19 I did a bin/mailmanctl restart, then at
17:25, I did the bin/unshunt.

Any help appreciated...





More information about the Mailman-Users mailing list