[
https://issues.apache.org/jira/browse/CASSANDRA-10282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14735707#comment-14735707
]
Adam Holmberg commented on CASSANDRA-10282:
-------------------------------------------
I recommend normalizing the string formatting to match the rest of the file.
I'm attaching a patch for 2.1 branch.
> 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)