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 E0EC2116AC for ; Fri, 11 Jul 2014 14:47:06 +0000 (UTC) Received: (qmail 8310 invoked by uid 500); 11 Jul 2014 14:47:06 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 8279 invoked by uid 500); 11 Jul 2014 14:47:06 -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 8264 invoked by uid 99); 11 Jul 2014 14:47:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2014 14:47:06 +0000 Date: Fri, 11 Jul 2014 14:47:06 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-7524) cqlsh fails when version number parts are not int 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-7524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-7524: -------------------------------------- Reproduced In: 2.1 rc2, 2.1 rc1 (was: 2.1 rc1, 2.1 rc2) Fix Version/s: (was: 2.1.0) 2.1.1 > cqlsh fails when version number parts are not int > ------------------------------------------------- > > Key: CASSANDRA-7524 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7524 > Project: Cassandra > Issue Type: Bug > Components: Tools > Reporter: Alexander Bulaev > Assignee: Mikhail Stepura > Priority: Trivial > Labels: cqlsh > Fix For: 2.1.1 > > > {code} > alexbool@gibson ~> cqlsh > Traceback (most recent call last): > File "/usr/bin/cqlsh", line 1894, in > main(*read_options(sys.argv[1:], os.environ)) > File "/usr/bin/cqlsh", line 1877, in main > single_statement=options.execute) > File "/usr/bin/cqlsh", line 496, in __init__ > self.get_connection_versions() > File "/usr/bin/cqlsh", line 595, in get_connection_versions > self.cass_ver_tuple = tuple(map(int, vers['build'].split('-', 1)[0].split('.')[:3])) > ValueError: invalid literal for int() with base 10: '0~rc2' > {code} > I used cassandra 2.1-rc2 debs from Apache repository -- This message was sent by Atlassian JIRA (v6.2#6252)