LookupError: unknown encoding: iso-2022-jp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
New
|
Medium
|
Unassigned |
Bug Description
We're not sending out the monthly password notices, because the cron/Python
job to do that keeps dying with the following error (sensitive information
omitted):
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/
X-Cron-Env: <PATH=/
X-Cron-Env: <LOGNAME=mailman>
Date: Sat, 1 Dec 2007 05:01:06 +0100 (CET)
Traceback (most recent call last):
File "/usr/local/
main()
File "/usr/local/
text.
File "/usr/local/
self.
File "/usr/local/
set_payload
self.
File "/usr/local/
set_charset
self._payload = charset.
File "/usr/local/
body_encode
s = self.convert(s)
File "/usr/local/
convert
return unicode(s, self.input_
LookupError: unknown encoding: iso-2022-jp
[http://
Originator: NO
What is the python version. The JapaneseCodecs package which is included
in mailman 2.1.9 is incompatible with python2.5. Python 2.4 and later
includes CJK codecs and can be used instead. Mailman 2.1.10 fixes this in
misc/paths.py.in.