You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by Chamila Wijayarathna <cd...@gmail.com> on 2014/04/05 15:10:30 UTC

Python cross language test server failing

Hi all,
When I run cross language test suite, test cases which use python test
server fails with server giving following error.

*ERROR:root:This is a TException*
*Traceback (most recent call last):*
*  File
"py/../../lib/py/build/lib.linux-x86_64-2.7/thrift/server/TServer.py", line
84, in serve*
*    self.processor.process(iprot, oprot)*
*  File "py/gen-py/ThriftTest/ThriftTest.py", line 1006, in process*
*    self._processMap[name](self, seqid, iprot, oprot)*
*  File "py/gen-py/ThriftTest/ThriftTest.py", line 1202, in
process_testException*
*    self._handler.testException(args.arg)*
*  File "py/TestServer.py", line 112, in testException*
*    raise TException(message='This is a TException')*
*TException: This is a TException*

What is the reason for this? How can I solve this?

Thank You!

-- 
*Chamila Dilshan Wijayarathna,*
SMIEEE, SMIESL,
Undergraduate,
Department of Computer Science and Engineering,
University of Moratuwa.

Re: Python cross language test server failing

Posted by Chamila Wijayarathna <cd...@gmail.com>.
Hi all,
I'm still getting this error, does anybody know any work around for this?

Thank You!


On Sat, Apr 5, 2014 at 6:40 PM, Chamila Wijayarathna <
cdwijayarathna@gmail.com> wrote:

> Hi all,
> When I run cross language test suite, test cases which use python test
> server fails with server giving following error.
>
> *ERROR:root:This is a TException*
> *Traceback (most recent call last):*
> *  File
> "py/../../lib/py/build/lib.linux-x86_64-2.7/thrift/server/TServer.py", line
> 84, in serve*
> *    self.processor.process(iprot, oprot)*
> *  File "py/gen-py/ThriftTest/ThriftTest.py", line 1006, in process*
> *    self._processMap[name](self, seqid, iprot, oprot)*
> *  File "py/gen-py/ThriftTest/ThriftTest.py", line 1202, in
> process_testException*
> *    self._handler.testException(args.arg)*
> *  File "py/TestServer.py", line 112, in testException*
> *    raise TException(message='This is a TException')*
> *TException: This is a TException*
>
> What is the reason for this? How can I solve this?
>
> Thank You!
>
> --
> *Chamila Dilshan Wijayarathna,*
> SMIEEE, SMIESL,
> Undergraduate,
> Department of Computer Science and Engineering,
> University of Moratuwa.
>



-- 
*Chamila Dilshan Wijayarathna,*
SMIEEE, SMIESL,
Undergraduate,
Department of Computer Science and Engineering,
University of Moratuwa.