Urllib in Python1.5.2 (SunOS)

Moshe Zadka moshez at math.huji.ac.il
Sun May 23 02:31:41 EDT 1999


When I run 
python urllib.py -t 

I get
---------- http://www.python.org/index.html ----------
Traceback (innermost last):
  File "python1.5/urllib.py", line 1059, in ?
    main()
  File "python1.5/urllib.py", line 1050, in main
    test(args)
  File "python1.5/urllib.py", line 1012, in test
    fn, h = urlretrieve(url, None, reporthook)
  File "python1.5/urllib.py", line 66, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook)
  File "python1.5/urllib.py", line 184, in retrieve
    fp = self.open(url)
  File "python1.5/urllib.py", line 152, in open
    return self.open_unknown(fullurl)
  File "python1.5/urllib.py", line 166, in open_unknown
    raise IOError, ('url error', 'unknown url type', type)
IOError: [Errno url error] unknown url type: 'http'

uname -a:
SunOS sunset 4.1.4 9 sun4m

Anyone else had this problem?
--
Moshe Zadka <mzadka at geocities.com>. 
QOTD: My own exit is more likely to be horizontal then perpendicular.






More information about the Python-list mailing list