Error creating links with RiakPbcTransport

Matt Croydon mcroydon at gmail.com
Thu Oct 28 17:28:17 EDT 2010


Hello,

I ran in to an error with Riak (0.13.0 on OSX 10.6 via homebrew) and
riak-python-client (1.1.1) while linking objects using RiakPbcTransport.  I
see the following error when running the code in
https://gist.github.com/151070717bfe56a3da1a but it works fine when I swap
lines 4 and 5 and use the default HTTP transport:

Traceback (most recent call last):
  File "riak_gist.py", line 31, in <module>
    group_data.store()
  File
"/Library/Python/2.6/site-packages/riak-1.1.1-py2.6.egg/riak/riak_object.py",
line 237, in store
    Result = t.put(self, w, dw, return_body)
  File
"/Library/Python/2.6/site-packages/riak-1.1.1-py2.6.egg/riak/transports/pbc.py",
line 190, in put
    msg_code, resp = self.recv_msg()
  File
"/Library/Python/2.6/site-packages/riak-1.1.1-py2.6.egg/riak/transports/pbc.py",
line 326, in recv_msg
    self.recv_pkt()
  File
"/Library/Python/2.6/site-packages/riak-1.1.1-py2.6.egg/riak/transports/pbc.py",
line 364, in recv_pkt
    format(nmsglen))
riak.RiakError: 'Socket returned short packet length  - expected 4'

Am I doing something wrong?  I'll continue looking at it but was hoping
someone might have seen this before.

Thanks,

--Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20101028/92cef287/attachment.html>


More information about the riak-users mailing list