Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14301

Error running cqlsh: unexpected keyword argument 'no_compact'

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Not A Problem
    • Fix Version/s: None
    • Component/s: None
    • Severity:
      Normal
    • Since Version:

      Description

      I recently installed Cassandra 3.11.2 on my Mac using Homebrew.  When I run the "cqlsh" command, I get the following error:

      $ 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'
      

      Commenting out line 483 of cqlsh.py works around the issue:

      # no_compact=no_compact
      

       I am not the only person impacted, as evidenced by this existing Stack Overflow post from 2/20/2018.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mjjustin M. Justin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: