[Mailman-Users] shunting after "decoding Unicode is notsupported"
dnewman at networktest.com
Mon May 18 03:03:59 CEST 2009
On 5/17/09 5:49 PM, Mark Sapiro wrote:
> David Newman wrote:
>> On 5/13/09 10:06 PM, David Newman wrote:
>>> Mailman 2.1.12
>>> Had a server crash. Built a new server, compiled MM 2.1.12 from source
>>> and restored the lists, data, and archives from a backup.
>>> Messages are going to the list but most aren't getting archived, with
>>> errors like the one pasted below.
>>> This has come up before:
>>> I'm wary about screwing up the digests, so two questions:
> The above issue is the same exception, but it's a totally different
>>> 1. Is there any way of clearing this error without renaming/moving the
>>> 2. If I do move the digest, will the messages that didn't get archived
>>> then make it into the archive? Or will archiving work only for those
>>> messages from that point forward?
> This one has to be fixed in a different way. It has nothing to do with
>> Sorry for replying to my own email, but I've noticed it's only HTML
>> email that produces this error, and doesn't go into the archives.
>> How to remedy (without clobbering the digest, that is)?
> This is a known incompatibility between Mailman 2.1.12 and the Python
> email 3.0.2 package. email 3.0.2 is part of Python 2.4.4 through
> 2.4.6, and these are the only Python versions that have this problem
> with Mailman 2.1.12.
> There is a long thread about this in the bug report at
> <https://bugs.launchpad.net/mailman/+bug/328353> which also contains a
> patch to (in your case) /usr/local/lib/python2.4/email/Charset.py.
> There is also an Update - March 2009: about this near the bottom of the
> FAQ at <http://wiki.list.org/x/pYA9> which contains a direct link to
> the Charset.py patch.
> You could upgrade Python to 2.5.x or 2.6.x to fix this, but the easiest
> fix is to apply the patch to /usr/local/lib/python2.4/email/Charset.py
> and restart Mailman. Then you can run bin/unshunt to process the
> shunted messages to the archive.
Thanks, Mark. Upgrading Python and running unshunt (which previously I
didn't know about) appears to have made this archive whole. Thanks again.
More information about the Mailman-Users