[Mailman-Users] Uncaught runner exception: unknown encoding:us-ascii

Mark Sapiro mark at msapiro.net
Mon Mar 2 18:10:33 CET 2009


rpyne at kinfolk.org wrote:

>Please help! Since upgrading to Mailman 2.1.12 and Python 2.6.1, my 
>error log is filling up with messages like this and virtually no 
>messages are moving through my mailing lists. Based on a search of 
>the archives, I removed ALL digest.mbox files and ran unshunt. No 
>messages moved and the errors continue.
>
>Mar 02 09:51:11 2009 (30278) SHUNTING: 
>1236010837.317246+dbe24d8d98f7ad6b16fdd98b1f18ae69b6a225e7
>Mar 02 09:51:11 2009 (30278) Uncaught runner exception: unknown 
>encoding: us-ascii
>Mar 02 09:51:11 2009 (30278) Traceback (most recent call last):
>  File "/var/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop
>    self._onefile(msg, msgdata)
>  File "/var/mailman/Mailman/Queue/Runner.py", line 191, in _onefile
>    keepqueued = self._dispose(mlist, msg, msgdata)
>  File "/var/mailman/Mailman/Queue/IncomingRunner.py", line 130, in 
>_dispose
>    more = self._dopipeline(mlist, msg, msgdata, pipeline)
>  File "/var/mailman/Mailman/Queue/IncomingRunner.py", line 153, in 
>_dopipeline
>    sys.modules[modname].process(mlist, msg, msgdata)
>  File "/var/mailman/Mailman/Handlers/SpamDetect.py", line 111, in 
>process
>    g.flatten(p)
>  File "/usr/lib/python2.5/email/generator.py", line 84, in flatten
>  File "/usr/lib/python2.5/email/generator.py", line 116, in _write
>  File "/var/mailman/Mailman/Handlers/SpamDetect.py", line 84, in 
>_write_headers
>    Generator._write_headers(self, msg)
>  File "/usr/lib/python2.5/email/generator.py", line 150, in 
>_write_headers
>  File "/usr/lib/python2.5/email/generator.py", line 26, in 
>_is8bitstring
>LookupError: unknown encoding: us-ascii


You say you have Python 2.6.1, but your Python email library seems to
be python2.5.

Did you upgrade Python after installing Mailman?

It appears your installation may not be completely consistent. What
Python version is invoked by a "python" command.

You may need to rerun Mailman's configure and make install.

-- 
Mark Sapiro <mark at msapiro.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