美文网首页
thriftpy2客户端报thriftpy2.thrift.TA

thriftpy2客户端报thriftpy2.thrift.TA

作者: Ivanlfli | 来源:发表于2019-03-19 15:15 被阅读0次

    报错:

     # no throws & not void api
            if hasattr(result, "success"):
    >           raise TApplicationException(TApplicationException.MISSING_RESULT)
    E           thriftpy2.thrift.TApplicationException: Missing result
    

    原因:
    见官方github上的<#31 (comment)>:
    原因一般是客户端和服务端的IDL文件不一致

    相关文章

      网友评论

          本文标题:thriftpy2客户端报thriftpy2.thrift.TA

          本文链接:https://www.haomeiwen.com/subject/anogmqtx.html