[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17164015#comment-17164015
 ] 

Ekaterina Dimitrova commented on CASSANDRA-15693:
-

Thanks [~brandon.williams] :)

> 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] [Commented] (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:comment-tabpanel&focusedCommentId=17164002#comment-17164002
 ] 

Brandon Williams commented on CASSANDRA-15693:
--

Committed before I saw your branch, but I elected not to add this to 
CHANGES.txt anyway.

> 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] [Commented] (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:comment-tabpanel&focusedCommentId=17164001#comment-17164001
 ] 

Ekaterina Dimitrova commented on CASSANDRA-15693:
-

Pushed a 
[branch|https://github.com/ekaterinadimitrova2/cassandra/tree/CASSANDRA-15693] 
with CHANGES.txt

> 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] [Commented] (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:comment-tabpanel&focusedCommentId=17163999#comment-17163999
 ] 

Ekaterina Dimitrova commented on CASSANDRA-15693:
-

Confirmed with [~lor...@datastax.com] offline, this is ready for commit. 
[~brandon.williams], please assist :)

> 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] [Commented] (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:comment-tabpanel&focusedCommentId=17163994#comment-17163994
 ] 

Ekaterina Dimitrova commented on CASSANDRA-15693:
-

Tested on my Mac with Python 3.7.7, LGTM +1. I have only one question, I am not 
familiar with sphinx. 

The following appears when I run ant with target "gen-doc" even if the build is 
successful: 

 
{code:java}
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] sphinx-build -b html -d build/doctrees   source build/html
     [exec] make: sphinx-build: No such file or directory
     [exec] make: *** [html] Error 1
     [exec] Result: 2
 
BUILD SUCCESSFUL
Total time: 1 minute 31 seconds
{code}
 

[~lor...@datastax.com], [~brandon.williams]  any suggestions?

Missing file but the build is successful?

> 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] [Commented] (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:comment-tabpanel&focusedCommentId=17159407#comment-17159407
 ] 

Ekaterina Dimitrova commented on CASSANDRA-15693:
-

Thank you. I will review it tomorrow. 

If you hit any other issues on FreeBSD, feel free to attach sub-tickets to 
CASSANDRA-15586.

> 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] [Commented] (CASSANDRA-15693) Generating nodetool docs fails with python 3

2020-07-15 Thread Angelo Polo (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-15693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17158500#comment-17158500
 ] 

Angelo Polo commented on CASSANDRA-15693:
-

I've already submitted a patch. What else can I do for this one?

> 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] [Commented] (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:comment-tabpanel&focusedCommentId=17158474#comment-17158474
 ] 

Ekaterina Dimitrova commented on CASSANDRA-15693:
-

Hi [~polo-language],

As our beta is around the corner, I am back to testing. I triaged this ticket. 
Do you still have time for this ticket and to support running C* 4.0 on FreeBSD?

 

> 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