Weather applet doesn't work anymore

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
overkill22
Level 4
Level 4
Posts: 450
Joined: Fri Jan 16, 2015 6:09 am

Weather applet doesn't work anymore

Post by overkill22 »

Since today my weather app seems not working anymore. I tried to uninstall and install but nothing, it hangs on the refresh symbol.

I'm running Mint 17.3 Cinnamon and the applet is Weather v1.11.19.

What can I check?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
kyphi
Level 9
Level 9
Posts: 2735
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter Valley, Australia

Re: Weather applet doesn't work anymore

Post by kyphi »

The weather applet (I assume that you are referring to the applet by mockturtl) relies on a request being made and an answer received. Since nothing has changed in the weather applet, it stands to reason that there is something wrong with the server not returning the requested information.

Mine (v1.12.4) stopped yesterday too. I suggest patience.
Linux Mint 21.3 Cinnamon
User avatar
overkill22
Level 4
Level 4
Posts: 450
Joined: Fri Jan 16, 2015 6:09 am

Re: Weather applet doesn't work anymore

Post by overkill22 »

kyphi wrote:The weather applet (I assume that you are referring to the applet by mockturtl) relies on a request being made and an answer received. Since nothing has changed in the weather applet, it stands to reason that there is something wrong with the server not returning the requested information.

Mine (v1.12.4) stopped yesterday too. I suggest patience.
Ok, good, I thought some server problems too... this is the confirm... I'll be patient :)
justtrying

Re: Weather applet doesn't work anymore

Post by justtrying »

Same problem here, will wait and see......removed ,uninstalled and reinstalled with no difference
User avatar
Pjotr
Level 24
Level 24
Posts: 20086
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Weather applet doesn't work anymore

Post by Pjotr »

Removed it, uninstalled it, installed it again, added it again: works fine. :)

Version 1.12.4.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
gary.zw

Re: Weather applet doesn't work anymore

Post by gary.zw »

Pjotr wrote:Removed it, uninstalled it, installed it again, added it again: works fine. :)

Version 1.12.4.
I have same problem. I did as you said Pjotr while it seems to be working the weather information is inaccurate. It says Temp is 73 here when all other weather service reports say it is 64. Everything else incorrect also
User avatar
overkill22
Level 4
Level 4
Posts: 450
Joined: Fri Jan 16, 2015 6:09 am

Re: Weather applet doesn't work anymore

Post by overkill22 »

gary.zw wrote:
Pjotr wrote:Removed it, uninstalled it, installed it again, added it again: works fine. :)

Version 1.12.4.
I have same problem. I did as you said Pjotr while it seems to be working the weather information is inaccurate. It says Temp is 73 here when all other weather service reports say it is 64. Everything else incorrect also
I actually didn't find this weather app accurate from the beginning. I think the one in MATE is better, but I didn't find how to install it in cinnamon
User avatar
kyphi
Level 9
Level 9
Posts: 2735
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter Valley, Australia

Re: Weather applet doesn't work anymore

Post by kyphi »

It appears that Yahoo is making some changes to the WOEID codes (among other things):

https://github.com/mockturtl/cinnamon-w ... issues/134

New codes can be found here:

http://woeid.rosselliot.co.nz/

Please note, that testing a small number of the new WOEID codes provided no result with the exception of London - WOEID code 44418.

Accuracy of the weather reported is not linked to the desktop environment of the user.
Linux Mint 21.3 Cinnamon
User avatar
overkill22
Level 4
Level 4
Posts: 450
Joined: Fri Jan 16, 2015 6:09 am

Re: Weather applet doesn't work anymore

Post by overkill22 »

kyphi wrote:It appears that Yahoo is making some changes to the WOEID codes (among other things):

https://github.com/mockturtl/cinnamon-w ... issues/134

New codes can be found here:

http://woeid.rosselliot.co.nz/

Please note, that testing a small number of the new WOEID codes provided no result with the exception of London - WOEID code 44418.

Accuracy of the weather reported is not linked to the desktop environment of the user.
true. But it would be good if the weather app in cinnamon use the same services that MATE use.
User avatar
kyphi
Level 9
Level 9
Posts: 2735
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter Valley, Australia

Re: Weather applet doesn't work anymore

Post by kyphi »

You can always rely on the terminal:

http://www.webupd8.org/2016/04/get-weat ... minal.html

It works well with the three-letter IATA (International Air Transport Association) airport codes :D
Linux Mint 21.3 Cinnamon
User avatar
overkill22
Level 4
Level 4
Posts: 450
Joined: Fri Jan 16, 2015 6:09 am

Re: Weather applet doesn't work anymore

Post by overkill22 »

kyphi wrote:It appears that Yahoo is making some changes to the WOEID codes (among other things):

https://github.com/mockturtl/cinnamon-w ... issues/134

New codes can be found here:

