[Mailman-Users] unexpected code byte in Header.py

imacat imacat at mail.imacat.idv.tw
Tue Jan 10 19:41:44 CET 2006


Dear all,

    I have problem upgrading my Mailman 2.1.5 to Mailman 2.1.7.  I got
the following error in /var/lib/mailman/logs/error when I tried to send
the "who" request:

Jan 11 02:33:06 2006 (12256) Uncaught runner exception: 'utf8' codec
can't decode byte 0xb4 in position 8: unexpected code byte
Jan 11 02:33:06 2006 (12256) Traceback (most recent call last):
  File "/opt/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
    self._onefile(msg, msgdata)
  File "/opt/mailman/Mailman/Queue/Runner.py", line 167, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/opt/mailman/Mailman/Queue/VirginRunner.py", line 38, in _dispose
    return IncomingRunner._dispose(self, mlist, msg, msgdata)
  File "/opt/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
    more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/opt/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
    sys.modules[modname].process(mlist, msg, msgdata)
  File "/opt/mailman/Mailman/Handlers/CookHeaders.py", line 188, in process
    i18ndesc = uheader(mlist, mlist.description, 'List-Id', maxlinelen=998)
  File "/opt/mailman/Mailman/Handlers/CookHeaders.py", line 65, in uheader
    return Header(s, charset, maxlinelen, header_name, continuation_ws)
  File "/opt/mailman/pythonlib/email/Header.py", line 188, in __init__
    self.append(s, charset, errors)
  File "/opt/mailman/pythonlib/email/Header.py", line 272, in append
    ustr = unicode(s, incodec, errors)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xb4 in position 8: unexpected code byte

    The mail I sent is:

X-SMTP-Result: 250 2.0.0 k0AIX3a5012284 Message accepted for delivery
Date: Wed, 11 Jan 2006 02:33:03 +0800
From: imacat <imacat at mail.imacat.idv.tw>
To: tmm-request at rinse.wov.idv.tw
Subject: who_
Message-Id: <20060111023256.AB99.IMACAT at mail.imacat.idv.tw>
MIME-Version: 1.0
X-Mailer: Becky! ver. 2.24.02 [en]
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

who (somepassword)

    Anyone could help please?  Thank you

--
Best regards,
imacat ^_*' <imacat at mail.imacat.idv.tw>
PGP Key: http://www.imacat.idv.tw/me/pgpkey.txt

<<Woman's Voice>> News: http://www.wov.idv.tw/
Tavern IMACAT's: http://www.imacat.idv.tw/
TLUG List Manager: http://lists.linux.org.tw/cgi-bin/mailman/listinfo/tlug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://mail.python.org/pipermail/mailman-users/attachments/20060111/f9f5e301/attachment.pgp 


More information about the Mailman-Users mailing list