incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Evans <eev...@rackspace.com>
Subject Re: exception with python client
Date Wed, 10 Mar 2010 15:42:35 GMT
On Wed, 2010-03-10 at 14:33 +0000, Matteo Caprari wrote:
> I get an exception, but it's a shy one and can't figure out what is
> that I'm doing wrong.
> 
> Thanks.
> 
> Traceback (most recent call last):
>   File "test-migrate.py", line 23, in <module>
>     client.batch_mutate('KS', m, ConsistencyLevel.ONE)
>   File
> "/Users/dikappa/Documents/workspace/likelike/python/cassandra/Cassandra.py",
> line 771, in batch_mutate
>     self.recv_batch_mutate()
>   File
> "/Users/dikappa/Documents/workspace/likelike/python/cassandra/Cassandra.py",
> line 784, in recv_batch_mutate
>     (fname, mtype, rseqid) = self._iprot.readMessageBegin()
>   File
> "build/bdist.macosx-10.6-i386/egg/thrift/protocol/TBinaryProtocol.py",
> line 126, in readMessageBegin
>   File
> "build/bdist.macosx-10.6-i386/egg/thrift/protocol/TBinaryProtocol.py",
> line 203, in readI32
>   File
> "build/bdist.macosx-10.6-i386/egg/thrift/transport/TTransport.py",
> line 58, in readAll
>   File
> "build/bdist.macosx-10.6-i386/egg/thrift/transport/TTransport.py",
> line 155, in read
>   File "build/bdist.macosx-10.6-i386/egg/thrift/transport/TSocket.py",
> line 94, in read
> thrift.transport.TTransport.TTransportException: None 

I believe this simply means that the read didn't return a response.
Start by checking the cassandra logs to see if there are any exceptions,
and double check your connection parameters, network setup, etc.

-- 
Eric Evans
eevans@rackspace.com


Mime
View raw message