Stephen Warrren wrote:
On Thu, December 30, 2004 11:26 am, Simon Waldman said:

error: uncaptured python exception, closing channel
<__main__.SMTPChannel connected 127.0.0.1:1702 at 0x403fdccc>
(exceptions.IOError:failure delivering message to command
"['/usr/bin/tmda-inject', '-c', '/home/simon/.tmda/config',
'[EMAIL PROTECTED]']" (command "['/usr/bin/tmda-inject', '-c',
'/home/simon/.tmda/config', '[EMAIL PROTECTED]']" exited 1  (Traceback
(most recent call last):
 File "/usr/bin/tmda-inject", line 142, in ?
   orig_msgout_as_string = Util.msg_as_string(msgout)
 File "/usr/lib/python2.3/site-packages/TMDA/Util.py", line 549, in
msg_as_string
   genclass = Generator.HeaderParsedGenerator
AttributeError: 'module' object has no attribute
'HeaderParsedGenerator')) [/usr/lib/python2.3/asyncore.py|read|69]
[/usr/lib/python2.3/asyncore.py|handle_read_event|390]
[/usr/lib/python2.3/asynchat.py|handle_read|136]
[/usr/bin/tmda-ofmipd|found_terminator|837]
[/usr/bin/tmda-ofmipd|process_message|1202]
[/usr/lib/python2.3/site-packages/TMDA/Util.py|pipecmd|395])


It looks like something is picking up the wrong Python library code.

Take a look at:

http://mla.libertine.org/tmda-users/2004-01/msg00228.html

I was on a wrong track - if I'd read the link you provided more closely I'd have realised sooner that the problem was rather basic - the Mandrake RPM of tmda misses out a load of files!
The RPM doesn't have the pythonlib/ subdirectory under /usr/lib/python2.3/site-packages/TMDA, which should contain the modified email package referred to in that link. tmda-ofmipd seems to be the only part of TMDA (that I've used on this machine) affected by this.


So, thanks for pointing me in the right direction - my system now works, and it looks like I'll have to try to find the name of whoever maintains that RPM and point out the problem!

--
"All the bridges that you burn / Come back one day to haunt you
 One days you'll find you're walking / Lonely"
       -Tracy Chapman, 'Bridges'
---------------------------------------------------------------
Simon Waldman, UK            email: [EMAIL PROTECTED]
---------------------------------------------------------------
_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to