You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ekaterina Dimitrova (Jira)" <ji...@apache.org> on 2020/07/15 15:25:00 UTC
[jira] [Updated] (CASSANDRA-15693) Generating nodetool docs fails
with python 3
[ https://issues.apache.org/jira/browse/CASSANDRA-15693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ekaterina Dimitrova updated CASSANDRA-15693:
--------------------------------------------
Bug Category: Parent values: Code(13163)
Complexity: Low Hanging Fruit
Discovered By: User Report
Severity: Low
Assignee: Angelo Polo
Status: Open (was: Triage Needed)
> 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
> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org