OpenWeatherMap key didn't migrate correctly after updating from v135 to v136
Closed this issue · 8 comments
Description
I upgraded to version 136 and now it won't work with my apikey for openweatherMap
System
Which Linux distro are you using? Ubuntu 24.04
Settings
{"app-version":"136","git-version":"136.r1.g8d02397","gnome-version":"46.0","user-locale":"en","appid":"<KEY>","weather-provider":"'openweathermap'","has-run":"true","locs":"[(0, '<NAME>', 0, '<PLACE>')]","owm-api-translate":"false","show-sunsetrise-in-panel":"false","last-init-error":"'(2024/05/11) TypeError: settings.set_value is not a function'","my-loc-prov":"'ipinfoio'","weatherapidotcom-key":"<KEY>","position-index":"6","geolocation-provider":"'mapquest'","use-default-weatherapidotcom-key":"true","geolocation-appid-mapquest":"'*************************'","clock-format":"'24h'","position-in-panel":"'left'","show-comment-in-panel":"false"}
I starred out the location api key for security it didn't even take the weather api key
A new format was made for the weather keys and it was supposed to automatically migrate these but for some reason it seems to have failed. If you re-enter your key like you did before you should be up and running but I will leave this open and investigate why it didn't migrate correctly. Thanks for the report!
Also your geolocation mapquest key should have been redacted I will also fix that.
A new format was made for the weather keys and it was supposed to automatically migrate these but for some reason it seems to have failed. If you re-enter your key like you did before you should be up and running but I will leave this open and investigate why it didn't migrate correctly. Thanks for the report!
The new version at first appears to allow me to enter my personal API settings for each provider. However, if I switch to a different provider and then switch back, the settings I just entered for the first provider are no longer visible. ("Use Custom API Key" is set back to off, and the "Personal API Key" box is blank.) I can't tell if the settings were actually stored or not.
Hmmm... I will look at this and ship a new release quickly.
I am experiencing similar behavior, after the upgrade my settings are not saving the "Use Custom API Key" toggle state, or the "Personal API Key" value. I have tried using the Restore Defaults option and reconfiguring, but the behavior is the same.
Here is a screen recording of the behavior... I reset the settings to default, opened settings and chose WeatherAPI.com, toggled custom API key, and then pasted in my key. Closed the settings window and reopened it to find that the changes were not stored/saved.
Interesting note is the red !
that shows up in the "Personal API Key" field at all times (whether the field is blank, or has data) and has no tooltip/mouseover text.
Screencast.from.2024-06-12.16-31-57.mp4
umm I still can't get an update so for me it's not fixed
It's been fixed in the development version however I haven't made a release yet. I will make a release soon once I've done some stuff and ensured it is stable to prevent a large bug like this to release again.