You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2014/07/24 15:42:38 UTC

[jira] [Commented] (CASSANDRA-7603) cqlsh fails to decode blobs

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

Aleksey Yeschenko commented on CASSANDRA-7603:
----------------------------------------------

+1

> cqlsh fails to decode blobs
> ---------------------------
>
>                 Key: CASSANDRA-7603
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7603
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Tyler Hobbs
>            Assignee: Tyler Hobbs
>             Fix For: 2.1.0
>
>         Attachments: 7603.txt
>
>
> As described in [PYTHON-101|https://datastax-oss.atlassian.net/browse/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:
> {noformat}
> 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/cassandra-driver-internal-only-2.1.0b1.post.zip/cassandra-driver-2.1.0b1.post/cassandra/cluster.py", line 1186, in execute
>     result = future.result(timeout)
>   File "/home/ryan/.ccm/repository/git_cassandra-2.1/bin/../lib/cassandra-driver-internal-only-2.1.0b1.post.zip/cassandra-driver-2.1.0b1.post/cassandra/cluster.py", line 2610, in result
>     raise self._final_exception
> TypeError: validate() takes exactly 1 argument (2 given)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)