18 Sep
2001
18 Sep
'01
1:55 p.m.
On Tue, Sep 18, 2001 at 09:51:00AM -0400, Laurent Duchesne wrote:
I got an object 'file' witch contains a DTML Document object. When I try to call it from a pythton script like this : print file() I get the error : Error Type: KeyError Error Value: standard_html_header
Every DTML object requires context and REQUEST, so try something like this: print file(context, context.REQUEST) Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.