[Zope3-Users] Re: ZAlchemy demos (z3c.zalchemy) - Unknown directive: engine

Jürgen Kartnaller juergen at kartnaller.at
Tue Mar 6 07:30:43 EST 2007



Stefan Krumbiegel (Galileo Press) wrote:
> I installed Zope3 
> (http://www.zope.org/Products/Zope3/3.3.1/Zope-3.3.1.tgz) and 
> z3c.zalchemy from the repository (http://svn.zope.org/z3c.zalchemy/trunk/).
> I followed the steps in the README.txt to try the ZAlchemy demos...
> 
> An error occured while starting the Zope3 instance:
> 
> zope.configuration.xmlconfig.ZopeXMLConfigurationError: File 
> "/web/zope3_instance_worldcookery/etc/site.zcml", line 7.2-7.55
>     ZopeXMLConfigurationError: File 
> "/web/zope3_instance_worldcookery/etc/package-includes/z3c.zalchemy.demo-configure.zcml", 
> line 2.0-2.46
>     ZopeXMLConfigurationError: File 
> "/usr/local/lib/python2.4/site-packages/z3c.zalchemy-trunk-py2.4.egg/z3c/zalchemy/demo/demo_1/configure.zcml", 
> line 8.2
>     ConfigurationError: ('Unknown directive', 
> u'http://namespaces.zalchemy.org/alchemy', u'engine')

I'm almost 100% sure you need to add z3c.zalchemy-configure.zcml and 
z3c.zalchemy-meta.zcml to your package-includes.

Jürgen



More information about the Zope3-users mailing list