将Plone 3.3.6升级为Plone 4.3.7或Plone 5(错误:'tuple'对象没有属性'remove')

时间:2015-10-09 06:30:42

标签: plone

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

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

在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,我甚至无法运行UPGRADE功能,只是在控制台上获得以下错误跟踪:

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'

0 个答案:

没有答案