Plone 4.3迁移 - AttributeError:类型对象'IIntIds'没有属性'__iro__'

时间:2013-05-04 07:41:00

标签: plone

将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也无法访问。

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

1 个答案:

答案 0 :(得分:8)

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

安装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发行说明中都有记录。