weather does not appear in gnome-clock because of missing timezone

Bug #494145 reported by immortel on 2009-12-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Panel
New
Low
gnome-panel (Ubuntu)
Low
Ubuntu Desktop Bugs

Bug Description

When I installed Ubuntu Karmic Koala, I put the timezone America/Montreal.

Once installed, I configured the clock to have the current weather and it did not work.

The problem is in gnome-clock the time zone is set to Eastern Time (GMT-5 / GMT-4) corresponding to America/Toronto instead of America/Montreal.

Once I changed the timezone in System > Administration > Time and Date to America/Toronto, I got the weather right away.

Is it possible to solve this glitch or to add every timezone available in the gnome-clock?

Thanks

ProblemType: Bug
Architecture: i386
Date: Tue Dec 8 14:05:36 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: nvidia
Package: gnome (not installed)
ProcEnviron:
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-16.52-generic
SourcePackage: meta-gnome2
Uname: Linux 2.6.31-16-generic i686

immortel (immortel32) wrote :
affects: meta-gnome2 (Ubuntu) → libgweather (Ubuntu)

Thank you for taking the time to report this bug and helping to make Ubuntu better. Can you run the following command and post its output:

apt-cache policy libgweather1

Thanks!

Changed in libgweather (Ubuntu):
status: New → Incomplete
immortel (immortel32) wrote :

Here is the result:
libgweather1:
  Installed: 2.28.0-1ubuntu2
  Candidate: 2.28.0-1ubuntu2
  Version table:
 *** 2.28.0-1ubuntu2 0
        500 http://ca.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

Thank you for your reply.

> Is it possible to solve this glitch or to add every timezone available in the gnome-clock?
This is an decision from the GNOME developers not to include every timezone, but use only the minimum necessary time zone identifiers instead of all the historical names. For this part of your report, I would not consider it a bug. Also, except from displaying America/Toronto even if you are in Montreal, it should not have any difference on the behavior of the computer.

There was a bug in the original libgweather package that may come from the installation discs causing the weather not to appear for some cities, such as Montreal. This fix is included in libgweather 2.28.0-1ubuntu2. I am not sure what needs to be done to make it work if the weather location is set to Montreal before the package is updated. For more info, see the discussion for this bug: https://bugs.launchpad.net/libgweather/+bug/404616

Is it possible for you to use a Live CD and attempt to reproduce the bug? I am not able to see this with a currently working system. There is a possibility that the libgweather update fixes this bug after installation.

immortel (immortel32) wrote :

Hi Philippe,

Let me rephrase this issue.

If someone installs Ubuntu and uses the timezone America/Montreal instead of Ameria/Toronto, the weather will never appear in the gnome-clock.

I don't know why because the names of the TimeZone are different (even if both are in GMT-5), it will not work unless I change my timezone in Ubuntu for America/Toronto. There is a link under the hood that does not connect.

I don't expect a new user could find this workaround easily. That's why I opened this issue.

enb (elitenoobboy) wrote :

"I don't expect a new user could find this workaround easily. That's why I opened this issue."

Exactly. It took me a while to find this bug, and after I switch from America Shiprock to america/denver, the weather applet suddenly works. Selecting a certain city should not disable the weather applet.

I could finally reproduce this bug on a clean installation. This bug happens because the clock applet sends the system timezone to libgweather and the timezone identifier is considered "obsolete" by libgweather. (See bug https://bugs.launchpad.net/ubuntu/+source/libgweather/+bug/291853 about obsolete timezones.) Setting the location from the clock applet (using the Set... button) or changing the system timezone is a work around for this bug.

I am marking this bug as Confirmed and sending the bug upstream.

Thanks again!

affects: libgweather (Ubuntu) → gnome-panel (Ubuntu)
Changed in gnome-panel (Ubuntu):
status: Incomplete → Confirmed
Changed in gnome-panel (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
Changed in gnome-panel:
importance: Unknown → Low
status: Unknown → New
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.