[Zope] Session data manager error

Kevin Carlson khcarlso@bellsouth.net
Tue, 29 Oct 2002 08:49:44 -0500


I am getting an intermittent error from the session_data_manager object that
gives me the following information:

    Error Type: KeyError
    Error Value: duplicate key 24438444A0h9Emyt1QA

The traceback is below.  I have a Python Script named
standard_security_header that is checking session data upon entry into
certain pages.  The line in that script that is referenced in the traceback
is:

    session = request.SESSION

Any idea as to why this duplicate key error is happening?

Thanks,

Kevin


---------- Begin Traceback ------------------
Traceback (innermost last):
  File /zope/lib/python/ZPublisher/Publish.py, line 150, in publish_module
  File /zope/lib/python/ZPublisher/Publish.py, line 114, in publish
  File /zope/lib/python/Zope/__init__.py, line 159, in
zpublisher_exception_hook
    (Object: index_html)
  File /zope/lib/python/ZPublisher/Publish.py, line 98, in publish
  File /usr/local/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/mapply.py,
line 88, in mapply
    (Object: userServiceStatus)
  File /zope/lib/python/ZPublisher/Publish.py, line 39, in call_object
    (Object: userServiceStatus)
  File /usr/local/Zope-2.5.0-linux2-x86/lib/python/OFS/DTMLMethod.py, line
127, in __call__
    (Object: userServiceStatus)
  File
/usr/local/Zope-2.5.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 473, in __call__
    (Object: userServiceStatus)
  File
/usr/local/Zope-2.5.0-linux2-x86/lib/python/Shared/DC/Scripts/Bindings.py,
line 266, in __render_with_namespace__
    (Object: standard_security_header)
  File
/usr/local/Zope-2.5.0-linux2-x86/lib/python/Shared/DC/Scripts/Bindings.py,
line 283, in _bindAndExec
    (Object: standard_security_header)
  File /zope/lib/python/Products/PythonScripts/PythonScript.py, line 302, in
_exec
    (Object: standard_security_header)
    (Info: ({'script': <PythonScript instance at 91ad318>, 'context':
<DTMLMethod instance at 9099fb8>, 'container': <SkinnedFolder
instance at 8e76f88>, 'traverse_subpath': []}, (), {}, None))
  File Script (Python), line 3, in standard_security_header
  File
/usr/local/Zope-2.5.0-linux2-x86/lib/python/AccessControl/ZopeGuards.py,
line 47, in guarded_getattr
  File /zope/lib/python/ZPublisher/HTTPRequest.py, line 851, in __getattr__
  File /zope/lib/python/ZPublisher/HTTPRequest.py, line 837, in get
  File /zope/lib/python/Products/Sessions/SessionDataManager.py, line 92, in
getSessionData
    (Object: session_data_manager)
  File /zope/lib/python/Products/Sessions/SessionDataManager.py, line 175,
in _getSessionDataObject
    (Object: session_data_manager)
  File
/usr/local/Zope-2.5.0-linux2-x86/lib/python/Products/Transience/Transience.p
y, line 133, in new_or_existing
    (Object: session_data)
  File
/usr/local/Zope-2.5.0-linux2-x86/lib/python/Products/Transience/Transience.p
y, line 159, in new
    (Object: session_data)
KeyError: (see above)