Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46839 - gweather from package gnome-applets don't show correctly sky icons
Summary: gweather from package gnome-applets don't show correctly sky icons
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: Highest minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-05 03:43 UTC by Jesus Gonzalez Alvarez
Modified: 2004-05-20 16:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Update for the fix of the "Sky invalid bug" (weather.c.patch,1.23 KB, patch)
2004-04-05 03:44 UTC, Jesus Gonzalez Alvarez
Details | Diff
Patched ebuild which fix this bug (gnome-applets-2.6.0-bugfix.ebuild,1.54 KB, text/plain)
2004-04-05 04:35 UTC, Jesus Gonzalez Alvarez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesus Gonzalez Alvarez 2004-04-05 03:43:12 UTC
Certain cities always have "Sky: Invalid"

For specific cities, the "Current Conditions" tab shows "Sky: Invalid" and
the applet icon is a question mark. This is not because of some temporary
network problems, but rather it is 100% reproduable with certain cities --
other cities work fine. The rest of the variables are fetched correctly.

Reproducible: Always
Steps to Reproduce:
1.Right click button on gweather applet. Select Preferences.
2.In location tab select Europe->Spain->Sevilla (There are also other cities that fail.
3.Right click button on gweather applet.Select Update

Actual Results:  
You get no sky icon but a generic one showing an invalid weather sky condition.

Expected Results:  
Icon showing sky condition

There is a path in bugzilla.gnome.org
(http://bugzilla.gnome.org/attachment.cgi?id=26072&action=view) which solve the
problem. A patch need to be applied in the build.
Comment 1 Jesus Gonzalez Alvarez 2004-04-05 03:44:43 UTC
Created attachment 28729 [details, diff]
Update for the fix of the "Sky invalid bug"  	

This patch solve the problem (Tested)
Comment 2 Jesus Gonzalez Alvarez 2004-04-05 04:32:27 UTC
Patched ebuild provided to fix this bug. The file "Update for the fix of the "Sky invalid bug"" need to be included in the portage tree as /usr/portage/gnome-base/gnome-applets/files/gnome-applets-2.6.0-gweather_sky_invalid.patch

This ebuild work here. Testing needed

The diff of original ebuild and patched:
--- gnome-applets-2.6.0.ebuild  2004-04-05 13:27:35.688593984 +0200
+++ gnome-applets-2.6.0-bugfix.ebuild   2004-04-05 13:10:52.921037824 +0200
@@ -40,7 +40,8 @@
 src_unpack() {
  
        unpack ${A}
-
+       cd ${S}
+       epatch ${FILESDIR}/${PN}-2.6.0-gweather_sky_invalid.patch
        gnome2_omf_fix
  
 }



Comment 3 Jesus Gonzalez Alvarez 2004-04-05 04:35:06 UTC
Created attachment 28731 [details]
Patched ebuild which fix this bug

The file "Update for the fix of the "Sky invalid bug"" need to be included in
the portage tree as
/usr/portage/gnome-base/gnome-applets/files/gnome-applets-2.6.0-gweather_sky_invalid.patch
Comment 4 foser (RETIRED) gentoo-dev 2004-05-20 16:01:49 UTC
patch added to 2.6.0-r1

although i don't think this will be the final patch for this issue.