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 451734 - Weather calendar getting wrong data
Weather calendar getting wrong data
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Calendar
1.10.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2007-06-27 20:18 UTC by Sebastien Bacher
Modified: 2008-12-08 07:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
Replacement Locations.xml for EDS 2.22, fix to Blythe, CA URL (63.52 KB, application/xml)
2008-07-28 02:51 UTC, Ian Weisser
  Details
correctly set Blythe, CA URL (1.15 KB, patch)
2008-11-14 18:52 UTC, C de-Avillez
committed Details | Review

Description Sebastien Bacher 2007-06-27 20:18:22 UTC
The bug has been opened on https://bugs.launchpad.net/bugs/117984

"Binary package hint: evolution

When adding Blythe, California as a weather calendar, the wrong data is retrieved. The data retrieved is for Salem, Oregon.

In the file /usr/share/evolution-data-server-1.10/weather/Locations.xml on line 56 Blythe is linked to weather station code SLE. SLE is Salem, Oregon. The weather station code for Blythe, California is BLH.

Editing this file to replace SLE with BLH does not correct the problem (I assume the url also needs to be corrected, but have no clue what the correct url would be), but instead causes the program to crash whenever it's restarted, which required me to delete the entire ~/.gconf/app/evolution folder and start over to get evolution to restart.

I'm using version 2.10.1 on Ubuntu 7.04.

Just to update, I have found the correct URL and successfully modified my file to get the correct data.

For reference, the line for Blythe, California needs to read

type="ccf" code="BLH" url="http://www.crh.noaa.gov/data/PSR/CCFPSR"
"
Comment 1 Ian Weisser 2008-07-28 02:51:56 UTC
Created attachment 115405 [details]
Replacement Locations.xml for EDS 2.22, fix to Blythe, CA URL

Confirmed this bug in EDS 2.22

Corrected /usr/share/evolution-data-server2.22/weather/Locations.xml file attached. Location code should be PSR, not PQR.

Tested with corrected file - works properly.
Comment 2 C de-Avillez 2008-11-14 18:52:58 UTC
Created attachment 122679 [details] [review]
correctly set Blythe, CA URL
Comment 3 Matthew Barnes 2008-11-14 20:01:38 UTC
Go ahead and commit to gnome-2-24 and trunk.
Comment 4 Suman Manjunath 2008-12-08 07:01:53 UTC
Patch committed to stable (gnome-2-24) branch as r9806
http://svn.gnome.org/viewvc/evolution-data-server?view=revision&revision=9806

Patch committed to SVN trunk as r9807
http://svn.gnome.org/viewvc/evolution-data-server?view=revision&revision=9807