'NoneType' object has no attribute 'setHeader'
Hello, I am revisiting a product based on the tutorial in the Zope bible and am having some issues installing it on Zope 2.7. It was working in Zope 2.5. Any suggestions of where to start looking to solve the following issue? Traceback (innermost last): Module ZPublisher.Publish, line 100, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 40, in call_object Module Shared.DC.Scripts.Bindings, line 306, in __call__ Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec Module App.special_dtml, line 175, in _exec 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' Thanks in advance, Chris
Christopher Rivard wrote at 2004-11-16 08:57 -0700:
... - __traceback_info__: RESPONSE Module <string>, line 0, in ? AttributeError: 'NoneType' object has no attribute 'setHeader'
Apparently, your "RESPONSE" object is None. This should not happen. The problem has been reported for some early Zope 2.7 versions. But, for a long time, I have no longer seen similar reports. I am unaware that we had understood the problem... -- Dieter
Without your DTML code we cannot help. Florent In article <419A235F.2050400@chrisrivard.com> you write:
Hello,
I am revisiting a product based on the tutorial in the Zope bible and am having some issues installing it on Zope 2.7. It was working in Zope 2.5. Any suggestions of where to start looking to solve the following issue?
Traceback (innermost last): Module ZPublisher.Publish, line 100, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 40, in call_object Module Shared.DC.Scripts.Bindings, line 306, in __call__ Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec Module App.special_dtml, line 175, in _exec 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'
Thanks in advance, Chris
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 59 http://nuxeo.com fg@nuxeo.com
participants (3)
-
Christopher Rivard -
Dieter Maurer -
Florent Guillaume