incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Eliott <ben.apperr...@googlemail.com>
Subject Re: newbie trying to work lazyboy lib
Date Fri, 18 Sep 2009 14:24:24 GMT
Hi,
Thank-you for your email. I am getting some advice on the IRC to help  
out with this. Same advice - change version reinstall. Trying now. NOt  
going too well, will stick at it a while longer before coming back.
Ben

On 18 Sep 2009, at 15:00, Curt Micol wrote:

> On Fri, Sep 18, 2009 at 8:07 AM, Ben Eliott
> <ben.apperrors@googlemail.com> wrote:
>> Hi,
>> I'm still in the WTF stage of cassandra, trying out the lazyboy  
>> python lib.
>> I'm getting back this error when i try and run the record.py example
>>
>>>>> from test1 import record
>> {'column_family': 'Users', 'keyspace': 'UserData', 'super_column':  
>> None,
>> 'key': 'd074db72b7a045978e8f0ba048907767'}
>> User: {'username': 'ieure', 'email': 'ian@digg.com'}
>> True
>> Traceback (most recent call last):
>>  File "<stdin>", line 1, in <module>
>>  File "/Users/beneliott/Projects/TornadoSites/test/test1/ 
>> record.py", line
>> 77, in <module>
>>    u.save()           # -> {'username': 'ieure', 'email': 'ian@digg.com 
>> '}
>>  File
>> "/Users/beneliott/Code/py-packages/tornado-dev/lib/python2.5/site- 
>> packages/lazyboy/record.py",
>> line 164, in save
>>    client.batch_insert(*self._get_batch_args(self.key, changed))
>>  File
>> "/Users/beneliott/Code/py-packages/tornado-dev/lib/python2.5/site- 
>> packages/lazyboy/connection.py",
>> line 106, in func
>>    raise ErrorThriftMessage(message)
>> lazyboy.exceptions.ErrorThriftMessage: Invalid method name:  
>> 'batch_insert'
>
> I've seen this issue a couple times now on IRC, and I believe that you
> are using 0.3 when you should be using Cassandra 0.4.  Make sure you
> regen your thrift bindings also.
>
> -- 
> # Curt Micol


Mime
View raw message