http://woeid.rosselliot.co.nz/

Please note, that testing a small number of the new WOEID codes provided no result with the exception of London - WOEID code 44418.

Accuracy of the weather reported is not linked to the desktop environment of the user.

Still not working for me.
samriggs

Re: Weather applet doesn't work anymore

Post by samriggs »

Same here no go since the update, I just switched to the desklet accuweather one instead, it works fine and I actually like better, but I do miss the panel reading when windows are filling up my page.
Tried uninstalling deleting old files and reinstalling no go, the desklet is a nice replacement.
gary.zw

Re: Weather applet doesn't work anymore

Post by gary.zw »

where did you find the accuweather desklet. I looked in the desklets but didn't see
samriggs

Re: Weather applet doesn't work anymore

Post by samriggs »

when you open desklets under settings click the second tab "Available desklets online"
put the checkbox selected forr accuweather desklet and click the install or update the selected items button on the bottom left corner, go back to install desklet tab if it is not installed for the desktop then that's where you do it (just like the applets)
Hope it helps you out
gary.zw

Re: Weather applet doesn't work anymore

Post by gary.zw »

Thanks I see now. I was looking for applets not desklets. I found it
User avatar
kyphi
Level 9
Level 9
Posts: 2735
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter Valley, Australia

Re: Weather applet doesn't work anymore

Post by kyphi »

The weather applet, as distinct from the weather desklet, will work again if you do the following:

Go to https://github.com/mockturtl/cinnamon-w ... issues/134, copy the text file at "applet.txt" shown in the post by 4t4h3cl and substitute that for the existing contents of applet.js found in ~/.local/share/cinnamon/applets/weather@mockturtl.

You might also like to change the line in applet.js linking to the WOEID so that it reads:

const WOEID_URL = "http://woeid.rosselliot.co.nz/"

Save your changes and then refresh Cinnamon (Ctrl+Alt Esc) and enter the new numerical WOEID code.
Linux Mint 21.3 Cinnamon
gary.zw

Re: Weather applet doesn't work anymore

Post by gary.zw »

Work again thanks kyphi
mattst
Level 1
Level 1
Posts: 28
Joined: Fri Oct 18, 2013 5:10 am

Re: Weather applet doesn't work anymore

Post by mattst »

kyphi wrote:The weather applet, as distinct from the weather desklet, will work again if you do the following:

Go to https://github.com/mockturtl/cinnamon-w ... issues/134, copy the text file at "applet.txt" shown in the post by 4t4h3cl and substitute that for the existing contents of applet.js found in ~/.local/share/cinnamon/applets/weather@mockturtl.

You might also like to change the line in applet.js linking to the WOEID so that it reads:

const WOEID_URL = "http://woeid.rosselliot.co.nz/"

Save your changes and then refresh Cinnamon (Ctrl+Alt Esc) and enter the new numerical WOEID code.
Thanks. Your advice gets it half-working for me (London, UK). No location name shown in applet, no 5 day forecast shown. The weather info. outlook, temp, wind all look about right.

I have opened an issue on the applet's GitHub page to bring this thread to the attention of the developer. Posted here: https://github.com/mockturtl/cinnamon-w ... issues/146
User avatar
kyphi
Level 9
Level 9
Posts: 2735
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter Valley, Australia

Re: Weather applet doesn't work anymore

Post by kyphi »

You can set a location name in the configuration screen "override location label" although the numerical code for London, UK (44418) should state "London" (it does so for me).

However, most of the indicated values are incorrect - for example "Wind Chill" is currently shown as 61°C. The temperatures shown are lower than they really are. Wind direction is way off as is pressure and humidity.

I can get accurate weather information using Weatherzone via my browser which tells me that today it will be 28°C.
Linux Mint 21.3 Cinnamon
mattst
Level 1
Level 1
Posts: 28
Joined: Fri Oct 18, 2013 5:10 am

Re: Weather applet doesn't work anymore

Post by mattst »

A fix on GitHub is now available.

Users need to download the zip file on this page: https://github.com/ccprog/cinnamon-weat ... new-format

and replace the contents of their `~/.local/share/cinnamon/applets/weather@mockturtl` directory with the contents of the zip file's `cinnamon-weather-ccprog-yahoo-new-format` directory.

Hope this helps.

To spell it out:
  • Download the zip.
  • Move it to `~/.local/share/cinnamon/applets/`
  • Extract the downloaded zip file.
  • Delete the `weather@mockturtl` directory.
  • Rename the `cinnamon-weather-ccprog-yahoo-new-format` directory as `weather@mockturtl`.
  • Restart Cinnamon (log out and back in again if you don't know how to do this).
  • You will then need to reconfigure the applet's settings.
P.S. This version also fixes the 'override location label' feature which hasn't worked for ages.
Locked

Return to “Compiz, Conky, Docks & Widgets”