Bug 1372738

Summary: Unable to retrieve weather information
Product: Red Hat Enterprise Linux 6 Reporter: Jack Lovell <jack.lovell>
Component: libgweatherAssignee: Matthias Clasen <mclasen>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.8CC: constantin_, mclasen, msz, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-06 10:28:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to use Aviation Weather instead of NOAA
none
Patch for RPM spec file to include Aviation Weather patch none

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/