[Zope-CMF] Five: question on zcml

robert rottermann robert at redcor.ch
Tue Mar 28 23:50:53 EST 2006


Hi there,

I'd like to use GenericSetup in one of our tools.
In this tool I have a directory exportimpot with a config.zcml and 
actions.py
(everithing copied from CMFCore actually)

ther is a class declaration for ActionsToolXMLAdapter in
importexport.actions.py

Why do I get the traceback at the end of this email?

thanks for pointers
Robert


config.zcml:

*<configure*
    xmlns="http://namespaces.zope.org/zope"
    xmlns:five="http://namespaces.zope.org/five"
    *>*

   *<include* package=".exportimport"*/>*

*</configure>*

exportimport.config.zcml
<configure
    xmlns="http://namespaces.zope.org/zope"
    >

  <adapter
      factory=".actions.ActionsToolXMLAdapter"
      provides="Products.GenericSetup.interfaces.IBody"
      for="Products.CMFCore.interfaces.IActionsTool
           Products.GenericSetup.interfaces.ISetupEnviron"
      />
...
when I start Zope I get the following error:
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File 
"/home/zope/instances/fifve/Products/Five/skel/site.zcml", line 13.2-13.23
    ZopeXMLConfigurationError: File 
"/home/zope/instances/fifve/Products/RedPick/configure.zcml", line 
10.2-10.36
    ZopeXMLConfigurationError: File 
"/home/zope/instances/fifve/Products/RedPick/exportimport/configure.zcml", 
line 5.2-10.8
    ConfigurationError: ('Invalid value for', 'factory', 'Module 
Products.RedPick.exportimport.actions has no global 
ActionsToolXMLAdapter in .actions.ActionsToolXMLAdapter')



-------------- next part --------------
A non-text attachment was scrubbed...
Name: robert.vcf
Type: text/x-vcard
Size: 200 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-cmf/attachments/20060329/be27c0fc/robert.vcf


More information about the Zope-CMF mailing list