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 load bf file #2

Open
sssergy opened this issue May 31, 2023 · 0 comments
Open

error load bf file #2

sssergy opened this issue May 31, 2023 · 0 comments

Comments

@sssergy
Copy link

sssergy commented May 31, 2023

python3 loop_15.py
Traceback (most recent call last):
File "loop_15.py", line 28, in
bf = ScalableBloomFilter.load(bf_file)
File "/usr/local/lib/python3.8/dist-packages/bloomfilter/bloomfilter.py", line 140, in load
scalable_bloom_filter.__filters.append(BloomFilter.load(fp, filter_size))
File "/usr/local/lib/python3.8/dist-packages/bloomfilter/bloomfilter.py", line 40, in load
assert bloom_filter.__filter.length() == filter_size or bloom_filter.__filter.length() == filter_size + (
AttributeError: 'bitarray.bitarray' object has no attribute 'length'

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