FAQ
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

Search Discussions

  • Mark Sapiro at May 18, 2007 at 7:51 pm

    James Davis wrote:
    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?

    The shunted message is not the one causing the problem. It will happen
    to every message from now on as the problem is caused by some prior
    message in lists/<listname>/digest.mbox.

    If you move the digest.mbox aside, the list will start processing again
    and you can run bin/unshunt to process the shunted messages.

    The "best way" to fix it is to edit the digest.mbox in place and fix
    the offending message (which may have a Content-Type: header with
    charset=Unicode instead of charset=utf-8), and then unshunt any
    messages that were shunted due to this error.

    If you just move digest.mbox aside and don't replace it, you'll lose a
    digest. even if you do fix and replace it, you may wind up with and
    'out of sequence' digest.

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • James Davis at May 20, 2007 at 1:46 pm

    Mark Sapiro wrote:

    If you just move digest.mbox aside and don't replace it, you'll lose a
    digest. even if you do fix and replace it, you may wind up with and
    'out of sequence' digest.
    Thanks, that did the trick. I deleted the digest as it serves no purpose
    to the users of this list.

    Thank you once again,

    James
  • Mark Sapiro at May 20, 2007 at 3:23 pm

    James Davis wrote:
    Thanks, that did the trick. I deleted the digest as it serves no purpose
    to the users of this list.

    In that case, you could set Digest options->digestable to No to
    guarantee this can't happen again (note that the shunting of valid
    messages due to a bad digest.mbox message was fixed in Mailman 2.1.7).

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedMay 18, '07 at 10:13a
activeMay 20, '07 at 3:23p
posts4
users2
websitelist.org

2 users in discussion

James Davis: 2 posts Mark Sapiro: 2 posts

People

Translate

site design / logo © 2022 Grokbase