[CentOS] Gnome weather applet stranded

Nux! nux at li.nux.ro
Mon Aug 29 10:08:00 UTC 2016


Thanks, I'll raise the issue

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "isdtor" <isdtor at gmail.com>
> To: centos at centos.org
> Sent: Thursday, 25 August, 2016 14:55:40
> Subject: Re: [CentOS] Gnome weather applet stranded

> 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 at torr libgweather]#
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos



More information about the CentOS mailing list