[jira] [Updated] (CASSANDRA-15693) Generating nodetool docs fails with python 3

2020-07-23 Thread Brandon Williams (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Williams updated CASSANDRA-15693:
-
  Fix Version/s: (was: 4.0-beta)
 4.0-beta2
  Since Version: 4.0-alpha1
Source Control Link: 
https://github.com/apache/cassandra/commit/a47be7eddd5855fc7723d4080ca1a63c611efdab
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

> 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-beta2
>
> 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 
>  [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



[jira] [Updated] (CASSANDRA-15693) Generating nodetool docs fails with python 3

2020-07-23 Thread Brandon Williams (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Williams updated CASSANDRA-15693:
-
Reviewers: Brandon Williams, Ekaterina Dimitrova  (was: Ekaterina Dimitrova)

> 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 
>  [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



[jira] [Updated] (CASSANDRA-15693) Generating nodetool docs fails with python 3

2020-07-23 Thread Ekaterina Dimitrova (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ekaterina Dimitrova updated CASSANDRA-15693:

Status: Ready to Commit  (was: Review In Progress)

> 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 
>  [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



[jira] [Updated] (CASSANDRA-15693) Generating nodetool docs fails with python 3

2020-07-23 Thread Ekaterina Dimitrova (Jira)


 [ 
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 
>  [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



[jira] [Updated] (CASSANDRA-15693) Generating nodetool docs fails with python 3

2020-07-16 Thread Ekaterina Dimitrova (Jira)


 [ 
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

> 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 
>  [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



[jira] [Updated] (CASSANDRA-15693) Generating nodetool docs fails with python 3

2020-07-16 Thread Ekaterina Dimitrova (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ekaterina Dimitrova updated CASSANDRA-15693:

Test and Documentation Plan: 
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 
 [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.
 Status: Patch Available  (was: In Progress)

> 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 
>  [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



[jira] [Updated] (CASSANDRA-15693) Generating nodetool docs fails with python 3

2020-07-16 Thread Ekaterina Dimitrova (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ekaterina Dimitrova updated CASSANDRA-15693:

Fix Version/s: 4.0-beta

> 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 
>  [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



[jira] [Updated] (CASSANDRA-15693) Generating nodetool docs fails with python 3

2020-07-15 Thread Ekaterina Dimitrova (Jira)


 [ 
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 
>  [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



[jira] [Updated] (CASSANDRA-15693) Generating nodetool docs fails with python 3

2020-04-26 Thread Angelo Polo (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Angelo Polo updated CASSANDRA-15693:

Platform: All  (was: Java11)

> 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
>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 
>  [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



[jira] [Updated] (CASSANDRA-15693) Generating nodetool docs fails with python 3

2020-04-26 Thread Angelo Polo (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Angelo Polo updated CASSANDRA-15693:

Labels: patch  (was: )

> 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
>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 
>  [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



[jira] [Updated] (CASSANDRA-15693) Generating nodetool docs fails with python 3

2020-04-26 Thread Angelo Polo (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Angelo Polo updated CASSANDRA-15693:

Platform: Java11  (was: All)

> 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
>Priority: Normal
> 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 
>  [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



[jira] [Updated] (CASSANDRA-15693) Generating nodetool docs fails with python 3

2020-04-04 Thread Angelo Polo (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Angelo Polo updated CASSANDRA-15693:

Description: 
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 
 [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.

  was:
Building nodetool docs with the ant target 'gen-docs' 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 
 [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.


> 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
>Priority: Normal
> 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 
>  [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



[jira] [Updated] (CASSANDRA-15693) Generating nodetool docs fails with python 3

2020-04-04 Thread Angelo Polo (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Angelo Polo updated CASSANDRA-15693:

Description: 
Building nodetool docs with the ant target 'gen-docs' 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 
 [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.

  was:
Building nodetool docs with the ant target 'gen-docs' fails for python 3. 
Python 3 doesn't allow the file open mode "rw+".

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.


> 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
>Priority: Normal
> Attachments: 0001-Fix-file-open-modes-for-python-3.patch
>
>
> Building nodetool docs with the ant target 'gen-docs' 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 
>  [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