Configure.zcml In Hello World Video On WorldCookery.Com Doesn't Work
Here is my configure.zcml file, which is identical to the one Paul Everitt says to write: <configure xmlns="http://namespaces.zope.org/browser"> <page name="hello" template="helloworld.html" for="zope.app.container.interfaces.Icontainer" permission="zope.Public" /> </configure> and here is the error message that I get when I reboot the Zope 3.3 server on Windows XP: ConfigurationError: ('Invalid value for', 'for', 'ImportError: Module zope.app.container.interfaces has no global Icontainer') Everything I did was identical to the training video. What went wrong?
--On 16. Februar 2007 11:02:44 -0500 "Mark, Jonathan (Integic)" <jonathan.mark@integic-hc.com> wrote:
Here is my configure.zcml file, which is identical to the one Paul Everitt says to write:
Better use the dedicated zope3-users mailinglist. This is Zope 2 country. -aj
Mark, Jonathan (Integic) wrote:
Here is my configure.zcml file, which is identical to the one Paul Everitt says to write:
<configure xmlns="http://namespaces.zope.org/browser">
<page name="hello" template="helloworld.html"
for="zope.app.container.interfaces.Icontainer" permission="zope.Public" />
</configure>
and here is the error message that I get when I reboot the Zope 3.3 server on Windows XP:
ConfigurationError: ('Invalid value for', 'for', 'ImportError: Module zope.app.container.interfaces has no global Icontainer')
It's IContainer (capital 'C'), not Icontainer. Paul's video is correct, you must've missed it when comparing -- http://worldcookery.com -- Professional Zope documentation and training Next Zope 3 training at Camp5: http://trizpug.org/boot-camp/camp5
participants (3)
-
Andreas Jung -
Mark, Jonathan (Integic) -
Philipp von Weitershausen