Question

I have a problem that when i create an add-on using zopeskel it can't be seen in add-ons on my site. Similar with zopepy - cant import the package. Here is my buildout.cfg:

[buildout] 
extends = 
        http://dist.plone.org/release/4.1/versions.cfg
parts = 
        instance 
        zopeskel 
        zopepy 


eggs-directory=../buildout-cache/eggs 
download-cache=../buildout-cache/downloads 

develop = 
        src/* 

[instance] 
recipe = plone.recipe.zope2instance 
user = admin:admin 
eggs = Plone 

[zopeskel] 
recipe = zc.recipe.egg 
eggs = 
    ZopeSkel 
    zopeskel.diazotheme 
    zopeskel.dexterity 
    Plone 

[zopepy] 
recipe = zc.recipe.egg 
eggs = Plone 
interpreter = zopepy 
scripts = zopepy 


[versions] 
Cheetah = 2.2.1 
ZopeSkel = 2.21.2 
zopeskel.dexterity = 1.5.2 
zopeskel.diazotheme = 1.1 

I'm using plone3_theme template. Make some changes to setup.py. Than i create a directory src and move the package to it.

./bin/buildout 
Develop: '/home/demonoid67/iPlone4/zinstance/src/collective.plonelearning' 
Updating instance. 
Updating zopeskel. 
Updating zopepy. 
./bin/instance fg 
2013-08-03 14:35:07 INFO ZServer HTTP server started at Sat Aug  3 14:35:07 2013 
        Hostname: 0.0.0.0 
        Port: 8080 
2013-08-03 14:35:09 WARNING ZODB.blob (7081) Blob dir /home/demonoid67/iPlone4/zinstance/var/blobstorage/ has insecure mode setting 
2013-08-03 14:35:17 INFO Zope Ready to handle requests 

Can someone help me? Is this a problem of my buildout.cfg or the configuration of an add-on?

Was it helpful?

Solution

You didn't add the egg to your egg section:

[instance] 
recipe = plone.recipe.zope2instance 
user = admin:admin 
eggs = 
    Plone 
    collective.plonelearning

Without that entry the instance won't ever see the egg.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top