Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error:parser.parse(options.dump_file[0]) #173

Open
cjhlai opened this issue Dec 22, 2020 · 0 comments
Open

error:parser.parse(options.dump_file[0]) #173

cjhlai opened this issue Dec 22, 2020 · 0 comments

Comments

@cjhlai
Copy link

cjhlai commented Dec 22, 2020

when i run rdb --command diff node10.81.194.36:6379-1608286170593782-176141.rdb | sort > dump1.txt
it return error below:
rdb --command diff 176141.rdb | sort > dump1.txt
^CTraceback (most recent call last):
File "/usr/bin/rdb", line 9, in
load_entry_point('rdbtools==0.1.15', 'console_scripts', 'rdb')()
File "/usr/lib/python2.7/site-packages/rdbtools-0.1.15-py2.7.egg/rdbtools/cli/rdb.py", line 106, in main
parser.parse(options.dump_file[0])
File "/usr/lib/python2.7/site-packages/rdbtools-0.1.15-py2.7.egg/rdbtools/parser.py", line 394, in parse
self.parse_fd(open(filename, "rb"))
File "/usr/lib/python2.7/site-packages/rdbtools-0.1.15-py2.7.egg/rdbtools/parser.py", line 461, in parse_fd
self.read_object(f, data_type)
File "/usr/lib/python2.7/site-packages/rdbtools-0.1.15-py2.7.egg/rdbtools/parser.py", line 555, in read_object
self._callback.sadd(self._key, val)
File "/usr/lib/python2.7/site-packages/rdbtools-0.1.15-py2.7.egg/rdbtools/callbacks.py", line 317, in sadd
self._out.write(self.dbstr() + self.encode_key(key) + b' { ' + self.encode_value(member) + b' }')

pls help ,tks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant