AttributeError:'TApplicationException'对象没有属性'result'

问题描述 投票:0回答:1

[在本地运行circus-serve并使用circus-script调用服务时遇到此问题。

尝试了不同版本的马戏团并重新安装了相关软件包,但没有任何效果。

Traceback (most recent call last):
  File "src/gevent/greenlet.py", line 766, in gevent._greenlet.Greenlet.run
  File "./.pyenv/versions/3.5.3/envs/carta-web/lib/python3.5/site-packages/gevent/baseserver.py", line 26, in _handle_and_close_when_done
    return handle(*args_tuple)
  File "./.pyenv/versions/3.5.3/envs/carta-web/lib/python3.5/site-packages/circus/thrift/servers/gevent.py", line 68, in handle
    self.processor.process(iprot, oprot)
  File "./.pyenv/versions/3.5.3/envs/carta-web/lib/python3.5/site-packages/circus/thrift/processor.py", line 100, in process
    result = tcall_meta.result
AttributeError: 'TApplicationException' object has no attribute 'result'
python rpc circusd
1个回答
0
投票

问题是因为我为服务和客户端使用了不同的配置。

© www.soinside.com 2019 - 2024. All rights reserved.