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

2004-02-07 Thread Leonardo Rochael Almeida
On Sat, 2004-02-07 at 22:47, Christian Heimes wrote: > Chris McDonough wrote: > > FWIW, this often happens when "self" isn't ultimately wrapped in a > > RequestContainer (as it always should be when dealing with TTW code or > > code that depends on REQUEST). The string is likely something like

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

2004-02-07 Thread Christian Heimes
Chris McDonough wrote: > FWIW, this often happens when "self" isn't ultimately wrapped in a > RequestContainer (as it always should be when dealing with TTW code or > code that depends on REQUEST). The string is likely something like > "", which is the string that > represents something when it is

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

2004-02-07 Thread Chris McDonough
FWIW, this often happens when "self" isn't ultimately wrapped in a RequestContainer (as it always should be when dealing with TTW code or code that depends on REQUEST). The string is likely something like "", which is the string that represents something when it is declared as "Acquisition.Acquire

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

2004-02-07 Thread Leonardo Rochael Almeida
On Fri, 2004-02-06 at 20:01, Christian Heimes wrote: > Christian Heimes wrote: > [...] > > And the next one: > > Python2.3.3/Zope2.70rc2/Plone2rc5. > > Exception Type > AttributeError > Exception Value > 'str' object has no attribute 'RESPONSE' > > [...] > Module Products.CMFPhoto.Photo, line 5

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

2004-02-07 Thread Dieter Maurer
Christian Heimes wrote at 2004-2-6 23:01 +0100: >And the next one: > >Python2.3.3/Zope2.70rc2/Plone2rc5. > >Exception Type >AttributeError >Exception Value >'str' object has no attribute 'RESPONSE' > >[...] >Module Products.CMFPhoto.Photo, line 510, in clearCache >AttributeError: 'str' object has n

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

2004-02-06 Thread Christian Heimes
Christian Heimes wrote: [...] And the next one: Python2.3.3/Zope2.70rc2/Plone2rc5. Exception Type AttributeError Exception Value 'str' object has no attribute 'RESPONSE' [...] Module Products.CMFPhoto.Photo, line 510, in clearCache AttributeError: 'str' object has no attribute 'RESPONSE' The rele

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

2004-02-05 Thread Christian Heimes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dieter Maurer wrote: ~ > Looks like "RESPONSE" is "None". | | I do not see how this can happen... 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. :( Ti