#4258 closed defect (fixed)
easy_install failed
| Reported by: | Owned by: | Steffen Hoffmann | |
|---|---|---|---|
| Priority: | low | Component: | BreadCrumbsNavPlugin |
| Severity: | normal | Keywords: | setuptools |
| Cc: | Ryan J Ollos | Trac Release: | 0.11 |
Description (last modified by )
I tried to install and got the following:
$ sudo easy_install http://trac-hacks.org/svn/breadcrumbsnavplugin/0.11/
Downloading http://trac-hacks.org/svn/breadcrumbsnavplugin/0.11/
Doing subversion checkout from http://trac-hacks.org/svn/breadcrumbsnavplugin/0.11/ to /tmp/easy_install-YwMmp5/0.11
Processing 0.11
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-YwMmp5/0.11/egg-dist-tmp-gj_GFi
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/setuptools/command/easy_install.py", line 1671, in main
with_ei_usage(lambda:
File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 1659, in with_ei_usage
return f()
File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 1675, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
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/command/easy_install.py", line 211, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 422, in easy_install
return self.install_item(None, download, tmpdir, deps, True)
File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 476, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 655, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 930, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python2.5/site-packages/setuptools/command/easy_install.py", line 919, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python2.5/site-packages/setuptools/sandbox.py", line 27, in run_setup
lambda: execfile(
File "/usr/lib/python2.5/site-packages/setuptools/sandbox.py", line 63, in run
return func()
File "/usr/lib/python2.5/site-packages/setuptools/sandbox.py", line 29, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 48, 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/command/bdist_egg.py", line 167, in run
self.run_command("egg_info")
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/command/egg_info.py", line 171, in run
self.find_sources()
File "/usr/lib/python2.5/site-packages/setuptools/command/egg_info.py", line 252, in find_sources
mm.run()
File "/usr/lib/python2.5/site-packages/setuptools/command/egg_info.py", line 306, in run
self.add_defaults()
File "/usr/lib/python2.5/site-packages/setuptools/command/egg_info.py", line 333, in add_defaults
rcfiles = list(walk_revctrl())
File "/usr/lib/python2.5/site-packages/setuptools/command/sdist.py", line 45, in walk_revctrl
for item in ep.load()(dirname):
File "/usr/lib/python2.5/site-packages/setuptools/command/sdist.py", line 52, in _default_revctrl
for path in finder(dirname,path):
File "/usr/lib/python2.5/site-packages/setuptools/command/sdist.py", line 98, in entries_finder
log.warn("unrecognized .svn/entries format in %s", dirname)
NameError: global name 'log' is not defined
Attachments (0)
Change History (7)
comment:1 Changed 14 years ago by
| Keywords: | setuptools added |
|---|
comment:2 Changed 14 years ago by
| Cc: | Ryan J Ollos added; anonymous removed |
|---|---|
| Keywords: | needinfo added |
| Priority: | normal → low |
Please check the solution in previous comment.
I drop the priority for now, because I see no way to give further assistance and expect this issue to be resolved by now anyway. I'll close this ticket after a reasonable time without feedback, say 6 months, but user comments and independent, more current test reports would help to clear this case earlier.
comment:3 Changed 14 years ago by
| Owner: | changed from Stephen Hansen to Steffen Hoffmann |
|---|
forgot to reflect new maintainer status
comment:4 follow-up: 5 Changed 14 years ago by
| Description: | modified (diff) |
|---|
comment:5 Changed 14 years ago by
Replying to rjollos:
Thanks for the greatly improved readability of the traceback.
comment:6 Changed 14 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
I have tried again and it worked, my python-setuptools is currently 0.6c8-0ubuntu2.
comment:7 Changed 14 years ago by
| Keywords: | needinfo removed |
|---|
Thank you for repeated testing and positive feedback.
As a side-note, I wasn't able to install Trac 0.12 or later even with the stock Debian version of python-setuptools (0.6.14-4), but with setuptools-0.6c11 installed from source I succeeded. Just an idea, if you experience similar problems once again.



I think I've seen this before.
You need to upgrade setuptools to 0.6c9 or beyond first. This should remove the error.