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

GPS enabled with no fix causes PrometheusWriter to error #35

Open
callumsnowden opened this issue Jan 24, 2023 · 0 comments
Open

GPS enabled with no fix causes PrometheusWriter to error #35

callumsnowden opened this issue Jan 24, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@callumsnowden
Copy link
Contributor

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.

@callumsnowden callumsnowden self-assigned this Jan 24, 2023
@callumsnowden callumsnowden added the bug Something isn't working label Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant