[Zope] Re: Problem Augmented assignment
julian
jules12af at aol.com
Mon Jun 4 04:34:58 EDT 2007
The event.log
----------------------------------------------------------------------------
2007-06-04T10:18:18 ERROR Zope.SiteErrorLog
http://test.home.com/directory/sub_directory/liste_product
Traceback (innermost last):
Module ZPublisher.Publish, line 115, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 41, in call_object
Module Shared.DC.Scripts.Bindings, line 311, in __call__
Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
Module Products.PageTemplates.ZopePageTemplate, line 255, in _exec
Module Products.PageTemplates.PageTemplate, line 104, in pt_render
- <ZopePageTemplate at
/SITES/my_site/directory1/sub_directory1/liste_product>
Module TAL.TALInterpreter, line 238, in __call__
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 749, in do_useMacro
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 457, in do_optTag_tal
Module TAL.TALInterpreter, line 442, in do_optTag
Module TAL.TALInterpreter, line 437, in no_tag
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 780, in do_defineSlot
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 457, in do_optTag_tal
Module TAL.TALInterpreter, line 442, in do_optTag
Module TAL.TALInterpreter, line 437, in no_tag
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 728, in do_defineMacro
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 772, in do_defineSlot
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 728, in do_defineMacro
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 507, in do_setLocal_tal
Module Products.PageTemplates.TALES, line 221, in evaluate
- URL: /SITES/my_site/directory1/sub_directory1/liste_product
- Line 7, Column 6
- Expression: <PythonExpr here.getProduct(type1=type1, type2=type2,
type3=type3, type4=type4, type5=type5, type6=type6
)>
- Names:
{'container': <ATFolder at /SITES/my_site/directory1/sub_directory1>,
'context': <ATFolder at /SITES/my_site/directory1/sub_directory1>,
'default': <Products.PageTemplates.TALES.Default instance at
0xb6fbb66c>,
'here': <ATFolder at /SITES/my_site/directory1/sub_directory1>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at
0xaffdf90c>,
'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
0xb706dd2c>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0xaffdf90c>,
'request': <HTTPRequest,
URL=http://test.home.com/directory/sub_directory/liste_product>,
'root': <Application at >,
'template': <ZopePageTemplate at
/SITES/my_site/directory1/sub_directory1/liste_product>,
'traverse_subpath': [],
'user': <SpecialUser 'Anonymous User'>}
Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
- __traceback_info__: here.getProduct(type1=type1, type2=type2,
type3=type3, type4=type4, type5=type5, type6=type6)
Module Python expression "here.getProduct(type1=type1, type2=type2,
type3=type3, type4=type4, type5=type5, type6=type6)
", line 1, in <expression>
Module Shared.DC.Scripts.Bindings, line 311, in __call__
Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
Module Products.PythonScripts.PythonScript, line 325, in _exec
Module None, line 8, in getProduct
- <PythonScript at /SITES/my_site/directory1/sub_directory1/getProduct>
- Line 8
Module AccessControl.ZopeGuards, line 478, in protected_inplacevar
TypeError: Augmented assignment to And objects is not allowed in
untrusted code
More information about the Zope
mailing list