Re: [Mailman-Users] Problems with uuencoded attachments

2006-01-15 Thread Mark Sapiro
Tokio Kikuchi wrote: > >There should be other chances that Python builtin modules spew warnings >to sys.stderr. How about this patch for Logging/Utils.py to write these >messages into syslog facility. The patch looks good to me, and I think is a good thing in general. It's clearly better than s

Re: [Mailman-Users] Problems with uuencoded attachments

2006-01-14 Thread Tokio Kikuchi
Mark Sapiro wrote: File "/usr/lib/python2.3/uu.py", line 139, in decode sys.stderr.write("Warning: %s\n" % str(v)) File "/usr/lib/mailman/Mailman/Logging/MultiLogger.py", line 45, in write _logexc(logger, msg) File "/usr/lib/mailman/Mailman/Logging/Utils.py", line 22, in _logexc sys.__std

Re: [Mailman-Users] Problems with uuencoded attachments

2006-01-14 Thread Mark Sapiro
Dimitrios Gerasimatos wrote: > >If I send an attachment encoded with old HP-UX uuencode or >Eudora 6.2.3 uuencode then mailman shunts the message. This occurs during archiving (see below). The message is delivered - at least to non-digest subscribers. >The >error is "Warning: Trailing garbage"

[Mailman-Users] Problems with uuencoded attachments

2006-01-14 Thread Dimitrios Gerasimatos
If I send an attachment encoded with old HP-UX uuencode or Eudora 6.2.3 uuencode then mailman shunts the message. The error is "Warning: Trailing garbage" which is actually coming from Python's uu.py module, which in turn gets it from the binascii library. I wrote a little script to decode the fi