Closed tisto closed 7 months ago
@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__'
@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.
I reverted the revert: https://github.com/kitconcept/kitconcept.intranet/pull/21
and merged it into main.
@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...
@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.
Reverts kitconcept/kitconcept.intranet#15