[Zope-dev] Re: Zope2.7.0rc2 AttributeError: 'NoneType' object has
no attribute 'setHeader'
Christian Heimes
heimes at faho.rwth-aachen.de
Thu Feb 5 21:46:54 EST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dieter Maurer wrote:
~ > Looks like "RESPONSE" is "None".
|
| I do not see how this can happen...
<aol /> but a CMFPhoto user reported a bug like this to me today.
According to his traceback self.REQUEST had now attribute RESPONSE.
That's really strange. :(
Time 2004/02/05 07:16:58.953 US/Pacific
User Name (User Id) admin (admin)
Request URL
http://www.stewardville.com/photos/createObject
Exception Type AttributeError
Exception Value RESPONSE
Traceback (innermost last):
Module ZPublisher.Publish, line 98, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 39, in call_object
Module
Products.CMFFormController.FSControllerPythonScript,
line 87, in __call__
Module Products.CMFFormController.Script, line 127, in
__call__
Module Products.CMFCore.FSPythonScript, line 104, in
__call__
Module Shared.DC.Scripts.Bindings, line 306, in
__call__
Module Shared.DC.Scripts.Bindings, line 343, in
_bindAndExec
Module Products.CMFCore.FSPythonScript, line 160, in
_exec
Module None, line 16, in createObject
<FSControllerPythonScript at
/stewardville/createObject used for
/stewardville/photos>
Line 16
Module Products.CMFPlone.PloneFolder, line 373, in
invokeFactory
Module Products.CMFCore.TypesTool, line 709, in
constructContent
Module Products.CMFCore.TypesTool, line 398, in
constructInstance
Module Products.CMFPhoto.Photo, line 110, in addPhoto
Module Products.CMFPhoto.Photo, line 174, in __init__
Module Products.CMFDefault.Image, line 147, in
__init__
Module OFS.Image, line 124, in __init__
Module Products.CMFPhoto.Photo, line 400, in
update_data
Module Products.CMFPhoto.Photo, line 510, in
clearCache
AttributeError: RESPONSE
Used versions: Zope 2.6.4, Python 2.1.3, CMF
1.4.2, PIL 1.1.4, Plone 2.0-RC3.
Christian / Tiran
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQFAIwAe9aLWrfOU0PgRAsKmAJ9tJiInLW1lCV1X7f8giidCoydKOgCfUP8e
ECBEAOJwkDuuTfBJx/xfsSM=
=4jZP
-----END PGP SIGNATURE-----
More information about the Zope-Dev
mailing list