Ticket #9709 (closed defect: invalid)

Opened 4 months ago

Last modified 2 months ago

installation fails with "IndexError: list index out of range"

Reported by: Bram Assigned to: ChrisNelson
Priority: normal Component: TracJsGanttPlugin
Severity: normal Keywords: installation fails
Cc: Trac Release: 0.12

Description (Last modified by rjollos)

Hello,

I'm currently trying to install the plugin to a windows Server 2008 machine with Python 2.6.5 and Trac 0.12.2. When I start the easy_install, after a while it ends with:

IndexError: list index out of range"

The latest working line was:

python\lib\site-packages\setuptools-0.6c11-py2.6.egg\setuptools\command\egg_info.py", line 233, in get_svn_revision

Attachments

Change History

01/23/12 14:04:24 changed by ChrisNelson

I'm sorry but I don't have Windows, Trac 0.12, or Subversion.

01/28/12 01:21:26 changed by external+edgewall.org@magasweran.com

I'm getting the same error trying to install Bitten. Not sure if it's related.

C:\Documents and Settings\Administrator\bitten-trunk>python setup.py --without-m
aster install
running install
running bdist_egg
Traceback (most recent call last):
  File "setup.py", line 158, in <module>
    cmdclass = {'build_doc': build_doc, 'test_doc': test_doc}
  File "C:\Python27\lib\distutils\core.py", line 152, in setup
    dist.run_commands()
  File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
    cmd_obj.run()
  File "C:\Python27\lib\site-packages\setuptools\command\install.py", line 76, i
n run
    self.do_egg_install()
  File "C:\Python27\lib\site-packages\setuptools\command\install.py", line 96, i
n do_egg_install
    self.run_command('bdist_egg')
  File "C:\Python27\lib\distutils\cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "C:\Python27\lib\distutils\dist.py", line 971, in run_command
    cmd_obj.ensure_finalized()
  File "C:\Python27\lib\distutils\cmd.py", line 109, in ensure_finalized
    self.finalize_options()
  File "C:\Python27\lib\site-packages\setuptools\command\bdist_egg.py", line 94,
 in finalize_options
    ei_cmd = self.ei_cmd = self.get_finalized_command("egg_info")
  File "C:\Python27\lib\distutils\cmd.py", line 312, in get_finalized_command
    cmd_obj.ensure_finalized()
  File "C:\Python27\lib\distutils\cmd.py", line 109, in ensure_finalized
    self.finalize_options()
  File "C:\Python27\lib\site-packages\setuptools\command\egg_info.py", line 85,
in finalize_options
    self.vtags = self.tags()
  File "C:\Python27\lib\site-packages\setuptools\command\egg_info.py", line 185,
 in tags
    ):  version += '-r%s' % self.get_svn_revision()
  File "C:\Python27\lib\site-packages\setuptools\command\egg_info.py", line 233,
 in get_svn_revision
    dirurl = data[0][3]
IndexError: list index out of range

Have you found a Trac ticket regarding this?

01/28/12 04:11:57 changed by rjollos

  • description changed.

01/30/12 13:51:08 changed by anonymous

  • status changed from new to closed.
  • resolution set to invalid.

Seems like this is not TracJSGantt. Or at least not only TracJSGantt. If you find that I'm making a common mistake, please reopen.

(follow-up: ↓ 6 ) 04/07/12 00:55:57 changed by netjunki

In case anyone else runs across this since this was the first hit I found for this error... I think I found the cause of this problem. It's due to the fact that Subversion 1.7 has changed their working copy metadata format. Because of this setuptools existing get_svn_revision method no longer works. It needs to be modded to support this. You can read more about this here on the Trac ticket system.

(in reply to: ↑ 5 ) 04/08/12 01:35:17 changed by anonymous

Replying to netjunki:

In case anyone else runs across this since this was the first hit I found for this error... I think I found the cause of this problem. It's due to the fact that Subversion 1.7 has changed their working copy metadata format. Because of this setuptools existing get_svn_revision method no longer works. It needs to be modded to support this. You can read more about this here on the Trac ticket system.

Thanks @netjunki. I had to revert to older versions of bitten to work around this so I will give upgrading a shot and report back what I find.

04/10/12 01:24:43 changed by rjollos

Same issue in #9565. Thanks for the info netjunki!


Add/Change #9709 (installation fails with "IndexError: list index out of range")




Change Properties
Action