Stefan Krumbiegel (Galileo Press) wrote:
I installed Zope3 ( and z3c.zalchemy from the repository (
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'', u'engine')

What could it be?

z3c.zalchemy registers a bunch of new directives. Whenever a package does that, you need to load it's "meta" configuration. To do that, add a "z3c.zalchemy-meta.zcml" file to INSTANCE/etc/package-includes with the following contents:

  <include package="z3c.zalchemy-meta.zcml" file="meta.zcml" />

-- -- Professional Zope documentation and training
Next Zope 3 training at Camp5:

Zope3-users mailing list

Reply via email to