xget fail with comparator type pycassa.system_manager.TIME_UUID_TYPE #171

spoksss opened this Issue Sep 18, 2012 · 1 comment

2 participants



When I try use xget when columns are uuids like below:


I got error on a column which is used in pagination,
because if I change buffer_size on some bigger value,
I get the same error on other column.

 /usr/share/python2.7/site-packages/pycassa/columnfamily.pyc in xget(self, key, column_start, column_finish, column_reversed, column_count, include_timestamp, read_consistency_level, buffer_size)

/usr/share/python2.7/site-packages/pycassa/columnfamily.pyc in _slice_predicate(self, columns, column_start, column_finish, column_reversed, column_count, super_column)

/usr/share/python2.7/site-packages/pycassa/columnfamily.pyc in _pack_name(self, value, is_supercol_name, slice_start)

/usr/share/python2.7/site-packages/pycassa/marshal.pyc in pack_uuid(value, slice_start)

/usr/share/python2.7/site-packages/pycassa/util.pyc in convert_time_to_uuid(time_arg, lowest_val, randomize)

ValueError: Argument for a v1 UUID column name or value was neither a UUID, a datetime, or a number

I have checked if all data in my cf are correct, and below version works

get(my_uuid, column_count=100000)


pycassa member

@spoksss this was fixed in pycassa 1.7.0, so I recommend upgrading. Thanks for the detailed report!

@thobbs thobbs closed this Oct 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment