Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#11333 closed defect (cantfix)

Not able to compile DateField plugin

Reported by: tatrai.jozsef@… 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 Changed 11 years ago by Ryan J Ollos

Resolution: cantfix
Status: newclosed

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.

comment:2 Changed 11 years ago by Ryan J Ollos

Keywords: setuptools svn-1.7 added

comment:3 Changed 11 years ago by Ryan J Ollos

Btw, please let me know if one of the suggestions works for you.

comment:4 in reply to:  1 Changed 11 years ago by anonymous

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!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Robert Corsaro.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.