Modify

Opened 3 years ago

Closed 2 years ago

Last modified 6 months ago

#9565 closed defect (cantfix)

setup.cfg file stops easy_install from executing

Reported by: patrick.little@… Owned by: rjollos
Priority: high Component: DoxygenPlugin
Severity: normal Keywords: setuptools svn-1.7
Cc: Trac Release: 0.11

Description

VisuaulSVN with it's trac plugin and python environment

Fails

c:\VisualSVNServer\trac\python\pyton.exe c:\VisualSVNServer\trac\python\Scripts\easy_install-2.6-script.py c:\doxygenplugin

Running setup.py -q bdist_egg --dist-dir c:\users\patric~1.lit\appdata\local\temp\easy_install-irn7pf\0.11\egg-dist-tmp-xmzuzt
Traceback (most recent call last):
  File "c:\VisualSVNServer\trac\python\Scripts\easy_install-2.6-script.py", line 8, in <module>
    load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install-2.6')()
  File "C:\VisualSVNServer\trac\python\lib\site-packages\setuptools-0.6c11-py2.6.egg\setuptools\command\easy_install.py", line 1712, in main
  File "C:\VisualSVNServer\trac\python\lib\site-packages\setuptools-0.6c11-py2.6.egg\setuptools\command\easy_install.py", line 1700, in with_ei_usage
  File "C:\VisualSVNServer\trac\python\lib\site-packages\setuptools-0.6c11-py2.6.egg\setuptools\command\easy_install.py", line 1716, in <lambda>
  File "C:\VisualSVNServer\trac\python\lib\distutils\core.py", line 152, in setup    dist.run_commands()
  File "C:\VisualSVNServer\trac\python\lib\distutils\dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "C:\VisualSVNServer\trac\python\lib\distutils\dist.py", line 995, in run_command
    cmd_obj.run()
  File "C:\VisualSVNServer\trac\python\lib\site-packages\setuptools-0.6c11-py2.6.egg\setuptools\command\easy_install.py", line 211, in run
  File "C:\VisualSVNServer\trac\python\lib\site-packages\setuptools-0.6c11-py2.6.egg\setuptools\command\easy_install.py", line 422, in easy_install
  File "C:\VisualSVNServer\trac\python\lib\site-packages\setuptools-0.6c11-py2.6.egg\setuptools\command\easy_install.py", line 476, in install_item
  File "C:\VisualSVNServer\trac\python\lib\site-packages\setuptools-0.6c11-py2.6.egg\setuptools\command\easy_install.py", line 655, in install_eggs
  File "C:\VisualSVNServer\trac\python\lib\site-packages\setuptools-0.6c11-py2.6.egg\setuptools\command\easy_install.py", line 930, in build_and_install
  File "C:\VisualSVNServer\trac\python\lib\site-packages\setuptools-0.6c11-py2.6.egg\setuptools\command\easy_install.py", line 919, in run_setup
  File "C:\VisualSVNServer\trac\python\lib\site-packages\setuptools-0.6c11-py2.6.egg\setuptools\sandbox.py", line 62, in run_setup
  File "C:\VisualSVNServer\trac\python\lib\site-packages\setuptools-0.6c11-py2.6.egg\setuptools\sandbox.py", line 105, in run
  File "C:\VisualSVNServer\trac\python\lib\site-packages\setuptools-0.6c11-py2.6.egg\setuptools\sandbox.py", line 64, in
 <lambda>
  File "setup.py", line 49, in <module>
    entry_points={'trac.plugins': 'doxygentrac = doxygentrac.doxygentrac'})
  File "C:\VisualSVNServer\trac\python\lib\distutils\core.py", line 152, in setup
    dist.run_commands()
  File "C:\VisualSVNServer\trac\python\lib\distutils\dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "C:\VisualSVNServer\trac\python\lib\distutils\dist.py", line 994, in run_command
    cmd_obj.ensure_finalized()
  File "C:\VisualSVNServer\trac\python\lib\distutils\cmd.py", line 117, in ensure_finalized
    self.finalize_options()
  File "C:\VisualSVNServer\trac\python\lib\site-packages\setuptools-0.6c11-py2.6.egg\setuptools\command\bdist_egg.py", line 94, in finalize_options
  File "C:\VisualSVNServer\trac\python\lib\distutils\cmd.py", line 319, in get_finalized_command
    cmd_obj.ensure_finalized()
  File "C:\VisualSVNServer\trac\python\lib\distutils\cmd.py", line 117, in ensure_finalized
    self.finalize_options()
  File "C:\VisualSVNServer\trac\python\lib\site-packages\setuptools-0.6c11-py2.6.egg\setuptools\command\egg_info.py", line 85, in finalize_options
  File "C:\VisualSVNServer\trac\python\lib\site-packages\setuptools-0.6c11-py2.6.egg\setuptools\command\egg_info.py", line 185, in tags
  File "C:\VisualSVNServer\trac\python\lib\site-packages\setuptools-0.6c11-py2.6.egg\setuptools\command\egg_info.py", line 233, in get_svn_revision
IndexError: list index out of range

Delete setup.cfg

c:\doxygenplugin>c:\VisualSVNServer\trac\python\python.exe c:\VisualSVNServer\trac\python\Scripts\easy_install-2.6-script.py c:\doxygenplugin
Processing doxygenplugin
Running setup.py -q bdist_egg --dist-dir c:\doxygenplugin\egg-dist-tmp-6vhutw
Adding tracdoxygen 0.11.0.2 to easy-install.pth file

Attachments (0)

Change History (9)

comment:1 Changed 3 years ago by rjollos

  • Owner changed from cboos to rjollos
  • Status changed from new to assigned

This is my fault. I was thinking, no harm in adding setup.cfg and it would show version info on the WebAdmin panel, which is a good thing. It works fine from the command line on Linux. I'll need to do some investigation to figure out more about the issue you are having.

comment:2 Changed 3 years ago by rjollos

Any chance it works if we deleted tag_build = , but keep tag_svn_revision = true in setup.cfg?

comment:3 Changed 2 years ago by rjollos

Mailing list post that reports the same issue with a different plugin: http://groups.google.com/group/trac-users/browse_frm/thread/9cc93287de1d666a.

The common theme here that I see so far is easy_install on Windows.

comment:4 Changed 2 years ago by rjollos

  • Priority changed from normal to high

Did you checkout from svn or download the zip archive?

comment:5 follow-up: Changed 2 years ago by anonymous

sorry, i don't recall how the source was obtained

comment:6 in reply to: ↑ 5 Changed 2 years ago by rjollos

Replying to anonymous:

sorry, i don't recall how the source was obtained

Okay, thanks for getting back to me. Its easy enough to test, so I'll do that when I have some free time to get setup with Python on windows.

comment:7 Changed 2 years ago by rjollos

  • Resolution set to invalid
  • Status changed from assigned to closed

Issue seems to be setuptools not supporting SVN 1.7. See comment 6 in #9709 by netjunki.

comment:8 Changed 19 months ago by rjollos

  • Keywords setuptools svn-1.7 added

This issue is seen again in #10778.

comment:9 Changed 6 months ago by rjollos

  • Resolution changed from invalid to cantfix

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rjollos. Next status will be '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.