You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alexander Bulaev (JIRA)" <ji...@apache.org> on 2014/07/09 09:56:04 UTC

[jira] [Created] (CASSANDRA-7524) cqlsh fails when version number parts are not int

Alexander Bulaev created CASSANDRA-7524:
-------------------------------------------

             Summary: 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


{code}
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~rc2'
{code}
I used cassandra 2.1-rc2 debs from Apache repository



--
This message was sent by Atlassian JIRA
(v6.2#6252)