HTML email disappears
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
GNU Mailman | Status tracked in 3.0 | |||||
2.1 |
Fix Released
|
Medium
|
Mark Sapiro | |||
3.0 |
In Progress
|
Medium
|
Mark Sapiro |
Bug Description
In mailman-2.1.6rc2, messages sent in HTML are not
posted but simply disappear. If I replace the Messages.py
file with the one from 2.1.4, the problem goes away. I
found the following in the error log file, which seems to
point to this file:
May 04 15:16:59 2005 (23119) SHUNTING:
1115245017.
2f7aead680
May 04 15:39:16 2005 (23119) Uncaught runner exception:
unicode() argument 2 must be string, not None
May 04 15:39:16 2005 (23119) Traceback (most recent
call last):
File "/usr/local/
111, in _oneloop
self.
File "/usr/local/
167, in _onefile
keepqueued = self._dispose(
File "/usr/local/
", line 73, in _dispose
self.
File "/usr/local/
line 152, in process
deliveryfun
conn)
File "/usr/local/
line 285, in verpdeliver
Decorate.
File "/usr/local/
line 88, in process
mcset = msg.get_
File "/usr/local/
get_content_charset
unicode('x', charset)
TypeError: unicode() argument 2 must be string, not None
[http://
Related branches
Changed in mailman: | |
milestone: | 2.1-beta → 2.1.13rc1 |
We are having a similar issue. Running version 2.1.9 on RHEL4. We do not lose every email that is HTML. It is random and so far appears to be affecting only 1 user (although I suspect it occasionally happens to others as well). The message is successfully getting to mailman but is "disappearing" and here' s what we're seeing in the log:
Apr 05 23:56:35 2009 (4051) Uncaught runner exception: Expected list, got <type 'str'> mailman2/ Mailman/ Queue/Runner. py", line 112, in _oneloop _onefile( msg, msgdata) mailman2/ Mailman/ Queue/Runner. py", line 170, in _onefile mlist, msg, msgdata) mailman2/ Mailman/ Queue/IncomingR unner.py" , line 130, in _dispose e(mlist, msg, msgdata, pipeline) mailman2/ Mailman/ Queue/IncomingR unner.py" , line 153, in _dopipeline modules[ modname] .process( mlist, msg, msgdata) mailman2/ Mailman/ Handlers/ MimeDel. py", line 95, in process multipart_ alternatives( msg) mailman2/ Mailman/ Handlers/ MimeDel. py", line 184, in collapse_ multipart_ alternatives get_payload( 0) mailman2/ pythonlib/ email/Message. py", line 211, in get_payload
Apr 05 23:56:35 2009 (4051) Traceback (most recent call last):
File "/tekops/
self.
File "/tekops/
keepqueued = self._dispose(
File "/tekops/
more = self._dopipelin
File "/tekops/
sys.
File "/tekops/
collapse_
File "/tekops/
firstalt = subpart.
File "/tekops/
raise TypeError, 'Expected list, got %s' % type(self._payload)
TypeError: Expected list, got <type 'str'>
Thanks,
David