You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Oded Peer (JIRA)" <ji...@apache.org> on 2014/05/28 11:27:02 UTC
[jira] [Updated] (CASSANDRA-5964) cqlsh raises a ValueError when
connecting to Cassandra running in Eclipse
[ 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 <module>
> 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)