[
https://issues.apache.org/jira/browse/CASSANDRA-4309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409956#comment-13409956
]
paul cannon commented on CASSANDRA-4309:
----------------------------------------
This should be fixed for the system keyspace case by CASSANDRA-4380. Can't
reproduce my earlier theory that this was caused by empty keyspaces in general;
they seem to be working fine in 1.1.1 and on the 1.1 tip.
> CQL3: cqlsh exception running "describe schema"
> -----------------------------------------------
>
> Key: CASSANDRA-4309
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4309
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 1.1.1
> Reporter: Cathy Daw
> Assignee: paul cannon
> Priority: Minor
> Labels: cqlsh
> Fix For: 1.1.3
>
>
> {code}
> cqlsh> describe schema;
> CREATE KEYSPACE system WITH strategy_class = 'LocalStrategy';
> USE system;
> Traceback (most recent call last):
> File "./cqlsh", line 811, in onecmd
> self.handle_statement(st, statementtext)
> File "./cqlsh", line 839, in handle_statement
> return custom_handler(parsed)
> File "./cqlsh", line 1329, in do_describe
> self.describe_schema()
> File "./cqlsh", line 1264, in describe_schema
> self.print_recreate_keyspace(k, sys.stdout)
> File "./cqlsh", line 1091, in print_recreate_keyspace
> self.print_recreate_columnfamily(ksname, cf.name, out)
> File "./cqlsh", line 1114, in print_recreate_columnfamily
> layout = self.get_columnfamily_layout(ksname, cfname)
> File "./cqlsh", line 706, in get_columnfamily_layout
> layout = self.fetchdict()
> File "./cqlsh", line 605, in fetchdict
> return dict(zip([d[0] for d in desc], row))
> TypeError: 'NoneType' object is not iterable
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira