[Mailman-Users] Uncaught runner exception: unknownencoding:us-ascii

Mark Sapiro mark at msapiro.net
Mon Mar 2 19:24:23 CET 2009


rpyne at kinfolk.org wrote:
>
> # python
>Python 2.6.1 (r261:67515, Feb 28 2009, 15:18:21)
>[GCC 4.2.4] on linux2
>Type "help", "copyright", "credits" or "license" for more 
>information.
>
>
>I re-ran the configure and install of mailman, ran unshunt and the 
>errors still show using python 2.5:


What does config.log show for your configure command line and for
things like the following:

configure:1714: checking for --with-python
configure:1726: result: no
configure:1733: checking for python
configure:1751: found /usr/bin/python
configure:1764: result: /usr/bin/python
configure:1774: checking Python interpreter
configure:1792: result: /usr/bin/python
configure:1796: checking Python version
configure:1829: result: 2.6.1
configure:1833: checking Python's email package
configure:1866: result: ok

(the first several lines after

## ----------- ##
## Core tests. ##
## ----------- ##


>Mar 02 10:39:45 2009 (30280) SHUNTING: 
>1236015583.0520451+8058beae403d3fbac5f2571929549c19e2125acd
>Mar 02 10:39:53 2009 (30278) Uncaught runner exception: unknown 
>encoding: us-ascii
>Mar 02 10:39:53 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 109, in _write
>  File "/usr/lib/python2.5/email/generator.py", line 135, in 
>_dispatch
>  File "/usr/lib/python2.5/email/generator.py", line 201, in 
>_handle_multipart
>  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
>
>Mar 02 10:39:54 2009 (30278) SHUNTING: 
>1236014500.0552149+8a7b01ddc869ad3d723ffcadca4644d72858e68b


Are you also getting many errors like the following?

>Mar 02 10:39:54 2009 (30278) Failed to unlink/preserve backup file: 
>/var/mailman/qfiles/in/1236014500.0552149+5aed32c1bfbe6e4ac85c02c35185
>46e179e37b02.bak

-- 
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