redis-rdb-tools icon indicating copy to clipboard operation
redis-rdb-tools copied to clipboard

Not able to run rdb

Open farhad-tarapore opened this issue 7 years ago • 3 comments

Getting an error:

rdb -c memory dump.rdb --bytes 128 -f memory.csv Traceback (most recent call last): File "/usr/bin/rdb", line 5, in from pkg_resources import load_entry_point File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in working_set.require(requires) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: redis

farhad-tarapore avatar Jan 17 '18 07:01 farhad-tarapore

Hi, i haven't seen that problem before. Is your python installation healthy? do other packages work? Can you try upgrading to python2.7?

oranagra avatar Jan 17 '18 08:01 oranagra

It worked with a fork of this code for Redis 3.x

farhad-tarapore avatar Jan 17 '18 08:01 farhad-tarapore

@farhad-tarapore do you mean to say it's a regression? do you have a release version or commit SHA which this fork is based on? can you please test python2.7? can you try to narrow down the change that caused this regression?

oranagra avatar Jan 17 '18 10:01 oranagra