HelloZeroNet / HelloZeroNet/ZeroNet

ChartCollector Collector connection_ping_min error: min() arg is an empty sequence

Open
#2,765 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
18.8k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

I'm using `Version: 0.7.1 r4206, Python 3.7.3 ` and an error keeps coming out from logs:
`ChartCollector Collector connection_ping_min error: min() arg is an empty sequence`
This might be a result of the lack of edge condition checks in [the corresponding code](https://github.com/HelloZeroNet/ZeroNet/blob/py3/plugins/Chart/ChartCollector.py#L49
), where the built-in `min()` is sensitive to zero-length lists.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.