gpt4 book ai didi

carousel - Plon 5.0 和 Carousel 2.2.1

转载 作者:行者123 更新时间:2023-12-02 21:57:48 24 4
gpt4 key购买 nike

这个问题涉及 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 的结果。 Plone 启动到一定程度后,由于 Carousel 的问题而崩溃。显示输出的开始和结束;输出中间的许多诊断被省略。

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 配合得很好。谢谢。

最佳答案

该插件与 Plone 5 不兼容。

ContentActionsViewlet 已合并到 ContentViewsViewlet See plone.app.layout 2.5.8

不幸的是,这并不是唯一的问题。

您需要联系维护者,可能他们愿意升级软件包,或者您可以自己尝试一下:

关于carousel - Plon 5.0 和 Carousel 2.2.1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34728580/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com