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 B80111144F for ; Wed, 16 Jul 2014 11:52:04 +0000 (UTC) Received: (qmail 43994 invoked by uid 500); 16 Jul 2014 11:52:04 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 43949 invoked by uid 500); 16 Jul 2014 11:52:04 -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 43937 invoked by uid 99); 16 Jul 2014 11:52:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jul 2014 11:52:04 +0000 Date: Wed, 16 Jul 2014 11:52:04 +0000 (UTC) From: "Mikhail Stepura (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CASSANDRA-7553) Issue parsing release candidate version in cqlsh 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-7553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikhail Stepura resolved CASSANDRA-7553. ---------------------------------------- Resolution: Duplicate > Issue parsing release candidate version in cqlsh > ------------------------------------------------ > > Key: CASSANDRA-7553 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7553 > Project: Cassandra > Issue Type: Bug > Components: Tools > Environment: {noformat} > $ cat /etc/lsb-release > DISTRIB_ID=Ubuntu > DISTRIB_RELEASE=12.10 > DISTRIB_CODENAME=quantal > DISTRIB_DESCRIPTION="Ubuntu 12.10" > $ dpkg -l|grep cassandra > ii cassandra 2.1.0~rc3 all distributed storage system for structured data > {noformat} > Reporter: Jens Rantil > Labels: cqlsh > Fix For: 2.1 rc3 > > > I just did a fresh install of 2.1.0~rc3, made sure Cassandra was running (which it was) and executed `cqlsh` in the shell: > {noformat} > $ 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~rc3' > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)