cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Stepura (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-7553) Issue parsing release candidate version in cqlsh
Date Wed, 16 Jul 2014 11:52:04 GMT

     [ 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 <module>
>     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)

Mime
View raw message