penguin-teal / gnome-openweather

A GNOME Shell extension to show the weather of any location on Earth.
GNU General Public License v3.0
58 stars 18 forks source link

Condition is "undefined" and today's forecast is broken for the last 3 boxes #23

Closed kouros1741 closed 7 months ago

kouros1741 commented 7 months ago

After the last update (134) in manjaro and default theme I cant see the temprature of next hours and days

Στιγμιότυπο οθόνης από 2024-04-20 09-34-43 Στιγμιότυπο οθόνης από 2024-04-20 09-35-08

penguin-teal commented 7 months ago

Thanks for the bug report. I am unable to re-create the forecast issue, could you go to the extension Settings > About > "Copy Settings JSON" and paste it below?

kouros1741 commented 7 months ago

{"app-version":"134","git-version":"134.r0.gf2d739e","gnome-version":"46.1","use-default-owm-key":"true","actual-city":"0","weather-provider":"'default'","hi-contrast":"'white'","has-run":"true","days-forecast":"3","locs":"[(0, '<NAME>', 0, '<PLACE>')]","owm-api-translate":"true","expand-forecast":"false","weatherapidotcom-key":"'3a9ea1d56e424165a04232918242004'","show-sunsetrise-in-panel":"false","position-index":"1","use-system-icons":"true","use-default-weatherapidotcom-key":"false","pressure-unit":"'mbar'","disable-forecast":"false","menu-alignment":"50.54545454545454","position-in-panel":"'center'","show-comment-in-panel":"false"}

ironbone commented 7 months ago

The problem appears when using OpenWeatherMap. When using WeatherAPI it looks ok

kouros1741 commented 7 months ago

I confirm that WeatherAPI works.

Thorazin commented 7 months ago

I am also having this problem, would you like my JSON file also?

penguin-teal commented 7 months ago

I believe this issue may actually be a rate limiting issue and the app keeps getting temporarily blocked. I'm thinking of a solution.

penguin-teal commented 7 months ago

My solution to this is to by default choose a random provider every time you boot up your computer (this can be changed by changing Weather Provider from Default). That way there should be a more even distribution between WeatherAPI.com and OpenWeatherMap, and I will probably add more providers.

This change will be shipped when v125 comes out.