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

2004-04-20 Thread Chris Bruce
Did this ever get resolved? I had similiar problem with a custom Product extending Folder. Noticed when I commented the following lines of code, the error went away: #security.setDefaultAccess("deny") #__roles__ = () -- Thanks for

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

2004-03-23 Thread Christophe Tronche
Hello all. Has this problem been solved ? I'm stuck in the very same problem after having switched from python 2.6.2 to 2.6.4, both using the same python2.2.3. Pure Zope, no Product other than my own (where not a single line of code has been modified) and no funny name like Tony's SYS or

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

2004-02-09 Thread Lennart Regebro
From: Dieter Maurer [EMAIL PROTECTED] Maybe, we have a memory corruption. I have seen objects magically becoming None in Python versions with memory corruption problems (Python 2.1.1). Also, loads of objects can become None when you do a refresh, because of some strange bug in the refresh

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

2004-02-09 Thread Paul Winkler
On Mon, Feb 09, 2004 at 11:04:21AM +0100, Lennart Regebro wrote: From: Dieter Maurer [EMAIL PROTECTED] Maybe, we have a memory corruption. I have seen objects magically becoming None in Python versions with memory corruption problems (Python 2.1.1). Also, loads of objects can become None

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

2004-02-09 Thread Tony McDonald
Thanks again for the reply Dieter, On 6 Feb 2004, at 21:14, Dieter Maurer wrote: REQUEST.RESPONSE is set up in ZServer.HTTPServer.zhttp_handler.continue_request. It should be impossible that is is None. Agreed. Maybe, we have a memory corruption. I have seen objects magically becoming None in

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

2004-02-09 Thread Dieter Maurer
Lennart Regebro wrote at 2004-2-9 11:04 +0100: From: Dieter Maurer [EMAIL PROTECTED] ... objects turned into None ... Also, loads of objects can become None when you do a refresh, because of some strange bug in the refresh support that has been there since it got integrated into the core and

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

2004-02-09 Thread Shane Hathaway
On Mon, 9 Feb 2004, Lennart Regebro wrote: From: Dieter Maurer [EMAIL PROTECTED] Maybe, we have a memory corruption. I have seen objects magically becoming None in Python versions with memory corruption problems (Python 2.1.1). Also, loads of objects can become None when you do a

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

2004-02-06 Thread Dieter Maurer
Tony McDonald wrote at 2004-2-5 19:29 +: ... Looks like RESPONSE is None. I do not see how this can happen... Exactly! - this is why I said I'd never seen this before. It's a 2.6.1 Data.fs that's been dropped into a stock 2.7.0rc2 release and I get this error. Whether or not RESPONSE

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

2004-02-05 Thread Tony McDonald
Hi all, We're in the process of migrating our sites to 2.7, so to get the guys up to speed we picked a site at random today. Did the /usr/local/zope/bin/mkzopeinstance.py jig (works very well), copied the Data.fs, some external methods, a Zwiki product and were good to go. This is from a

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

2004-02-05 Thread Dieter Maurer
Tony McDonald wrote at 2004-2-5 12:43 +: ... 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

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

2004-02-05 Thread Tony McDonald
Thanks for the response Dieter, On 5 Feb 2004, at 18:51, Dieter Maurer wrote: Tony McDonald wrote at 2004-2-5 12:43 +: ... 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