<type 'exceptions.AttributeError'> | Python 2.5.2: /usr/bin/python Sun Jun 4 01:13:12 2023 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/opt/ezmlm-browse-0.20/<string> in |
/opt/ezmlm-browse-0.20/main.py in main() |
424 |
425 if path is not None: |
426 main_path(path) |
427 else: |
428 main_form() |
global main_form = <function main_form at 0x82c0ca4> |
/opt/ezmlm-browse-0.20/main.py in main_form() |
378 except ImportError: |
379 die(ctxt, "Invalid command") |
380 module.do(ctxt) |
381 |
382 def main(): |
module = <module 'commands.feed' from '/opt/ezmlm-browse-0.20/commands/feed.pyc'>, module.do = <function do at 0x82c0f7c>, global ctxt = {'cmd': 'feed', 'HTTP_X_FORWARDED_SERVER': 'glit...apwidth': '0', 'HTTP_ACCEPT_ENCODING': 'br,gzip'} |
/opt/ezmlm-browse-0.20/commands/feed.py in do(ctxt={'cmd': 'feed', 'HTTP_X_FORWARDED_SERVER': 'glit...apwidth': '0', 'HTTP_ACCEPT_ENCODING': 'br,gzip'}) |
28 num -= 1 |
29 for msg in msgs: |
30 e = email.message_from_file(ctxt[EZMLM].open(int(msg[MSGNUM]))) |
31 msg[BODY] = rec_gettext(e).strip() |
32 feedtype.generate(ctxt, msgs) |
e undefined, global email = <module 'email' from '/usr/lib/python2.5/email/__init__.pyc'>, email.message_from_file = <function message_from_file at 0x81b680c>, ctxt = {'cmd': 'feed', 'HTTP_X_FORWARDED_SERVER': 'glit...apwidth': '0', 'HTTP_ACCEPT_ENCODING': 'br,gzip'}, global EZMLM = 'ezmlm', ].open undefined, builtin int = <type 'int'>, msg = {'author': u'Chris Watkins', 'authorid': 'kcdpfmpnfnhoeiicmhkk', 'date': '8 May 2009 18:22:42 +0100', 'month': 200905, 'msgnum': 89, 'subject': u'Re: license for tldp', 'threadid': 'bkiapcdiajepmnpgjnhl', 'timestamp': 1241803362.0}, global MSGNUM = 'msgnum' |
/usr/lib/python2.5/email/__init__.py in message_from_file(fp=<email.message.Message instance at 0x8317f0c>, *args=(), **kws={}) |
64 """ |
65 from email.parser import Parser |
66 return Parser(*args, **kws).parse(fp) |
67 |
68 |
Parser = <class email.parser.Parser at 0x82cb2fc>, args = (), kws = {}, ).parse undefined, fp = <email.message.Message instance at 0x8317f0c> |
/usr/lib/python2.5/email/parser.py in parse(self=<email.parser.Parser instance at 0x82c326c>, fp=<email.message.Message instance at 0x8317f0c>, headersonly=False) |
66 feedparser._set_headersonly() |
67 while True: |
68 data = fp.read(8192) |
69 if not data: |
70 break |
data undefined, fp = <email.message.Message instance at 0x8317f0c>, fp.read undefined |
<type 'exceptions.AttributeError'>: Message instance has no attribute 'read'
args =
("Message instance has no attribute 'read'",)
message =
"Message instance has no attribute 'read'"