cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-7603) cqlsh fails to decode blobs
Date Wed, 23 Jul 2014 22:34:39 GMT
Tyler Hobbs created CASSANDRA-7603:

             Summary: cqlsh fails to decode blobs
                 Key: CASSANDRA-7603
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
            Reporter: Tyler Hobbs
            Assignee: Tyler Hobbs
             Fix For: 2.1.0

As described in [PYTHON-101|], cqlsh patches
the python driver's deserialization method for BytesType for formatting purposes.  When the
bundled driver was upgraded to 2.1, the patch was not updated to match, resulting in an error
like this:

cqlsh:unicode> select * from test;
Traceback (most recent call last):
  File "/home/ryan/.ccm/repository/git_cassandra-2.1/bin/cqlsh", line 908, in perform_simple_statement
    rows = self.session.execute(statement, trace=self.tracing_enabled)
  File "/home/ryan/.ccm/repository/git_cassandra-2.1/bin/../lib/",
line 1186, in execute
    result = future.result(timeout)
  File "/home/ryan/.ccm/repository/git_cassandra-2.1/bin/../lib/",
line 2610, in result
    raise self._final_exception
TypeError: validate() takes exactly 1 argument (2 given)

This message was sent by Atlassian JIRA

View raw message