Opened 14 years ago

Closed 10 years ago

#158 closed defect (worksforme)

traceback installing foolscap 0.5.1 using easy_install from zetuptoolz 0.6c15dev

Reported by: davidsarah Owned by:
Priority: major Milestone: undecided
Component: packaging Version: 0.5.1
Keywords: install setuptools Cc: zooko@…, david-sarah@…

Description (last modified by Brian Warner)

Platform: Linux/Fedora?, Python 2.6.4.

[josip@Kaleidoscope-M musicplayer]$ sudo easy_install -U foolscap
Searching for foolscap
Reading http://pypi.python.org/simple/foolscap/
Reading http://foolscap.lothar.com/trac
Reading http://foolscap.lothar.com/
Best match: foolscap 0.5.1
Downloading http://foolscap.lothar.com/releases/foolscap-0.5.1.tar.gz
Processing foolscap-0.5.1.tar.gz
Running foolscap-0.5.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ciLb73/foolscap-0.5.1/egg-dist-tmp-ovzfu1
Traceback (most recent call last):
  File "/usr/bin/easy_install", line 9, in <module>
    load_entry_point('distribute==0.6.14', 'console_scripts', 'easy_install')()
  File "/usr/lib/python2.6/site-packages/setuptools-0.6c15dev.egg/setuptools/command/easy_install.py", line 1720, in main
    with_ei_usage(lambda:
  File "/usr/lib/python2.6/site-packages/setuptools-0.6c15dev.egg/setuptools/command/easy_install.py", line 1708, in with_ei_usage
    return f()
  File "/usr/lib/python2.6/site-packages/setuptools-0.6c15dev.egg/setuptools/command/easy_install.py", line 1724, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.6/site-packages/setuptools-0.6c15dev.egg/setuptools/command/easy_install.py", line 211, in run
    self.easy_install(spec, not self.no_deps)
  File "/usr/lib/python2.6/site-packages/setuptools-0.6c15dev.egg/setuptools/command/easy_install.py", line 452, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/usr/lib/python2.6/site-packages/setuptools-0.6c15dev.egg/setuptools/command/easy_install.py", line 482, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/usr/lib/python2.6/site-packages/setuptools-0.6c15dev.egg/setuptools/command/easy_install.py", line 661, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/usr/lib/python2.6/site-packages/setuptools-0.6c15dev.egg/setuptools/command/easy_install.py", line 936, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/usr/lib/python2.6/site-packages/setuptools-0.6c15dev.egg/setuptools/command/easy_install.py", line 925, in run_setup
    run_setup(setup_script, args)
  File "/usr/lib/python2.6/site-packages/setuptools-0.6c15dev.egg/setuptools/sandbox.py", line 52, in run_setup
    pr_state = pkg_resources.__getstate__()
AttributeError: 'module' object has no attribute '__getstate__'

Change History (4)

comment:1 Changed 14 years ago by Zooko

Cc: zooko@… added

comment:4 Changed 10 years ago by Brian Warner

Description: modified (diff)
Resolution: worksforme
Status: newclosed

I'd like to think this isn't happening anymore. I can easy_install foolscap into a virtualenv on my linux box, but that's using real setuptools, not zetuptoolz.

I'm going to close this. If it turns out that it's still a problem, feel free to reopen.

Note: See TracTickets for help on using tickets.