Re: Gnome weather applet stranded

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.
> > 
> > http://li.nux.ro/download/nux//tmp/libmateweather7/
> 
> 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/ndfdBrowserClientByDay.php?&lat=%.02f&lon=%.02f&format=24+hourly&startDate=%04d-%02d-%02d&numDays=7";,
weather-iwin.c:    url = g_strdup_printf ("http://weather.noaa.gov/pub/data/forecasts/zone/%s/%s.txt";, state, zone);
[root@torr libgweather]# 

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux