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

robert rottermann robert at redcor.ch
Wed May 28 05:47:05 EDT 2008


for the record:
I found a way to fix this by using a newer five versin.
I added:
urls =
    http://codespeak.net/z3/five/release/Five-1.4.4.tgz
in the buildout.cfg.

it would be much nicer, to have the buildout recipes fixed

robert

robert rottermann schrieb:
> 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
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>



More information about the Zope mailing list