delete doe not work

Todd Lumley todd at
Wed Dec 9 21:30:56 EST 2009

Thanks Justin,

that tip is the fix.


-----Original Message-----
From: Justin Sheehy [mailto:justin at]
Sent: December 9, 2009 9:20 PM
To: todd at
Cc: riak-users at; ich at
Subject: Re: delete doe not work

On Wed, Dec 9, 2009 at 5:31 PM, Todd Lumley <todd at>
> I'm also curious if anyone has had success in Deleting bucket key's via
> JIAK.  no luck here.
> is there a fix?

I do it all the time.  An example using the Python client:

>>> client = Jiak('', 8098, 'jiak')
>>> obj ='jiak_example', 'doctestkey', {'foo':2})
>>> client.fetch('jiak_example', 'doctestkey').get('object', {}).get('foo')
>>> client.delete('jiak_example', 'doctestkey')
>>> client.fetch('jiak_example', 'doctestkey').get('object', {}).get('foo')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'NoneType' object has no attribute 'get'

I am less fluent in PHP than in some of the other client languages
available, but from the trace above I think that I have found a bug in
jiak.php and checked in a change.  Please give it another try using a
fresh jiak.php from the current tip.


More information about the riak-users mailing list