Hello,

I'm trying to use the TestServer utility bundled with the Python client.
Here is what I'm doing:

-----8<-----

import riak.test_server
import riak
server = riak.test_server.TestServer(bin_dir="/usr/sbin/")
server.prepare()
server.start()
client = riak.RiakClient(
    "localhost", 9000, transport_class=riak.RiakHttpTransport
)
test = client.bucket("test").new("test_key", {"test_object": "a value"})
test.store()

----->8-----

But Riak just crashes, and I'm quite clueless about the output:

http://pastie.org/pastes/5518654/text

I'm using a fresh install of Riak 1.2.1 on Ubuntu 10.04 (using the
official package from Basho), and the git version of riak-python-client
in a clean virtualenv. But I had similar outcomes with Riak 1.1.1 and
riak-python-client 1.5.1 (with this fix:
https://github.com/basho/riak-python-client/commit/ef83401c5b2289cacd2bfe0e6a2a342891b40d8b).

Any hint will be appreciated!

Best regards

-- 
Louis Opter

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to