[ mailman-Bugs-974290 ] unknown encoding crashes qrunner

SourceForge.net noreply at sourceforge.net
Wed Jun 16 17:55:14 EDT 2004


Bugs item #974290, was opened at 2004-06-16 17:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=974290&group_id=103

Category: mail delivery
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Nathan Coraor (ncoraor)
Assigned to: Nobody/Anonymous (nobody)
Summary: unknown encoding crashes qrunner

Initial Comment:
Certain messages encoded with gb2312 are causing qrunner to 
crash.  This is version 2.1.5.  Here's the traceback:

Jun 16 12:17:47 2004 (16350) Uncaught runner exception: 
unknown encoding: gb2312
Jun 16 12:17:48 2004 (16350) Traceback (most recent call last):
  File "/export/local/mailman/Mailman/Queue/Runner.py", line 111, 
in _oneloop
    self._onefile(msg, msgdata)
  File "/export/local/mailman/Mailman/Queue/Runner.py", line 167, 
in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/export/local/mailman/Mailman/Queue/IncomingRunner.py", 
line 130, in _dispose
    more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/export/local/mailman/Mailman/Queue/IncomingRunner.py", 
line 153, in _dopipeline
    sys.modules[modname].process(mlist, msg, msgdata)
  File "/export/local/mailman/Mailman/Handlers/CookHeaders.py", 
line 74, in process
    prefix_subject(mlist, msg, msgdata)
  File "/export/local/mailman/Mailman/Handlers/CookHeaders.py", 
line 262, in prefix_subject
    h.append(s, c)
  File "/export/local/mailman/pythonlib/email/Header.py", line 285, 
in append
    s = s.encode(outcodec, errors)
LookupError: unknown encoding: gb2312

Jun 16 12:17:48 2004 (16350) SHUNTING: 
1087397495.8902061+fc54fd2fa39a5ae96ee648333b6f1adf782a385
7

Here are the message headers:

From: =?GB2312?B?uePW3cfsyPA=?= 
<kingraykingray at yahoo.com.vn>
Content-Type: text/plain;charset="GB2312"
Content-Transfer-Encoding: 8bit

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=974290&group_id=103



More information about the Mailman-coders mailing list