Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jreese@mach ~/workspace/combine ±master⚡ » python test.py
- Traceback (most recent call last):
- File "test.py", line 7, in <module>
- f = urlgrabber.urlopen("https://packages.leetcode.net/ubuntu/pool/l/leetcode-core_1.0-25_amd64.deb", bandwidth=1000, progress_obj=po)
- File "/usr/lib/pymodules/python2.6/urlgrabber/grabber.py", line 605, in urlopen
- return default_grabber.urlopen(url, **kwargs)
- File "/usr/lib/pymodules/python2.6/urlgrabber/grabber.py", line 884, in urlopen
- return self._retry(opts, retryfunc, url)
- File "/usr/lib/pymodules/python2.6/urlgrabber/grabber.py", line 845, in _retry
- r = apply(func, (opts,) + args, {})
- File "/usr/lib/pymodules/python2.6/urlgrabber/grabber.py", line 883, in retryfunc
- return URLGrabberFileObject(url, filename=None, opts=opts)
- File "/usr/lib/pymodules/python2.6/urlgrabber/grabber.py", line 1001, in __init__
- self._do_open()
- File "/usr/lib/pymodules/python2.6/urlgrabber/grabber.py", line 1072, in _do_open
- fo, hdr = self._make_request(req, opener)
- File "/usr/lib/pymodules/python2.6/urlgrabber/grabber.py", line 1172, in _make_request
- fo = opener.open(req)
- File "/usr/lib/python2.6/urllib2.py", line 391, in open
- response = self._open(req, data)
- File "/usr/lib/python2.6/urllib2.py", line 409, in _open
- '_open', req)
- File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
- result = func(*args)
- File "/usr/lib/pymodules/python2.6/urlgrabber/keepalive.py", line 345, in https_open
- return self.do_open(req)
- File "/usr/lib/pymodules/python2.6/urlgrabber/keepalive.py", line 233, in do_open
- h = self._get_connection(host)
- File "/usr/lib/pymodules/python2.6/urlgrabber/keepalive.py", line 348, in _get_connection
- return self._ssl_factory.get_https_connection(host)
- AttributeError: SSLFactory instance has no attribute 'get_https_connection'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement