Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
Normal
Description
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/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)