[Mailman-Users] decoding unicode error
Stoyan Angelov
s_angelov at filibeto.org
Sat Mar 7 21:11:32 CET 2009
hi all,
recently i migrated my mailman lists to a new machine and at the same
time i upgraded to the latest version available at that time - 2.1.12rc2
(from 2.1.1).
with the new version i am getting lots of error messages in the error
log and lots of shunted messages, additionally digest are not being send:
Feb 23 13:51:15 2009 (13445) Uncaught runner exception: decoding Unicode
is not supported
Feb 23 13:51:15 2009 (13445) Traceback (most recent call last):
File "/usr/local/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop
self._onefile(msg, msgdata)
File "/usr/local/mailman/Mailman/Queue/Runner.py", line 191, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/local/mailman/Mailman/Queue/ArchRunner.py", line 73, in
_dispose
mlist.ArchiveMail(msg)
File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 216, in
ArchiveMail
h.processUnixMailbox(f)
File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 578, in
processUnixMailbox
a = self._makeArticle(m, self.sequence)
File "/usr/local/mailman/Mailman/Archiver/HyperArch.py", line 681, in
_makeArticle
mlist=self.maillist)
File "/usr/local/mailman/Mailman/Archiver/HyperArch.py", line 305, in
__init__
charset = message.get_content_charset(cset_out)
File "/usr/lib/python2.4/email/Message.py", line 800, in
get_content_charset
charset = unicode(charset, 'us-ascii').encode('us-ascii')
TypeError: decoding Unicode is not supported
Feb 23 13:51:15 2009 (13445) SHUNTING:
1235389873.7168031+42c59b683b80525145619a256cf0bc745edd3aa7
Feb 23 14:00:29 2009 (13448) send_digests() failed: decoding Unicode is
not supported
i found that the above problem was fixed in the final 2.1.12 version
(https://bugs.launchpad.net/mailman/+bug/328353) so i upgraded my
mailman installation to 2.1.12.
after the upgrade i ran the senddigests script manually but i still get
the following error:
$ /usr/bin/python -S /usr/local/mailman/cron/senddigests
List: sgd-users: problem processing
/usr/local/mailman/lists/xxx-users/digest.mbox:
decoding Unicode is not supported
List: sunray-users: problem processing
/usr/local/mailman/lists/yyy-users/digest.mbox:
decoding Unicode is not supported
i am using opensolaris snv_10 (x64) and python 2.4.4.
any help will be greatly appreciated!
greetings,
Stoyan Angelov
More information about the Mailman-Users
mailing list