Skip to content

any idea about the redis error when get data? #69

@butterl

Description

@butterl

Hi,
I tried to see the different output of LibRadar and LiteRadar,and add more data and tag to export . After I configured redis and the dumped database , it seems somthing wrong tookplace in attribute not match, any idea if I missed something?

The code I'm using is the master,and the datasets are the dropbox one

[email protected]:~/code/LibRadar/LibRadar$ python libradar.py  com.ss.android.ugc.aweme.apk
Traceback (most recent call last):
  File "libradar.py", line 232, in <module>
    res = lrd.compare()
  File "libradar.py", line 220, in compare
    self.tree.get_repackage_main(res, self.hex_sha256)
  File "/home/butter/code/LibRadar/LibRadar/dex_tree.py", line 411, in get_repackage_main
    self.db_rep.zadd("apk_weight", ret_length, hex_sha256 )
  File "/home/butter/.local/lib/python2.7/site-packages/redis/client.py", line 2650, in zadd
    for pair in iteritems(mapping):
  File "/home/butter/.local/lib/python2.7/site-packages/redis/_compat.py", line 132, in iteritems
    return x.iteritems()
AttributeError: 'int' object has no attribute 'iteritems'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions