Modify

Opened 9 years ago

Closed 9 years ago

#12445 closed defect (cantfix)

Install DateFieldPlugin on Python 2.7

Reported by: anonymous Owned by: Ryan J Ollos
Priority: normal Component: DateFieldPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description (last modified by Jun Omae)

OS: CentOS7
Python: 2.7
Trac: 1.0.5
Bable:0.9.6
customfieldadminplugin: 1.0

I install DateFieldPlugin follow Command

#sudo easy_install https://trac-hacks.org/svn/datefieldplugin/1.0/

....... error message..........

Downloading https://trac-hacks.org/svn/datefieldplugin/1.0/
Doing subversion checkout from https://trac-hacks.org/svn/datefieldplugin/1.0/ t
o /tmp/easy_install-BloYZs/__downloaded__
Processing __downloaded__
Writing /tmp/easy_install-BloYZs/__downloaded__/setup.cfg
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-BloYZs/__downloaded__
/egg-dist-tmp-2h3aMc
Traceback (most recent call last):
  File "/bin/easy_install", line 9, in <module>
    load_entry_point('setuptools==0.9.8', 'console_scripts', 'easy_install')()
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", li
ne 1992, in main
    with_ei_usage(lambda:
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", li
ne 1979, in with_ei_usage
    return f()
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", li
ne 1996, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", li
ne 380, in run
    self.easy_install(spec, not self.no_deps)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", li
ne 599, in easy_install
    return self.install_item(None, download, tmpdir, deps, True)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", li
ne 653, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", li
ne 849, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", li
ne 1130, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", li
ne 1115, in run_setup
    run_setup(setup_script, args)
  File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 69, in run
_setup
    lambda: execfile(
  File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 120, in ru
n
    return func()
  File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 71, in <la
mbda>
    {'__file__':setup_script, '__name__':'__main__'}
  File "setup.py", line 33, in <module>
  File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.7/distutils/dist.py", line 971, in run_command
    cmd_obj.ensure_finalized()
  File "/usr/lib64/python2.7/distutils/cmd.py", line 109, in ensure_finalized
    self.finalize_options()
  File "/usr/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line
104, in finalize_options
    ei_cmd = self.ei_cmd = self.get_finalized_command("egg_info")
  File "/usr/lib64/python2.7/distutils/cmd.py", line 312, in get_finalized_comma
nd
    cmd_obj.ensure_finalized()
  File "/usr/lib64/python2.7/distutils/cmd.py", line 109, in ensure_finalized
    self.finalize_options()
  File "/usr/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 8
6, in finalize_options
    self.vtags = self.tags()
  File "/usr/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 1
93, in tags
    ):  version += '-r%s' % self.get_svn_revision()
  File "/usr/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 2
42, in get_svn_revision
    dirurl = data[0][3]
IndexError: list index out of range

If this is a fatal error on python2.7 Please suggest an Trac 1.0.2 later + Bable + DateFieldplugin + python version of bind give me I will very thank you I have entered a Trac install Hell Or I downgrade Trac version on python2.6 to use

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by Jun Omae

Description: modified (diff)
Priority: highestnormal
Resolution: cantfix
Severity: criticalnormal
Status: newclosed

That is a setuptools issue. See comment:4:ticket:10778.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
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.