You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Aki Sukegawa (JIRA)" <ji...@apache.org> on 2016/03/13 01:19:33 UTC

[jira] [Resolved] (THRIFT-3683) BadYieldError in thrift py:tornado server

     [ https://issues.apache.org/jira/browse/THRIFT-3683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aki Sukegawa resolved THRIFT-3683.
----------------------------------
    Resolution: Works for Me
      Assignee: Aki Sukegawa

> BadYieldError in thrift py:tornado server
> -----------------------------------------
>
>                 Key: THRIFT-3683
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3683
>             Project: Thrift
>          Issue Type: Bug
>          Components: Python - Library
>    Affects Versions: 0.9.3
>            Reporter: Ravi Shankar Thangavel
>            Assignee: Aki Sukegawa
>
> Happens with a tornado server and a regular python client. The call completes successfully on the client side but throws this exception on the server side
> Traceback (most recent call last):
>   File "/Users/ravithangavel/workspace/fastTrackService/src/hack.py", line 177, in handle_stream
>     yield self._processor.process(iprot, oprot)
>   File "/Users/ravithangavel/.virtualenvs/tutorial/lib/python2.7/site-packages/tornado/gen.py", line 1008, in run
>     value = future.result()
>   File "/Users/ravithangavel/.virtualenvs/tutorial/lib/python2.7/site-packages/tornado/concurrent.py", line 232, in result
>     raise_exc_info(self._exc_info)
>   File "/Users/ravithangavel/.virtualenvs/tutorial/lib/python2.7/site-packages/tornado/gen.py", line 1090, in handle_yield
>     self.future = convert_yielded(yielded)
>   File "/Users/ravithangavel/.virtualenvs/tutorial/lib/python2.7/site-packages/singledispatch.py", line 210, in wrapper
>     return dispatch(args[0].__class__)(*args, **kw)
>   File "/Users/ravithangavel/.virtualenvs/tutorial/lib/python2.7/site-packages/tornado/gen.py", line 1222, in convert_yielded
>     raise BadYieldError("yielded unknown object %r" % (yielded,))



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)