|
The message below is what I
Get when logging into tmda to manage an account.. Any one have any
ideas...Greg?
This is tmdacgi 12b
-John
|
HeaderParseError |
Python
2.2.2: /usr/bin/python Fri Jan 9 10:28:40 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
|
|
157 elif Cmd == "pending": |
|
158 import PendList |
|
159 Call(PendList) |
|
160 elif Cmd == "restore": |
|
161 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) |
|
55 Library.Show(Str) |
|
56 else: |
|
57 Library.Show() |
|
58 |
|
59 # 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.msg' |
|
/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.msg',
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.msg',
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.msg',
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.msg',
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.msg',
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',)
|