[Zope3-Users] database ConflictError with SessionData objects

Shailesh Kumar shaileshk at gmail.com
Thu May 17 09:26:55 EDT 2007


I am using PersistentSessionDataContainer (registered as a site
specific utility), and at times I get this error:

2007-05-17T18:50:00 WARNING ZopePublication Competing writes/reads at
Traceback (most recent call last):
  File "C:\Python24\Lib\site-packages\zope\publisher\publish.py", line
138, in publish
    publication.afterCall(request, obj)
  File "C:\Python24\Lib\site-packages\zope\app\publication\browser.py",
line 78, in afterCall
    super(BrowserPublication, self).afterCall(request, ob)
  File "C:\Python24\Lib\site-packages\zope\app\publication\zopepublication.py",
line 167, in afterCall
  File "C:\Python24\Lib\site-packages\transaction\_transaction.py",
line 395, in commit
  File "C:\Python24\Lib\site-packages\transaction\_transaction.py",
line 495, in _commitResources
  File "C:\Python24\Lib\site-packages\ZODB\Connection.py", line 498, in commit
  File "C:\Python24\Lib\site-packages\ZODB\Connection.py", line 535, in _commit
    raise ConflictError(object=obj)
ConflictError: database conflict error (oid 0xa078, class

This is happening for a number of different pages.

I am not able to figure out why this problem is happening. Has anybody
else had a similar experience?

Will using a non-persistent session data container solve this problem?

With regards,

More information about the Zope3-users mailing list