469,328 Members | 1,324 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,328 developers. It's quick & easy.

Strange email.Parser error?

I am getting the following traceback after upgrading my app to Python
2.4.1. It's telling me that there is an error in Parser.py. It tells
me that 'fp.read(8192)' is given 2 arguments, but it is clearly not
true. Does anybody know what's going on here?

Traceback (most recent call last):
File "/opt/etext/lib/python2.4/site-packages/etext/enqueue.py", line
252, in work
worker(e.linkval, info)
File "/opt/etext/bin/etreceive", line 30, in worker
result = decode.searchfile(f)
File "/opt/etext/lib/python2.4/site-packages/etext/decode.py", line
43, in searchfile
return Email(f)
File "/opt/etext/lib/python2.4/site-packages/etext/decode.py", line
510, in __init__
self.child.append(Email(mf))
File "/opt/etext/lib/python2.4/site-packages/etext/decode.py", line
404, in __init__
msg = Parser().parse(f)
File "/opt/etext/lib/python2.4/email/Parser.py", line 65, in parse
data = fp.read(8192)
TypeError: read() takes exactly 1 argument (2 given)

Thanks,
Andre.

--

Aug 18 '05 #1
0 944

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Thomas Williams | last post: by
4 posts views Thread by francescomoi | last post: by
6 posts views Thread by ST | last post: by
12 posts views Thread by ishtar2020 | last post: by
3 posts views Thread by Robbert van Geldrop | last post: by
reply views Thread by Li-fan Chen | last post: by
3 posts views Thread by Shelly | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Purva khokhar | last post: by
reply views Thread by haryvincent176 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.