[Setup] buildout UnknownExtra error

lovis j.sorg at fz-juelich.de
Tue Nov 17 15:24:23 UTC 2009




Patrick Gerken wrote:
> 
> On Tue, Nov 17, 2009 at 11:22, lovis <j.sorg at fz-juelich.de> wrote:
>>
>> hi,
>> yesterday i tried to buildout my project and i got a UnknownExtra error
>> (see
>> below). all approaches (remove fake-eggs, devel-eggs, ..., or use plone
>> 3.3,
>> ...) to fix the problem are dont help. my plone version is 3.1. I have
>> two
>> systems, one for develpment and one deployment (with a zeo server), on
>> both
>> systems is the error equivalent.
>> (the first error message was that setuptools have to upgrade to version
>> 0.6c11)
>> i very grateful for any help.
>>
>> here are my buildout.cfg
>> [...]
>> recipe = plone.recipe.zope2instance>=2.12.0b4dev
> 
> Why do you pin plone.recipe.zope2instance to this version?
> This tries to install zope 2.12. Thats not a good idea if you intent
> to run plone3
> and plone4 is not yet stable.
> 
> Depending on what you are trying to accomplish, the answers are different.
> So what are you trying? Do you want to upgrade to a newer plone version,
> or do you have buildout that was working and isn't any longer and you just
> want
> it to run again?
> 
> Best regards,
> 
>        Patrick
> 
> _______________________________________________
> Setup mailing list
> Setup at lists.plone.org
> http://lists.plone.org/mailman/listinfo/setup
> 
> 

hi patrick,
first thank you for your reply.
i just want to run again my buildout. (no upgrade)

recipe = plone.recipe.zope2instance>=2.12.0b4dev

this line was only a approach to fix the problem.
without the condition the same error occures. 
i have modiefied my buidlout.cfg to ensure that zope 2.10.6-final (this is
the version that is installed yet) will be installed. but it seems that even
with the conditions (<=2.10.6-final see attached buildout.cfg), buildout
installs zope 2.12 (see attached buildout output)
i don't know if i do any errors in the buildout.cfg with the conditions or
url (zope-url).  also i don't know on which statement i have to append the
condition (on zope2install, zope2instance or i have to specify the zope-url)
i have conditioned Products.CMFDefault (Products.CMFDefault<=2.1.2) because
a new version of Products.CMFDefault (2.2.0-alpha ) is available and Zope
dependency is increased to version 2.12.0b3dev


thank you for your help

gruss 
juergen

here is the new buildout.cfg

[buildout]
parts =
    plone
    zope2
    productdistros
    instance
    zopepy
    omelette
    
extensions = buildout.eggtractor
tractor-src-directory = src
tractor-target-parts = instance


# Add additional egg download sources here. dist.plone.org contains archives
# of Plone packages.
find-links =
    http://download.zope.org/ppix
    http://dist.plone.org
    http://download.zope.org/distribution
    http://effbot.org/downloads

# Add additional eggs here
# elementtree is required by Plone
eggs =
    elementtree
#    plone.reload
#    Products.ATVocabularyManager
#    simplon.plone.ldap
    Products.ATReferenceBrowserWidget
    icg.policy
    icg.TerenoTheme
    collective.uploadify
    Products.PloneFlashUpload
    Products.CompoundField
#    atreal.massloader
    Products.TALESField
#    collective.JUpload
#    TerenoSkin
#    Products.LDAPUserFolder 
#    Products.LDAPMultiPlugins 
#    Products.PloneLDAP
#    simplon.plone.ldap
    Products.CMFDefault<=2.1.2
    

# Reference any eggs you are developing here, one per line
# e.g.: develop = src/my.package
develop =
        src/icg.policy
        src/icg.TerenoTheme

[plone]
recipe = plone.recipe.plone>=3.1.1,<3.2dev
#recipe = plone.recipe.plone>=3.2

[zope2]
recipe = plone.recipe.zope2install<2.10.6-final
#url = ${plone:zope2-url}
url = http://www.zope.org/Products/Zope/2.10.6/Zope-2.10.6-final.tgz
fake-zope-eggs = true
additional-fake-eggs =
#new:
#location=./parts/zope2
#   ZConfig
#   ZODB3
#   pytz

