Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Users

buildout for plone2.5: paster creates bad zcml

 

 

Zope users RSS feed   Index | Next | Previous | View Threaded


robert at redcor

May 28, 2008, 12:27 AM

Post #1 of 2 (244 views)
Permalink
buildout for plone2.5: paster creates bad zcml

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 )


robert at redcor

May 28, 2008, 2:47 AM

Post #2 of 2 (215 views)
Permalink
Re: buildout for plone2.5: paster creates bad zcml [In reply to]

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 )
>

_______________________________________________
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 )

Zope users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.