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

Revert "Add SOLR support" #20

Merged
merged 1 commit into from
Apr 13, 2024
Merged

Revert "Add SOLR support" #20

merged 1 commit into from
Apr 13, 2024

Conversation

tisto
Copy link
Member

@tisto tisto commented Apr 13, 2024

Reverts #15

@tisto tisto merged commit 60e8463 into main Apr 13, 2024
4 checks passed
@tisto tisto deleted the revert-15-ree-add-solr-support branch April 13, 2024 18:03
@tisto
Copy link
Member Author

tisto commented Apr 13, 2024

@reekitconcept I had to revert the merge of the PR. kitconcept.intranet is not installed by default any longer. When I try to install it manually via the control panel I get a traceback:

2024-04-13 10:43:36,551 ERROR   [Zope.SiteErrorLog:35][waitress-1] AttributeError: http://localhost:8080/Plone/install_products
Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 181, in transaction_pubevents
  Module ZPublisher.WSGIPublisher, line 390, in publish_module
  Module ZPublisher.WSGIPublisher, line 285, in publish
  Module ZPublisher.mapply, line 85, in mapply
  Module ZPublisher.WSGIPublisher, line 68, in call_object
  Module Products.CMFPlone.controlpanel.browser.quickinstaller, line 544, in __call__
  Module Products.CMFPlone.controlpanel.browser.quickinstaller, line 310, in install_product
  Module Products.GenericSetup.tool, line 393, in runAllImportStepsFromProfile
   - __traceback_info__: profile-kitconcept.intranet:default
  Module Products.GenericSetup.tool, line 1504, in _runImportStepsFromContext
  Module Products.GenericSetup.tool, line 1316, in _doRunImportStep
   - __traceback_info__: browserlayer
  Module plone.browserlayer.exportimport, line 108, in importLayers
  Module Products.GenericSetup.utils, line 516, in _importBody
  Module plone.browserlayer.exportimport, line 44, in _importNode
  Module plone.browserlayer.exportimport, line 50, in _initProvider
  Module plone.browserlayer.exportimport, line 72, in _initLayers
  Module plone.browserlayer.utils, line 22, in register_layer
  Module zope.interface.declarations, line 850, in alsoProvides
  Module zope.interface.declarations, line 834, in directlyProvides
AttributeError: 'NoneType' object has no attribute '__provides__'

@davisagli
Copy link
Member

@tisto Your Plone site's component registry has a persistent reference to an interface that no longer exists on the filesystem. The simplest workaround is probably to re-create the site.

@tisto
Copy link
Member Author

tisto commented Apr 15, 2024

I reverted the revert: #21

and merged it into main.

@tisto
Copy link
Member Author

tisto commented Apr 15, 2024

@davisagli I am still running into this issue since I reverted the merge. I ran "create-site" multiple times and even deleted my Plone instance manually via ZMI. I am clueless right now...

@reekitconcept
Copy link
Member

@tisto I'll try to reproduce this tomorrow. Fww, we have several sites with kitconcept.solr as a dependency, and this has not surfaced yet.

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

Successfully merging this pull request may close these issues.

3 participants