[Mailman-Users] Encoding Error in Mailman

Brian Carpenter brian at emwd.com
Tue Jul 20 12:46:33 CEST 2010


Hi All:

Hope everyone is having a nice summer.

Yesterday I had a UK client have two messages from two different posters
shunted for the following reason:

Jul 19 05:24:03 2010 (28056) Uncaught runner exception: windows-1252
Jul 19 05:24:03 2010 (28056) Traceback (most recent call last):
  File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line
120, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line
191, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/OutgoingRunner.py",
line 74, in _dispose
    self._func(mlist, msg, msgdata)
  File "/usr/local/cpanel/3rdparty/mailman/Mailman/Handlers/SMTPDirect.py",
line 132, in process
    Decorate.process(mlist, msg, msgdata)
  File "/usr/local/cpanel/3rdparty/mailman/Mailman/Handlers/Decorate.py",
line 133, in process
    msg.set_payload(payload, newcset)
  File "/usr/local/lib/python2.4/email/Message.py", line 218, in set_payload
    self.set_charset(charset)
  File "/usr/local/lib/python2.4/email/Message.py", line 242, in set_charset
    raise TypeError(charset)
TypeError: windows-1252

Jul 19 05:46:50 2010 (28056) Uncaught runner exception: iso-8859-1
Jul 19 05:46:50 2010 (28056) Traceback (most recent call last):
  File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line
120, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line
191, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/OutgoingRunner.py",
line 74, in _dispose
    self._func(mlist, msg, msgdata)
  File "/usr/local/cpanel/3rdparty/mailman/Mailman/Handlers/SMTPDirect.py",
line 132, in process
    Decorate.process(mlist, msg, msgdata)
  File "/usr/local/cpanel/3rdparty/mailman/Mailman/Handlers/Decorate.py",
line 133, in process
    msg.set_payload(payload, newcset)
  File "/usr/local/lib/python2.4/email/Message.py", line 218, in set_payload
    self.set_charset(charset)
  File "/usr/local/lib/python2.4/email/Message.py", line 242, in set_charset
    raise TypeError(charset)
TypeError: iso-8859-1

Looking at the error log, the above type of error message is VERY rare
however it is strange that I had two of these show up within a close time of
each other. The question that I have is does the above error message
indicate a problem going on with the mailman server or was there an issue
going on with the posters' email formatting?

Thanks for any insight into this problem.

Regards,
Brian Carpenter
EMWD.com

--------------------------------------------------------
http://blog.emwd.com/
Curious comments from a web hosting techie




More information about the Mailman-Users mailing list