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.
When the GPS is enabled and has no fix the returned dictionary contains
n/afor 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.