Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#11349 closed defect (cantfix)

easy install failure — at Version 1

Reported by: Mango Cat Owned by: Christian Boos
Priority: normal Component: DoxygenPlugin
Severity: normal Keywords: easyinstall setuptools svn-1.7
Cc: Trac Release: 1.0

Description (last modified by Ryan J Ollos)

I have a trac 1.0 site setup on Ubuntu 12.10 server - WSGI on Apache2 with git, nothing terribly exotic I think...

When I try to use the 0.11 easy install, this happens:

:~$ sudo easy_install http://trac-hacks.org/svn/doxygenplugin/0.11/
Downloading http://trac-hacks.org/svn/doxygenplugin/0.11/
Doing subversion checkout from http://trac-hacks.org/svn/doxygenplugin/0.11/ to /tmp/easy_install-GmIBBC/__downloaded__
Processing __downloaded__
Writing /tmp/easy_install-GmIBBC/__downloaded__/setup.cfg
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-GmIBBC/__downloaded__
/egg-dist-tmp-vOkg05
  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 192
5, in main

  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 191
2, in with_ei_usage

  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 192 9, in <lambda>

  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-i686/egg/setuptools/command/easy_install.py", line 374, in run

  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 585, in easy_install

  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 639, in install_item

  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 825, in install_eggs

  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 1031, in build_and_install

  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 1016, in run_setup

  File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 69, in run_setup

  File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 120, in run
  File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 71, in <lambda>
  File "setup.py", line 49, in <module>
  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 971, in run_command
    cmd_obj.ensure_finalized()
  File "/usr/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
    self.finalize_options()
  File "build/bdist.linux-i686/egg/setuptools/command/bdist_egg.py", line 104, in finalize_options
  File "/usr/lib/python2.7/distutils/cmd.py", line 312, in get_finalized_command

    cmd_obj.ensure_finalized()
  File "/usr/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
    self.finalize_options()
  File "build/bdist.linux-i686/egg/setuptools/command/egg_info.py", line 86, in finalize_options
  File "build/bdist.linux-i686/egg/setuptools/command/egg_info.py", line 193, in tags
  File "build/bdist.linux-i686/egg/setuptools/command/egg_info.py", line 242, in get_svn_revision
IndexError: list index out of range

On the bright side, it seems to clean up after itself (nothing left in /tmp) and doesn't break the existing trac, so that's a good thing.

Change History (1)

comment:1 Changed 10 years ago by Ryan J Ollos

Description: modified (diff)
Resolution: cantfix
Status: newclosed

That's an setuptools issue with subversion 1.7+. See comment:4:ticket:10778 for some solutions (comment copied from comment:1:ticket:11334).

Note: See TracTickets for help on using tickets.