0

我从一个不同但相同的实例导入一个简单的克隆站点时遇到此错误。

2013-07-04 22:21:50 ERROR Zope.SiteErrorLog 1372969310.110.695521340475 

http://web009.infoporto.it:8080/manage_importObject
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 OFS.ObjectManager, line 620, in manage_importObject
  Module OFS.ObjectManager, line 642, in _importObjectFromFile
  Module OFS.ObjectManager, line 358, in _setObject
  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 OFS.subscribers, line 113, in dispatchObjectMovedEvent
  Module zope.container.contained, line 153, in dispatchToSublocations
  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 OFS.subscribers, line 113, in dispatchObjectMovedEvent
  Module zope.container.contained, line 153, in dispatchToSublocations
  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 OFS.subscribers, line 113, in dispatchObjectMovedEvent
  Module zope.container.contained, line 153, in dispatchToSublocations
  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 Products.CMFCore.CMFCatalogAware, line 262, in handleContentishEvent
  Module Products.CMFCore.CMFCatalogAware, line 188, in notifyWorkflowCreated
  Module Products.CMFCore.WorkflowTool, line 289, in notifyCreated
  Module Products.CMFCore.WorkflowTool, line 635, in _reindexWorkflowVariables
  Module Products.CMFCore.CMFCatalogAware, line 88, in reindexObject
  Module Products.CMFCore.CatalogTool, line 301, in reindexObject
  Module Products.CMFPlone.CatalogTool, line 353, in catalog_object
  Module Products.ZCatalog.ZCatalog, line 476, in catalog_object
  Module Products.ZCatalog.Catalog, line 326, in catalogObject
  Module Products.ZCatalog.Catalog, line 270, in updateMetadata
  Module Products.ZCatalog.Catalog, line 396, in recordify
  Module collective.tourism.archetype.hospitality, line 82, in Description
  Module collective.tourism.archetype.utils, line 10, in Description
  Module Products.ATVocabularyManager.namedvocabulary, line 75, in getVocabularyDict
  Module Products.ATVocabularyManager.namedvocabulary, line 97, in getVocabulary
  Module Products.CMFCore.utils, line 10, in check_getToolByName
  Module Products.CMFCore.utils, line 120, in getToolByName
AttributeError: portal_vocabularies

我不知道从哪里开始寻找错误!目标实例已经托管了 2 个运行 Plone 站点,所以我认为没关系。

谢谢你的帮助!

4

1 回答 1

0

这告诉您 getToolByName() 无法查找位于 Plone 站点中 /portal_vocabularies 的 ATVOCabularyManager 工具。

我会尝试的第一件事是查看 ZMI,在您的 plone 站点的顶层,您可以在其中看到其他工具,例如 portal_catalog 和 portal_actions。如果您在该列表中没有看到 portal_vocabularies,请尝试从 plone_control_panel 卸载并重新安装 ATVOCabularyManager。

于 2013-07-17T02:56:17.750 回答