[Zope-DB] ZODB/ZEO question.
Willadsens
aagg at comcast.net
Mon Mar 28 10:16:25 EST 2005
Traceback (most recent call last):
File "DBClient_test.py", line 35, in ?
dcdb.commit()
File "/home/gloria/Restaurant_project/db_work/ZODB_access.py", line
164, in commit
get_transaction().commit()
File "/usr/local/lib/python2.4/site-
packages/transaction/_transaction.py", line 293, in commit
self._commitResources(subtransaction)
File "/usr/local/lib/python2.4/site-
packages/transaction/_transaction.py", line 334, in _commitResources
rm.commit(self)
File "/usr/local/lib/python2.4/site-packages/ZODB/Connection.py", line
610, in commit
raise ConflictError(object=obj)
ZODB.POSException.ConflictError: database conflict error (oid 0x00,
class persistent.mapping.PersistentMapping)
This is the trace to (1), the instance when I connect another client, and the original client disconnects and spews forth this error.
I have to admit, I have hacked the latest ZODB pyds to work with Python 2.4, without a proper recompile. I see now that there is an actual set of pyds compiled with python2.4 So I will try these and see what I get.
Thank you,
Gloria
> Willadsens wrote:
>
>> 1) For single-server multi-client ZODB using ZEO, is one server
>> process per client required? I have an XP and a Fedora ZEO client.
>> When one connects to the server, the other gets kicked off, no matter
>> which one is currently connected.
>
>
> Show us yout evidence that this is happening ;-)
> A single storage server can be connected to from multiple clients
> happilly...
>
>> 2) I occasionally notice an exception which breaks the connection on
>> the client side. I will monitor it more closely and send the
>> exception and stack trace to this list. But is this a known problem?
>
>
> Maybe if you actually told us what the exception was and gave us a
> trace back we'd have a clue ;-)
>
> Chris
>
More information about the Zope-DB
mailing list