Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start instance fails with "ConfigurationConflictError: Conflicting configuration actions" #22

Open
tisto opened this issue Jul 1, 2013 · 1 comment

Comments

@tisto
Copy link

tisto commented Jul 1, 2013

  • Plone 4.3
  • collective.solr master
  • Solr 4.3.1
  • added ftw.solr to eggs section in buildout
  • Instance start fails with the following traceback:

Traceback (most recent call last): File "/home/timo/.buildout/eggs/Zope2-2.13.19-py2.7.egg/Zope2/Startup/run.py", line 76, in <module> run() File "/home/timo/.buildout/eggs/Zope2-2.13.19-py2.7.egg/Zope2/Startup/run.py", line 22, in run starter.prepare() File "/home/timo/.buildout/eggs/Zope2-2.13.19-py2.7.egg/Zope2/Startup/__init__.py", line 86, in prepare self.startZope() File "/home/timo/.buildout/eggs/Zope2-2.13.19-py2.7.egg/Zope2/Startup/__init__.py", line 262, in startZope Zope2.startup() File "/home/timo/.buildout/eggs/Zope2-2.13.19-py2.7.egg/Zope2/__init__.py", line 47, in startup _startup() File "/home/timo/.buildout/eggs/Zope2-2.13.19-py2.7.egg/Zope2/App/startup.py", line 118, in startup load_zcml() File "/home/timo/.buildout/eggs/Zope2-2.13.19-py2.7.egg/Zope2/App/startup.py", line 52, in load_zcml load_site() File "/home/timo/.buildout/eggs/Zope2-2.13.19-py2.7.egg/Zope2/App/zcml.py", line 46, in load_site _context = xmlconfig.file(site_zcml) File "/home/timo/.buildout/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 651, in file context.execute_actions() File "/home/timo/.buildout/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 620, in execute_actions for action in resolveConflicts(self.actions): File "/home/timo/.buildout/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 1527, in resolveConflicts raise ConfigurationConflictError(conflicts) zope.configuration.config.ConfigurationConflictError: Conflicting configuration actions For: ('adapter', (<class 'collective.solr.parser.SolrResponse'>,), <InterfaceClass plone.app.contentlisting.interfaces.IContentListing>, '') File "/home/timo/workspace/krebswegweiser/src/collective.solr/src/collective/solr/configure.zcml", line 99.2-103.8 <adapter zcml:condition="installed plone.app.contentlisting" factory="plone.app.contentlisting.contentlisting.ContentListing" for="collective.solr.parser.SolrResponse" /> File "/home/timo/workspace/krebswegweiser/src/ftw.solr/ftw/solr/configure.zcml", line 29.4-31.52 <adapter factory="plone.app.contentlisting.contentlisting.ContentListing" for="collective.solr.parser.SolrResponse" /> For: ('adapter', (<class 'collective.solr.flare.PloneFlare'>,), <InterfaceClass plone.app.contentlisting.interfaces.IContentListingObject>, '') File "/home/timo/workspace/krebswegweiser/src/collective.solr/src/collective/solr/configure.zcml", line 105.2-109.8 <adapter zcml:condition="installed plone.app.contentlisting" factory="collective.solr.contentlisting.FlareContentListingObject" for="collective.solr.flare.PloneFlare" /> File "/home/timo/workspace/krebswegweiser/src/ftw.solr/ftw/solr/configure.zcml", line 32.4-34.49 <adapter factory="ftw.solr.contentlisting.SolrContentListingObject" for="collective.solr.flare.PloneFlare" />

@buchi
Copy link
Member

buchi commented Jul 1, 2013

ftw.solr currently works only with collective.solr 3.0

The goal is to remove ftw.solr's contentlisting in the future and use the one provided by collective.solr.
However currently the FlareContentListingObject provided by collective.solr does not inherit from p.a.c.contentlisting.BaseContentListingObject and thus is missing some methods (e.g. appendViewAction, which is needed by ftw.solr)

See also #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants