[
https://issues.apache.org/jira/browse/CASSANDRA-4298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13286240#comment-13286240
]
Jonathan Ellis commented on CASSANDRA-4298:
-------------------------------------------
TApplicationException is part of the Thrift library, not something built from
our idl.
> Exception in system.test_thrift_server.TestMut.test_bad_call
> ------------------------------------------------------------
>
> Key: CASSANDRA-4298
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4298
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Environment: cassandra-1.1, ubuntu
> Reporter: Tyler Patterson
>
> Running it like this (cassandra-1.1, ubuntu)
> {code}
> PYTHONPATH=test nosetests -vx --nocapture --process-timeout=20
> --tests=system.test_thrift_server:TestMutations.test_bad_calls
> {code}
> I get this error:
> {code}
> ======================================================================
> ERROR: system.test_thrift_server.TestMutations.test_bad_calls
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in
> runTest
> self.test(*self.arg)
> File "/home/tahooie/datastax/cassandra/test/system/test_thrift_server.py",
> line 685, in test_bad_calls
> _expect_exception(lambda: client.insert(None, None, None, None),
> TApplicationException)
> File "/home/tahooie/datastax/cassandra/test/system/test_thrift_server.py",
> line 207, in _expect_exception
> r = fn()
> File "/home/tahooie/datastax/cassandra/test/system/test_thrift_server.py",
> line 685, in <lambda>
> _expect_exception(lambda: client.insert(None, None, None, None),
> TApplicationException)
> File
> "/home/tahooie/datastax/cassandra/interface/thrift/gen-py/cassandra/Cassandra.py",
> line 832, in insert
> self.recv_insert()
> File
> "/home/tahooie/datastax/cassandra/interface/thrift/gen-py/cassandra/Cassandra.py",
> line 848, in recv_insert
> x = TApplicationException()
> NameError: global name 'TApplicationException' is not defined
> ----------------------------------------------------------------------
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira