Re: Problems with MS Outlook Read Confirmation
Ricardo Buchalla Auada <[email protected]> Sun, 21 Mar 2010 22:01:59 -0300
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Message-ID | <[email protected]> |
Kevin, very elucidative. I'll look around your fork. Thanks a lot. Regards, -- Ricardo Buchalla Auada Webcenter Sistemas http://www.webcenter.com.br tel.: 11 4152-8411 Em 21/03/2010, às 16:11, Kevin Goodsell <[email protected]> escreveu: > Ricardo Buchalla Auada wrote: >> Sometimes we get the following error when a client confirms a READ >> message: >> Uncaught Python 2.4.4 Exception (Wed Mar 17 18:58:43 2010): >> ----------------------------------------------------------- >> Traceback (most recent call last): >> File "/usr/bin/tmda-filter", line 53, in ? >> execfile(os.path.join(execdir, 'tmda-rfilter')) >> File "/usr/bin/tmda-rfilter", line 213, in ? >> orig_msgin_as_string = Util.msg_as_string(msgin) >> File "/usr/local/src/tmda-1.1.12/TMDA/Util.py", line 552, in >> msg_as_string >> g.flatten(msg, unixfrom=unixfrom) >> File "/usr/local/src/tmda-1.1.12/TMDA/pythonlib/email/ >> generator.py", line 84, >> in flatten >> self._write(msg) >> File "/usr/local/src/tmda-1.1.12/TMDA/pythonlib/email/ >> generator.py", line 109, >> in _write >> self._dispatch(msg) >> File "/usr/local/src/tmda-1.1.12/TMDA/pythonlib/email/ >> generator.py", line 135, >> in _dispatch >> meth(msg) >> File "/usr/local/src/tmda-1.1.12/TMDA/pythonlib/email/ >> generator.py", line 266, >> in _handle_message >> g.flatten(msg.get_payload(0), unixfrom=False) >> File "/usr/local/src/tmda-1.1.12/TMDA/pythonlib/email/message.py", >> line 185, i >> n get_payload >> raise TypeError('Expected list, got %s' % type(self._payload)) >> TypeError: Expected list, got <type 'str'> >> Don´t know how to fix it. Does anybody know ? > > This sort of looks like a bug in Python's email package. Googling > around seems to confirm this, but I haven't yet found a definitive > bug report. It looks easy enough to reproduce though. I'll dig into > it a bit more, and see if I can point the email devs in the right > direction to get it fixed. > > Please note however, that the TMDA distribution contains its own > copy of the email library. That means it won't benefit from any > upstream bug fixes or bug fixes from your software distributor. > You'll need to manually patch your TMDA or use a version that uses > the system email lib. My fork no longer includes a copy of the email > lib for this reason, so that would be one option. It's available here: > > http://wiki.github.com/KevinGoodsell/tmda-fork/ > > -Kevin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ tmda-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tmda-users