Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
Code
-
Low
-
Low Hanging Fruit
-
User Report
-
All
-
None
-
Description
Building nodetool docs with the ant target 'gen-doc' fails for python 3. Python 3 doesn't allow the file open mode "rw+".
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
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.
Attachments
Attachments
Issue Links
- relates to
-
CASSANDRA-15586 4.0 quality testing: Cluster Setup and Maintenance
- Resolved