Skip to content

GPS enabled with no fix causes PrometheusWriter to error #35

@callumsnowden

Description

@callumsnowden

When the GPS is enabled and has no fix the returned dictionary contains n/a for the lat/long values which causes the PrometheusWriter to fail with error [ERROR] PrometheusWriter prometheusUpdateThread_private: Could not format data, reason None has type NoneType, but expected one of: bytes, unicode.

GPS code needs updating to return some suitable value when there is no fix available, issues arise even with returning 0, 0 as that is a valid location.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions