-
Notifications
You must be signed in to change notification settings - Fork 83
Closed
Description
Match *: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▊| 4995001/5000000 [01:27<00:00, 53299.06it/s]INFO:root:
Limit 5000000 reached
Aggregating keys by pattern and type
Apply rules
Processing keys: 0%| | 0/355 [00:00<?, ?it/s]Traceback (most recent call last):
File "/usr/local/bin/rma", line 9, in <module>
load_entry_point('rma==0.1.13', 'console_scripts', 'rma')()
File "/usr/local/lib/python3.5/site-packages/rma-0.1.13-py3.5.egg/rma/cli/rma_cli.py", line 92, in main
File "/usr/local/lib/python3.5/site-packages/rma-0.1.13-py3.5.egg/rma/application.py", line 118, in run
File "/usr/local/lib/python3.5/site-packages/rma-0.1.13-py3.5.egg/rma/application.py", line 153, in do_ram
File "/usr/local/lib/python3.5/site-packages/rma-0.1.13-py3.5.egg/rma/rule/KeyString.py", line 57, in analyze
ValueError: min() arg is an empty sequence
After trying @misterion's fix:
total_elements = len(data)
if total_elements == 0:
continue
the problem looks like
Traceback (most recent call last):
File "/usr/local/bin/rma", line 9, in <module>
load_entry_point('rma==0.1.13', 'console_scripts', 'rma')()
File "/usr/local/lib/python3.5/site-packages/rma-0.1.13-py3.5.egg/rma/cli/rma_cli.py", line 92, in main
File "/usr/local/lib/python3.5/site-packages/rma-0.1.13-py3.5.egg/rma/application.py", line 118, in run
File "/usr/local/lib/python3.5/site-packages/rma-0.1.13-py3.5.egg/rma/application.py", line 153, in do_ram
File "/usr/local/lib/python3.5/site-packages/rma-0.1.13-py3.5.egg/rma/rule/Hash.py", line 96, in analyze
File "/usr/local/lib/python3.5/site-packages/rma-0.1.13-py3.5.egg/rma/rule/Hash.py", line 63, in __init__
ValueError: min() arg is an empty sequence
Metadata
Metadata
Assignees
Labels
No labels