[Zope] _v_container KeyError in CoreSessionTracking 0.9

Chris McDonough chrism@zope.com
Thu, 04 Apr 2002 21:47:36 -0500


Eeek.

Try changing the line in that file that says:

  del self.sdm._v_container

to:

  if hasattr(self.sdm, '_v_container'):
      del self.sdm._v_container

... and then upgrade to Zope 2.5's sessioning stuff as soon as 
possible... hopefully this will get you through.

Itai Tavor wrote:
> Hi,
> 
> I repeatedly get this error:
> 
> 2002-04-05T00:24:31 ERROR(200) ZODB Close callback failed for 
> <Products.CoreSessionTracking.SessionDataManager.ConnectionCloser 
> instance at 0x8e12e4c>
> Traceback (innermost last):
>   File /opt/zope/2.4.4b1/lib/python/ZODB/Connection.py, line 283, in close
>   File 
> /home/zope/Main/Products/CoreSessionTracking/SessionDataManager.py, line 
> 581, in __call__
> KeyError: _v_container
> 
> Anybody knows why? I'm using Zope 2.4.4b1, python 2.1.2, 
> CoreSessionTracking 0.9, with the standard RAM session storage.


-- 
Chris McDonough                    Zope Corporation
http://www.zope.org             http://www.zope.com
"Killing hundreds of birds with thousands of stones"