[Mailman-Users] TypeError: decoding Unicode is not supported

James Davis james at freecharity.org.uk
Fri May 18 12:13:47 CEST 2007


mailman 2.1.5-8sarge5 running on Debian 4.0. It's actually a custom
package I built myself with only minor changes for my mail environment.

It's an odd one... A search of Google and the archives shows that it's
been discussed before but with no definitive answer. One user is having
problems posting to a list. Mailman's error log shows the following
error, the e-mail which caused the problem is also supplied below.

Any idea what's causing this problem?

Thanks,

James

May 18 09:50:13 2007 (29323) Uncaught runner exception: decoding Unicode
is not supported
May 18 09:50:13 2007 (29323) Traceback (most recent call last):
  File "/var/lib/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
    self._onefile(msg, msgdata)
  File "/var/lib/mailman/Mailman/Queue/Runner.py", line 167, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in
_dispose
    more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in
_dopipeline
    sys.modules[modname].process(mlist, msg, msgdata)
  File "/var/lib/mailman/Mailman/Handlers/ToDigest.py", line 91, in process
    send_digests(mlist, mboxfp)
  File "/var/lib/mailman/Mailman/Handlers/ToDigest.py", line 132, in
send_digests
    send_i18n_digests(mlist, mboxfp)
  File "/var/lib/mailman/Mailman/Handlers/ToDigest.py", line 306, in
send_i18n_digests
    msg = scrubber(mlist, msg)
  File "/var/lib/mailman/Mailman/Handlers/Scrubber.py", line 318, in process
    partcharset = part.get_content_charset()
  File "email/Message.py", line 800, in get_content_charset
TypeError: decoding Unicode is not supported

May 18 09:50:13 2007 (29323) SHUNTING:
1179478212.3616531+d13a31b783297c1f32c72ac08da016a012618db4

Here's the e-mail that caused the error.

Return-path: <stefan.laros at yahoo.co.uk>
Envelope-to: support at freecharity.org.uk
Delivery-date: Fri, 18 May 2007 09:50:11 +0100
Received: from web25413.mail.ukl.yahoo.com ([217.146.176.231])
	by freecharity.org.uk with smtp (Exim 4.63)
	(envelope-from <stefan.laros at yahoo.co.uk>)
	id 1HoyA5-0002yc-4y
	for support at freecharity.org.uk; Fri, 18 May 2007 09:50:11 +0100
Received: (qmail 17787 invoked by uid 60001); 18 May 2007 08:50:09 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=s1024; d=yahoo.co.uk;

h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID;

b=TdkF35y16JDEIDEuLY4cGmrqstW67SrzR6Oj1Pa1Fc06qQZQFQx030h9xSizSQqXW/c5l9iDUCR9fCDlaR4yfzl8r7J/5vFS3F0UWj6NNGrqRnDTTe97jnOI7EVkaGK5qlJd7WcHhiGtR18sYPc+IacwfC8bVeuaECjzrq8P7cU=;
X-YMail-OSG:
CDYiRqkVM1lWc7oO9wflIqiW8_jrhpJzkYW.kGwhGMoYZtkKTIImK3OMRH0uKk0Hm6dMHimPwA--
Received: from [195.110.70.55] by web25413.mail.ukl.yahoo.com via HTTP;
Fri, 18 May 2007 08:50:08 GMT
X-Mailer: YahooMailRC/651.23.1 YahooMailWebService/0.7.41.14
Date: Fri, 18 May 2007 08:50:08 +0000 (GMT)
From: Stefan Laros <stefan.laros at yahoo.co.uk>
Subject: Symphony
To: lgso-rehearsals at freecharity.org.uk
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="0-707090045-1179478208=:17471"
Message-ID: <2399.17471.qm at web25413.mail.ukl.yahoo.com>
X-Spam-Score: 1.9 (+)
X-Spam-Status: No, hits=1.9 required=5.0
tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,HTML_MESSAGE autolearn=no
version=_VERSION

--0-707090045-1179478208=:17471
Content-Type: text/plain; charset=ascii

All,

Further to my earlier e-mails: we will only be rehearsing the symphony
this Sunday!

See you then & there.

Stefan
--0-707090045-1179478208=:17471
Content-Type: text/html; charset=ascii

<html><head><style type="text/css"><!-- DIV {margin:0px;}
--></style></head><body><div style="font-family:arial, helvetica,
sans-serif;font-size:10pt"><DIV></DIV>
<DIV>

<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">
<DIV></DIV>
<DIV>All,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Further to my earlier e-mails: we will only be rehearsing the
symphony this&nbsp;Sunday!<BR></DIV>
<DIV>See you then &amp; there.</DIV>
<DIV>&nbsp;</DIV>

<DIV>Stefan</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></DIV></DIV></div></body></html>
--0-707090045-1179478208=:17471--

-- 
http://www.freecharity.org.uk/ - Free IT services for charities
http://www.freecharity.org.uk/wiki/ - The VCSWiki


More information about the Mailman-Users mailing list