[
https://issues.apache.org/jira/browse/CASSANDRA-10282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14735681#comment-14735681
]
Adam Holmberg edited comment on CASSANDRA-10282 at 9/8/15 9:51 PM:
-------------------------------------------------------------------
At first glance this looks like an invalid format string for python 2.6.
{code}
"Using CQL driver: {}\n"
{code}
should be
{code}
"Using CQL driver: {0}\n"
{code}
There's another one on the next line too.
It's in bin/cqlsh. I can provide a patch if you want.
was (Author: aholmber):
At first glance this looks like an invalid format string for python 2.6.
{code}
"Using CQL driver: {}\n"
{code}
should be
{code}
"Using CQL driver: {0}\n"
{code}
It's in bin/cqlsh. I can provide a patch if you want, but I don't think it's
the driver.
> cqlsh exception when starting with "--debug" option
> ----------------------------------------------------
>
> Key: CASSANDRA-10282
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10282
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Environment: CentOS 6.4 x86_64
> Reporter: Ryan Okelberry
> Priority: Minor
> Labels: cqlsh
> Fix For: 2.1.x
>
>
> {code}
> [root@host ~]# cqlsh --version
> cqlsh 5.0.1
> {code}
> {code}
> [root@host ~]# cqlsh --debug
> Traceback (most recent call last):
> File "/usr/bin/cqlsh", line 2487, in <module>
> main(*read_options(sys.argv[1:], os.environ))
> File "/usr/bin/cqlsh", line 2448, in main
> sys.stderr.write("Using CQL driver: {}\n".format(cassandra))
> ValueError: zero length field name in format
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)