[Zope3-Users] worldcookery on zopeproject buildout

Guido A.J. Stevens zope3-users at lists.guidostevens.com
Fri Apr 11 06:43:03 EDT 2008

Hi all,

I'm trying to get the worldcookery example egg to run inside a
zopeproject buildout.

But now I'm stuck with the following traceback:

    ZopeXMLConfigurationError: File
line 56.2
    ConfigurationError: ('Unknown directive',
u'http://namespaces.zope.org/browser', u'viewletManager')

I'm aware that the book is written against Zope 3.3 and my buildout runs
3.4. However, I definitely want to get Zope3 running using buildout
since that is our preferred way of doing dependency-isolated, repeatable
development and deployment nowadays.

I've added some extra dependencies to setup.py:

                        ## The following are needed for worldcookery

And included those packages in site.zcml

  <!-- worldcookery *after* zope.app.securitypolicy
       and other dependencies-->
  <include package="zope.viewlet" />
  <include package="worldcookery" />

I've tried installing z3c.viewlet but that doesn't help. Also,
zope.viewlet.manager is present in the zope.viewlet egg.

How do I go from here?

***   Guido A.J. Stevens           ***  mailto:guido at nfg.nl   ***
***   NFG Net Facilities Group BV  ***  tel: +31.43.3618933   ***
***   Postbus 1143                 ***  fax: +31.43.3561655   ***
***   6201 BC  Maastricht          ***  http://www.nfg.nl     ***

More information about the Zope3-users mailing list