collective.ptg.flickr — Conf igurationError: ('Unknown directive', u'http ://namespaces.zope.org/gallery', u'type' )

David Siedband <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
I’ve installed collective.ptg.flickr into one of my Plone 4 sites.  When I only put the package name under eggs, I don’t see the flickr options in my gallery settings or control panels.  I’m on PTG 3.4.5 fwiw.

After I add the package name to the zcml section in my buildout I get the following error which makes my Plone instances fail to boot.

zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/zope/buildout/parts/instance1/etc/site.zcml", line 15.2-15.55
    ZopeXMLConfigurationError: File "/home/zope/buildout/parts/instance1/etc/package-includes/008-collective.ptg.flickr-configure.zcml", line 1.0-1.65
    ZopeXMLConfigurationError: File "/home/zope/buildout/eggs/collective.ptg.flickr-0.1.1-py2.6.egg/collective/ptg/flickr/configure.zcml", line 9.6
    ConfigurationError: ('Unknown directive', u'http://namespaces.zope.org/gallery', u'type’)

Looking in eggs/collective.ptg.flickr-0.1.1-py2.6.egg/collective/ptg/flickr/configure.zcml

I see the following:

<configure
    xmlns="http://namespaces.zope.org/zope"
   	xmlns:zope="http://namespaces.zope.org/zope"
   	xmlns:gallery="http://namespaces.zope.org/gallery"
    xmlns:zcml="http://namespaces.zope.org/zcml"
    i18n_domain="collective.plonetruegallery">


      <gallery:type
        factory=".FlickrAdapter"
        provides="collective.ptg.flickr.IFlickrAdapter"
        condition=".add_condition"
    />
…

Why is the type directive in the gallery namespace failing?  

Thanks,
--
David Siedband
http://zentraal.com


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.