Modify

Opened 6 years ago

Closed 3 years ago

Last modified 3 years ago

#4258 closed defect (fixed)

easy_install failed

Reported by: mat_the_green@… Owned by: hasienda
Priority: low Component: BreadCrumbsNavPlugin
Severity: normal Keywords: setuptools
Cc: rjollos Trac Release: 0.11

Description (last modified by rjollos)

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 3 years ago by hasienda

  • Keywords setuptools added

I think I've seen this before.

You need to upgrade setuptools to 0.6c9 or beyond first. This should remove the error.

comment:2 Changed 3 years ago by hasienda

  • Cc rjollos added
  • Keywords needinfo added
  • Priority changed from normal to 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 3 years ago by hasienda

  • Owner changed from ixokai to hasienda

forgot to reflect new maintainer status

comment:4 follow-up: Changed 3 years ago by rjollos

  • Description modified (diff)

comment:5 in reply to: ↑ 4 Changed 3 years ago by hasienda

Replying to rjollos:

Thanks for the greatly improved readability of the traceback.

comment:6 Changed 3 years ago by mat_the_green@…

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

I have tried again and it worked, my python-setuptools is currently 0.6c8-0ubuntu2.

comment:7 Changed 3 years ago by hasienda

  • 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.

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.