# Use this section to download additional old-style products.
# List any number of URLs for product tarballs under URLs (separate
# with whitespace, or break over several lines, with subsequent lines
# indented). If any archives contain several products inside a top-level
# directory, list the archive file name (i.e. the last part of the URL,
# normally with a .tar.gz suffix or similar) under 'nested-packages'.
# If any archives extract to a product directory with a version suffix, list
# the archive name under 'version-suffix-packages'.
[productdistros]
recipe = plone.recipe.distros
urls =
nested-packages =
version-suffix-packages =

[instance]
recipe = plone.recipe.zope2instance<2.10.6-final
zope2-location = ${zope2:location}
user = XXXXXXXXXXXXXXXXXXX
http-address = XXXXXXXXXXXx
debug-mode = on
verbose-security = on

# If you want Zope to know about any additional eggs, list them here.
# This should include any development eggs you listed in develop-eggs above,
# e.g. eggs = ${buildout:eggs} ${plone:eggs} my.package
eggs =
    ${buildout:eggs}
    ${plone:eggs}
    

# If you want to register ZCML slugs for any packages, list them here.
# e.g. zcml = my.package my.other.package
zcml =
	plone.reload
	Products.ATVocabularyManager
	simplon.plone.ldap
	icg.policy
    	collective.uploadify
#    Products.LDAPUserFolder 
#    Products.LDAPMultiPlugins 
#    Products.PloneLDAP
#    simplon.plone.ldap
	
	    		
products =
    ${buildout:directory}/products
    ${productdistros:location}
    ${plone:products}
    ../

[zopepy]
recipe = zc.recipe.egg
eggs = ${instance:eggs}
interpreter = zopepy
extra-paths = ${zope2:location}/lib/python
scripts = zopepy

[omelette]
recipe = collective.recipe.omelette
eggs = ${instance:eggs}
products =
    ${instance:products}
    ../

[zopeskel]
recipe = zc.recipe.egg
eggs =
        PasteScript
        ZopeSkel

# Automatically add eggs to PyDev project path
[pydev]
recipe = pb.recipes.pydev
pydevproject_path =    ${buildout:directory}/.pydevproject
eggs = ${instance:eggs}
extra_paths = ${zope2:location}/lib/python/

************** here is the new buldout output ******************

Picked: z3c.widgets.flashupload = 1.0c1
Getting required 'zope.deprecation'
  required by Products.ATReferenceBrowserWidget 3.0a1.
We have a develop egg: zope.deprecation 0.0
Getting required 'archetypes.referencebrowserwidget'
  required by Products.ATReferenceBrowserWidget 3.0a1.
We have the best distribution that satisfies
'archetypes.referencebrowserwidget'.
Picked: archetypes.referencebrowserwidget = 1.0a4
Getting required 'Zope2>=2.12.0b3dev'
  required by Products.DCWorkflow 2.2.0-alpha.
We have the best distribution that satisfies 'Zope2>=2.12.0b3dev'.
Picked: Zope2 = 2.12.1
Getting required 'Products.validation'
  required by Products.Archetypes 1.5.13.
We have the best distribution that satisfies 'Products.validation'.
Picked: Products.validation = 2.0a1
Getting required 'Products.PortalTransforms'
  required by Products.Archetypes 1.5.13.
We have the best distribution that satisfies 'Products.PortalTransforms'.
Picked: Products.PortalTransforms = 2.0a1
Getting required 'Products.MimetypesRegistry'
  required by Products.Archetypes 1.5.13.
  required by Products.PortalTransforms 2.0a1.
We have the best distribution that satisfies 'Products.MimetypesRegistry'.
Picked: Products.MimetypesRegistry = 2.0a1
Getting required 'Products.Marshall'
  required by Products.Archetypes 1.5.13.
We have the best distribution that satisfies 'Products.Marshall'.
Picked: Products.Marshall = 2.0a1
Getting required 'zope.app.pagetemplate'
  required by z3c.widgets.flashupload 1.0c1.
We have a develop egg: zope.app.pagetemplate 0.0
Getting required 'zope.app.container'
  required by z3c.widgets.flashupload 1.0c1.
We have a develop egg: zope.app.container 0.0
Getting required 'zope.app.component'
  required by z3c.widgets.flashupload 1.0c1.
We have a develop egg: zope.app.component 0.0
Getting required 'zope.app.cache'
  required by z3c.widgets.flashupload 1.0c1.
We have a develop egg: zope.app.cache 0.0
Getting required 'zope.traversing'
  required by z3c.widgets.flashupload 1.0c1.
  required by Zope2 2.12.1.
We have a develop egg: zope.traversing 0.0
Getting required 'zope.security'
  required by z3c.widgets.flashupload 1.0c1.
  required by Zope2 2.12.1.
