gpt4 book ai didi

plone - 将 Plone 3.3.6 升级到 Plone 4.3.7 或 Plone 5(错误 : 'tuple' object has no attribute 'remove' )

转载 作者:行者123 更新时间:2023-12-01 13:49:32 31 4
gpt4 key购买 nike

我正在尝试将现有站点从 Plone 3.3.6 升级到 Plone 4.3.7,然后升级到 Plone 5.0。

现有站点非常小,并且没有安装任何附加产品(vanilla Plone、vanilla 模板等)它确实安装了 CacheFu,但是在经历了一些早期明显的错误之后,我在升级之前删除了它。我只是将 var/filestorage(Data.fs 等)的内容从 v3 站点复制到 v4 站点并重新运行构建。

在 Plone 4.3.7 中,当运行 UPGRADE 选项时,我看到很多成功的事件,然后在底部出现以下错误:

    Upgrade aborted. Error:
Traceback (most recent call last):
File "/usr/local/Plone4_migration/buildout-cache/eggs/Products.CMFPlone-4.3.7-py2.7.egg/Products/CMFPlone/MigrationTool.py", line 259, in upgrade
step['step'].doStep(setup)
File "/usr/local/Plone4_migration/buildout-cache/eggs/Products.GenericSetup-1.7.7-py2.7.egg/Products/GenericSetup/upgrade.py", line 160, in doStep
self.handler(tool)
File "/usr/local/Plone4_migration/buildout-cache/eggs/plone.app.upgrade-1.3.18-py2.7.egg/plone/app/upgrade/v40/betas.py", line 99, in beta3_beta4
value.remove('Large Plone Folder')
AttributeError: 'tuple' object has no attribute 'remove'

如果我跳过 Plone 4.x 并直接跳到 Plone 5.0,我什至无法运行升级功能,只能在控制台上得到以下错误跟踪:

2015-10-09 01:14:21 ERROR Zope.SiteErrorLog 1444371261.060.792132208718 http://www.example.com/example
Traceback (innermost last):
Module ZPublisher.Publish, line 127, in publish
Module ZPublisher.BaseRequest, line 444, in traverse
Module ZPublisher.BeforeTraverse, line 97, in __call__
Module Products.CMFCore.PortalObject, line 75, in __before_publishing_traverse__
Module zope.event, line 31, in notify
Module zope.component.event, line 24, in dispatch
Module zope.component._api, line 136, in subscribers
Module zope.component.registry, line 321, in subscribers
Module zope.interface.adapter, line 585, in subscribers
Module zope.component.event, line 32, in objectEventNotify
Module zope.component._api, line 136, in subscribers
Module zope.component.registry, line 321, in subscribers
Module zope.interface.adapter, line 585, in subscribers
Module plone.app.theming.plugins.hooks, line 33, in onRequest
Module plone.app.theming.policy, line 90, in isThemeEnabled
AttributeError: 'NoneType' object has no attribute 'enabled'

最佳答案

这是一个已知错误,它有一个尚未发布的修复程序:https://github.com/plone/Products.CMFPlone/issues/1134

关于plone - 将 Plone 3.3.6 升级到 Plone 4.3.7 或 Plone 5(错误 : 'tuple' object has no attribute 'remove' ),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33031367/

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