Here is my configure.zcml:<br><br><configure xmlns="<a href="http://namespaces.zope.org/zope">http://namespaces.zope.org/zope</a>"<br> xmlns:i18n="<a href="http://namespaces.zope.org/i18n">http://namespaces.zope.org/i18n
</a>"<br> i18n_domain="library"><br><br> <include file="permissions.zcml" /><br> <include file="roles.zcml" /><br> <br><br><br><div><span class="gmail_quote">
On 8/13/07, <b class="gmail_sendername">Philipp von Weitershausen</b> <<a href="mailto:philipp@weitershausen.de">philipp@weitershausen.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Andrew Rodriguez wrote:<br>> I was trying to use zopeproject, but when I have any zcml,<br>> and I run ./bin/paster serve deploy.ini, I get a ConfigurationError.<br>><br>> The error:<br>> ...<br>> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
<br>> python2.4/site-packages/zope.configuration-3.4.0b1-py2.4.egg/<br>> zope/configuration/config.py", line 485, in factory<br>> raise ConfigurationError("Unknown directive", ns, n)<br>>
zope.configuration.xmlconfig.ZopeXMLConfigurationError : File<br>> "/Users/andrew/biblioteca/site.zcml", line 4.2-4.34<br>> ZopeXMLConfigurationError: File<br>> "/Users/andrew/biblioteca/biblioteca/configure.zcml", line
5.2-5.37<br>> ZopeXMLConfigurationError: File<br>> "/Users/andrew/biblioteca/biblioteca/permissions.zcml", line 3.2<br>> ConfigurationError: ('Unknown directive',<br>> u'<a href="http://namespaces.zope.org/zope">
http://namespaces.zope.org/zope</a>', u'permission')<br>><br>> And my permission.zcml:<br>><br>> <configure xmlns="<a href="http://namespaces.zope.org/zope">http://namespaces.zope.org/zope</a>
"><br>> <permission<br>> id="library.ViewBooks"<br>> title="View books"<br>> /><br>> ...<br>><br>> This happens with every thing, even simple things such as <class ...>,
<br>> so my question would be how would I get paster to recognize them.<br><br>Where and how are you including permission.zcml? Order matters with ZCML.<br><br><br>--<br><a href="http://worldcookery.com">http://worldcookery.com
</a> -- Professional Zope documentation and training<br><br>_______________________________________________<br>Zope3-users mailing list<br><a href="mailto:Zope3-users@zope.org">Zope3-users@zope.org</a><br><a href="http://mail.zope.org/mailman/listinfo/zope3-users">
http://mail.zope.org/mailman/listinfo/zope3-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Andrew