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 103901058D for ; Wed, 28 May 2014 09:27:03 +0000 (UTC) Received: (qmail 2237 invoked by uid 500); 28 May 2014 09:27:03 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 2201 invoked by uid 500); 28 May 2014 09:27: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 2193 invoked by uid 99); 28 May 2014 09:27:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2014 09:27:02 +0000 Date: Wed, 28 May 2014 09:27:02 +0000 (UTC) From: "Oded Peer (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-5964) cqlsh raises a ValueError when connecting to Cassandra running in Eclipse 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-5964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oded Peer updated CASSANDRA-5964: --------------------------------- Attachment: 5964-v2.patch This is a proposed fix to the issue - adding the resources directory as an Eclipse source directory > cqlsh raises a ValueError when connecting to Cassandra running in Eclipse > ------------------------------------------------------------------------- > > Key: CASSANDRA-5964 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5964 > Project: Cassandra > Issue Type: Bug > Reporter: Greg DeAngelis > Assignee: Dave Brosius > Priority: Minor > Fix For: 2.0.1 > > Attachments: 5964-v2.patch, 5964.txt > > > The release_version is set to 'Unknown' in system.local so the version parsing logic fails. > Traceback (most recent call last): > File "./cqlsh", line 2027, in > main(*read_options(sys.argv[1:], os.environ)) > File "./cqlsh", line 2013, in main > display_float_precision=options.float_precision) > File "./cqlsh", line 486, in __init__ > self.get_connection_versions() > File "./cqlsh", line 580, 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: 'Unknown' -- This message was sent by Atlassian JIRA (v6.2#6252)