Hi,

I started using tmda-pending to release messages from the pending queue. I did a

 tmda-pending -b -r 1092570997.14210.msg

and everything worked fine at first. Since I wanted to release all messages from the 
queue, I did a

 tmda-pending -b -r *

and got an error message. Since that time I'm error messages no matter what I do with 
tmda-pending. For instance I did

 tmda-pending 1092570997.14210.msg 

and got the following error message:


Traceback (most recent call last):
  File "/usr/bin/tmda-pending", line 311, in ?
    main()
  File "/usr/bin/tmda-pending", line 304, in main
    q.mainLoop()
  File "/usr/lib/python2.1/site-packages/TMDA/Pending.py", line 298, in mainLoop
    if not self.processMessage(M):
  File "/usr/lib/python2.1/site-packages/TMDA/Pending.py", line 362, in processMessage
    self.showMessage(M)
  File "/usr/lib/python2.1/site-packages/TMDA/Pending.py", line 261, in showMessage
    self.Print(M.summary(self.count, self.total, self.summary))
  File "/usr/lib/python2.1/site-packages/TMDA/Pending.py", line 560, in summary
    self.msg_size = len((Util.msg_as_string(self.msgobj)))
  File "/usr/lib/python2.1/site-packages/TMDA/Util.py", line 546, in msg_as_string
    g.flatten(msg, unixfrom=unixfrom)
  File "/usr/lib/python2.1/site-packages/TMDA/pythonlib/email/Generator.py", line 103, 
in flatten
    self._write(msg)
  File "/usr/lib/python2.1/site-packages/TMDA/pythonlib/email/Generator.py", line 131, 
in _write
    self._dispatch(msg)
  File "/usr/lib/python2.1/site-packages/TMDA/pythonlib/email/Generator.py", line 157, 
in _dispatch
    meth(msg)
  File "/usr/lib/python2.1/site-packages/TMDA/pythonlib/email/Generator.py", line 200, 
in _handle_text
    raise TypeError, 'string payload expected: %s' % type(payload)
TypeError: string payload expected: <type 'list'>


could anyone help me with getting tmda-pending to work properly.

Thanks,

don
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to