Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation Weather App - No Data/Retry error after 3.4 update
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
[Locked] Weather App - No Data/Retry error after 3.4 update
Page : 1 2 3 4 5
garystewart English 81 angellily [Read]
12 September 2016 à 10:14

garystewart, Friday 13 May 2016 à 13:51


Subscription date : 13 May 2016
Messages : 5
Hi,
After an automatic update to the Cairo-Dock 3.3.99 Beta 1 Trusty version for my Mint Rosa Cinnamon machine, the weather applet can no longer make a connection. I get a "no data retrying now" message. My Location code is correct. Updating to version 3.4.0 did not fix the problem.

I tried installing the Weather Desklet 2.9 on my desktop using weather.com (deprecated) entry to see if the problem was with the weather.com site, and using the same location code, the desklet worked perfectly. Any idea how to get the cairo-dock applet working again?

Thanks,
garystewart

Guest, Saturday 14 May 2016 à 05:12

Weather isn't working for me either. I've been running 3.4.0 on Ubuntu 14.04 for while and haven't updated anything related to the dock. The weather just stopped working a couple of days ago.

garystewart, Saturday 14 May 2016 à 06:47


Subscription date : 13 May 2016
Messages : 5
Guest,
If that's the case, then it may actually be changes to the weather.com site. I went on the site and they have definitely updated/upgraded their site within the past few days, and they have mentioned it. I've had that happen a number of years ago, on more than one occasion with weather.com. However, the loacation codes have not changed. Perhaps access with an api or changed paths are the problem. Have no idea.

dedepapa, Saturday 14 May 2016 à 07:51


Subscription date : 24 October 2013
Messages : 10
Hi guys
I have the same issue. Weather stopped working few days ago. I'm running Ubuntu 14.04.4 and haven't changed anything. Hope this will be solved in the coming days.

aamadis, Saturday 14 May 2016 à 08:20


Subscription date : 12 October 2010
Messages : 18
Same here. Weather app stopped working a day or two ago. I'm on Ubuntu 14.04 and 16.04. Both have no working weather app.

Rasta-44, Saturday 14 May 2016 à 10:36


Subscription date : 14 May 2016
Messages : 6
Hi,

I'm like you @ll. Weather Applet doesn't work on Linux Mint 17.3 and Debian Jessie Weather.com has change something last days, but what ? I hope this problem can be fixed soon as possible. Regards

Iamwithin, Sunday 15 May 2016 à 16:11


Subscription date : 15 May 2016
Messages : 10
Cairo-Dock weather AND Conky weather no longer working in Mint 17.3 or Ubuntu 16.04, but nothing was changed here.
Therefore, weather.com must have shut us out. If anyone figures out a work around, please post. Thank you.

Bill

NoLogo2, Monday 16 May 2016 à 00:38


Subscription date : 16 May 2016
Messages : 1
There has been a change to weather.com API :
https://www.reddit.com/r/Rainmeter/comments/4j8ais/psa_weathercom_seems_to_no_longer_be_using_xml/

Now we need someone who knows to modify the Weather applet to make it work again.

Edit: most Conky scripts (that I know) are using Yahoo API, that changed about two weeks ago as well : https://forum.rainmeter.net/viewtopic.php?f=13&t=23010

Iamwithin, Monday 16 May 2016 à 03:25


Subscription date : 15 May 2016
Messages : 10
Okay so, in Conky, whereas I used to use this:

http://xml.weather.com/weather/local/<LOCATION>?cc=*&dayf=10&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m

Now that it is broken I use this:

http://wxdata.weather.com/wxdata/weather/local/USNC0577?cc=*&dayf=10&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m

AND IT WORKS JUST FINE NOW!!!

See my screenshot: https://personal.filesanywhere.com/FS/M.aspx?v=8a6b688c5f6370adb29a

Yea!

Bill

Meneer Jansen, Monday 16 May 2016 à 11:29


Subscription date : 13 July 2010
Messages : 8
Iamwithin :
Okay so, in Conky, whereas I used to use this:

