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

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