[Zope3-Users] database ConflictError with SessionData objects

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


Hi,

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
/SomeURL/AllTasksTableView.html
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
    txn.commit()
  File "C:\Python24\Lib\site-packages\transaction\_transaction.py",
line 395, in commit
    self._commitResources()
  File "C:\Python24\Lib\site-packages\transaction\_transaction.py",
line 495, in _commitResources
    rm.commit(self)
  File "C:\Python24\Lib\site-packages\ZODB\Connection.py", line 498, in commit
    self._commit(transaction)
  File "C:\Python24\Lib\site-packages\ZODB\Connection.py", line 535, in _commit
    raise ConflictError(object=obj)
ConflictError: database conflict error (oid 0xa078, class
zope.app.session.session.SessionData)


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,
-Shailesh


More information about the Zope3-users mailing list