Bug 1372738 - Unable to retrieve weather information
Summary: Unable to retrieve weather information
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libgweather
Version: 6.8
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Matthias Clasen
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-02 14:13 UTC by Jack Lovell
Modified: 2019-07-24 16:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-06 10:28:27 UTC
Target Upstream Version:


Attachments (Terms of Use)
Patch to use Aviation Weather instead of NOAA (954 bytes, patch)
2017-01-12 16:21 UTC, Jack Lovell
no flags Details | Diff
Patch for RPM spec file to include Aviation Weather patch (1.11 KB, patch)
2017-01-12 16:22 UTC, Jack Lovell
no flags Details | Diff

Description Jack Lovell 2016-09-02 14:13:27 UTC
Description of problem:
See https://bugzilla.redhat.com/show_bug.cgi?id=1370889, since this bug was also present in Fedora. The URL to retrieve weather information from needs to be changed, as the previous one is no longer valid.

Version-Release number of selected component (if applicable):
2.28.0

How reproducible:
Always, since 23rd August 2016

Comment 2 Tomas Pelka 2016-09-02 18:57:07 UTC
I believe this caused by the crappy forecasting service, we fixed that for el7 (https://bugzilla.redhat.com/show_bug.cgi?id=1371550) already so it should be backported to el6 too.

Comment 4 Constantin Dunayev 2016-10-16 20:01:14 UTC
It can be fixed simply with switching to aviationweather.gov
http://askubuntu.com/questions/817083/my-weather-widget-is-not-working

quote: 
At line 525, change "National Weather Service" to "AVIATION WEATHER CENTER"
At line 553, change "http://weather.noaa.gov/mgetmetar.php" to "http://aviationweather.gov/metar/data"
At line 554, change "cccc" to "ids"

Edit the ./libgweather-2.28.0/libgweather/weather-metar.c

I have rebuilt RPM and it works for me.

Best regards

Comment 5 Michal Szymanski 2017-01-07 01:13:52 UTC
Thanks, Constantin, for a working patch.

Pity that nobody has bothered to fix that for RH6. Few users would patch and rebuild the source RPM to get this working.

Comment 7 Jack Lovell 2017-01-12 16:21:26 UTC
Created attachment 1240009 [details]
Patch to use Aviation Weather instead of NOAA

Comment 8 Jack Lovell 2017-01-12 16:22:29 UTC
Created attachment 1240011 [details]
Patch for RPM spec file to include Aviation Weather patch

Comment 9 Jan Kurik 2017-12-06 10:28:27 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/


Note You need to log in before you can comment on or make changes to this bug.