<type 'exceptions.AttributeError'> | Python 2.5.2: /usr/bin/python Sun Jan 17 12:34:49 2021 |
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 0x8f8cc6c> |
/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 0x8f8cf44>, global ctxt = {'tz': '', 'cmd': 'feed', 'list': 'style', 'REDI...apwidth': '0', 'HTTP_ACCEPT_ENCODING': 'br,gzip'} |
/opt/ezmlm-browse-0.20/commands/feed.py in do(ctxt={'tz': '', 'cmd': 'feed', 'list': 'style', 'REDI...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 0x8e827d4>, ctxt = {'tz': '', 'cmd': 'feed', 'list': 'style', 'REDI...apwidth': '0', 'HTTP_ACCEPT_ENCODING': 'br,gzip'}, global EZMLM = 'ezmlm', ].open undefined, builtin int = <type 'int'>, msg = {'author': u'Tabatha Marshall', 'authorid': 'pjodbfhkoeponcdaajjl', 'date': '24 Jan 2004 20:23:33 -0000', 'month': 200401, 'msgnum': 26, 'subject': u'Re: ping', 'threadid': 'odcedjoipbejfliaephe', 'timestamp': 1074975813.0}, global MSGNUM = 'msgnum' |
/usr/lib/python2.5/email/__init__.py in message_from_file(fp=<email.message.Message instance at 0x8faac4c>, *args=(), **kws={}) |
64 """ |
65 from email.parser import Parser |
66 return Parser(*args, **kws).parse(fp) |
67 |
68 |
Parser = <class email.parser.Parser at 0x8f9226c>, args = (), kws = {}, ).parse undefined, fp = <email.message.Message instance at 0x8faac4c> |
/usr/lib/python2.5/email/parser.py in parse(self=<email.parser.Parser instance at 0x8f8e16c>, fp=<email.message.Message instance at 0x8faac4c>, 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 0x8faac4c>, 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'"