Hi all - first I'd like to say that TMDA is a great piece of software.
I am sure my problem is very simple, but presently I know nothing about
Python and as a result am helpless to fix it myself.
I've recently upgraded from 0.61 to 0.68 and tmda-pending isn't working
properly. I'm using it through the qadmin-tmda web-based interface, but
I think there is an underlying issue with TMDA finding its modules.
I've got this stack trace in my qtmda.log file:
Traceback (most recent call last):
File "/usr/local/bin/tmda-pending", line 311, in ?
main()
File "/usr/local/bin/tmda-pending", line 304, in main
q.mainLoop()
File "/usr/local/lib/python2.2/TMDA/Pending.py", line 262, in mainLoop
if not self.processMessage(M):
File "/usr/local/lib/python2.2/TMDA/Pending.py", line 216, in
processMessage
self.showMessage(M)
File "/usr/local/lib/python2.2/TMDA/Pending.py", line 222, in
showMessage
self.Print(M.terse(tsv=1))
File "/usr/local/lib/python2.2/TMDA/Pending.py", line 502, in terse
for hdr in terse_hdrs])
File "/usr/local/lib/python2.2/TMDA/Util.py", line 448, in
decode_header
from email import Header
ImportError: cannot import name Header
Traceback (most recent call last):
File "/usr/local/bin/tmda-pending", line 311, in ?
main()
File "/usr/local/bin/tmda-pending", line 304, in main
q.mainLoop()
File "/usr/local/lib/python2.2/TMDA/Pending.py", line 262, in mainLoop
if not self.processMessage(M):
File "/usr/local/lib/python2.2/TMDA/Pending.py", line 216, in
processMessage
self.showMessage(M)
File "/usr/local/lib/python2.2/TMDA/Pending.py", line 225, in
showMessage
self.Print(M.summary(self.count, self.total, self.summary))
File "/usr/local/lib/python2.2/TMDA/Pending.py", line 531, in summary
str += "%s %s: %s\n" % (' >>',
File "/usr/local/lib/python2.2/TMDA/Util.py", line 448, in
decode_header
from email import Header
ImportError: cannot import name Header
As an aside, I know there is a necessary step to convert the pending
queue into the new maildir-like format, but I was unclear of exactly
what to do. I didn't know where I was supposed to supply the --cache
flag in order to have old messages appear. Could someone give me an
example of the correct syntax?
Any advice, pointers to relevent documents, or other beatings with
clue-sticks would be greatly appreciated.
Thanks very much!
--
Dave Steinberg
PS - I've got Python 2.2.1 installed.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users