urllib2.URLError: <urlopen error unknown url type: http

Coonay flankw at gmail.com
Wed Mar 11 07:34:58 CET 2009


i use python2.6


File "C:\PROGRA~1\Python26\lib\urllib2.py", line 383, in open
    response = self._open(req, data)
  File "C:\PROGRA~1\Python26\lib\urllib2.py", line 401, in _open
    '_open', req)
  File "C:\PROGRA~1\Python26\lib\urllib2.py", line 361, in
_call_chain
    result = func(*args)
  File "C:\PROGRA~1\Python26\lib\urllib2.py", line 690, in <lambda>
    meth(r, proxy, type))
  File "C:\PROGRA~1\Python26\lib\urllib2.py", line 713, in proxy_open
    return self.parent.open(req)
  File "C:\PROGRA~1\Python26\lib\urllib2.py", line 383, in open
    response = self._open(req, data)
  File "C:\PROGRA~1\Python26\lib\urllib2.py", line 406, in _open
    'unknown_open', req)
  File "C:\PROGRA~1\Python26\lib\urllib2.py", line 361, in
_call_chain
    result = func(*args)
  File "C:\PROGRA~1\Python26\lib\urllib2.py", line 1163, in
unknown_open
    raise URLError('unknown url type: %s' % type)
urllib2.URLError: <urlopen error unknown url type: "http>



More information about the Python-list mailing list