Calling `fetch_distribution` with req = "fl-gelform" and source = True results
in the following traceback.
sdist = pi.fetch_distribution(req, directory, source=True)
File "/home/sridharr/.local/lib/python2.6/site-packages/setuptools/
package_index.py", line 465, in fetch_distribution
self.find_packages(requirement)
File "/home/sridharr/.local/lib/python2.6/site-packages/setuptools/
package_index.py", line 303, in find_packages
self.scan_url(self.index_url + requirement.unsafe_name+'/')
File "/home/sridharr/.local/lib/python2.6/site-packages/setuptools/
package_index.py", line 617, in scan_url
self.process_url(url, True)
File "/home/sridharr/.local/lib/python2.6/site-packages/setuptools/
package_index.py", line 190, in process_url
f = self.open_url(url, "Download error: %s -- Some packages may not be
found!")
File "/home/sridharr/.local/lib/python2.6/site-packages/setuptools/
package_index.py", line 578, in open_url
return open_with_auth(url)
File "/home/sridharr/.local/lib/python2.6/site-packages/setuptools/
package_index.py", line 717, in open_with_auth
fp = urllib2.urlopen(request)
File "/opt/ActivePython-2.6/lib/python2.6/urllib2.py", line 124, in urlopen
return _opener.open(url, data, timeout)
File "/opt/ActivePython-2.6/lib/python2.6/urllib2.py", line 395, in open
response = meth(req, response)
File "/opt/ActivePython-2.6/lib/python2.6/urllib2.py", line 508, in
http_response
'http', request, response, code, msg, hdrs)
File "/opt/ActivePython-2.6/lib/python2.6/urllib2.py", line 427, in error
result = self._call_chain(*args)
File "/opt/ActivePython-2.6/lib/python2.6/urllib2.py", line 367, in
_call_chain
result = func(*args)
File "/opt/ActivePython-2.6/lib/python2.6/urllib2.py", line 577, in
http_error_302
newurl = urlparse.urljoin(req.get_full_url(), newurl)
File "/opt/ActivePython-2.6/lib/python2.6/urlparse.py", line 219, in urljoin
params, query, fragment))
File "/opt/ActivePython-2.6/lib/python2.6/urlparse.py", line 184, in
urlunparse
return urlunsplit((scheme, netloc, url, query, fragment))
File "/opt/ActivePython-2.6/lib/python2.6/urlparse.py", line 190, in
urlunsplit
url = '//' + (netloc or '') + url
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 10:
ordinal not in range(128)
|