gpt4 book ai didi

upgrade - 无法在 Plone 4.1 上安装 FacultyStaffDirectory

转载 作者:行者123 更新时间:2023-12-04 06:17:52 24 4
gpt4 key购买 nike

我正在使用 Plone 4.1 和 FacultyStaffDirectory 3.0。我的构建因错误(archetypes.schema < 2.1)而失败,因此我固定了 archetypes.schemaextender = 2.0.3,并且能够安装 FSD 3.0。但是,当我尝试从附加组件页面激活它时,出现以下错误:

Traceback (innermost last):
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 575, in installProducts
Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 512, in installProduct
__traceback_info__: ('FacultyStaffDirectory',)
Module Products.GenericSetup.tool, line 323, in runAllImportStepsFromProfile
__traceback_info__: profile-Products.FacultyStaffDirectory:default
Module Products.GenericSetup.tool, line 1074, in _runImportStepsFromContext
Module Products.GenericSetup.tool, line 245, in getSortedImportSteps
Module Products.GenericSetup.tool, line 251, in getImportStepMetadata
Module Products.GenericSetup.registry, line 295, in getStepMetadata
Module Products.GenericSetup.utils, line 104, in _resolveDottedName
__traceback_info__: Products.FacultyStaffDirectory.setuphandlers.unindexFSDTool
Module None, line 3, in <module>

ImportError: cannot import name DEFAULT_POLICIES

最佳答案

教职员工目录需要为 Plone 4.1 更新。 Plone 的升级指南中描述了需要更改的内容,这里:http://plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-4.0-to-4.1/updating-add-on-products-for-plone-4.1/use-generic-setup-for-defining-versioning-policies

在 FSD 的下载页面 (http://pypi.python.org/pypi/Products.FacultyStaffDirectory/3.0),您会找到软件包作者的联系电子邮件,要求他们执行此操作。

关于upgrade - 无法在 Plone 4.1 上安装 FacultyStaffDirectory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7010747/

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