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

2024-06-10 23:09:22 发布

您现在位置:Python中文网/ 问答频道 /正文

我在本地运行circus-serve并使用circus-script调用服务时遇到了这个问题

尝试了circus的不同版本,并重新安装了依赖的软件包,但没有任何效果

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'

Tags: inpywebpyenvlibpackageslinesite