[
https://issues.apache.org/jira/browse/CASSANDRA-15572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17038015#comment-17038015
]
Dinesh Joshi commented on CASSANDRA-15572:
------------------------------------------
Hi [~yukim] thanks for reporting this issue and the patch. I am guessing you're
using Python 3.7. The webbrowser module on [Python
3.7|https://github.com/python/cpython/blob/3.7/Lib/webbrowser.py#L19] has
changed its behavior since [Python
3.6|https://github.com/python/cpython/blob/3.6/Lib/webbrowser.py#L17]. I've not
tried testing cqlsh on Python 3.7. The max version we've tested cqlsh is Python
3.6. There are some subtle 3.6 vs 3.7 issues that we might run into. If we do
expect to support Python 3.7, we should also update running cqlsh tests on
Python 3.7. Currently our test environments are on Python 3.6.
> `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]