Issue #42 resolved

AttributeError 'NoneType' has no attribute 'group' in package_index

Jason R. Coombs
created an issue

When attempting to install packages from a custom cheeseshop (chishop), the latest setuptools doesn't handle blank md5 values well.

Best match: nose 1.1.2
Downloading http://yfiles.example.com/dists/nose-1.1.2.tar.gz#md5=
Traceback (most recent call last):
  File "setup.py", line 159, in <module>
    setup(**setup_params)
  File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "build/bdist.linux-x86_64/egg/setuptools/command/develop.py", line 27, in run
  File "build/bdist.linux-x86_64/egg/setuptools/command/develop.py", line 129, in install_for_development
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 706, in process_distribution
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 618, in resolve
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 862, in best_match
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 874, in obtain
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 623, in easy_install
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 653, in install_item
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 849, in install_eggs
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 1130, in build_and_install
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 1115, in run_setup
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 69, in run_setup
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 120, in run
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 71, in <lambda>
  File "setup.py", line 23, in <module>

  File "/usr/lib/python2.7/distutils/core.py", line 112, in setup
    _setup_distribution = dist = klass(attrs)
  File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 265, in __init__
  File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 289, in fetch_build_eggs
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 618, in resolve
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 862, in best_match
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 874, in obtain
  File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 339, in fetch_build_egg
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 611, in easy_install
  File "build/bdist.linux-x86_64/egg/setuptools/package_index.py", line 541, in fetch_distribution
  File "build/bdist.linux-x86_64/egg/setuptools/package_index.py", line 455, in download
  File "build/bdist.linux-x86_64/egg/setuptools/package_index.py", line 711, in _download_url
  File "build/bdist.linux-x86_64/egg/setuptools/package_index.py", line 718, in _attempt_download
  File "build/bdist.linux-x86_64/egg/setuptools/package_index.py", line 608, in _download_to
AttributeError: 'NoneType' object has no attribute 'group'

Comments (5)

  1. Log in to comment