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

`object of type 'NoneType' has no len()` error in cqlsh with python 3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-alpha4, 4.0
    • Tool/cqlsh
    • None

    Description

      Looks like in Python 3, webbrowser._tryorder can be NoneType and throw error like below:

      Traceback (most recent call last):
        File ".\bin\cqlsh.py", line 99, in <module>
          if len(webbrowser._tryorder) == 0:
      TypeError: object of type 'NoneType' has no len()
      

      Attachments

        Activity

          People

            yukim Yuki Morishita
            yukim Yuki Morishita
            Yuki Morishita
            Dinesh Joshi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: