Python scripts raise attributeerror after customization
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Low
|
Unassigned |
Bug Description
This is on Plone 3.2.1. When customizing a python script (and not editing it after pressing customize), I get a following traceback
Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Shared.
Module Shared.
Module Products.
Module Products.
Module Products.
Module zope.pagetempla
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tal.
Module zope.tales.tales, line 696, in evaluate
- URL: /plone/
- Line 15, Column 1
- Expression: <PathExpr standard:
- Names:
{'container': <PloneSite at /plone>,
'context': <NetaxeptSetup at /plone/gaver>,
'default': <object object at 0xb7cfb528>,
'here': <NetaxeptSetup at /plone/gaver>,
'loop': {},
'nothing': None,
'options': {'args': ()},
'repeat': <Products.
'request': <HTTPRequest, URL=http://
'root': <Application at >,
'template': <ZopePageTemplate at /plone/
'user': <SpecialUser 'Anonymous User'>}
Module zope.tales.
Module Products.
Module Products.
Module Products.
Module Shared.
Module Shared.
Module Products.
AttributeError: _v_ft
Changed in zope2: | |
importance: | Undecided → Low |
status: | New → Confirmed |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
morphex wrote: DC.Scripts. Bindings, line 313, in __call__ DC.Scripts. Bindings, line 350, in _bindAndExec PageTemplates. ZopePageTemplat e, line 330, in _exec PageTemplates. ZopePageTemplat e, line 427, in pt_render PageTemplates. PageTemplate, line 89, in pt_render te.pagetemplate , line 117, in pt_render talinterpreter, line 271, in __call__ talinterpreter, line 346, in interpret talinterpreter, line 891, in do_useMacro talinterpreter, line 346, in interpret talinterpreter, line 536, in do_optTag_tal talinterpreter, line 521, in do_optTag talinterpreter, line 516, in no_tag talinterpreter, line 346, in interpret talinterpreter, line 957, in do_defineSlot talinterpreter, line 346, in interpret talinterpreter, line 536, in do_optTag_tal talinterpreter, line 521, in do_optTag talinterpreter, line 516, in no_tag talinterpreter, line 346, in interpret talinterpreter, line 861, in do_defineMacro talinterpreter, line 346, in interpret talinterpreter, line 957, in do_defineSlot talinterpreter, line 346, in interpret talinterpreter, line 536, in do_optTag_tal talinterpreter, line 521, in do_optTag talinterpreter, line 516, in no_tag talinterpreter, line 346, in interpret talinterpreter, line 534, in do_optTag_tal talinterpreter, line 516, in no_tag talinterpreter, line 346, in interpret talinterpreter, line 949, in do_defineSlot talinterpreter, line 346, in interpret talinterpreter, line 855, in do_condition talinterpreter, line 346, in interpret talinterpreter, line 536, in do_optTag_tal talinterpreter, line 521, in do_optTag talinterpreter, line 516, in no_tag talinterpreter, line 346, in interpret talinterpreter, line 586, in do_setLocal_tal netaxept_ fulfill_ transaction u'here/ netaxept_ confirmation' >
> Public bug reported:
>
> This is on Plone 3.2.1. When customizing a python script (and not
> editing it after pressing customize), I get a following traceback
>
> Traceback (innermost last):
> Module ZPublisher.Publish, line 119, in publish
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 42, in call_object
> Module Shared.
> Module Shared.
> Module Products.
> Module Products.
> Module Products.
> Module zope.pagetempla
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tal.
> Module zope.tales.tales, line 696, in evaluate
> - URL: /plone/
> - Line 15, Column 1
> - Expression: <PathExpr standard:
> - Names:
> {'container': <PloneSite at /plone>,
> 'context': <NetaxeptSetup at /plone/gaver>,
> 'default': <object object ...