[Zope-dev] zope.configuration upgrade: ZCML error with z3c.unconfigure

Sebastien Douche sdouche at gmail.com
Wed Feb 15 20:13:18 UTC 2012


Hi,
after upgraded zope.configuration to 3.8.0, I've the same error on 2 ZCML files:

ZopeXMLConfigurationError: File
"/home/sdouche/src/sact/main/sact.nevrax/eggs/sact.nevrax.conf/src/sact/nevrax/conf/service/minimal_populate.zcml",
line 8.2-13.2
  KeyError: 0

The file :
<configure xmlns="http://namespaces.zope.org/zope"
           xmlns:browser="http://namespaces.zope.org/browser"
           xmlns:i18n="http://namespaces.zope.org/i18n"
           i18n_domain="nevrax">

  <include package="z3c.unconfigure" file="meta.zcml" />

  <unconfigure>
    <subscriber
        for="sact.nevrax.conf.zone.interfaces.IPopulatedZone"
        handler=".service_mgr.populate"
        />
  </unconfigure>

  <subscriber
      for="sact.nevrax.conf.zone.interfaces.IPopulatedZone"
      handler="sact.nevrax.conf.tests.layers.populate_minimal"
      />

</configure>t

ZopeXMLConfigurationError: File
"/home/sdouche/src/sact/main/sact.nevrax/src/sact/nevrax/testbrowser/no-service.zcml",
line 3.2-7.2
  KeyError: 0

The file :
<configure xmlns="http://namespaces.zope.org/zope">

  <unconfigure>
    <subscriber
        for="sact.nevrax.conf.zone.interfaces.IPopulatedZone"
        handler="sact.nevrax.conf.service.service_mgr.populate" />
  </unconfigure>

</configure>

Do you know why? Any hint?

Thanks.

-- 
Sebastien Douche <sdouche at gmail.com>
Twitter: @sdouche / G+: +sdouche


More information about the Zope-Dev mailing list