I am using tmda 1.0 and tmda cgi 12b on Linux Mandrake 9.1 with qmail
and vpopmail. Any clues?
HeaderParseError Python 2.2.2: /usr/bin/python
Tue Jan 13 21:47:18 2004
A problem occurred in a Python script. Here is the sequence of function
calls leading up to the error, in the order they occurred.
/var/www/cgi-bin/tmda/tmda-cgi.py
175 elif Cmd == "pending":
176 import PendList
177 Call(PendList)
178 elif Cmd == "restore":
179 pass
Call = <function Call>, PendList = <module 'PendList' from
'PendList.pyc'>
/var/www/cgi-bin/tmda/tmda-cgi.py in Call(Library=<module 'PendList'
from 'PendList.pyc'>, Str=None)
73 Library.Show(Str)
74 else:
75 Library.Show()
76
77 # Capture WebUID
Library = <module 'PendList' from 'PendList.pyc'>, Library.Show =
<function Show>
/var/www/cgi-bin/tmda/PendList.py in Show()
364 # Print a single message record inside list loop
365 try:
366 MsgObj = Pending.Message(Msg)
367 except (IOError, Errors.MessageError), ErrStr:
368 continue
MsgObj = <TMDA.Pending.Message instance>, global Pending = <module
'TMDA.Pending' from '/usr/lib/python2.2/site-packages/TMDA/Pending.py'>,
Pending.Message = <class TMDA.Pending.Message>, Msg = '1072984848.12516.msg'
/usr/lib/python2.2/site-packages/TMDA/Pending.py in
__init__(self=<TMDA.Pending.Message instance>, msgid='1072984848.12516.msg',
recipient=None)
423 raise Errors.MessageError, '%s not found!' %
self.msgid
424 try:
425 self.msgobj =
email.message_from_file(open(self.msgfile, 'r'))
426 except email.Errors.BoundaryError:
427 self.msgobj = Util.msg_from_file(open(self.msgfile,
'r'))
self = <TMDA.Pending.Message instance>, self.msgobj undefined, global
email = <module 'email' from
'/usr/lib/python2.2/site-packages/TMDA/pythonlib/email/__init__.pyc'>,
email.message_from_file = <function message_from_file>, open undefined,
self.msgfile =
'/home/vpopmail/domains/osbtown.com/5/rusty/.tmda/pending/1072984848.12516.m
sg'
/usr/lib/python2.2/site-packages/TMDA/pythonlib/email/__init__.py in
message_from_file(fp=<open file
'/home/vpopmail/domains/osbtown.com/5...ty/.tmda/pending/1072984848.12516.ms
g', mode 'r'>, _class=<class email.Message.Message>, strict=0)
61 from email.Message import Message
62 _class = Message
63 return Parser(_class, strict=strict).parse(fp)
64
65
Parser = <class email.Parser.Parser>, _class = <class
email.Message.Message>, strict = 0, ).parse undefined, fp = <open file
'/home/vpopmail/domains/osbtown.com/5...ty/.tmda/pending/1072984848.12516.ms
g', mode 'r'>
/usr/lib/python2.2/site-packages/TMDA/pythonlib/email/Parser.py in
parse(self=<email.Parser.Parser instance>, fp=<open file
'/home/vpopmail/domains/osbtown.com/5...ty/.tmda/pending/1072984848.12516.ms
g', mode 'r'>, headersonly=0)
60 """
61 root = self._class()
62 firstbodyline = self._parseheaders(root, fp)
63 if not headersonly:
64 self._parsebody(root, fp, firstbodyline)
firstbodyline undefined, self = <email.Parser.Parser instance>,
self._parseheaders = <bound method Parser._parseheaders of
<email.Parser.Parser instance>>, root = <email.Message.Message instance>, fp
= <open file
'/home/vpopmail/domains/osbtown.com/5...ty/.tmda/pending/1072984848.12516.ms
g', mode 'r'>
/usr/lib/python2.2/site-packages/TMDA/pythonlib/email/Parser.py in
_parseheaders(self=<email.Parser.Parser instance>,
container=<email.Message.Message instance>, fp=<open file
'/home/vpopmail/domains/osbtown.com/5...ty/.tmda/pending/1072984848.12516.ms
g', mode 'r'>)
109 if line[0] in ' \t':
110 if not lastheader:
111 raise Errors.HeaderParseError(
112 'Continuation line seen before first
header')
113 lastvalue.append(line)
global Errors = <module 'email.Errors' from
'/usr/lib/python2.2/site-packages/TMDA/pythonlib/email/Errors.py'>,
Errors.HeaderParseError = <class email.Errors.HeaderParseError>
HeaderParseError: Continuation line seen before first header
__doc__ = 'Error while parsing headers.'
__getitem__ = <bound method HeaderParseError.__getitem__ of
<email.Errors.HeaderParseError instance>>
__init__ = <bound method HeaderParseError.__init__ of
<email.Errors.HeaderParseError instance>>
__module__ = 'email.Errors'
__str__ = <bound method HeaderParseError.__str__ of
<email.Errors.HeaderParseError instance>>
args = ('Continuation line seen before first header',)
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users