Modify

Opened 6 years ago

Closed 6 years ago

#3491 closed defect (invalid)

Installation broken down

Reported by: dinger.jan@… Owned by: mgood
Priority: normal Component: AccountManagerPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.10

Description

Hello folks,

i've installed Trac 0.10.4 from Debian - Lenny. Next step I've installed the webadmin plugin. All works fine. Now I'll install AccountManager, but the installation failed with the this error:

easy_install http://trac-hacks.org/svn/accountmanagerplugin/0.10
Downloading http://trac-hacks.org/svn/accountmanagerplugin/0.10
Doing subversion checkout from http://trac-hacks.org/svn/accountmanagerplugin/0.10 to /tmp/easy_install-zoCGH2/0.10
Processing 0.10
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-zoCGH2/0.10/egg-dist-tmp-jJukyg
unrecognized .svn/entries format; skipping .
Traceback (most recent call last):
  File "/usr/bin/easy_install", line 8, in <module>
    load_entry_point('setuptools==0.6c8', 'console_scripts', 'easy_install')()
  File "/usr/lib/python2.5/site-packages/easy_install.py", line 1671, in main

  File "/usr/lib/python2.5/site-packages/easy_install.py", line 1659, in with_ei_usage

  File "/usr/lib/python2.5/site-packages/easy_install.py", line 1675, in <lambda>

  File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.5/site-packages/easy_install.py", line 211, in run

  File "/usr/lib/python2.5/site-packages/easy_install.py", line 422, in easy_install

  File "/usr/lib/python2.5/site-packages/easy_install.py", line 476, in install_item

  File "/usr/lib/python2.5/site-packages/easy_install.py", line 655, in install_eggs

  File "/usr/lib/python2.5/site-packages/easy_install.py", line 930, in build_and_install

  File "/usr/lib/python2.5/site-packages/easy_install.py", line 919, in run_setup

  File "/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/sandbox.py", line 27, in run_setup
  File "/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/sandbox.py", line 63, in run
  File "/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/sandbox.py", line 29, in <lambda>
  File "setup.py", line 41, in <module>
  File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/bdist_egg.py", line 167, in run
  File "/usr/lib/python2.5/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/egg_info.py", line 171, in run
  File "/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/egg_info.py", line 252, in find_sources
  File "/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/egg_info.py", line 306, in run
  File "/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/egg_info.py", line 333, in add_defaults
  File "/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/sdist.py", line 45, in walk_revctrl
  File "/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/sdist.py", line 52, in _default_revctrl
  File "/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/command/sdist.py", line 98, in entries_finder
NameError: global name 'log' is not defined

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by ssergi at google mail dot com

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

found the solution, this is not a plugin bug

setuptools is not compaible with svn 1.5, you need to build setuptools from the trunk

  1. check out setuptools from the trunk: svn co http://svn.python.org/projects/sandbox/trunk/setuptools
  1. build the egg (it is in ./dist): python setup.py bdist_egg
  1. install the egg: easy_install xxx

Add Comment

Modify Ticket

Action
as 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.