Interesting, OWMWeather checks if the location data file exists, but not if the location data itself is valid. So the question is, where does the broken mylocation.json come from? At a glance there is no way that could happen in the mylocation app code. To me it seems as if it always either sets both lat and long or nothing. Maybe the web interface needs additional checks before writing the file.
I had just done a lot of reinstalling, so however I lost longitude, it could have been a rare situation.
Once in the past I had managed to save without picking a location. I think I entered a location in the search, saw it zoom in and didn't think to also put a pin.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Interesting, OWMWeather checks if the location data file exists, but not if the location data itself is valid. So the question is, where does the broken
mylocation.json
come from? At a glance there is no way that could happen in themylocation
app code. To me it seems as if it always either sets both lat and long or nothing. Maybe the web interface needs additional checks before writing the file.