imacat wrote: > 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/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 As Mark has responded, it is a error in CookHeaders.py 'List-Id' processing. The language code and charset for 'Traditional Chinese' have changes from big5/big5 to zh_TW/utf-8 because of compliance and code handling difficulty in python gettext. If you have set description in chinese previously by mailman-2.1.5, then you may have to reset it via the admin interface or by bin/withlist script. -- Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/ ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp