You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a redis 2.4.14 RDB file I get the following stacktrace:
Traceback (most recent call last):
File "/usr/local/bin/rdb", line 9, in
load_entry_point('rdbtools==0.1.2', 'console_scripts', 'rdb')()
File "/usr/local/lib/python2.6/dist-packages/rdbtools-0.1.2-py2.6.egg/rdbtools/cli/rdb.py", line 79, in main
parser.parse(dump_file)
File "/usr/local/lib/python2.6/dist-packages/rdbtools-0.1.2-py2.6.egg/rdbtools/parser.py", line 306, in parse
self.read_object(f, data_type)
File "/usr/local/lib/python2.6/dist-packages/rdbtools-0.1.2-py2.6.egg/rdbtools/parser.py", line 401, in read_object
self.read_zipmap(f)
File "/usr/local/lib/python2.6/dist-packages/rdbtools-0.1.2-py2.6.egg/rdbtools/parser.py", line 593, in read_zipmap
self._callback.hset(self._key, key, value)
File "/usr/local/lib/python2.6/dist-packages/rdbtools-0.1.2-py2.6.egg/rdbtools/memprofiler.py", line 139, in hset
if(element_length(value) > self._len_largest_element) :
File "/usr/local/lib/python2.6/dist-packages/rdbtools-0.1.2-py2.6.egg/rdbtools/memprofiler.py", line 336, in element_length
return len(element)
TypeError: object of type 'long' has no len()
The text was updated successfully, but these errors were encountered:
solso
added a commit
to solso/redis-rdb-tools
that referenced
this issue
Jul 5, 2012
Great tool, congrats.
I'm having a problem though. While doing a
On a redis 2.4.14 RDB file I get the following stacktrace:
Traceback (most recent call last):
File "/usr/local/bin/rdb", line 9, in
load_entry_point('rdbtools==0.1.2', 'console_scripts', 'rdb')()
File "/usr/local/lib/python2.6/dist-packages/rdbtools-0.1.2-py2.6.egg/rdbtools/cli/rdb.py", line 79, in main
parser.parse(dump_file)
File "/usr/local/lib/python2.6/dist-packages/rdbtools-0.1.2-py2.6.egg/rdbtools/parser.py", line 306, in parse
self.read_object(f, data_type)
File "/usr/local/lib/python2.6/dist-packages/rdbtools-0.1.2-py2.6.egg/rdbtools/parser.py", line 401, in read_object
self.read_zipmap(f)
File "/usr/local/lib/python2.6/dist-packages/rdbtools-0.1.2-py2.6.egg/rdbtools/parser.py", line 593, in read_zipmap
self._callback.hset(self._key, key, value)
File "/usr/local/lib/python2.6/dist-packages/rdbtools-0.1.2-py2.6.egg/rdbtools/memprofiler.py", line 139, in hset
if(element_length(value) > self._len_largest_element) :
File "/usr/local/lib/python2.6/dist-packages/rdbtools-0.1.2-py2.6.egg/rdbtools/memprofiler.py", line 336, in element_length
return len(element)
TypeError: object of type 'long' has no len()
The text was updated successfully, but these errors were encountered: