thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dvir Volk <dvir...@gmail.com>
Subject Re: Thrift Call from Python fails
Date Thu, 02 Dec 2010 20:29:03 GMT
are you getting this on the client or server?
this is the exception you should get if you are not sending or returning a
thrift object when you should send one.

On Thu, Dec 2, 2010 at 11:59 AM, Abhishek Kona <abhishekk@flipkart.com>wrote:

> Hi
>
> I am trying to make a thrift call, using Python I always get this error
> message:
>
>  self._oprot.writeMessageBegin('record', TMessageType.CALL, self._seqid)
> AttributeError: 'str' object has no attribute 'writeMessageBegin'
>
> I am sending a binary parameter in the thrift call.
> Is this an issue with thrift  0.2 (the version I am using).
>
> -Abhishek Kona
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message