Issue #72 resolved

Updating distribute causes traceback

Jeroen Ruigrok van der Werven
created an issue

I have a distribute install that I installed, as far as I remember, via setuptools' easy_install Distribute. This is my installed Distribute 0.6.1. Today I wanted to update to the latest Distribute by using easy_install -U Distribute and got the following traceback. The Python version is 2.6.2.

Using the bootstrapper from http://python-distribute.org/ installed 0.6.6 without any problems.

{{{

!python

[11:09] [asmodai@nexus] (1) {1} % sudo easy_install -U Distribute Searching for Distribute Reading http://pypi.python.org/simple/Distribute/ Best match: distribute 0.6.6 Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.6.tar.gz#md5=a0a7541a8169d73842e4bb88d79cf8d3 Processing distribute-0.6.6.tar.gz Running distribute-0.6.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-zc_BhT/distribute-0.6.6/egg-dist-tmp-3Q2ihI Before install bootstrap. Scanning installed packages Setuptools installation detected at /usr/local/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg Egg installation Already patched. /usr/local/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'src_root' warnings.warn(msg) Traceback (most recent call last): File "/usr/local/bin/easy_install", line 8, in <module> load_entry_point('distribute==0.6.1', 'console_scripts', 'easy_install')() File "build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/easy_install.py", line 1682, in main

File "build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/easy_install.py", line 1670, in with_ei_usage

File "build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/easy_install.py", line 1686, in <lambda>

File "/usr/local/lib/python2.6/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/local/lib/python2.6/distutils/dist.py", line 975, in run_commands self.run_command(cmd) File "/usr/local/lib/python2.6/distutils/dist.py", line 995, in run_command cmd_obj.run() File "build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/easy_install.py", line 217, in run

File "build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/easy_install.py", line 452, in easy_install

File "build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/easy_install.py", line 482, in install_item

File "build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/easy_install.py", line 661, in install_eggs

File "build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/easy_install.py", line 938, in build_and_install

File "build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/easy_install.py", line 927, in run_setup

File "build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/sandbox.py", line 26, in run_setup File "build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/sandbox.py", line 66, in run File "build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/sandbox.py", line 28, in <lambda> File "setup.py", line 179, in <module> File "/usr/local/lib/python2.6/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/local/lib/python2.6/distutils/dist.py", line 975, in run_commands self.run_command(cmd) File "/usr/local/lib/python2.6/distutils/dist.py", line 995, in run_command cmd_obj.run() File "build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/bdist_egg.py", line 174, in run File "build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/bdist_egg.py", line 161, in call_command File "/usr/local/lib/python2.6/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/usr/local/lib/python2.6/distutils/dist.py", line 995, in run_command cmd_obj.run() File "build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/install_lib.py", line 20, in run File "/usr/local/lib/python2.6/distutils/command/install_lib.py", line 110, in build self.run_command('build_py') File "/usr/local/lib/python2.6/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/usr/local/lib/python2.6/distutils/dist.py", line 995, in run_command cmd_obj.run() File "build/bdist.freebsd-7.2-STABLE-i386/egg/setuptools/command/build_py.py", line 31, in run File "setup.py", line 70, in build_package_data AttributeError: Distribution instance has no attribute 'convert_2to3_doctests' }}}

Comments (1)

  1. Log in to comment