[Grok-dev] Five.grok broken for Zope 2.

Sylvain Viollon sylvain at infrae.com
Fri Jul 18 10:32:13 EDT 2008


Hello,

  Recently (today) a support for browser page seems to have be added to
five.grok, but this seems to broke my Zope. When I start my instance, I
have now:

zope.configuration.config.ConfigurationConflictError: Conflicting
configuration actions For: ('view', None, u'standard_macros',
<InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>,
<InterfaceClass
zope.publisher.interfaces.browser.IDefaultBrowserLayer>) File
"/home/sylvain/test/grok/parts/zope2/lib/python/zope/app/basicskin/configure.zcml",
line 11.2-16.33 <page name="standard_macros" for="*"
class=".standardmacros.StandardMacros"
allowed_interface="zope.interface.common.mapping.IItemMapping"
permission="zope.Public" /> File
"/home/sylvain/test/grok/parts/zope2/lib/python/Products/Five/skin/configure.zcml",
line 4.2-10.8 <browser:page for="*"
            name="standard_macros"
            permission="zope2.View"
            class=".standardmacros.StandardMacros"
            allowed_interface="zope.interface.common.mapping.IItemMapping"
            />

  I think it's due to:

  <include package="zope.app.basicskin" />
  <include package="zope.app.rotterdam" />

  Which is in the `configure.zcml` of five.grok. This seems to be used
only for tests.

  Sylvain,

-- 
Sylvain Viollon -- Infrae
t +31 10 243 7051 -- http://infrae.com
Hoevestraat 10 3033GC Rotterdam -- The Netherlands


More information about the Grok-dev mailing list