[Zope-Coders] 2.6 barfage

Anthony Baxter Anthony Baxter <anthony@interlink.com.au>
Wed, 30 Jul 2003 15:19:56 +1000


>>> alan runyan wrote
> plone.org is running Zope2.6.2b4 + ZODB3.1 package.
> 
> I do not see this problem.
> 
> In lib/python/Connection/Connection.py
> 
>     125     def _breakcr(self):
>     126         try: del self._cache
>     127         except: pass
>     128         try: del self._incrgc
>     129         except: pass
>     130         try: del self.cacheGC
>     131         except: pass

The problem is that after _breakcr() is called in the shutdown 
code, the connection.close() method is called for the teardown
of the REQUEST. This tries to call self._incrgc(). I'm going to
check in the shallow fix, it seems to be fine.

Anthony
-- 
Anthony Baxter     <anthony@interlink.com.au>   
It's never too late to have a happy childhood.