Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6AABE98AF for ; Thu, 31 May 2012 01:01:04 +0000 (UTC) Received: (qmail 29363 invoked by uid 500); 31 May 2012 01:01:02 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 29328 invoked by uid 500); 31 May 2012 01:01:02 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 29186 invoked by uid 99); 31 May 2012 01:01:02 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2012 01:01:02 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 82460142860 for ; Thu, 31 May 2012 01:01:02 +0000 (UTC) Date: Thu, 31 May 2012 01:01:02 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <1200405246.19775.1338426062536.JavaMail.jiratomcat@issues-vm> In-Reply-To: <9407258.18157.1338409703547.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (CASSANDRA-4298) Exception in system.test_thrift_server.TestMut.test_bad_call MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 > _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