ZMI中的portal_types工具中的别名选项卡

时间:2012-05-21 12:33:53

标签: plone zope dexterity

当我注意到ZMI中portal_types工具中的别名选项卡时,我试图调试与我的网站无关的问题。如果我尝试在使用灵巧的Plone 4.1.5网站中访问它,我没有得到回应。记录以下错误:

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 Shared.DC.Scripts.Bindings, line 322, in __call__
 Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
 Module Products.PageTemplates.PageTemplateFile, line 130, in _exec
 Module Products.PageTemplates.PageTemplate, line 79, in pt_render
 Module zope.pagetemplate.pagetemplate, line 126, in pt_render
  - Warning: Compilation failed
  - Warning: exceptions.SyntaxError: invalid syntax (4c47ca874ec06dbf9207ed3a51ff9bb29425ee06.py, line 4)
PTRuntimeError: ['Compilation failed', 'exceptions.SyntaxError: invalid syntax (4c47ca874ec06dbf9207ed3a51ff9bb29425ee06.py, line 4)']

它正在为我照看的另一个Plone 3.3.6网站工作。

Plone 4.1中是否仍支持此视图?

1 个答案:

答案 0 :(得分:1)

正如vangeem所说,这是一个变色龙问题

https://github.com/malthe/chameleon/issues/114