[Zope] Session object duplicate key

peter sabaini sabaini@inode.at
Tue, 01 Oct 2002 14:54:19 +0200


fwiw, i also had this exception but havent been able to reproduce it


Garikoitz Araolaza wrote:
> Hi!
> 
> I'm using the session manager for a simple home built e-commerce system 
> with some code borrowed from the Zope examples.
> 
> I don't know where to start searching for... specially because I am not 
> able to determine which parameters/states produce this error.
> 
> I understand that maybe my old session key is still alive in the server. 
> I could clean it up, but it isn't a good solution for regular users.  ;-)
> 
> Any hint would be appreciated.
> 
> Thanks a lot, once again!
> 
> Gari
> 
> Here is the traceback:
> 
> ...
>   File Script (Python), line 1, in itemNumber
>   File /home/csmant/zope/2.5.1/lib/python/AccessControl/ZopeGuards.py, 
> line 47, in guarded_getattr
>   File /home/csmant/zope/2.5.1/lib/python/ZPublisher/HTTPRequest.py, 
> line 851, in __getattr__
>   File /home/csmant/zope/2.5.1/lib/python/ZPublisher/HTTPRequest.py, 
> line 837, in get
>   File 
> /home/csmant/zope/2.5.1/lib/python/Products/Sessions/SessionDataManager.py, 
> line 92, in getSessionData
>     (Object: session_data_manager)
>   File 
> /home/csmant/zope/2.5.1/lib/python/Products/Sessions/SessionDataManager.py, 
> line 175, in _getSessionDataObject
>     (Object: session_data_manager)
>   File 
> /home/csmant/zope/2.5.1/lib/python/Products/Transience/Transience.py, 
> line 133, in new_or_existing
>     (Object: session_data)
>   File 
> /home/csmant/zope/2.5.1/lib/python/Products/Transience/Transience.py, 
> line 159, in new
>     (Object: session_data)
> KeyError: duplicate key 55677973A0ffDLw6-UQ
> 
> 
> _________________________________________
> Garikoitz Araolaza
> gari@eibar.org
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
> 
>