Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 592190 - x11-plugins/gkrellweather: uses outdated US NOAA Weather Service URL for getting data
Summary: x11-plugins/gkrellweather: uses outdated US NOAA Weather Service URL for gett...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2016-08-26 14:20 UTC by G.Wolfe Woodbury
Modified: 2017-07-27 14:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for NWS URL change in GrabWeather script (NWS_URL.patch,567 bytes, patch)
2016-08-29 04:12 UTC, G.Wolfe Woodbury
Details | Diff
gkrellweather-2.0.8-r1.ebuild for new METARS location (gkrellweather-2.0.8-r1.ebuild,987 bytes, text/plain)
2016-12-11 07:23 UTC, G.Wolfe Woodbury
Details
most recent patch for METARS data location (METARS-change.patch,567 bytes, patch)
2016-12-11 07:26 UTC, G.Wolfe Woodbury
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description G.Wolfe Woodbury 2016-08-26 14:20:40 UTC
In early August 2016, the National Weather service changed the URLs for getting observation data.  The GrabWeather component of the gkrellweather plugin (a perl script) needs to be updated to use the correct URL.

  old: http://weather.noaa.gov/pub/data/observations/metar/decoded/<StationID>.TXT

  new: http://tgftp.nws.noaa.gov/data/observations/metar/decoded/<StationID>.TXT

Updating this fixes problems displaying the weather for GKrellm.

Reproducible: Always

Steps to Reproduce:
1. use the gkrellweather  plugin
2. enter a valid <StationID> value (e.g. KRDU  - Raleigh Durham International)
3. wait forever for no weather display
Actual Results:  
gkrellweather never updates (silently)

Expected Results:  
should display desired weather observations in the krell

The NOAA actually warned of this change a while ago, but no one noticed until the change happened.

Since the GrabWeather component is a perl script, changing the URL at the top of the script is a trivial fix:

s;http://weather.noaa.gov/pub;http://tgftp.nws.noaa.gov;
Comment 1 G.Wolfe Woodbury 2016-08-26 14:22:32 UTC
Not a problem with Gentoo.  emerge --info not required
Comment 2 Coacher 2016-08-26 23:54:39 UTC
Similar to bug 590740.
Comment 3 G.Wolfe Woodbury 2016-08-27 02:09:04 UTC
It is "sort of" the same bug, but in an entirely different package and ebuild.
The change should probably be pushed upstream,  I think that such a minor change only deserves and additional patch revbump (e.g. a move to -r2.)
Comment 4 Coacher 2016-08-28 02:07:25 UTC
(In reply to G.Wolfe Woodbury from comment #3)
> It is "sort of" the same bug, but in an entirely different package and
> ebuild.
> The change should probably be pushed upstream,  I think that such a minor
> change only deserves and additional patch revbump (e.g. a move to -r2.)
Would you like to maintain this package yourself as a proxy maintainer: https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers?
Comment 5 G.Wolfe Woodbury 2016-08-28 02:51:10 UTC
I have thought about this for a few packages lately, however. . .

I have been writing and debugging programs and systems for nearly 58 years now (generation 0 computer kid) and still enjoy doing so at 63 years. My health, unfortunately, sometimes has other things to say about what I do each day; this leaves me to say that I cannot have the regular time and attention needed to be an effective maintainer, even by proxy. This may be TMI, but I'd like folks to know why I'm not a developer or maintainer anymore (I used to do some of this before I switched to Gentoo as my primary OS for systems).

I can still work with anyone else who is more reliable to sometimes do the necessary work.
Comment 6 G.Wolfe Woodbury 2016-08-29 04:12:35 UTC
Created attachment 444356 [details, diff]
patch for NWS URL change in GrabWeather script

This patch fixes the URL used to fetch the weather observation data from the National Weather Service, which changed at the end of July 2016.
Comment 7 G.Wolfe Woodbury 2016-08-29 04:14:54 UTC
Submitting attached patch for ebuild 2.0.8-r1 that fixes the URL for the National Weather Service website re-organization.
Comment 8 G.Wolfe Woodbury 2016-12-11 07:23:18 UTC
Created attachment 455816 [details]
gkrellweather-2.0.8-r1.ebuild for new METARS location

New ebuild that adds a patch for the change in METARS data location on the WWW
Comment 9 G.Wolfe Woodbury 2016-12-11 07:26:01 UTC
Created attachment 455818 [details, diff]
most recent patch for METARS data location

renamed patch for x11-plugins/gkrellweather-2.0.8-r1
for changed location of US NOAA/NWS METARS data
Comment 10 G.Wolfe Woodbury 2016-12-11 07:28:12 UTC
I have made an updated ebuild and patch for
x11-plugins/gkrellweather-2.0.8-r1

someone who is able, please commit these.
Comment 11 Pacho Ramos gentoo-dev 2017-07-26 11:11:49 UTC
[master 9713920e479] x11-plugins/gkrellweather: Fix dependency on gkrellm[X] and make it work again (#592190 by G.Wolfe Woodbury).
 2 files changed, 59 insertions(+)
 create mode 100644 x11-plugins/gkrellweather/files/gkrellweather-2.0.8-update-locations.patch
 create mode 100644 x11-plugins/gkrellweather/gkrellweather-2.0.8-r1.ebuild
Comment 12 G.Wolfe Woodbury 2017-07-27 14:45:19 UTC
Thank You !