[jira] [Commented] (CASSANDRA-13309) i couldnot able to run the cqlsh service.i am getting an syntax error in cqlsh.py file when i was trying to run cqlsh from bin folder
[ https://issues.apache.org/jira/browse/CASSANDRA-13309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17166742#comment-17166742 ] Aaj Kaal commented on CASSANDRA-13309: -- I am using python 3.7.8 and have the same issue > i couldnot able to run the cqlsh service.i am getting an syntax error in > cqlsh.py file when i was trying to run cqlsh from bin folder > - > > Key: CASSANDRA-13309 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13309 > Project: Cassandra > Issue Type: Bug > Components: Legacy/CQL > Environment: windows 10 64bit >Reporter: RANGU MANIKAR >Priority: Normal > Fix For: 3.0.x > > > C:\Program Files\apache-cassandra-3.0.11\bin>cqlsh > File "C:\Program Files\apache-cassandra-3.0.11\bin\\cqlsh.py", line 141 > except ImportError, e: > ^ > SyntaxError: invalid syntax > C:\Program Files\apache-cassandra-3.0.11\bin> -- 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-13309) i couldnot able to run the cqlsh service.i am getting an syntax error in cqlsh.py file when i was trying to run cqlsh from bin folder
[ https://issues.apache.org/jira/browse/CASSANDRA-13309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15929468#comment-15929468 ] RANGU MANIKAR commented on CASSANDRA-13309: --- i am using python 3 .i chnaged to as in place of comma,but after changing modifications still its showing error at 241 line in cqlsh.py file. > i couldnot able to run the cqlsh service.i am getting an syntax error in > cqlsh.py file when i was trying to run cqlsh from bin folder > - > > Key: CASSANDRA-13309 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13309 > Project: Cassandra > Issue Type: Bug > Components: CQL > Environment: windows 10 64bit >Reporter: RANGU MANIKAR > Fix For: 3.0.11 > > > C:\Program Files\apache-cassandra-3.0.11\bin>cqlsh > File "C:\Program Files\apache-cassandra-3.0.11\bin\\cqlsh.py", line 141 > except ImportError, e: > ^ > SyntaxError: invalid syntax > C:\Program Files\apache-cassandra-3.0.11\bin> -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CASSANDRA-13309) i couldnot able to run the cqlsh service.i am getting an syntax error in cqlsh.py file when i was trying to run cqlsh from bin folder
[ https://issues.apache.org/jira/browse/CASSANDRA-13309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15904984#comment-15904984 ] Yu LIU commented on CASSANDRA-13309: Are you using python 2.7 ? because python 3 use 'as' in place of the comma token for except clause. > i couldnot able to run the cqlsh service.i am getting an syntax error in > cqlsh.py file when i was trying to run cqlsh from bin folder > - > > Key: CASSANDRA-13309 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13309 > Project: Cassandra > Issue Type: Bug > Components: CQL > Environment: windows 10 64bit >Reporter: RANGU MANIKAR > Fix For: 3.0.11 > > > C:\Program Files\apache-cassandra-3.0.11\bin>cqlsh > File "C:\Program Files\apache-cassandra-3.0.11\bin\\cqlsh.py", line 141 > except ImportError, e: > ^ > SyntaxError: invalid syntax > C:\Program Files\apache-cassandra-3.0.11\bin> -- This message was sent by Atlassian JIRA (v6.3.15#6346)