[Mailman-Developers] still encoding problems

Tokio Kikuchi tkikuchi at is.kochi-u.ac.jp
Tue May 20 20:36:53 EDT 2003


Fil,

I wonder if my patch to CookHeaders.py may solve your problem.
http://sourceforge.net/tracker/?func=detail&aid=601117&group_id=103&atid=300103
It is intended for adding sequential number in the header but because
I live in non-ascii world it is robust to encoding errors.

Good Luck.

Fil wrote:
> Hi,
> 
> I'm with this morning's CVS, and installed the email-2.5.2 package correctly
> (I think).  But I still get those errors:
> 
> ==> logs/error <==
> May 20 10:28:25 2003 (8945) Uncaught runner exception: unknown encoding
> May 20 10:28:25 2003 (8945) Traceback (most recent call last):
>   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 110, in _oneloop
>     self._onefile(msg, msgdata)
>   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 160, in _onefile
>     keepqueued = self._dispose(mlist, msg, msgdata)
>   File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 130, in
> _dispose
>     more = self._dopipeline(mlist, msg, msgdata, pipeline)
>   File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 153, in
> _dopipeline
>     sys.modules[modname].process(mlist, msg, msgdata)
>   File "/usr/local/mailman/Mailman/Handlers/CookHeaders.py", line 75, in
> process
>     prefix_subject(mlist, msg, msgdata)
>   File "/usr/local/mailman/Mailman/Handlers/CookHeaders.py", line 262, in
> prefix_subject
>     h.append(s, c)
>   File "/usr/local/mailman/pythonlib/email/Header.py", line 285, in append
>     s = s.encode(outcodec, errors)
> LookupError: unknown encoding
> 
> May 20 10:28:25 2003 (8945) SHUNTING:
> 1053419304.694351+978ad1e0b03b3e44f82eb885f530cd366a12efac
> 
> 
> 
> -- Fil
> 
-- 
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/




More information about the Mailman-Developers mailing list