Package: mailman
Version: 2.1.5-5.backports.org.3
Severity: normal
Tags: patch

I guess this could have been fixed in newer versions, 
but 2.1.5 seems to be the one in debian stable now as well,
so maybe this helps.

Jun 20 10:02:55 2005 (1159) Traceback (most recent call last):
  File "/var/lib/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
    self._onefile(msg, msgdata)
  File "/var/lib/mailman/Mailman/Queue/Runner.py", line 167, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
    more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in 
_dopipeline
    sys.modules[modname].process(mlist, msg, msgdata)
  File "/var/lib/mailman/Mailman/Handlers/CookHeaders.py", line 74, in process
    prefix_subject(mlist, msg, msgdata)
  File "/var/lib/mailman/Mailman/Handlers/CookHeaders.py", line 262, in 
prefix_subject
    h.append(s, c)
  File 
"/home/tretkowski/mailman/mailman-2.1.5/debian/mailman/var/lib/mailman/pythonlib/email/Header.py",
 line 285, in app
end
LookupError: unknown encoding

And the hack was:
--- Header.py~  Sun Mar 30 22:46:47 2003
+++ Header.py   Fri Jun 24 15:35:40 2005
@@ -286,6 +286,8 @@
                         break
                     except UnicodeError:
                         pass
+                    except:
+                        pass
                 else:
                     assert False, 'utf-8 conversion failed'
         self._chunks.append((s, charset))


Most probably an _ugly_ way to fix, but I don't know python
and I ain't no mailman developer either. It Works(tm).

(Ought to be crosschecked by mailman hackers.)

Peter


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to