← Back to team overview

pypi-mirror team mailing list archive

[Bug 766278] Re: External https packages stop the mirror operation

 

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

-- 
You received this bug notification because you are a member of PyPI
Mirror, which is the registrant for PyPI Mirror.
https://bugs.launchpad.net/bugs/766278

Title:
  External https packages stop the mirror operation

Status in PyPI replication project:
  New

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.


References