[Mailman-Users] What is wrong???

Mark Sapiro msapiro at value.net
Fri Jul 2 17:37:35 CEST 2004

Richard B. Pyne wrote:

>Jul 02 03:28:26 2004 (2458) Uncaught runner exception: 'ascii' 
>codec can't encode character u'\xed' in position 3717: ordinal 
>not in range(128)
>Jul 02 03:28:26 2004 (2458) 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/OutgoingRunner.py", 
>line 73, in _dispose
>    self._func(mlist, msg, msgdata)
>  File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 
>152, in process
>    deliveryfunc(mlist, msg, msgdata, envsender, refused, conn)
>  File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 
>338, in verpdeliver
>    bulkdeliver(mlist, msgcopy, msgdata, envsender, failures, 
>  File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 
>356, in bulkdeliver
>    msgtext = msg.as_string()
>  File "/usr/local/mailman/pythonlib/email/Message.py", line 
>130, in as_string
>    g.flatten(self, unixfrom=unixfrom)
>  File "/usr/local/mailman/pythonlib/email/Generator.py", line 
>102, in flatten
>    self._write(msg)
>  File "/usr/local/mailman/pythonlib/email/Generator.py", line 
>130, in _write
>    self._dispatch(msg)
>  File "/usr/local/mailman/pythonlib/email/Generator.py", line 
>156, in _dispatch
>    meth(msg)
>  File "/usr/local/mailman/pythonlib/email/Generator.py", line 
>202, in _handle_text
>    self._fp.write(payload)
>UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' 
>in position 3717: ordinal not in range(128)

I'm a mailman newbe myself so I'm on shaky ground here, but the
"regular" posters haven't answered so I'll give it a shot.

It appears that a post contains an invalid (non-ascii) character (hex
ed) in position 3717.

>Jul 02 03:28:26 2004 (2458) SHUNTING: 

The post has been shunted to the $prefix/qfiles/shunt/ directory.
perhaps you can edit it there to fix the problem and then run
$prefix/bin/unshunt or just return it to the poster.

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