http://xml.weather.com/weather/local/<LOCATION>?cc=*&dayf=10&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m

Now that it is broken I use this:

http://wxdata.weather.com/wxdata/weather/local/USNC0577?cc=*&dayf=10&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m

AND IT WORKS JUST FINE NOW!!!

See my screenshot: https://personal.filesanywhere.com/FS/M.aspx?v=8a6b688c5f6370adb29a

Yea!

Bill

Does anybody know where we can edit the url that is used by Cairo-Dock's Weather app? I hope that its somewhere in the apps settings files.

Iamwithin, Monday 16 May 2016 à 13:53


Subscription date : 15 May 2016
Messages : 10
"Does anybody know where we can edit the url that is used by Cairo-Dock's Weather app? I hope that its somewhere in the apps settings files."

Yes, that IS the question now.

fornhamfred, Monday 16 May 2016 à 17:42


Subscription date : 16 May 2016
Messages : 1
Iamwithin :


"Does anybody know where we can edit the url that is used by Cairo-Dock's Weather app? I hope that its somewhere in the apps settings files.
"

Yes, that IS the question now.

Same problem here with both Linux Mint 17.3 and PcLinuxOS

Guest, Tuesday 17 May 2016 à 00:51

It looks like the url is compiled in. For those of you compiling cairo-dock-plugins from source here is a patch:

