[Zope-dev] Zope2.7.0rc2 AttributeError: 'NoneType' object has no attribute 'setHeader'

Dieter Maurer dieter at handshake.de
Thu Feb 5 13:51:00 EST 2004


Tony McDonald wrote at 2004-2-5 12:43 +0000:
> ...
>We have an index_html (initially DTML document, then tried method) that 
>can be created (located at /prototype/myporfolio/index_html), have it's 
>security settings changed quite happily. Then when the object is called 
>we get the error in the subject line. The system specs are;
> ...
>and the traceback is;
>
>Traceback (innermost last):
> ...
>   Module Shared.DC.Scripts.Bindings, line 320, in 
>__render_with_namespace__
>   Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
>   Module App.special_dtml, line 175, in _exec
>   Module DocumentTemplate.DT_Util, line 201, in eval
>    - __traceback_info__: RESPONSE
>   Module <string>, line 0, in ?
>AttributeError: 'NoneType' object has no attribute 'setHeader'

Looks like "RESPONSE" is "None".

I do not see how this can happen...

Probably, I would start debugging.

-- 
Dieter



More information about the Zope-Dev mailing list