Skip to content

Instantly share code, notes, and snippets.

@atoulme
Created August 19, 2010 14:30
Show Gist options
  • Save atoulme/538017 to your computer and use it in GitHub Desktop.
Save atoulme/538017 to your computer and use it in GitHub Desktop.
19:27:14~/w/git/cassandra:trunk*>nosetests test/system/test_avro_server.py
..........E
======================================================================
ERROR: system.test_avro_server.TestRpcOperations.test_system_column_family_operations
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/nose-0.11.4-py2.6.egg/nose/case.py", line 186, in runTest
self.test(*self.arg)
File "/Users/antoine/w/git/cassandra/test/system/test_avro_server.py", line 343, in test_system_column_family_operations
self.client.request('system_add_column_family', {'cf_def' : cfDef})
File "build/bdist.macosx-10.6-universal/egg/avro/ipc.py", line 145, in request
call_response_exists = self.read_handshake_response(buffer_decoder)
File "build/bdist.macosx-10.6-universal/egg/avro/ipc.py", line 191, in read_handshake_response
handshake_response = HANDSHAKE_REQUESTOR_READER.read(decoder)
File "build/bdist.macosx-10.6-universal/egg/avro/io.py", line 411, in read
return self.read_data(self.writers_schema, self.readers_schema, decoder)
File "build/bdist.macosx-10.6-universal/egg/avro/io.py", line 456, in read_data
return self.read_record(writers_schema, readers_schema, decoder)
File "build/bdist.macosx-10.6-universal/egg/avro/io.py", line 648, in read_record
field_val = self.read_data(field.type, readers_field.type, decoder)
File "build/bdist.macosx-10.6-universal/egg/avro/io.py", line 454, in read_data
return self.read_union(writers_schema, readers_schema, decoder)
File "build/bdist.macosx-10.6-universal/egg/avro/io.py", line 611, in read_union
% (index_of_schema, writers_schema.schemas)
TypeError: %d format: a number is required, not list
----------------------------------------------------------------------
Ran 11 tests in 28.225s
FAILED (errors=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment