Hi, (10/03/04 1:58), Mark Sapiro wrote: > Masaharu Kawada wrote: >> >> There is one thing that I wonder, is that if the charset.py is done with >> that patch, what the current digest.mbox exsisted under lists/<listname> >> are supposed to be? Do they need to be deleted or not? My point on >> this is that once the patch is done, is there nothing else to do to fix this >> problem? > > > That is correct. Assuming the underlying issue is fixed by the patch, > all you need to do is apply the patch to the Python email library > charset.py module (probably at > /usr/lib/pythonx.x/lib/email/charset.py) and restart Mailman. Then the > next time the digest is triggered, it will be sent with all messages > and no more errors. > > If you apply the patch and restart Mailman and the errors continue, > then they are caused by something else.
In addition, you should have a lot of shunted messages in qfiles/shunt. They are safely deleted. > > Note that the patch: > > --- Lib/email/charset.py 2009-09-22 08:59:56.000000000 +0900 > +++ Lib/email/charset.py.orig 2009-09-22 08:58:36.000000000 +0900 > @@ -264,8 +264,7 @@ > def convert(self, s): > """Convert a string from the input_codec to the > output_codec.""" > if self.input_codec != self.output_codec: > - return unicode(s, self.input_codec, 'replace' > - ).encode(self.output_codec, 'replace') > + return unicode(s, > self.input_codec).encode(self.output_codec) > else: > return s > > is reversed. The '+' is the original code and the '-' is the new code. > Yes. Thanks Mark. -- Tokio Kikuchi, [email protected] http://weather.is.kochi-u.ac.jp/ ------------------------------------------------------ Mailman-Users mailing list [email protected] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
