cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg DeAngelis (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-5964) cqlsh raises a ValueError when connecting to Cassandra running in Eclipse
Date Sat, 31 Aug 2013 00:14:54 GMT
Greg DeAngelis created CASSANDRA-5964:
-----------------------------------------

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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message