[Setup] more buildout errors on Etch

Gary Koskenmaki garyk at skilltran.net
Thu Mar 27 19:55:51 UTC 2008


Hi all,

I'm about to give up on using buildout on Etch.  First I couldn't
complete a default install.  Now, once I used the ez_setup.py script I
was able to complete a basic installation.  Here's another problem
I ran into installing Ploneboard.  It requires SimpleAttachment but
SimpleAttachment won't install without throwing errors.

My question is, after you read the errors, how do I actually use the
suggested fix?  Are these entries in buildout.cfg?  If so where?  If
not, where? 

And, when the error says --multi-version distribution are they
referencing the Python install in the OS or the Plone 3 build?  

Below is the error from buildout -vvv

Extracting Products.SimpleAttachment-3.0.2-py2.4.egg to /tmp/tmp5DmQYk
byte-compiling /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/__init__.py to __init__.pyc
byte-compiling /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/__init__.py to __init__.pyc
byte-compiling /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/config.py to config.pyc
byte-compiling /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/setuphandlers.py to setuphandlers.pyc
byte-compiling /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/content/__init__.py to __init__.pyc
byte-compiling /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/content/file.py to file.pyc
byte-compiling /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/content/image.py to image.pyc
byte-compiling /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/tests/__init__.py to __init__.pyc
byte-compiling /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/tests/base.py to base.pyc
byte-compiling /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/tests/framework.py to framework.pyc
byte-compiling /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/tests/testSetup.py to testSetup.pyc
byte-compiling /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/tests/test_functional.py to test_functional.pyc
byte-compiling /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/widget/__init__.py to __init__.pyc
byte-compiling /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/widget/attachments.py to attachments.pyc
byte-compiling /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/widget/images.py to images.pyc
changing mode
of /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/__init__.py to 755
changing mode
of /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/__init__.py to 755
changing mode
of /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/config.py to 755
changing mode
of /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/setuphandlers.py to 755
changing mode
of /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/content/__init__.py to 755
changing mode
of /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/content/file.py to 755
changing mode
of /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/content/image.py to 755
changing mode
of /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/tests/__init__.py to 755
changing mode
of /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/tests/base.py to 755
changing mode
of /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/tests/framework.py to 755
changing mode
of /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/tests/testSetup.py to 755
changing mode
of /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/tests/test_functional.py to 755
changing mode
of /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/widget/__init__.py to 755
changing mode
of /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/widget/attachments.py to 755
changing mode
of /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg/Products/SimpleAttachment/widget/images.py to 755

Installed /tmp/tmp5DmQYk/Products.SimpleAttachment-3.0.2-py2.4.egg

Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:

    pkg_resources.require("Products.SimpleAttachment")  # latest
installed version
    pkg_resources.require("Products.SimpleAttachment==3.0.2")  # this
exact version
    pkg_resources.require("Products.SimpleAttachment>=3.0.2")  # this
version or higher


Note also that the installation directory must be on sys.path at runtime
for
this to work.  (e.g. by being the application's script directory, by
being on
PYTHONPATH, or by being added to sys.path by your code.)

While:
  Installing instance.
  Getting distribution for 'Products.SimpleAttachment'.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:







More information about the Setup mailing list