Hi,
I have been trying out the simple examples for Durus and I run into
the following problem.
in Window 1:
run a durus server with: durus -s
in Window 2:
run a client with: durus -c
make an assignment and commit:
root['a']=range(5)
connection.commit()
in Window 3:
run a client with: durus -c
root['a'] correctly gives: [0, 1, 2, 3, 4]
but when I make a new assignment here and commit it is not accessible
in window 2:
root['b']=range(10)
connection.commit()
in Window 2:
>>> root['b']
Traceback (most recent call last):
File "", line 1, in ?
File "build/bdist.darwin-8.6.0-Power_Macintosh/egg/durus/
persistent_dict.py", line 29, in __getitem__
KeyError: 'b'
In the end Window 1 looks like this:
Storage file=/tmp/tmp8iUmfn.durus address=('127.0.0.1', 2972)
Ready with 0 objects
Committed 1 objects 93 bytes at 2006-06-19 13:40:42.281892
Committed 1 objects 112 bytes at 2006-06-19 13:41:00.577896
Committed 1 objects 132 bytes at 2006-06-19 13:41:44.900882
I use the latest version of Durus and I get the same thing in both
Tiger and SUSE. Could you please help me. Thanks.
Iordan Hristov
University of Calgary