FAQ
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Þtail&atid0103&aid—4290&group_id3

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@yahoo.com.vn>
Content-Type: text/plain;charset="GB2312"
Content-Transfer-Encoding: 8bit

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

You can respond by visiting:
https://sourceforge.net/tracker/?funcÞtail&atid0103&aid—4290&group_id3

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-coders @
categoriespython
postedJun 16, '04 at 5:55p
activeJun 16, '04 at 5:55p
posts1
users1
websitelist.org

1 user in discussion

SourceForge.net: 1 post

People

Translate

site design / logo © 2022 Grokbase