[Mailman-Users] UnicodeDecodeError again

Mark Sapiro msapiro at value.net
Wed Feb 15 17:19:55 CET 2006


Ákos Maróy wrote:
> 
> I encountered a problem that was already experienced before:
> 
> http://www.mail-archive.com/mailman-users@python.org/msg36841.html
> 
> and seems to have been solved already:
> 
> http://www.mail-archive.com/mailman-users@python.org/msg36845.html
> http://sourceforge.net/tracker/index.php?func=detail&aid=1405790&group_id=103&atid=300103


It is not the same problem


> but, unfortunately I still get the same error, even after applying the
> patch mentioned above...


which is why the patch didn't fix it.


> I'm running mailman 2.1.7 on gentoo. I get the following in logs/error:
> 
> 
> Feb 15 11:59:55 2006 (29196) Uncaught runner exception: 'ascii' codec
> can't decode byte 0xfc in position 10: ordinal not in range(128)
> Feb 15 11:59:55 2006 (29196) Traceback (most recent call last):
>   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
>     self._onefile(msg, msgdata)
>   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 167, 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 585, in
> processUnixMailbox
>     self.add_article(a)
>   File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 637, in
> add_article
>     article.parentID = parentID = self.get_parent_info(arch, article)
>   File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 669, in
> get_parent_info
>     article.subject)
>   File "/usr/local/mailman/Mailman/Archiver/HyperDatabase.py", line 311,
> in getOldestArticle
>     self.__openIndices(archive)
>   File "/usr/local/mailman/Mailman/Archiver/HyperDatabase.py", line 251,
> in __openIndices
>     t = DumbBTree(os.path.join(arcdir, archive + '-' + i))
>   File "/usr/local/mailman/Mailman/Archiver/HyperDatabase.py", line 65,
> in __init__
>     self.load()
>   File "/usr/local/mailman/Mailman/Archiver/HyperDatabase.py", line 179,
> in load    self.__sort(dirty=1)
>   File "/usr/local/mailman/Mailman/Archiver/HyperDatabase.py", line 73,
> in __sort
>     self.sorted.sort()
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc in position 10:
> ordinal not in range(128)


This is a different error from the one referenced above. It appears that 
one of your archives/private/<list>/database/* files may be corrupt.

Have you changed the language of the list recently?

Did this just happen once or is it happening with all posts to the list?

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



More information about the Mailman-Users mailing list