Modify

Opened 11 months ago

Closed 11 months ago

Last modified 10 months ago

#11334 closed defect (cantfix)

installation upgrade failed on IndexError: list index out of range

Reported by: kubes@… Owned by: hasienda
Priority: normal Component: TagsPlugin
Severity: normal Keywords: setuptools svn-1.7
Cc: Trac Release: 1.0

Description (last modified by jun66j5)

I have upgraded Trac from 0.12 to 1.0 and from python 2.5 to python 2.7.

I need to install TagsPlugin from trunk because of #11325.

I tried to upgrade plugin TagsPlugin by command:

C:\Python27\Scripts>easy_install https://trac-hacks.org/svn/tagsplugin/trunk --upgrade

But I get:

C:\Python27\Scripts>easy_install https://trac-hacks.org/svn/tagsplugin/trunk --upgrade
Downloading https://trac-hacks.org/svn/tagsplugin/trunk
Doing subversion checkout from https://trac-hacks.org/svn/tagsplugin/trunk to c:\docume~1\kubest~1.e-b\locals~1\temp\easy_install-w2yd4r\trunk
Processing trunk
Writing c:\docume~1\kubest~1.e-b\locals~1\temp\easy_install-w2yd4r\trunk\setup.cfg
Running setup.py -q bdist_egg --dist-dir c:\docume~1\kubest~1.e-b\locals~1\temp\easy_install-w2yd4r\trunk\egg-dist-tmp-jy0ltu
Traceback (most recent call last):
  File "C:\Python27\Scripts\easy_install-script.py", line 9, in <module>
    load_entry_point('setuptools==1.1.5', 'console_scripts', 'easy_install')()
  File "build\bdist.win32\egg\setuptools\command\easy_install.py", line 1925, in main
  File "build\bdist.win32\egg\setuptools\command\easy_install.py", line 1912, in with_ei_usage
  File "build\bdist.win32\egg\setuptools\command\easy_install.py", line 1929, in <lambda>
  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 "build\bdist.win32\egg\setuptools\command\easy_install.py", line 374, in run
  File "build\bdist.win32\egg\setuptools\command\easy_install.py", line 585, in easy_install
  File "build\bdist.win32\egg\setuptools\command\easy_install.py", line 639, in install_item
  File "build\bdist.win32\egg\setuptools\command\easy_install.py", line 825, in install_eggs
  File "build\bdist.win32\egg\setuptools\command\easy_install.py", line 1031, in build_and_install
  File "build\bdist.win32\egg\setuptools\command\easy_install.py", line 1016, in run_setup
  File "build\bdist.win32\egg\setuptools\sandbox.py", line 69, in run_setup
  File "build\bdist.win32\egg\setuptools\sandbox.py", line 120, in run
  File "build\bdist.win32\egg\setuptools\sandbox.py", line 71, in <lambda>
  File "setup.py", line 43, in <module>
  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 971, in run_command
    cmd_obj.ensure_finalized()
  File "C:\Python27\lib\distutils\cmd.py", line 109, in ensure_finalized
    self.finalize_options()
  File "build\bdist.win32\egg\setuptools\command\bdist_egg.py", line 104, in finalize_options
  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 "build\bdist.win32\egg\setuptools\command\egg_info.py", line 86, in finalize_options
  File "build\bdist.win32\egg\setuptools\command\egg_info.py", line 193, in tags
  File "build\bdist.win32\egg\setuptools\command\egg_info.py", line 242, in get_svn_revision
IndexError: list index out of range

Attachments (0)

Change History (4)

comment:1 Changed 11 months ago by jun66j5

  • Description modified (diff)
  • Keywords setuptools svn-1.7 added; installation IndexError removed
  • Resolution set to cantfix
  • Status changed from new to closed

That's an setuptools issue with subversion 1.7+. See comment:4:ticket:10778 for some solutions.

comment:2 Changed 11 months ago by jun66j5

  • Description modified (diff)

comment:3 follow-up: Changed 11 months ago by anonymous

Thank you very much for the link. One of the workaround is to download zip archived, it is provided only zip archived tags-0.6.zip which does not not work for me, because of #9521. It would be much easier than compile from source.

comment:4 in reply to: ↑ 3 Changed 10 months ago by hasienda

Replying to anonymous:

Thank you very much for the link. One of the workaround is to download zip archived, it is provided only zip archived tags-0.6.zip which does not not work for me, because of #9521. It would be much easier than compile from source.

So why don't you grab trunk as ZIP archive too? I like Trac. It is rather intuitive to construct the URL from the pattern given by the link to the 0.6 release:

http://trac-hacks.org/changeset/latest/tagsplugin/trunk?old_path=/&filename=tagsplugin/trunk&format=zip

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.