In the zopeproject instructions for adding dependencies the indication
is that (once the egg is installed) I would just have to add it to the
configure.zcml

But ...
  <!-- Add your own component registrations here -->     
    <include package="z3c.formdemo" />

yields this configuration error:
 
    ZopeXMLConfigurationError: File
"/home/tim/buildout-eggs/z3c.formdemo-1.5.1-py2.4.egg/z3c/formdemo/configure.zcml",
 line 11.2-11.29
    ZopeXMLConfigurationError: File
"/home/tim/buildout-eggs/z3c.formdemo-1.5.1-py2.4.egg/z3c/formdemo/skin/configure.zcml",
 line 22.2
    ConfigurationError: ('Unknown directive',
u'http://namespaces.zope.org/browser', u'zrt-resource')


I looks like zrt-resource and everything else that z3c.formdemo needs is
defined in application.zcml but is not it isn't registered in
z3c.formdemo/configure.zcml So now I added it to my
zopeproject/configure.zcml

  <!-- Add your own component registrations here -->     
    <include package="z3c.formdemo" file="application.zcml"/>
    <include package="z3c.formdemo" />

    File
"/home/tim/buildout-eggs/z3c.formdemo-1.5.1-py2.4.egg/z3c/formdemo/application.zcml",
 line 23.2-23.47
        <browser:menu id="zmi_views" title="Views" />
    File
"/home/tim/buildout-eggs/zope.app.zcmlfiles-3.4.3-py2.4.egg/zope/app/zcmlfiles/menus.zcml",
 line 5.2-9.8
        <menu
            id="zmi_views"
            title="Views"
            description="Menu for displaying alternate representations
of an object"
            />


So by now I am certain that there is something very fundamental about
this third-party registration process that I don't understand.  

Any help is appreciated.

--Tim


Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to