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

Dinesh Joshi commented on CASSANDRA-15572:
------------------------------------------

Yuki, there is a version check in the shell script. However, looks like that 
check doesn't exist on Windows. So folks with access to a bash shell will not 
see this issue. However you'll see it on Windows. Do you want to add the 
version check to {{cqlsh.bat}} as part of your patch? I am not uptodate with 
DOS batch file programming ;).

> `object of type 'NoneType' has no len()` error in cqlsh with python 3
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-15572
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15572
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tool/cqlsh
>            Reporter: Yuki Morishita
>            Assignee: Yuki Morishita
>            Priority: Normal
>
> Looks like in Python 3, webbrowser._tryorder can be NoneType and throw error 
> like below:
> {code}
> 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()
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to