[ZCM] [ZC] 1318/ 2 Comment "KeyError: Transience, sessions, get"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Fri May 7 13:01:06 EDT 2004


Issue #1318 Update (Comment) "KeyError: Transience, sessions, get"
 Status Pending, Zope/bug critical
To followup, visit:
  http://collector.zope.org/Zope/1318

==============================================================
= Comment - Entry #2 by ajung on May 7, 2004 1:00 pm

Chris McDonough rewrote the Transience implementation...maybe this solves your problem. I think the new implementation is on the CVS HEAD.
________________________________________
= Request - Entry #1 by pgumy on May 7, 2004 3:08 am


Uploaded:  "KeyError_1083879860.txt"
 - http://collector.zope.org/Zope/1318/KeyError_1083879860.txt/view
 Error description:
 *******************

 - appends for anonymous and logged users
 - time independant (after 1 minute or 3 hours)
 - frequence: possible 10 times in 5 minutes...
 - necessary to close the browser, re-open it and reload the page to continue to surf
 - impossible to work on Content management system in this condition
 - impossible to surf normaly for an anonymous user

 KeyError traceback:
 *******************

 Traceback (innermost last):
   Module ZPublisher.Publish, line 98, in publish
   Module ZPublisher.mapply, line 88, in mapply
   Module ZPublisher.Publish, line 39, in call_object
   Module Products.CMFCore.FSPythonScript, line 92, in __call__
   Module Shared.DC.Scripts.Bindings, line 252, in __call__
   Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
   Module Products.CMFCore.FSPythonScript, line 126, in _exec
    - __traceback_info__: ({'script': <FSPythonScript at /pronaos/logout>, 'context': <PloneSite instance at 1b2b59c0>, 'container': <PloneSite instance at 1b2b59c0>, 'traverse_subpath': []}, (), {}, None)
   Module Script (Python), line 5, in logout
   Module ZPublisher.HTTPRequest, line 1192, in __getattr__
   Module ZPublisher.HTTPRequest, line 1152, in get
   Module Products.Sessions.SessionDataManager, line 93, in getSessionData
   Module Products.Sessions.SessionDataManager, line 180, in _getSessionDataObject
   Module Products.Transience.Transience, line 175, in new_or_existing
   Module Products.Transience.Transience, line 807, in get
 KeyError: 1083879860

 Tested configurations for /temp_folder/session_data :
 *****************************************************

 1. timeout value in minutes : 0 (= infinite)
    max. number of subobjects: 0 (= infinite)

 2. timeout value in minutes : 20
    max. number of subobjects: 50'000

 3. timeout value in minutes : 20
    max. number of subobjects: 1000

 Questions:
 **********

 - is this a known problem?
 - is there a known way to solve it?
 - is it a server config or a Zope or a CMF problem?


 Thanks very much for an answer. PG
==============================================================




More information about the Zope-Collector-Monitor mailing list