Buildout problem

Derek Richardson derek.richardson at gatech.edu
Fri Oct 19 02:14:20 UTC 2007


I'm running a buildout that installs (among other things) a custom egg. 
I used the egg in develop-mode in a buildout and everything worked fine. 
However, when I have 'zcml = gatech.castle' in my buildout.cfg, I get 
the following [1] when trying to add a plone site in the zmi. Any ideas? 
My base.cfg [2] and buildout.cfg [2] are also below...

Thanks,

Derek


[1]

('No traversable adapter found', {'extension_profiles': ({'product': 
'kupu', 'description': 'Extension profile for Kupu', 'for': , 'title': 
'Kupu', 'version': 'kupu 1.4.3', 'path': 'plone/profiles/default', 
'type': 2, 'id': 'kupu:default'},), 'args': (), 'base_profiles': (), 
'default_profile': 'Products.CMFPlone:plone'})


[2]

# XXX TODO: audit vs current share-it install scripts

[buildout]
parts =
     user
     plone
     zope2
     zeoserver
     productdistros
     instance
     pound
     poundconfig
     movepoundconfig
     poundcontrol
     movepoundcontrol
     chmodpoundcontrol
     shareitcontrol
     moveshareitcontrol
     chmodshareitcontrol
     zopepy
find-links = https://svn.oit.gatech.edu/py/packages/
              http://download.zope.org/distribution/
              http://effbot.org/downloads
eggs = gatech.castle
develop =

[user]
recipe = gatech.recipe_user

[plone]
recipe = plone.recipe.plone

[zope2]
recipe = plone.recipe.zope2install
url = http://www.zope.org/Products/Zope/2.10.4/Zope-2.10.4-final.tgz

[productdistros]
recipe = plone.recipe.distros
urls = http://plone.org/products/cachefu/releases/1.1/CacheFu-1.1.tgz
 
http://www.zope.org/Members/regebro/CAS4PAS/1.0.0/CAS4PAS-1.0.0-1.tgz
        https://svn.oit.gatech.edu/py/products/CreateUserFactory-0.1a1.tgz
nested-packages = CacheFu-1.1.tgz
version-suffix-packages = CreateUserFactory-0.1a1.tgz
                           CAS4PAS-1.0.0-1.tgz

[zeoserver]
recipe = plone.recipe.zope2zeoserver
zope2-location = ${zope2:location}
zeo-address = 8100

[instance]
recipe = plone.recipe.zope2instance
zope2-location = ${zope2:location}
user = <irrelevant and removed>
http-address=8080
debug-mode = off
verbose-security = off
zeo-client = on
zeo-address = ${zeoserver:zeo-address}
eggs =
     ${buildout:eggs}
     ${plone:eggs}
zcml =
     gatech.castle
products =
     ${buildout:directory}/products
     ${productdistros:location}
     ${plone:products}

[pound]
recipe = hexagonit.recipe.cmmi
url = http://www.apsis.ch/pound/Pound-2.3.2.tgz
configure-options =
     --with-owner=${user:user}
     --with-group=${user:group}


[poundconfig]
recipe = z3c.recipe.filetemplate
files = pound.share-it.conf
effective_user = pound
effective_group = pound

[movepoundconfig]
recipe = plone.recipe.command
command = mv pound.share-it.conf ${pound:location}/
location = ${pound:location}

[poundcontrol]
recipe = z3c.recipe.filetemplate
files = init.d-pound
pound_location = ${pound:location}
pound_conf = ${movepoundconfig:location}/${poundconfig:files}

[movepoundcontrol]
recipe = plone.recipe.command
command = mv init.d-pound bin/pound

[chmodpoundcontrol]
recipe = plone.recipe.command
command = chmod u+x bin/pound

[shareitcontrol]
recipe = z3c.recipe.filetemplate
files = share-it

[moveshareitcontrol]
recipe = plone.recipe.command
command = mv share-it bin/share-it


[chmodshareitcontrol]
recipe = plone.recipe.command
command = chmod u+x bin/share-it

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


[3]

[buildout]
extends = base.cfg

[poundconfig]
cert_location =  <irrelevant and removed>





More information about the Product-Developers mailing list