Re: external python script populating items

Clemens Klein-Robbenhaar <crobbenhaar-S0/[email protected]> Mon, 23 May 2005 22:30:08 +0200
Newsgroups gmane.comp.web.zope.formulator.devel
Message-ID <[email protected]>
Hi Somhorst,


[snip big traceback]
>   Module Python expression "helpers.get_ept_content(request.node,
> here.service_editorsupport)", line 1, in <expression>
>   Module Products.SilvaCLASS.helpers, line 83, in get_ept_content
>   Module Products.SilvaCLASS.helpers, line 107, in load_content
>   Module Products.Formulator.Field, line 551, in __getitem__
>   Module Products.Formulator.Field, line 111, in get_value
> AttributeError: REQUEST

Yow, the field cannot acquire the "REQUEST" which it usually can, due
to some acquisitoion macig of Zope.

  My guess it that You have stripped the acquisition wrapers from
the files (or maybe the corresponding form) via "aq_base" somewhere
in the "helpers.py" in the "SilvaCLASS" product.

Just dont do it  if You can avoid it .

Cheers,
Clemens