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?? Fred> > -- > Sent from the Delta quadrant using Borg technology! > > Nux! > www.nux.ro > > ----- Original Message ----- > > From: "Nux!" <nux at li.nux.ro> > > To: "CentOS mailing list" <centos at centos.org> > > Sent: Thursday, 25 August, 2016 08:13:00 > > Subject: Re: [CentOS] Gnome weather applet stranded > > > Fred, > > > > Check here > > https://git.gnome.org/browse/libgweather/tree/libgweather/weather-metar.c?h=gnome-2-30 > > > > -- > > Sent from the Delta quadrant using Borg technology! > > > > Nux! > > www.nux.ro > > > > ----- Original Message ----- > >> From: "Fred Smith" <fredex at fcshome.stoneham.ma.us> > >> To: centos at centos.org > >> Sent: Thursday, 25 August, 2016 02:17:27 > >> Subject: Re: [CentOS] Gnome weather applet stranded > > > >> On Wed, Aug 24, 2016 at 10:22:58PM +0100, Nux! wrote: > >>> It looks like it was quickly fixed in MATE, hope EPEL moves fast... :) > >>> > >>> https://github.com/mate-desktop/libmateweather/issues/30#issuecomment-242190096 > >>> -- > >>> Sent from the Delta quadrant using Borg technology! > >>> > >>> Nux! > >>> www.nux.ro > >> > >> Just for grins, I've been looking through the sources for the version > >> I'm running that does not contain the fix. Either I"m blind, or there's > >> a whole lot of obscurity built in there. I cannot, for the life of me, > >> find where it hides the URL it goes to to get the weather data. Since > >> there ought to be a fix coming down the pipe Real Soon Now, I won't > >> sorry about it, but it woulda been nice if I coulda figured it out. :( > >> > >> > >> -- > >> ------------------------------------------------------------------------------- > >> .---- Fred Smith / > >> ( /__ ,__. __ __ / __ : / > >> / / / /__) / / /__) .+' Home: fredex at fcshome.stoneham.ma.us > >> / / (__ (___ (__(_ (___ / :__ 781-438-5471 > >> -------------------------------- Jude 1:24,25 --------------------------------- > >> _______________________________________________ > >> CentOS mailing list > >> CentOS at centos.org > > > https://lists.centos.org/mailman/listinfo/centos > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos-- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------- The Lord is like a strong tower. Those who do what is right can run to him for safety. --------------------------- Proverbs 18:10 (niv) -----------------------------
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]#
> The patch is incomplete. The Mate guys didn't patch this file. Run tcpdump > and verify it's trying query www.weather.gov/forecasts.Sorry, I meant http://weather.noaa.gov/pub/data/forecasts/... .
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