[Zope] buildout for plone2.5: paster creates bad zcml

robert rottermann robert at redcor.ch
Wed May 28 03:27:33 EDT 2008


Hi there,
I try to use paster for a plone 2.5 site.

this is what I have done:

paster create -t plone2.5_buildout plone2
executed bootstrap and buildout
then in src:
paster create -t plone2.5_theme x.y

which I added to the buildout.cfg like so:
[buildout]
...
eggs =
    elementtree
    x.y

develop =
    src/x.y

...
[instance]
...
zcml =
    x.y


when I then start the new instance, I get the following error:
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File 
"/home/zope/plone2/parts/instance/etc/site.zcml", line 11.2-11.55
    ZopeXMLConfigurationError: File 
"/home/zope/plone2/parts/instance/etc/package-includes/001-x.y-configure.zcml", 
line 1.0-1.47
    ZopeXMLConfigurationError: File 
"/home/zope/plone2/src/x.y/x/y/configure.zcml", line 8.2
    ConfigurationError: ('Unknown directive', 
u'http://namespaces.zope.org/five', u'registerPackage')

what can I do to fix this?
thanks
robert


More information about the Zope mailing list