Modify ↓
#11333 closed defect (cantfix)
Not able to compile DateField plugin
Reported by: | Owned by: | Robert Corsaro | |
---|---|---|---|
Priority: | normal | Component: | DateFieldPlugin |
Severity: | blocker | Keywords: | install error setuptools svn-1.7 |
Cc: | Trac Release: | 0.12 |
Description
I'm not able to compile the DateField plugin, either version of it. Tried all version from SVN, source also. Never succeeded.
My Python version is 2.7, my trac version is 0.12.2.
The error is the following:
[root@dev datefield]# /opt/bin/python2.7 ./setup.py bdist_egg running bdist_egg Traceback (most recent call last): File "./setup.py", line 19, in <module> entry_points = {'trac.plugins': ['datefield = datefield']}, File "/opt/lib/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/opt/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/opt/lib/python2.7/distutils/dist.py", line 971, in run_command cmd_obj.ensure_finalized() File "/opt/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized self.finalize_options() File "build/bdist.linux-i686/egg/setuptools/command/bdist_egg.py", line 94, in finalize_options File "/opt/lib/python2.7/distutils/cmd.py", line 312, in get_finalized_command cmd_obj.ensure_finalized() File "/opt/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized self.finalize_options() File "build/bdist.linux-i686/egg/setuptools/command/egg_info.py", line 85, in finalize_options File "build/bdist.linux-i686/egg/setuptools/command/egg_info.py", line 185, in tags File "build/bdist.linux-i686/egg/setuptools/command/egg_info.py", line 233, in get_svn_revision IndexError: list index out of range
Attachments (0)
Change History (4)
comment:1 follow-up: 4 Changed 11 years ago by
Resolution: | → cantfix |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
Keywords: | setuptools svn-1.7 added |
---|
comment:4 Changed 11 years ago by
Replying to rjollos:
It's a setuptools + SVN problem. This has previous been reported for various plugins in #10778, #9709 and #9565. See comment:4:ticket:10778 for some solutions. IIRC, upgrading setuptools also fixes the problem, but I don't recall the specific version that is needed.
Thanks, comment:4:ticket:10778 was the solution!
Note: See
TracTickets for help on using
tickets.
It's a setuptools + SVN problem. This has previous been reported for various plugins in #10778, #9709 and #9565. See comment:4:ticket:10778 for some solutions. IIRC, upgrading setuptools also fixes the problem, but I don't recall the specific version that is needed.