--- weather/src/applet-config.c.orig    2016-05-16 20:41:00.989532095 -0400
+++ weather/src/applet-config.c    2016-05-16 20:41:05.890473638 -0400
@@ -174,7 +174,7 @@
    gldi_task_discard (myData.pGetLocationTask);
    myData.pGetLocationTask = NULL;
}
-#define CD_WEATHER_BASE_URL "http://xml.weather.com"
+#define CD_WEATHER_BASE_URL "http://wxdata.weather.com/wxdata"
static void _cd_weather_search_for_location (GtkEntry *pEntry, GldiModuleInstance *myApplet)
{
    const gchar *cLocationName = gtk_entry_get_text (pEntry);
--- weather/src/applet-read-data.c.orig    2016-05-16 20:39:06.222916780 -0400
+++ weather/src/applet-read-data.c    2016-05-16 20:39:40.641497521 -0400
@@ -30,7 +30,7 @@
#include "applet-load-icons.h"
#include "applet-read-data.h"

-#define CD_WEATHER_BASE_URL "http://xml.weather.com"
+#define CD_WEATHER_BASE_URL "http://wxdata.weather.com/wxdata"


static xmlDocPtr _cd_weather_open_xml_buffer (const gchar *cData, xmlNodePtr *root_node, const gchar *cRootNodeName, GError **erreur)

roberto16900, Tuesday 17 May 2016 à 03:14


Subscription date : 17 May 2016
Messages : 9
Guest :
It looks like the url is compiled in. For those of you compiling cairo-dock-plugins from source here is a patch:

--- weather/src/applet-config.c.orig    2016-05-16 20:41:00.989532095 -0400
+++ weather/src/applet-config.c    2016-05-16 20:41:05.890473638 -0400
@@ -174,7 +174,7 @@
    gldi_task_discard (myData.pGetLocationTask);
    myData.pGetLocationTask = NULL;
}
-#define CD_WEATHER_BASE_URL "http://xml.weather.com"
+#define CD_WEATHER_BASE_URL "http://wxdata.weather.com/wxdata"
static void _cd_weather_search_for_location (GtkEntry *pEntry, GldiModuleInstance *myApplet)
{
    const gchar *cLocationName = gtk_entry_get_text (pEntry);
--- weather/src/applet-read-data.c.orig    2016-05-16 20:39:06.222916780 -0400
+++ weather/src/applet-read-data.c    2016-05-16 20:39:40.641497521 -0400
@@ -30,7 +30,7 @@
#include "applet-load-icons.h"
#include "applet-read-data.h"

-#define CD_WEATHER_BASE_URL "http://xml.weather.com"
+#define CD_WEATHER_BASE_URL "http://wxdata.weather.com/wxdata"


static xmlDocPtr _cd_weather_open_xml_buffer (const gchar *cData, xmlNodePtr *root_node, const gchar *cRootNodeName, GError **erreur)



Hi,
As I do not compile my self why don't you compile this in the actual deb package and put it into the repository?
I would like even to know where I can find this source code on the pc.

Ciao
Roberto

Rasta-44, Tuesday 17 May 2016 à 11:38


Subscription date : 14 May 2016
Messages : 6
Please Help

Guest, Wednesday 18 May 2016 à 07:58

I can confirm this patch works. Unfortunately, I'm still using ubuntu 12.04.

So for 12.04 and Cairo-dock 3.4.0 users, here is the compiled one for replacing /usr/lib/x86_64-linux-gnu/cairo-dock/libcd-weather.so (make sure you have a backup)

https://drive.google.com/open?id=0B-XSYP5W-8Wea2NWTGJtSkxybEk

There is also a bug report on:

https://bugs.launchpad.net/cairo-dock-plug-ins/+bug/1581725

roberto16900, Wednesday 18 May 2016 à 18:59


Subscription date : 17 May 2016
Messages : 9
Guest :
I can confirm this patch works. Unfortunately, I'm still using ubuntu 12.04.

So for 12.04 and Cairo-dock 3.4.0 users, here is the compiled one for replacing /usr/lib/x86_64-linux-gnu/cairo-dock/libcd-weather.so (make sure you have a backup)

https://drive.google.com/open?id=0B-XSYP5W-8Wea2NWTGJtSkxybEk

There is also a bug report on:

https://bugs.launchpad.net/cairo-dock-plug-ins/+bug/1581725


Hi
thank you for the quick response. I use UBUNTU 12.04 LTS 64 bit and Cairo-dock 3.4.0.
So I put the file in the exact place but there is unfortunately
no change.

I just ask the maintainer of this package to publish a patch for this problem
and for future version the possibility to configure the weather plug-in with the
api and the service (e.g. Open weather map, Yahoo weather etc.)
Using for example Kodi with Open weather map it works. You just can get an API
without paying for this.

Ciao
Roberto

garystewart, Wednesday 18 May 2016 à 19:41


Subscription date : 13 May 2016
Messages : 5
Hi Guest,
I am using Mint 17.3 64bit Cinnamon (Ubuntu 14.04) with Linux Kernel 4.3. The patch is no go for my build. Thanks for your kind efforts in compiling the executable. And thank you Roberto for contacting the maintainer. Hopefully a patch will be issued soon.

Best wishes,
garystewart

Iamwithin, Wednesday 18 May 2016 à 22:10


Subscription date : 15 May 2016
Messages : 10
garystewart :
Hi Guest,
I am using Mint 17.3 (Ubuntu 14.04) with Linux Kernel 4.3. The patch is no go for my build. Thanks for your kind efforts in compiling the executable. And thank you Roberto for contacting the maintainer. Hopefully a patch will be issued soon.

Best wishes,
garystewart


I am using Mint 17.3 (64 bit) w/Mate DE and Linux Kernel 3.19.0.22 and Cairo-Dock 3.4.0 and the file worked perfectly for me! Thanks for the fix!
I just copied the file as root in /usr/lib/x86_64-linux-gnu/cairo-dock/libcd-weather.so, and now see my screenshot: https://personal.filesanywhere.com/FS/M.aspx?v=8a6b688d5d65aeba6fa4

Yea!

Bill

Guest, Thursday 19 May 2016 à 01:16

Hi all.

I'm on Debian 8 64bit MATE with Linux Kernel 4.6 and Cairo-Dock 3.4.0.
The patched file worked beautifully for me but *only after restarting Cairo-Dock.*
Replacing the file and simply going to "Reload now" from the menu didn't work.

Thanks a lot!

Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
[Locked] Weather App - No Data/Retry error after 3.4 update
Page : 1 2 3 4 5
garystewart English 81 angellily [Read]
12 September 2016 à 10:14


Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation Weather App - No Data/Retry error after 3.4 update Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.