[Mailman-Users] unicode error

Dan Phillips dhphllps at memphis.edu
Wed Oct 1 20:25:10 CEST 2003


MM 2.1.3, Postfix 2.0.9, OS X

Password reminders sent out this morning generated the following error 
for all subscribers who have chosen Japanese as their language of 
choice:

> Oct 01 05:04:42 2003 (16972) Uncaught runner exception: decoding 
> Unicode is not supported
> Oct 01 05:04:42 2003 (16972) Traceback (most recent call last):
>   File "/users/mailman/Mailman/Queue/Runner.py", line 110, in _oneloop
>     self._onefile(msg, msgdata)
>   File "/users/mailman/Mailman/Queue/Runner.py", line 160, in _onefile
>     keepqueued = self._dispose(mlist, msg, msgdata)
>   File "/users/mailman/Mailman/Queue/OutgoingRunner.py", line 74, in 
> _dispose
>     self._func(mlist, msg, msgdata)
>   File "/users/mailman/Mailman/Handlers/SMTPDirect.py", line 146, in 
> process
>     deliveryfunc(mlist, msg, msgdata, envsender, refused, conn)
>   File "/users/mailman/Mailman/Handlers/SMTPDirect.py", line 332, in 
> verpdeliver
>     bulkdeliver(mlist, msgcopy, msgdata, envsender, failures, conn)
>   File "/users/mailman/Mailman/Handlers/SMTPDirect.py", line 345, in 
> bulkdeliver
>     msgtext = msg.as_string()
>   File "/users/mailman/pythonlib/email/Message.py", line 113, in 
> as_string
>     g.flatten(self, unixfrom=unixfrom)
>   File "/users/mailman/pythonlib/email/Generator.py", line 103, in 
> flatten
>     self._write(msg)
>   File "/users/mailman/pythonlib/email/Generator.py", line 131, in 
> _write
>     self._dispatch(msg)
>   File "/users/mailman/pythonlib/email/Generator.py", line 157, in 
> _dispatch
>     meth(msg)
>   File "/users/mailman/pythonlib/email/Generator.py", line 198, in 
> _handle_text
>     payload = cset.body_encode(payload)
>   File "/users/mailman/pythonlib/email/Charset.py", line 386, in 
> body_encode
>     s = self.convert(s)
>   File "/users/mailman/pythonlib/email/Charset.py", line 269, in 
> convert
>     return unicode(s, self.input_codec).encode(self.output_codec)
> TypeError: decoding Unicode is not supported
>
> Oct 01 05:04:42 2003 (16972) SHUNTING: 
> 1065002402.120966+15739cc63fad35075a9d11d4cab4c282919d2340
>

AFAIK, this has not happened before; at least there was no problem on 
September 1. The only thing changed since then has been updating to 
2.1.3. Unicode support is certainly included in OS X.





More information about the Mailman-Users mailing list