Advertisement
Guest User

Untitled

a guest
Oct 11th, 2010
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. jreese@mach ~/workspace/combine ±master⚡ » python test.py
  2. Traceback (most recent call last):
  3. File "test.py", line 7, in <module>
  4. f = urlgrabber.urlopen("https://packages.leetcode.net/ubuntu/pool/l/leetcode-core_1.0-25_amd64.deb", bandwidth=1000, progress_obj=po)
  5. File "/usr/lib/pymodules/python2.6/urlgrabber/grabber.py", line 605, in urlopen
  6. return default_grabber.urlopen(url, **kwargs)
  7. File "/usr/lib/pymodules/python2.6/urlgrabber/grabber.py", line 884, in urlopen
  8. return self._retry(opts, retryfunc, url)
  9. File "/usr/lib/pymodules/python2.6/urlgrabber/grabber.py", line 845, in _retry
  10. r = apply(func, (opts,) + args, {})
  11. File "/usr/lib/pymodules/python2.6/urlgrabber/grabber.py", line 883, in retryfunc
  12. return URLGrabberFileObject(url, filename=None, opts=opts)
  13. File "/usr/lib/pymodules/python2.6/urlgrabber/grabber.py", line 1001, in __init__
  14. self._do_open()
  15. File "/usr/lib/pymodules/python2.6/urlgrabber/grabber.py", line 1072, in _do_open
  16. fo, hdr = self._make_request(req, opener)
  17. File "/usr/lib/pymodules/python2.6/urlgrabber/grabber.py", line 1172, in _make_request
  18. fo = opener.open(req)
  19. File "/usr/lib/python2.6/urllib2.py", line 391, in open
  20. response = self._open(req, data)
  21. File "/usr/lib/python2.6/urllib2.py", line 409, in _open
  22. '_open', req)
  23. File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
  24. result = func(*args)
  25. File "/usr/lib/pymodules/python2.6/urlgrabber/keepalive.py", line 345, in https_open
  26. return self.do_open(req)
  27. File "/usr/lib/pymodules/python2.6/urlgrabber/keepalive.py", line 233, in do_open
  28. h = self._get_connection(host)
  29. File "/usr/lib/pymodules/python2.6/urlgrabber/keepalive.py", line 348, in _get_connection
  30. return self._ssl_factory.get_https_connection(host)
  31. AttributeError: SSLFactory instance has no attribute 'get_https_connection'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement