You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "M. Justin (JIRA)" <ji...@apache.org> on 2018/03/08 17:30:00 UTC

[jira] [Created] (CASSANDRA-14301) Error running cqlsh: unexpected keyword argument 'no_compact'

M. Justin created CASSANDRA-14301:
-------------------------------------

             Summary: Error running cqlsh: unexpected keyword argument 'no_compact'
                 Key: CASSANDRA-14301
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14301
             Project: Cassandra
          Issue Type: Bug
            Reporter: M. Justin


I recently installed Cassandra 3.11.2 on my Mac using Homebrew.  When I run the "cqlsh" command, I get the following error:
{code:none}
$ cqlsh
Traceback (most recent call last):
  File "/usr/local/Cellar/cassandra/3.11.2/libexec/bin/cqlsh.py", line 2443, in <module>
    main(*read_options(sys.argv[1:], os.environ))
  File "/usr/local/Cellar/cassandra/3.11.2/libexec/bin/cqlsh.py", line 2421, in main
    encoding=options.encoding)
  File "/usr/local/Cellar/cassandra/3.11.2/libexec/bin/cqlsh.py", line 488, in __init__
    **kwargs)
  File "cassandra/cluster.py", line 735, in cassandra.cluster.Cluster.__init__ (cassandra/cluster.c:10935)
TypeError: __init__() got an unexpected keyword argument 'no_compact'
{code}
Commenting out [line 483 of cqlsh.py|https://github.com/apache/cassandra/blob/cassandra-3.11.2/bin/cqlsh.py#L483] works around the issue:
{code}
# no_compact=no_compact
{code}
 I am not the only person impacted, as evidenced by [this existing Stack Overflow post|https://stackoverflow.com/questions/48885984/was-cqlsh-5-0-1-broken-in-cassandra-3-11-2-release] from 2/20/2018.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org