Fred Smith writes:
On Thu, Aug 25, 2016 at 08:33:46AM +0100, Nux! wrote:
I've rebuilt libmateweather for EL7 with the aforementioned patch and it seems to have fixed the issue. Feel free to use it until EPEL package the fix.
thanks Nux!
I installed it and it now gets current conditions just fine.
but I tried several different locations and all of them say that there is no forecast available. Possible coincidence??
The patch is incomplete. The Mate guys didn't patch this file. Run tcpdump and verify it's trying query www.weather.gov/forecasts.
# pwd /root/rpmbuild/SOURCES/libgweather-2.28.0/libgweather # grep http * |grep forecast weather-iwin.c: /* see the description here: http://www.weather.gov/forecasts/xml/ */ weather-iwin.c: url = g_strdup_printf ("http://www.weather.gov/forecasts/xml/sample_products/browser_interface/ndfdB...", weather-iwin.c: url = g_strdup_printf ("http://weather.noaa.gov/pub/data/forecasts/zone/%s/%s.txt", state, zone); [root@torr libgweather]#