【发布时间】:2014-09-23 00:12:42
【问题描述】:
我在我们的 Plone 4.3.2 实例上遇到了这个错误:
站点设置 > 敏捷内容类型 >(选择类型)> 字段选项卡 > 编辑 XML 模型
这是完整的错误:
We’re sorry, but there seems to be an error…
Here is the full error message:
Display traceback as text
Traceback (innermost last):
Module ZPublisher.Publish, line 70, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module Products.Five.browser.metaconfigure, line 479, in __call__
Module Products.Five.browser.pagetemplatefile, line 125, in __call__
Module Products.Five.browser.pagetemplatefile, line 59, in __call__
Module zope.pagetemplate.pagetemplate, line 126, in pt_render
Warning: Compilation failed
Warning: exceptions.KeyError: u'Undefined namespace prefix: i18.'
PTRuntimeError: ['Compilation failed', "exceptions.KeyError: u'Undefined namespace prefix: i18.'"]
我无法在网上找到有关此错误的有用信息,但@eleddy 提到这是一个常见的 Plone 问题,我需要做的就是升级一些东西来修复它。有谁知道“某事某事”是什么?谢谢!
如果有用,下面是我们 Plone 实例上当前安装的内容:
- 克隆 4.3.2 (4307)
- CMF 2.2.7
- Zope 2.13.21
- Python 2.7.5(默认,2014 年 3 月 9 日,22:15:05)[GCC 4.2.1 兼容 Apple LLVM 5.0 (clang-500.0.68)]
- PIL 1.7.8(枕头)
还有附加组件...
- 内容 portlet 1.8.1
- ContentWellPortlets 4.2.1
- 灵巧内容类型 2.0.9
- 重氮主题支持 1.1.1
- 下拉菜单 2.3.1
- FacultyStaffDirectory 3.1.3
- HTTP 缓存支持 1.1.6
- Membrane:基于内容的用户和组 2.1.11
- 克隆经典主题1.3.2
- Plone JQuery 集成 1.7.2
- Plone JQuery 工具集成 1.5.6
- 克隆关键字管理器 2.1
- Plone 快速上传 1.6.5
- PloneFormGen 1.7.15
- 关系 0.9b1
- Twitter portlet 0.10
- jQuery UI 1.10.1.2
- plone.app.collection 1.0.11
【问题讨论】: