External https packages stop the mirror operation

Bug #766278 reported by Chris Heisel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PyPI Mirror
New
Undecided
Unassigned

Bug Description

When using the -e flag I get the following error:

File "/usr/bin/pypimirror", line 7, in ?
    sys.exit(
  File "/usr/lib/python2.4/site-packages/z3c.pypimirror-1.0.16-py2.4.egg/z3c/pypimirror/mirror.py", line 819, in run
    config["base_url"])
  File "/usr/lib/python2.4/site-packages/z3c.pypimirror-1.0.16-py2.4.egg/z3c/pypimirror/mirror.py", line 481, in mirror
    filename = self._extract_filename(url)
  File "/usr/lib/python2.4/site-packages/z3c.pypimirror-1.0.16-py2.4.egg/z3c/pypimirror/mirror.py", line 553, in _extract_filename
    if parsed_url.scheme == 'https':
 AttributeError: 'tuple' object has no attribute 'scheme'

 The last entry in the log is: http://downloads.sourceforge.net/pyopenssl/pyOpenSSL-0.6.tar.gz?modtime=1212595285&big_mirror=0.
2011-04-19 12:18:26,040 DEBUG Head-Request to get filename for http://downloads.sourceforge.net/pyopenssl/pyOpenSSL-0.6.tar.gz?modtime=1212595285&big_mirror=0.

Revision history for this message
Chris Heisel (chris-heisel) wrote :

Actually it's not just https packages, I mis-titled this...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.