[Mailman-Developers] UnicodeDecodeError
Andrew D. Clark
andrew.clark at ucsb.edu
Fri Jul 1 19:30:41 CEST 2005
Hi,
I consistently get shunted messages with errors like so in logs/errors:
Jul 01 10:28:39 2005 (26124) Uncaught runner exception: 'ascii' codec
can't decode byte 0xc5 in position 0: ordinal not in range(128)
Jul 01 10:28:39 2005 (26124) Traceback (most recent call last):
File "/home/services/mailman/Mailman/Queue/Runner.py", line 111, in
_oneloop self._onefile(msg, msgdata)
File "/home/services/mailman/Mailman/Queue/Runner.py", line 167, in
_onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/home/services/mailman/Mailman/Queue/ArchRunner.py", line 73,
in _dispose
mlist.ArchiveMail(msg)
File "/home/services/mailman/Mailman/Archiver/Archiver.py", line 216,
in ArchiveMail
h.processUnixMailbox(f)
File "/home/services/mailman/Mailman/Archiver/pipermail.py", line
573, in processUnixMailbox
self.add_article(a)
File "/home/services/mailman/Mailman/Archiver/pipermail.py", line
625, in add_article
article.parentID = parentID = self.get_parent_info(arch, article)
File "/home/services/mailman/Mailman/Archiver/pipermail.py", line
657, in get_parent_info
article.subject)
File "/home/services/mailman/Mailman/Archiver/HyperDatabase.py", line
311, in getOldestArticle
self.__openIndices(archive)
File "/home/services/mailman/Mailman/Archiver/HyperDatabase.py", line
251, in __openIndices
t = DumbBTree(os.path.join(arcdir, archive + '-' + i))
File "/home/services/mailman/Mailman/Archiver/HyperDatabase.py", line
65, in __init__
self.load()
File "/home/services/mailman/Mailman/Archiver/HyperDatabase.py", line
179, in load
self.__sort(dirty=1)
File "/home/services/mailman/Mailman/Archiver/HyperDatabase.py", line
73, in __sort
self.sorted.sort()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 0:
ordinal not in range(128)
Jul 01 10:28:39 2005 (26124) SHUNTING:
1119004634.531249+fd4e0ba403a784a3545f4d8e32c66015e33c5870
The message is in GB2312:
%./show_qfiles ../qfiles/shunt/1119004634*
====================>
../qfiles/shunt/1119004634.531249+fd4e0ba403a784a3545f4d8e32c66015e33c5870.pck
Received: from [61.144.65.81] (helo=service.netease.com)
by ucsb.edu with esmtp id 1DjEDp-000Mp5-Se
for webmaster at ucsb.edu; Fri, 17 Jun 2005 03:37:14 -0700
From: =?GB2312?B?0MLGt73pydw=?= <ivpinfo at service.netease.com>
To: webmaster at ucsb.edu
Content-Type: text/html;charset="GB2312"
Content-Transfer-Encoding: 8bit
...
Any tips or is this a mailman bug?
--
Andrew Clark
Campus Network Programmer
Office of Information Technology
University of California, Santa Barbara
andrew.clark at ucsb.edu (805) 893-5311
More information about the Mailman-Developers
mailing list