Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#10479 closed defect (cantfix)

TracMercurial: egg creation fails with IndexError

Reported by: spinor Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Thijs Triemstra)

After svn checkout:

svn co http://svn.edgewall.com/repos/trac/plugins/0.12/mercurial-plugin

The attempt to create the egg fails with the following traceback:

mercurial-plugin>python setup.py bdist_egg
running bdist_egg
Traceback (most recent call last):
  File "setup.py", line 48, in <module>
    **extra)
  File "C:\Python26\lib\distutils\core.py", line 152, in setup
    dist.run_commands()
  File "C:\Python26\lib\distutils\dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "C:\Python26\lib\distutils\dist.py", line 994, in run_command
    cmd_obj.ensure_finalized()
  File "C:\Python26\lib\distutils\cmd.py", line 117, in ensure_finalized
    self.finalize_options()
  File "C:\Python26\lib\site-packages\setuptools-0.6c12dev_r88846-py2.6.egg\setuptools\command\bdist_egg.py", line 94, in finalize_options
  File "C:\Python26\lib\distutils\cmd.py", line 319, in get_finalized_command
    cmd_obj.ensure_finalized()
  File "C:\Python26\lib\distutils\cmd.py", line 117, in ensure_finalized
    self.finalize_options()
  File "C:\Python26\lib\site-packages\setuptools-0.6c12dev_r88846-py2.6.egg\setuptools\command\egg_info.py", line 85, in finalize_options
  File "C:\Python26\lib\site-packages\setuptools-0.6c12dev_r88846-py2.6.egg\setuptools\command\egg_info.py", line 185, in tags
  File "C:\Python26\lib\site-packages\setuptools-0.6c12dev_r88846-py2.6.egg\setuptools\command\egg_info.py", line 233, in get_svn_revision
IndexError: list index out of range

Attachments (0)

Change History (10)

comment:1 by anonymous, 13 years ago

comment:2 by Thijs Triemstra, 13 years ago

Description: modified (diff)

Fixing markup.

comment:3 by anonymous, 13 years ago

Resolution: cantfix
Status: newclosed

comment:4 by Christian Boos, 13 years ago

Actually the above doesn't link to http://bugs.python.org/setuptools/issue79 as I thought it would ;-)

So the problem here is most likely that you have a svn checkout done with svn 1.7 and setuptools doesn't like this.

comment:5 by Remy Blank, 13 years ago

I assume we're going to get loads of reports of this type once again, until setuptools has caught up :(

comment:6 by valeriy.shershnyov@…, 13 years ago

Remove following line from the setup.cfg: tag_svn_revision = true

Worked for me.

in reply to:  6 comment:7 by Remy Blank, 13 years ago

Replying to valeriy.shershnyov@…:

Remove following line from the setup.cfg: tag_svn_revision = true

Yes, we should probably do that :(

in reply to:  6 comment:8 by anonymous, 13 years ago

It works for me too.

Replying to valeriy.shershnyov@…:

Remove following line from the setup.cfg: tag_svn_revision = true

Worked for me.

comment:9 by anonymous, 12 years ago

Creating virtualenv with --distribute works for me.

comment:10 by Christian Boos, 12 years ago

Note that the TracMercurial plugin is now hosted in a mercurial repository… (it was about time!).

See http://hg.edgewall.org/trac/mercurial-plugin

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.