More ZEO/ZODB issues

D

drs

I don't seem to be getting any bites on the earlier post ...

so here is my problem in a nutshell. I started a ZEO server on one computer
(\\camus) using

C:\>python C:\Python22\Lib\site-packages\ZEO\start.py -p 9000 C:\db\tmp.fs

that is fine


I went to a third computer and did the same.

from either of the clients, I can manipulate d by doing
d[key] = value but the other client can't see the change. I have also tried using
get_transaction().begin()
d['0'] = 0
get_transaction().commit()
and

but the other client still does not see changes. If, however, the other
client does
get_transaction().begin()
d[key] = value
get_transaction().commit()
it will throw an error, but d will contain the changes from the first
client.

Obviously I am not getting something. The only ZEO examples I can find use
BTrees which is not what I want. So, can someone show me how to use a ZEO
server as a simple dictionary?

Thanks,

-doug
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top