Kodi Community Forum
Weather icon switches to "n/a" - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Weather Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=155)
+---- Thread: Weather icon switches to "n/a" (/showthread.php?tid=170710)



Weather icon switches to "n/a" - powlo - 2013-08-06

Hi,

I've noticed that after watching a video or movie and returning to the main menu the weather icon (top left in Confluence) briefly switches to it's "n/a" value before data is re-fetched from the internet. However, no other weather data is given an n/a type value(eg, temperature, location) so why just the png? And I know that it's not the weather script itself that's doing this because I have logging (in weather.metoffice) enabled and it will report when weather can't be fetched. I also see the same thing happen for Wunderground.

So why does this happen?


RE: Weather icon switches to "n/a" - Milhouse - 2013-08-06

Good question, I often see the Weather icon showing a slash (\) which presumably means it has no data or is fetching data... I've often wondered why it doesn't have a cache of data, and only updates the icon once it has new data which should mean the "\" (n/a) is not necessary unless the cache is empty.


RE: Weather icon switches to "n/a" - jmh2002 - 2013-08-06

I have noticed this to be a new problem in the last days. Given that there was talk about WU servers being hit hard by xbmc, maybe its that? Or maybe we are being cut off or throttled somehow?


RE: Weather icon switches to "n/a" - Milhouse - 2013-08-06

No, it's been like that for months (I'm on Frodo, OE 3.1.5). I suspect it's not so noticeable on x86 kit, as it may be due to some delay while processing new data, but is quite noticeable on a Pi.


RE: Weather icon switches to "n/a" - pkscout - 2013-08-06

No, it's noticeable on x86 as well, at least Windows. As others have mentioned, that's just a delay while processing new information.


RE: Weather icon switches to "n/a" - powlo - 2013-08-07

(2013-08-06, 22:29)pkscuot Wrote: As others have mentioned, that's just a delay while processing new information.

But why don't we see the same effect with the other weather fields that are displayed at the same time?


RE: Weather icon switches to "n/a" - artrafael - 2013-08-07

The other fields display bogus/placeholder data (e.g., 32° F or 0° C as temperature) until new data and image are loaded... at least that's how it behaves for me. To me, it's no big deal waiting a few seconds for the weather info to refresh... sort of like waiting for the hourglass, clock or other "busy" indicator to go away.


RE: Weather icon switches to "n/a" - Milhouse - 2013-08-07

It's certainly no big deal, but it's also not ideal.


RE: Weather icon switches to "n/a" - powlo - 2013-08-07

True, it's no big deal, but if you're testing a weather plugin you can get convinced that you're plugin isn't working correctly. This is a feature of XBMC and not the plugins. He states confidently.


RE: Weather icon switches to "n/a" - THRobinson - 2013-08-18

Mine's been showing N/A for a few weeks now (since I noticed it) and the 10-day forecast says fetching forecast info. Temperature is all 0.

Tried uninstalling and reinstalling the add-on but no change, even letting it fetch info for 15min still never changes. It does change the last update day/time to the current date/time.


RE: Weather icon switches to "n/a" - ronie - 2013-08-18

(2013-08-18, 16:44)THRobinson Wrote: Mine's been showing N/A for a few weeks now (since I noticed it) and the 10-day forecast says fetching forecast info. Temperature is all 0.

Tried uninstalling and reinstalling the add-on but no change, even letting it fetch info for 15min still never changes. It does change the last update day/time to the current date/time.

maybe due to this?:
http://forum.xbmc.org/showthread.php?tid=116668