problem using urllib...

Ron Forrester (rjf@aurora.pcg.com)
Sun, 22 Jan 1995 20:54:58 -0700

Guido (and friends), I jumped on your suggestion for using urllib, and had a
bit of a problem. I am using python-1.1 built for Windows NT -- following is
the output from the session:

>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 |                       |
+---------------------------------------------------+-----------------------+