Bugs item #1842567, was opened at 2007-12-02 07:20
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?funcÞtail&atid0103&aid42567&group_id3

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: command line scripts
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Brad Knowles (shub)
Assigned to: Nobody/Anonymous (nobody)
Summary: LookupError: unknown encoding: iso-2022-jp

Initial Comment:
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=/usr/local/mailman>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=mailman>
Date: Sat, 1 Dec 2007 05:01:06 +0100 (CET)

Traceback (most recent call last):
File "/usr/local/mailman/cron/mailpasswds", line 241, in <module>
main()
File "/usr/local/mailman/cron/mailpasswds", line 223, in main
text.encode(enc, 'replace'), poplang)
File "/usr/local/mailman/Mailman/Message.py", line 213, in __init__
self.set_payload(text, charset)
File "/usr/local/mailman/pythonlib/email/Message.py", line 246, in set_payload
self.set_charset(charset)
File "/usr/local/mailman/pythonlib/email/Message.py", line 282, in set_charset
self._payload = charset.body_encode(self._payload)
File "/usr/local/mailman/pythonlib/email/Charset.py", line 399, in body_encode
s = self.convert(s)
File "/usr/local/mailman/pythonlib/email/Charset.py", line 282, in convert
return unicode(s, self.input_codec).encode(self.output_codec)
LookupError: unknown encoding: iso-2022-jp

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

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

Search Discussions

  • SourceForge.net at Dec 2, 2007 at 7:48 am
    Bugs item #1842567, was opened at 2007-12-02 07:20
    Message generated for change (Comment added) made by tkikuchi
    You can respond by visiting:
    https://sourceforge.net/tracker/?funcÞtail&atid0103&aid42567&group_id3

    Please note that this message will contain a full copy of the comment thread,
    including the initial issue submission, for this request,
    not just the latest update.
    Category: command line scripts
    Group: 2.1 (stable)
    Status: Open
    Resolution: None
    Priority: 5
    Private: No
    Submitted By: Brad Knowles (shub)
    Assigned to: Nobody/Anonymous (nobody)
    Summary: LookupError: unknown encoding: iso-2022-jp

    Initial Comment:
    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=/usr/local/mailman>
    X-Cron-Env: <PATH=/usr/bin:/bin>
    X-Cron-Env: <LOGNAME=mailman>
    Date: Sat, 1 Dec 2007 05:01:06 +0100 (CET)

    Traceback (most recent call last):
    File "/usr/local/mailman/cron/mailpasswds", line 241, in <module>
    main()
    File "/usr/local/mailman/cron/mailpasswds", line 223, in main
    text.encode(enc, 'replace'), poplang)
    File "/usr/local/mailman/Mailman/Message.py", line 213, in __init__
    self.set_payload(text, charset)
    File "/usr/local/mailman/pythonlib/email/Message.py", line 246, in set_payload
    self.set_charset(charset)
    File "/usr/local/mailman/pythonlib/email/Message.py", line 282, in set_charset
    self._payload = charset.body_encode(self._payload)
    File "/usr/local/mailman/pythonlib/email/Charset.py", line 399, in body_encode
    s = self.convert(s)
    File "/usr/local/mailman/pythonlib/email/Charset.py", line 282, in convert
    return unicode(s, self.input_codec).encode(self.output_codec)
    LookupError: unknown encoding: iso-2022-jp

    ----------------------------------------------------------------------
    Comment By: Tokio Kikuchi (tkikuchi)
    Date: 2007-12-02 07:48

    Message:
    Logged In: YES
    user_idg709
    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.

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

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-coders @
categoriespython
postedDec 2, '07 at 7:20a
activeDec 2, '07 at 7:48a
posts2
users1
websitelist.org

1 user in discussion

SourceForge.net: 2 posts

People

Translate

site design / logo © 2022 Grokbase