#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 )
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 , 14 years ago
comment:3 by , 14 years ago
| Resolution: | → cantfix |
|---|---|
| Status: | new → closed |
comment:4 by , 14 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 , 14 years ago
I assume we're going to get loads of reports of this type once again, until setuptools has caught up :(
follow-ups: 7 8 comment:6 by , 14 years ago
Remove following line from the setup.cfg: tag_svn_revision = true
Worked for me.
comment:7 by , 14 years ago
Replying to valeriy.shershnyov@…:
Remove following line from the setup.cfg: tag_svn_revision = true
Yes, we should probably do that :(
comment:8 by , 14 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:10 by , 13 years ago
Note that the TracMercurial plugin is now hosted in a mercurial repository… (it was about time!).



same error after
svn co http://svn.edgewall.com/repos/trac/plugins/0.13/mercurial-plugin
(Revision 10877)