zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/nolbert/miqra/mbm-dev-buildout2/parts/instance/etc/site.zcml", line 15.2-15.23 ZopeXMLConfigurationError: File "/home/nolbert/miqra/mbm-dev-buildout2/products/worldcookery/configure.zcml", line 8.2-8.31 ZopeXMLConfigurationError: File "/home/nolbert/miqra/mbm-dev-buildout2/products/worldcookery/roles.zcml", line 3.2 ConfigurationError: ('Unknown directive', u' http://namespaces.zope.org/zope', u'role')
Bertus Van der Linden wrote at 2008-12-12 15:32 -0700:
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/nolbert/miqra/mbm-dev-buildout2/parts/instance/etc/site.zcml", line 15.2-15.23 ZopeXMLConfigurationError: File "/home/nolbert/miqra/mbm-dev-buildout2/products/worldcookery/configure.zcml", line 8.2-8.31 ZopeXMLConfigurationError: File "/home/nolbert/miqra/mbm-dev-buildout2/products/worldcookery/roles.zcml", line 3.2 ConfigurationError: ('Unknown directive', u' http://namespaces.zope.org/zope', u'role')
Obviously, Zope does not know the directive "role" in the "zope" namespace. The reason might be that the Zope ZCML registry is not set up properly. In a Zope2 environment (such as apparently yours), the ZCML registry set up is significantly extended by "Five". Therefore, it is vital that "site.zcml" first includes the zcml configuration for "Products.Five". Only after that all typical ZCML features are available. Not sure, whether this is your problem.... -- Dieter
participants (2)
-
Bertus Van der Linden -
Dieter Maurer