We have a develop egg: zope.security 0.0
Getting required 'zope.publisher'
  required by z3c.widgets.flashupload 1.0c1.
  required by Zope2 2.12.1.
We have a develop egg: zope.publisher 0.0
Getting required 'zope.interface'
  required by archetypes.referencebrowserwidget 1.0a4.
  required by z3c.widgets.flashupload 1.0c1.
  required by Products.Marshall 2.0a1.
  required by Products.MimetypesRegistry 2.0a1.
  required by Products.PortalTransforms 2.0a1.
  required by Products.validation 2.0a1.
  required by Zope2 2.12.1.
We have a develop egg: zope.interface 0.0
Getting required 'zope.i18nmessageid'
  required by z3c.widgets.flashupload 1.0c1.
  required by Zope2 2.12.1.
We have a develop egg: zope.i18nmessageid 0.0
Getting required 'zope.filerepresentation'
  required by z3c.widgets.flashupload 1.0c1.
We have a develop egg: zope.filerepresentation 0.0
Getting required 'zope.event'
  required by z3c.widgets.flashupload 1.0c1.
  required by Zope2 2.12.1.
We have a develop egg: zope.event 0.0
Getting required 'zope.component'
  required by archetypes.referencebrowserwidget 1.0a4.
  required by z3c.widgets.flashupload 1.0c1.
  required by Zope2 2.12.1.
We have a develop egg: zope.component 0.0
Getting required 'zope.formlib'
  required by archetypes.referencebrowserwidget 1.0a4.
  required by Zope2 2.12.1.
We have a develop egg: zope.formlib 0.0
Getting required 'zope.app.schema'
  required by Zope2 2.12.1.
We have a develop egg: zope.app.schema 0.0
Getting required 'zope.app.publisher'
  required by Zope2 2.12.1.
We have a develop egg: zope.app.publisher 0.0
Getting required 'zope.app.publication'
  required by Zope2 2.12.1.
We have a develop egg: zope.app.publication 0.0
Getting required 'zope.app.form'
  required by Zope2 2.12.1.
We have a develop egg: zope.app.form 0.0
Getting required 'zope.viewlet'
  required by Zope2 2.12.1.
We have a develop egg: zope.viewlet 0.0
Getting required 'zope.testing'
  required by Zope2 2.12.1.
We have a develop egg: zope.testing 0.0
Getting required 'zope.testbrowser[zope_functional_testing]'
  required by Zope2 2.12.1.
We have a develop egg: zope.testbrowser 0.0
While:
  Installing instance.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/tmp/tmpw3btGt/zc.buildout-1.4.2-py2.4.egg/zc/buildout/buildout.py",
line 1660, in main
  File "/tmp/tmpw3btGt/zc.buildout-1.4.2-py2.4.egg/zc/buildout/buildout.py",
line 532, in install
  File "/tmp/tmpw3btGt/zc.buildout-1.4.2-py2.4.egg/zc/buildout/buildout.py",
line 1204, in _call
  File
"/home/sorg/entwicklung/icg_plone_eclipse_workspace/Plone-3.1/eggs/plone.recipe.zope2instance-2.9-py2.4.egg/plone/recipe/zope2instance/__init__.py",
line 38, in install
    requirements, ws = self.egg.working_set()
  File
"/home/sorg/entwicklung/icg_plone_eclipse_workspace/Plone-3.1/eggs/zc.recipe.egg-1.2.2-py2.4.egg/zc/recipe/egg/egg.py",
line 89, in working_set
    allow_hosts=self.allow_hosts,
  File
"/tmp/tmpw3btGt/zc.buildout-1.4.2-py2.4.egg/zc/buildout/easy_install.py",
line 800, in install
  File
"/tmp/tmpw3btGt/zc.buildout-1.4.2-py2.4.egg/zc/buildout/easy_install.py",
line 660, in install
  File
"/home/sorg/entwicklung/icg_plone_eclipse_workspace/Plone-3.1/eggs/setuptools-0.6c11-py2.4.egg/pkg_resources.py",
line 570, in resolve
  File
"/home/sorg/entwicklung/icg_plone_eclipse_workspace/Plone-3.1/eggs/setuptools-0.6c11-py2.4.egg/pkg_resources.py",
line 2156, in requires
UnknownExtra: zope.testbrowser 0.0 has no such extra feature
'zope_functional_testing'
-- 
View this message in context: http://n2.nabble.com/buildout-UnknownExtra-error-tp4017714p4019199.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.



More information about the Setup mailing list