[ https://issues.apache.org/jira/browse/CASSANDRA-15693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ekaterina Dimitrova updated CASSANDRA-15693: -------------------------------------------- Reviewers: Ekaterina Dimitrova, Ekaterina Dimitrova (was: Ekaterina Dimitrova) Ekaterina Dimitrova, Ekaterina Dimitrova (was: Ekaterina Dimitrova) Status: Review In Progress (was: Patch Available) > Generating nodetool docs fails with python 3 > -------------------------------------------- > > Key: CASSANDRA-15693 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15693 > Project: Cassandra > Issue Type: Bug > Components: Build > Reporter: Angelo Polo > Assignee: Angelo Polo > Priority: Normal > Labels: patch > Fix For: 4.0-beta > > Attachments: 0001-Fix-file-open-modes-for-python-3.patch > > > Building nodetool docs with the ant target 'gen-doc' fails for python 3. > Python 3 doesn't allow the file open mode "rw+". > {noformat} > gen-doc: > [exec] python convert_yaml_to_rst.py ../conf/cassandra.yaml > source/configuration/cassandra_config_file.rst > [exec] python gen-nodetool-docs.py > [exec] Makefile:64: recipe for target 'html' failed > [exec] Traceback (most recent call last): > [exec] File "gen-nodetool-docs.py", line 75, in <module> > [exec] with open(helpfilename, "rw+") as helpfile: > [exec] ValueError: must have exactly one of create/read/write/append mode > [exec] make: *** [html] Error 1 > [exec] Result: 2 > {noformat} > Fails on and patch [^0001-Fix-file-open-modes-for-python-3.patch] tested on > the following platforms: Ubuntu 18.04.4 LTS with Python 3.6.9 and FreeBSD > 12.1-RELEASE-p1 with Python 3.7.7. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org