>python geturl.py "http://gnn.com/gnn/news/comix/dilbert.html" test.url
Traceback (innermost last):
File "geturl.py", line 36, in ?
main()
File "geturl.py", line 20, in main
f = urllib.urlopen(url)
File "d:\python-1.1\lib\urllib.py", line 35, in urlopen
return _urlopener.open(url)
File "d:\python-1.1\lib\urllib.py", line 100, in open
return getattr(self, name)(url)
File "d:\python-1.1\lib\urllib.py", line 149, in open_http
errcode, errmsg, headers = h.getreply()
File "d:\python-1.1\lib\httplib.py", line 86, in getreply
self.file = self.sock.makefile('r')
AttributeError: makefile
I haven't really investigated this, but it appears my python socket
implementation is missing 'makefile'? Is that right?
Any insight would be much appreciated!
rjf
-- | "I don't like being bluffed -- makes me doubt | rjf@aurora.pcg.com | | my perception of reality..." | 71722,3175 | | Chris in the morning on KBHR | | +---------------------------------------------------+-----------------------+