Modify

Opened 18 months ago

Closed 18 months ago

Last modified 18 months ago

#11333 closed defect (cantfix)

Not able to compile DateField plugin

Reported by: tatrai.jozsef@… Owned by: doki_pen
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: Changed 18 months ago by rjollos

  • Resolution set to cantfix
  • Status changed from new to closed

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 18 months ago by rjollos

  • Keywords setuptools svn-1.7 added

comment:3 Changed 18 months ago by rjollos

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

comment:4 in reply to: ↑ 1 Changed 18 months 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!

Add Comment

Modify Ticket

Action
as closed The owner will remain doki_pen.
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.