[Mailman-Users] unknown encoding crashes qrunner

Ivan Fetch ifetch at du.edu
Wed Oct 5 18:01:12 CEST 2005


Hello,

    We have occasions where mailman (2.1.5) seases processing messages sent 
to lists - looking in the error log I have this (which I am not entirely sure 
is related, but it seems plausable):

** begin log **
Oct 05 08:44:51 2005 (15118) Uncaught runner exception: 
unknown encoding: unknown
Oct 05 08:44:51 2005 (15118) 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/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 74, 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: unknown

Oct 05 08:44:51 2005 (15118) SHUNTING: 1128523491.012949+8a483505bad6e02364dde9314038b35222278d06


** end log **


    I've found mention of the bug at:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=974290&group_id=103


    and further discussion on the thread at:
http://mail.python.org/pipermail/mailman-developers/2004-December.txt


    however I'm in-need of some help further diagnosing whether the above 
error log snippet and mailman bug is actually the cause, and how to 
resolve the issue.  I'm confused as to why the unknown encoding is 
"unknown" - can someone shed light on this?


    We are looking to upgrade to 2.1.6, but would prefer to do it later in 
the year.


Thanks -- Ivan.



More information about the Mailman-Users mailing list