Re: Python client issue

2010-11-07 Thread Aleksandar Radulovic
For starters, which versions of Riak and python client are you running? I've tested your code on my mini server, running riak v0.12.0 and noticed no problems: mini:~ home$ time python riak_test.py real0m0.662s user0m0.373s sys 0m0.282s mini:~ home$ time python riak_test.py real

Python client issue

2010-11-06 Thread Jonah Crawford
My calls to riak using the python client are taking upwards of 8-9 seconds to return. Obviously this is some form of error even though the calls still run/work. I've isolated what I think is the problem (creating the client) This code takes 7 seconds to return on an dual core mac - http://cod

Re: Python client issue - hanging on obj.store()

2010-10-23 Thread Jonah Crawford
Disregard. I reinstalled the python client from source and that solved the issue. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Python client issue - hanging on obj.store()

2010-10-23 Thread Jonah Crawford
I'm using the following code in the python interpreter to make a few tests of the python client: >>> import riak >>> client = riak.RiakClient('127.0.0.1', 8098) >>> mybucket = client.bucket('mybucket') >>> obj = mybucket.new('myobject') >>> obj.set_data({ 'foo': 1, 'bar': 2}) >>> obj.store() I