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 591570 - gweather conditions always unknown
gweather conditions always unknown
Status: RESOLVED FIXED
Product: libgweather
Classification: Core
Component: locations
2.28.x
Other All
: Normal minor
: future
Assigned To: libgweather-maint
libgweather-maint
Depends on:
Blocks:
 
 
Reported: 2009-08-12 15:11 UTC by lplp2
Modified: 2010-06-30 12:20 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28


Attachments
set correct coord. for Montreal (649 bytes, patch)
2009-10-09 16:55 UTC, Mathieu Trudel-Lapierre
none Details | Review

Description lplp2 2009-08-12 15:11:41 UTC
Please describe the problem:
Weather conditions for Montreal, Canada, America are always unknown. Icon is always set to a sunny condition because of missing information. This is not a network problem. It works fine for other city in Canada (Quebec, Canada for example).

Values that are unknown:
 - Conditions
 - Sky
 - Pressure
 - Visibility

Values that have info:
 - City
 - Last update
 - Temperature
 - Feels like
 - Dew point
 - Relative humidity
 - Wind
 - Sunrise
 - Sunset

Worked fine a month ago.

Steps to reproduce:
1. Go to weather preferences of gweather applet or clock applet.
2. Select North America > Canada > Quebec > Montreal as location.
3. If needed, update the previsions.


Actual results:
No information about the weather is given (sky for example), where the icon change to a sunny forecast with "Unknown" written.

Expected results:
Information about forecast conditions, sky, pressure and visibility. An icon showing the forecast in the gweather applet and in the clock applet.

Does this happen every time?
Every time

Other information:
Comment 1 Mathieu Trudel-Lapierre 2009-10-09 16:55:02 UTC
Created attachment 145147 [details] [review]
set correct coord. for Montreal
Comment 2 Mathieu Trudel-Lapierre 2009-10-09 16:55:28 UTC
I can confirm this for 2.28.x as well. Montreal doesn't show a fully featured weather report, and the icon always is at "Sunny".

This is also reported as Ubuntu bug #404616:
https://bugs.edge.launchpad.net/ubuntu/+source/libgweather/+bug/404616

I've attached a patch that fixes the issue by specifying different coordinates for Montreal; instead of the coordinates of the McTavish station, it uses the coordinates for the Pierre-Eliott Trudeau airport, which provides more weather information than McTavish (which pretty much only has temperature).
Comment 3 Maxim Cournoyer 2010-06-30 02:10:21 UTC
Was the fix commit upstream? I guess so because in Ubuntu 10.04 it's fixed. If so, we could close this bug.
Comment 4 lplp2 2010-06-30 12:20:58 UTC
(In reply to comment #3)
> Was the fix commit upstream? I guess so because in Ubuntu 10.04 it's fixed. If
> so, we could close this bug.

Yeah I think so, it's also fixed in Fedora 13.