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

Running into an error #76

Open
chenju2k6 opened this issue Jan 9, 2023 · 2 comments
Open

Running into an error #76

chenju2k6 opened this issue Jan 9, 2023 · 2 comments

Comments

@chenju2k6
Copy link

$ python2 LibRadar/libradar.py ../obf_apk_original/com.llamacorp.equate.apk
Traceback (most recent call last):
File "LibRadar/libradar.py", line 232, in
res = lrd.compare()
File "LibRadar/libradar.py", line 220, in compare
self.tree.get_repackage_main(res, self.hex_sha256)
File "/home/cju/tpl/LibRadar/LibRadar/dex_tree.py", line 411, in get_repackage_main
self.db_rep.zadd("apk_weight", ret_length, hex_sha256 )
File "/home/cju/.local/lib/python2.7/site-packages/redis/client.py", line 2685, in zadd
for pair in iteritems(mapping):
File "/home/cju/.local/lib/python2.7/site-packages/redis/_compat.py", line 133, in iteritems
return x.iteritems()
AttributeError: 'int' object has no attribute 'iteritems'

@pkumza
Copy link
Owner

pkumza commented Jan 20, 2023

It seems that the error was thrown by Redis.
Have you load the d.tar.gz from dropbox?

@Hatzky
Copy link

Hatzky commented Mar 31, 2023

The error is thrown because of the redis version you installed with pip. Check if you installed version 2.10.5 with (pip install redis==2.10.5), as well as Python 2.7.12, which should fix this error. It can be a bit confusing because you need redis 2.10.5 and redis-server version 3.2.5.

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

3 participants