After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 492268 - Unable to get weather forecast for Australia, Northern Territory, Alice Springs.
Unable to get weather forecast for Australia, Northern Territory, Alice Springs.
Status: RESOLVED FIXED
Product: libgweather
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: 2.24.0
Assigned To: libgweather-maint
libgweather-maint
Depends on:
Blocks:
 
 
Reported: 2007-11-01 05:39 UTC by Paul Wise
Modified: 2008-06-18 19:12 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
Patch to fix Alice Springs and add Darwin forecasts (764 bytes, patch)
2007-12-05 12:13 UTC, Andrew Burton
none Details | Review

Description Paul Wise 2007-11-01 05:39:07 UTC
Please describe the problem:
Can't get weather forecast for Australia, Northern Territory, Alice Springs. gweather goes looking for http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDD10110.txt instead of http://www.bom.gov.au/products/IDD10111.shtml.

Steps to reproduce:
1. Switch to gweather location to Australia, Northern Territory, Alice Springs
2. Do an update
3. Go to the forecast tab of the details



Actual results:
I'm disappointed by the "Forecast not currently available for this location." message.

Expected results:
It would read http://www.bom.gov.au/products/IDD10111.shtml and give me a forecast.

Does this happen every time?
Yes

Other information:
Please please please, before every release of gnome-applets, run a script that checks each URL and outputs a list of the ones that error out. At least this way the data you have will be correct at the time of release.

Also, it might be a good idea to have some sort of update mechanism, so that the applet can get a new list of URLs between GNOME releases.

Alternatively to the HTML, you could use this plain text file: ftp://ftp.bom.gov.au/anon/gen/fwo/IDD10111.txt

Probably can use the other text files in that directory for all Australian forecasts.
Comment 1 Paul Wise 2007-11-01 05:48:19 UTC
Just noticed that http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDD10111.txt works, so I guess it is just a typo (last 0 should be a 1).
Comment 2 Paul Wise 2007-11-06 22:59:16 UTC
In addition, a better forecast for Alice Springs would be IDD10161:

http://www.bom.gov.au/products/IDD10161.shtml
http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDD10161.txt
Comment 3 Andrew Burton 2007-12-05 12:13:34 UTC
Created attachment 100237 [details] [review]
Patch to fix Alice Springs and add Darwin forecasts

Patch attached to fix the missing forecast for Alice Springs. Also added forecast code for Darwin, which was also not present.

Note no other NT towns appear to have dedicated forecast codes, so am omitting them.
Comment 4 Dan Winship 2008-06-18 17:35:43 UTC
Moving libgweather-specific bugs out of gweather-applet
Comment 5 Dan Winship 2008-06-18 19:12:14 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.