You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ryan Okelberry (JIRA)" <ji...@apache.org> on 2015/09/08 19:50:46 UTC

[jira] [Comment Edited] (CASSANDRA-10282) cqlsh exception when starting with "--debug" option

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

Ryan Okelberry edited comment on CASSANDRA-10282 at 9/8/15 5:50 PM:
--------------------------------------------------------------------

Python version
{code}
[root@host ~]# python --version
Python 2.6.6
{code}
Cqlsh runs fine, so long as the --debug option is not provided.  For example:
{code}
[root@host ~]# cqlsh `hostname` -e "DESCRIBE system" | head

CREATE KEYSPACE system WITH replication = {'class': 'LocalStrategy'}  AND durable_writes = true;

CREATE TABLE system.peers (
    peer inet PRIMARY KEY,
    data_center text,
    host_id uuid,
    preferred_ip inet,
    rack text,
    release_version text,
{code}


was (Author: rokelber):
Python version
{code}
[root@host ~]# python --version
Python 2.6.6
{code}
Cqlsh runs fine, so long as the --debug option is not provided.  For example:
{code}
[root@colusa-y1 ~]# cqlsh `hostname` -e "DESCRIBE system" | head

CREATE KEYSPACE system WITH replication = {'class': 'LocalStrategy'}  AND durable_writes = true;

CREATE TABLE system.peers (
    peer inet PRIMARY KEY,
    data_center text,
    host_id uuid,
    preferred_ip inet,
    rack text,
    release_version text,
{code}

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