[Zope] i18nLayer error
thomas desvenain
thomas.desvenain at gmail.com
Thu Mar 9 05:12:30 EST 2006
hello,
i have a question about I18NLayer 0.6.0, this time
i have installed PloneLanguageTool and, then, I18NLayer
when i create a i18nlayer content, and then a translation, i got this error :
Site error
This site encountered an error trying to fulfill your request. The errors were:
Error Type
TypeError
Error Value
'str' object is not callable
Request made at
2006/03/09 10:37:36.972 GMT+1
Traceback (innermost last):
Module ZPublisher.Publish, line 114, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 40, in call_object
Module Shared.DC.Scripts.Bindings, line 311, in __call__
Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 195, in _exec
Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
Module Products.PageTemplates.PageTemplate, line 104, in pt_render
- <FSPageTemplate at /siteTestI18NLayer/document_view used for
/siteTestI18NLayer/tests/i18nlayer.2006-03-09.8519478847/fr>
Module TAL.TALInterpreter, line 206, in __call__
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 711, in do_useMacro
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 742, in do_defineSlot
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 690, in do_defineMacro
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 677, in do_condition
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 711, in do_useMacro
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 711, in do_useMacro
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 677, in do_condition
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 477, in do_setLocal_tal
Module Products.PageTemplates.TALES, line 221, in evaluate
- URL: file:I18NLayer/skins/i18n_layer_plone2/global_languagemenu.pt
- Line 9, Column 6
- Expression: <PythonExpr here.getI18NDefinedLanguages().keys()>
- Names:
{'container': <PloneSite at /siteTestI18NLayer>,
'context': <ATDocument at
/siteTestI18NLayer/tests/i18nlayer.2006-03-09.8519478847/fr>,
'default': <Products.PageTemplates.TALES.Default instance at 0x41099a2c>,
'here': <ATDocument at
/siteTestI18NLayer/tests/i18nlayer.2006-03-09.8519478847/fr>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x437ed54c>,
'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
0x4109fa8c>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0x437ed54c>,
'request': <HTTPRequest,
URL=http://138.102.22.7:9081/siteTestI18NLayer/tests/i18nlayer.2006-03-09.8519478847/fr/document_view>,
'root': <Application at >,
'template': <FSPageTemplate at /siteTestI18NLayer/document_view
used for /siteTestI18NLayer/tests/i18nlayer.2006-03-09.8519478847/fr>,
'traverse_subpath': [],
'user': admin}
Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
- __traceback_info__: here.getI18NDefinedLanguages().keys()
Module Python expression "here.getI18NDefinedLanguages().keys()",
line 1, in <expression>
Module Products.CMFCore.FSPythonScript, line 108, in __call__
Module Shared.DC.Scripts.Bindings, line 311, in __call__
Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
Module Products.CMFCore.FSPythonScript, line 163, in _exec
Module None, line 20, in getI18NDefinedLanguages
- <FSPythonScript at /siteTestI18NLayer/getI18NDefinedLanguages
used for /siteTestI18NLayer/tests/i18nlayer.2006-03-09.8519478847/fr>
- Line 20
TypeError: 'str' object is not callable
More information about the Zope
mailing list