Zelenium is not installable in buildout

Bug #673610 reported by Łukasz Nowak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zelenium
Fix Released
High
Tres Seaver

Bug Description

I am using my own compilation of python and I have such buildout profile:

[buildout]
parts =
  Zelenium

[Zelenium]
recipe = zc.recipe.egg
eggs =
  Products.Zelenium

After running:

curl -s http://svn.zope.org/*checkout*/zc.buildout/trunk/bootstrap/bootstrap.py | /my/python -S -
bin/buildout -U

I have an issue:

Getting distribution for 'zc.recipe.egg'.
Got zc.recipe.egg 1.3.2.
Installing Zelenium.
Getting distribution for 'Products.Zelenium'.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py", line 1712, in main
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py", line 1700, in with_ei_usage
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py", line 1716, in <lambda>
  File "/srv/home/luke/buildout/parts/python2.6/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/srv/home/luke/buildout/parts/python2.6/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/srv/home/luke/buildout/parts/python2.6/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py", line 211, in run
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py", line 427, in easy_install
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py", line 476, in install_item
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py", line 655, in install_eggs
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py", line 930, in build_and_install
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py", line 919, in run_setup
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/sandbox.py", line 62, in run_setup
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/sandbox.py", line 105, in run
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/sandbox.py", line 64, in <lambda>
  File "setup.py", line 51, in <module>
  File "/srv/home/luke/buildout/parts/python2.6/lib/python2.6/distutils/core.py", line 113, in setup
    _setup_distribution = dist = klass(attrs)
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/dist.py", line 260, in __init__
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/dist.py", line 284, in fetch_build_eggs
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/pkg_resources.py", line 563, in resolve
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/pkg_resources.py", line 799, in best_match
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/pkg_resources.py", line 811, in obtain
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/dist.py", line 327, in fetch_build_egg
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py", line 446, in easy_install
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py", line 476, in install_item
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py", line 655, in install_eggs
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py", line 930, in build_and_install
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py", line 919, in run_setup
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/sandbox.py", line 62, in run_setup
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/sandbox.py", line 105, in run
  File "/srv/home/luke/buildout/och/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/sandbox.py", line 64, in <lambda>
  File "setup.py", line 19, in <module>
ImportError: No module named ez_setup
An error occurred when trying to install Products.Zelenium 1.0.2. Look above this message for any errors that were output by easy_install.
While:
  Installing Zelenium.
  Getting distribution for 'Products.Zelenium'.
Error: Couldn't install: Products.Zelenium 1.0.2

/my/python -V
Python 2.6.6

Revision history for this message
Łukasz Nowak (ionowaklukasz) wrote :

When applying attached patch and including ez_setup.py from http://peak.telecommunity.com/dist/ez_setup.py it works correctly.

Revision history for this message
Tres Seaver (tseaver) wrote :

Thanks for the report, and the patch.

The actual error triggered here is coming from the 'setuptools_bzr',
triggered by the 'setup_requires' clause. If I remove that, all installs
as expected, without needing the 'ez_setup.py' bits.

Changed in zelenium:
assignee: nobody → Tres Seaver (tseaver)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Tres Seaver (tseaver) wrote :

I just uploaded version 1.0.3, which fixes this bug.

Changed in zelenium:
status: Confirmed → Fix Released
Revision history for this message
Łukasz Nowak (ionowaklukasz) wrote :

Works perfectly, thank you for such fast fix.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.