Version: (using KDE 4.4.2) OS: Linux Installed from: Ubuntu Packages Steps to reproduce: Add the LCD Weather Station to your desktop Go to the Weather Station Settings and change your location Choose any place you'd like and choose wetter.com as your provider What should happen: LCD Weather Station should show the temperature, pressure, etc. What actually happens: The widget shows 0.0hPa, -273°C, no humidity and no wind Regards
This bug has also been reported as http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580518
Created attachment 48171 [details] Screenshot of both weather applets that use same city's information from wetter.com
Created attachment 50018 [details] Screenshot of the layout problem
Does this issue still occur with more recent KDE releases (such as 4.4.5)?
It still states 0 K and no values in KDE 4.5.1 ..
Created attachment 51439 [details] XML data returned from the API call It seems that wetter.com returns a decimal fraction for the temperatures when requesting the forecast data for a Turkish city. I assume that this is not correctly handled by the xml.readElementText().toInt() call in the XML parser. Right now, my KDE development environment is somewhat non-functional, so if someone can commit a quick fix that would be great. Otherwise, I'll have a look as soon as my dev environment is back. ;-)
Created attachment 51506 [details] Patch The attached patch should solve the issue. I will commit it to SVN once I have done some more testing.
SVN commit 1173938 by ginkel: wetter.com Ion: fix forecast retrieval for some geographic regions CCBUG: 236309 M +2 -2 ion_wettercom.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1173938
SVN commit 1173946 by ginkel: wetter.com Ion: fix forecast retrieval for some geographic regions BUG: 236309 FIXED-IN: 4.5.2 M +2 -2 ion_wettercom.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1173946
[Comment from a bug triager] There are new cases described on bug 259471, even on KDE SC 4.6beta2 . Should this be reopened ? Regards
bug exists in KDE 4.93. should be reopened.