gpt4 book ai didi

Plone 4.3 迁移 - AttributeError : type object 'IIntIds' has no attribute '__iro__'

转载 作者:行者123 更新时间:2023-12-04 23:24:03 40 4
gpt4 key购买 nike

将 Plone 4.1 + Dexterity 站点迁移到 Plone 4.3 站点的/manage_workspace 后,将无法访问。无法执行数据库迁移。

ZMI 根仍然可以访问。

Traceback (innermost last):

Module ZPublisher.Publish, line 237, in publish_module_standard
Module ZPublisher.Publish, line 179, in publish
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 plone.transformchain.zpublisher, line 119, in applyTransformOnFailure
Module plone.transformchain.zpublisher, line 79, in applyTransformOnSuccess
Module plone.transformchain.zpublisher, line 55, in applyTransform
Module zope.component._api, line 172, in queryUtility
Module zope.component.registry, line 163, in queryUtility
Module ZODB.Connection, line 860, in setstate
Module ZODB.Connection, line 914, in _setstate
Module ZODB.serialize, line 613, in setGhostState
Module zope.component.persistentregistry, line 40, in __setstate__
Module zope.interface.adapter, line 91, in _createLookup
Module zope.interface.adapter, line 439, in __init__
Module zope.interface.adapter, line 476, in init_extendors
Module zope.interface.adapter, line 480, in add_extendor

AttributeError: type object 'IIntIds' has no attribute '__iro__'

还有 @@plone-upgrade无法访问。

需要任何想法或特殊迁移吗?

最佳答案

在 Dexterity 2 中,默认不再安装关系字段支持(包括安装 intids 目录)。要获得它,您需要使用 [relations] 额外安装 Dexterity:

[instance]
eggs =
plone.app.dexterity [relations]

这记录在 http://plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-4.2-to-4.3/dexterity-optional-extras并在 Dexterity 发行说明中。

关于Plone 4.3 迁移 - AttributeError : type object 'IIntIds' has no attribute '__iro__' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16371872/

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