Weather applet doesn't work anymore

Forum rules
Before you post please read how to get help
User avatar
overkill22
Level 4
Level 4
Posts: 284
Joined: Fri Jan 16, 2015 6:09 am
Contact:

Weather applet doesn't work anymore

Postby overkill22 » Tue Apr 12, 2016 2:53 am

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?

User avatar
kyphi
Level 8
Level 8
Posts: 2122
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter, Australia

Re: Weather applet doesn't work anymore

Postby kyphi » Tue Apr 12, 2016 11:53 pm

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 18.3 Cinnamon - 64bit

User avatar
overkill22
Level 4
Level 4
Posts: 284
Joined: Fri Jan 16, 2015 6:09 am
Contact:

Re: Weather applet doesn't work anymore

Postby overkill22 » Wed Apr 13, 2016 1:19 am

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
Level 1
Level 1
Posts: 12
Joined: Tue Sep 30, 2014 12:11 pm

Re: Weather applet doesn't work anymore

Postby justtrying » Wed Apr 13, 2016 10:18 am

Same problem here, will wait and see......removed ,uninstalled and reinstalled with no difference

User avatar
Pjotr
Level 19
Level 19
Posts: 9007
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Weather applet doesn't work anymore

Postby Pjotr » Wed Apr 13, 2016 10:36 am

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 18.3 Sylvia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

gary.zw
Level 4
Level 4
Posts: 249
Joined: Thu Sep 13, 2012 4:10 pm

Re: Weather applet doesn't work anymore

Postby gary.zw » Wed Apr 13, 2016 11:21 am

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
Linux Mint 18.1 Cinnamon Edition 64-bit.
Intel Core i5-3570K CPU Clock Speeds: 1: 1645.679 MHz 2: 2296.992 MHz 3: 1642.093 MHz 4: 1604.375 MHz
Graphics: Card: NVIDIA GK104 GeForce GTX 660 Ti

User avatar
overkill22
Level 4
Level 4
Posts: 284
Joined: Fri Jan 16, 2015 6:09 am
Contact:

Re: Weather applet doesn't work anymore

Postby overkill22 » Wed Apr 13, 2016 11:48 am

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 8
Level 8
Posts: 2122
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter, Australia

Re: Weather applet doesn't work anymore

Postby kyphi » Wed Apr 13, 2016 6:20 pm

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 18.3 Cinnamon - 64bit

User avatar
overkill22
Level 4
Level 4
Posts: 284
Joined: Fri Jan 16, 2015 6:09 am
Contact:

Re: Weather applet doesn't work anymore

Postby overkill22 » Wed Apr 13, 2016 9:46 pm

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 8
Level 8
Posts: 2122
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter, Australia

Re: Weather applet doesn't work anymore

Postby kyphi » Fri Apr 15, 2016 5:52 pm

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 18.3 Cinnamon - 64bit

User avatar
overkill22
Level 4
Level 4
Posts: 284
Joined: Fri Jan 16, 2015 6:09 am
Contact:

Re: Weather applet doesn't work anymore

Postby overkill22 » Sat Apr 16, 2016 1:24 am

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.

User avatar
samriggs
Level 6
Level 6
Posts: 1197
Joined: Sun Apr 24, 2011 6:09 pm
Location: Canada
Contact:

Re: Weather applet doesn't work anymore

Postby samriggs » Sun Apr 17, 2016 3:54 am

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.
"Windows: the worst system for the most money, Linux: the best system for free"
Registered Linux User #545430
Manjaro XFCE / Mint Cinnamon
asus X751LX and an acer and a toshiba and another asus

gary.zw
Level 4
Level 4
Posts: 249
Joined: Thu Sep 13, 2012 4:10 pm

Re: Weather applet doesn't work anymore

Postby gary.zw » Sun Apr 17, 2016 11:56 am

where did you find the accuweather desklet. I looked in the desklets but didn't see
Linux Mint 18.1 Cinnamon Edition 64-bit.
Intel Core i5-3570K CPU Clock Speeds: 1: 1645.679 MHz 2: 2296.992 MHz 3: 1642.093 MHz 4: 1604.375 MHz
Graphics: Card: NVIDIA GK104 GeForce GTX 660 Ti

User avatar
samriggs
Level 6
Level 6
Posts: 1197
Joined: Sun Apr 24, 2011 6:09 pm
Location: Canada
Contact:

Re: Weather applet doesn't work anymore

Postby samriggs » Sun Apr 17, 2016 12:42 pm

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
"Windows: the worst system for the most money, Linux: the best system for free"
Registered Linux User #545430
Manjaro XFCE / Mint Cinnamon
asus X751LX and an acer and a toshiba and another asus

gary.zw
Level 4
Level 4
Posts: 249
Joined: Thu Sep 13, 2012 4:10 pm

Re: Weather applet doesn't work anymore

Postby gary.zw » Sun Apr 17, 2016 12:56 pm

Thanks I see now. I was looking for applets not desklets. I found it
Linux Mint 18.1 Cinnamon Edition 64-bit.
Intel Core i5-3570K CPU Clock Speeds: 1: 1645.679 MHz 2: 2296.992 MHz 3: 1642.093 MHz 4: 1604.375 MHz
Graphics: Card: NVIDIA GK104 GeForce GTX 660 Ti

User avatar
kyphi
Level 8
Level 8
Posts: 2122
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter, Australia

Re: Weather applet doesn't work anymore

Postby kyphi » Tue Apr 19, 2016 9:32 pm

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 18.3 Cinnamon - 64bit

gary.zw
Level 4
Level 4
Posts: 249
Joined: Thu Sep 13, 2012 4:10 pm

Re: Weather applet doesn't work anymore

Postby gary.zw » Tue Apr 19, 2016 10:08 pm

Work again thanks kyphi
Linux Mint 18.1 Cinnamon Edition 64-bit.
Intel Core i5-3570K CPU Clock Speeds: 1: 1645.679 MHz 2: 2296.992 MHz 3: 1642.093 MHz 4: 1604.375 MHz
Graphics: Card: NVIDIA GK104 GeForce GTX 660 Ti

mattst
Level 1
Level 1
Posts: 24
Joined: Fri Oct 18, 2013 5:10 am

Re: Weather applet doesn't work anymore

Postby mattst » Wed Apr 20, 2016 8:37 am

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 8
Level 8
Posts: 2122
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter, Australia

Re: Weather applet doesn't work anymore

Postby kyphi » Wed Apr 20, 2016 6:00 pm

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 18.3 Cinnamon - 64bit

mattst
Level 1
Level 1
Posts: 24
Joined: Fri Oct 18, 2013 5:10 am

Re: Weather applet doesn't work anymore

Postby mattst » Sun Apr 24, 2016 8:37 am

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.


Return to “Compiz, Conky, Docks, & Widgets”