Skip to content

ValueString.py", line 103, in analyze "ValueError: min() arg is an empty sequence" #29

@srlawre1

Description

@srlawre1

This is the same error as issue #23 but in different location. This is happening when using the ram behavior. All other behaviors are working. Using the latest version 0.1.14.

Match *: 39452it [00:00, 54207.86it/s]                                                                                                                                                       

Aggregating keys by pattern and type

Apply rules
Processing String patterns:   0%|                                                                                                                                      | 0/1 [00:00<?, ?it/s]WARNING:rma.rule.ValueString:ResponseError("unknown command 'DEBUG'",)
Traceback (most recent call last):
  File "/usr/local/bin/rma", line 9, in <module>
    load_entry_point('rma==0.1.14', 'console_scripts', 'rma')()
  File "/usr/local/lib/python3.4/dist-packages/rma/cli/rma_cli.py", line 92, in main
    app.run()
  File "/usr/local/lib/python3.4/dist-packages/rma/application.py", line 118, in run
    str_res += self.do_ram(keys)
  File "/usr/local/lib/python3.4/dist-packages/rma/application.py", line 153, in do_ram
    ret += (rule.analyze(keys=aggregate_patterns, total=total_keys))
  File "/usr/local/lib/python3.4/dist-packages/rma/rule/ValueString.py", line 103, in analyze
    min_bytes = min(used_bytes)
ValueError: min() arg is an empty sequence

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions