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

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

    [ https://issues.apache.org/jira/browse/CASSANDRA-14301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16392767#comment-16392767 ] 

Stefan Podkowinski commented on CASSANDRA-14301:
------------------------------------------------

Looks like you have to bundle a newer version of the python driver in the brew formula. But we only test and support the python driver shipped as part of the official distribution, so you might run into unexpected issues using a different driver artifact. 

There seems to be already a brew github issue [24977|https://github.com/Homebrew/homebrew-core/issues/24977] for that as well.


> 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
>            Priority: Major
>              Labels: cqlsh
>
> 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