这个问题涉及Plone 5.0和附加Carousel 2.2.1。 Carousel的版本取自/usr/local/Plone/buildout-cache/eggs/Products.Carousel-2.2.1-py2.7.egg/EGG-INFO,是:
Metadata-Version: 1.1
Name: Products.Carousel
Version: 2.2.1
Summary: Carousel allows you to add user-configurable rotating banners to any section of a Plone site.
Home-page: <https://github.com/collective/Products.Carousel>
Author: Groundwire
以下显示了尝试在前台启动Plone的结果。由于Carousel的问题,Plone开始在某种程度上崩溃然后坠毁。显示输出的开头和结尾;在输出中间的许多诊断都被省略了。
root@wandboard # /bin/pwd; /bin/date; /usr/bin/sudo -u plone_daemon /usr/local/Plone/zinstance/bin/instance fg
/usr/local/Plone-5.0/zinstance/var
Sun Jan 10 18:35:19 EST 2016
2016-01-10 18:35:28 INFO ZServer HTTP server started at Sun Jan 10 18:35:28 2016
Hostname: 0.0.0.0
Port: 8080
2016-01-10 18:35:38 WARNING ZODB.blob (13658) Blob dir /usr/local/Plone-5.0/zinstance/var/blobstorage/ has insecure mode setting
2016-01-10 18:35:57 INFO Plone OpenID system packages not installed, OpenID support not available
Traceback (most recent call last):
File "/usr/local/Plone-5.0/zinstance/parts/instance/bin/interpreter", line 288, in <module>
exec(compile(`__file__f.read(), __file__, "exec")`)
File "/usr/local/Plone-5.0/buildout-cache/eggs/Zope2-2.13.23-py2.7.egg/Zope2/Startup/run.py", line 76, in <module>
run()
File "/usr/local/Plone-5.0/buildout-cache/eggs/Zope2-2.13.23-py2.7.egg/Zope2/Startup/run.py", line 22, in run
starter.prepare()
.
.
.
many more diagnostics elided
.
.
.
File "/usr/local/Plone-5.0/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/fields.py", line 139, in fromUnicode
raise schema.ValidationError(v)
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/usr/local/Plone-5.0/zinstance/parts/instance/etc/site.zcml", line 16.2-16.23
ZopeXMLConfigurationError: File "/usr/local/Plone-5.0/buildout-cache/eggs/Products.Carousel-2.2.1-py2.7.egg/Products/Carousel/configure.zcml", line 23.2-23.32
ZopeXMLConfigurationError: File "/usr/local/Plone-5.0/buildout-cache/eggs/Products.Carousel-2.2.1-py2.7.egg/Products/Carousel/browser/configure.zcml", line 24.2-31.6
ConfigurationError: ('Invalid value for', 'class', 'ImportError: Module plone.app.layout.viewlets.common has no global ContentActionsViewlet')
在/usr/local/Plone-5.0/buildout-cache/eggs/Products.Carousel-2.2.1-py2.7.egg/Products/Carousel/browser/configure.zcml第24到31行是:
<browser:viewlet
name="plone.contentactions"
for="Products.Carousel.interfaces.ICarouselFolder"
view="..interfaces.ICarouselSettingsView"
manager="plone.app.layout.viewlets.interfaces.IContentViews"
class="plone.app.layout.viewlets.common.ContentActionsViewlet"
permission="zope2.View"
/>
什么是ContentActionsViewlet?我可以通过某种方式安装全局ContentActionsViewlet来解决这个问题,或者这是Carousel附加作者最能解决的问题吗?这个相同的Carousel插件与Plone 4.3.2一起使用。感谢。
答案 0 :(得分:2)
插件根本不兼容Plone 5。
ContentActionsViewlet
合并到ContentViewsViewlet
See plone.app.layout 2.5.8
不幸的是,这不是唯一的问题。
您需要联系维护人员,可能他们愿意升级包裹,或者您可以自己尝试: