[RELEASE] OzWeather - Australian Weather Addon using BOM data - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Weather Add-ons (/forumdisplay.php?fid=155)
+---- Thread: [RELEASE] OzWeather - Australian Weather Addon using BOM data (/showthread.php?tid=116905)
RE: [RELEASE] OzWeather - Australian Weather Addon using BOM data - bossanova808 - 2012-10-22 01:16
Ok that's easy enough - the problem is that CommonFunctions (which is part of the main XBMC repo, and would get installed automatically if you installed andy number of Addons - YopuTube and OzWeatehr, for eample. But because you've built it in, this hasn't happened. You can porbably build that in by pulling it from the XBMC repo and adding it your mix the same sort of way I guess? Not really my dept. but I am sure one of the devs would help on IRC if you asked.
Or just install YouTube post-install and it will come with that anyway....
RE: [RELEASE] OzWeather - Australian Weather Addon using BOM data - BlissSol - 2012-10-22 06:55
Thanks for your help bossanova808...
Installing the Youtube addon to a running/compiled version made it work...
so i took note of the (additional) addon's installed when i installed the Youtube addon...
and ended up copying these folders into my source:
~ i don't know if i actually needed both, but i added the 'common.plugin.cache' first, and it still didn't work, so then i added the 'module.parsedom' as well, and it worked after that.
So it might have just needed the module.parsedom added, but i suppose at least if ive pre-added the common.plugin.cache, it means the software wont need to add it later for addons.
So i now have my own compiled version of xbmc with OzWeather as the default weather forecaster
RE: [RELEASE] OzWeather - Australian Weather Addon using BOM data - bossanova808 - 2012-10-22 11:58
Cool - yeah was probably just parsedom you needed, I though it was in the common one. But glad you got it working and glad you like the add-on!
RE: [RELEASE] OzWeather - Australian Weather Addon using BOM data - BlissSol - 2012-10-22 13:33
Though one thing... i have the extended features (radar images) running on my media centre (its running one of my slightly older build's)...
And if the advanced radar features are enabled, my Media Centre is very unstable, and randomly crashes. As soon as i disable the advanced features (but i still have the advanced display, but without the radar map) - its perfectly stable.
So for some reason, just enabling the advanced settings is relatively fine - but the radar images themselves seems to make my media centre very unstable.
Anywho... i will pull a log off my Media Centre tonite, and post it so u can see what's happening.
RE: [RELEASE] OzWeather - Australian Weather Addon using BOM data - bossanova808 - 2012-10-22 23:29
No ideas off my head, basically if the PIL (python image library) is there, it always works for me...get me a log and I'll take a look. Can't see why it would make the whole system unstable though - it's just a few image downloads and conversions to RGB, basically. Not really heavy lifting for something like xbmc python...
RE: [RELEASE] OzWeather - Australian Weather Addon using BOM data - BlissSol - 2012-10-23 10:58
Okay... so i booted my Media Centre, enabled the extended features (for radar images - as this is usually disabled), and within about 1 hr it crashed by itself (and XBMC shut down back to the Windows Deaktop)
During this time i didn't actually use the Media Centre... it just sat on the Weather screen, to see how long it would last.
The entire Log file can be found here;
But otherwise, the crux of it is these lines;
18:25:26 T:292 NOTICE: Oz Weather-0.4.3: Getting weather from http://www.weatherzone.com.au/vic/melbourne/ivanhoe, Extended features = true
18:25:26 T:292 NOTICE: Oz Weather-0.4.3: Extended feature powers -> activate!
18:25:26 T:2020 ERROR: Texture manager unable to load file: special://home/userdata/addon_data/weather.ozweather/radarbackgrounds//background.png
18:25:26 T:2020 ERROR: Texture manager unable to load file: special://home/userdata/addon_data/weather.ozweather/radarbackgrounds//topography.png
18:25:26 T:2020 ERROR: Texture manager unable to load file: special://home/userdata/addon_data/weather.ozweather/radarbackgrounds//catchments.png
18:25:26 T:2020 ERROR: Texture manager unable to load file: special://home/userdata/addon_data/weather.ozweather/radarbackgrounds//range.png
18:25:26 T:2020 ERROR: Texture manager unable to load file: special://home/userdata/addon_data/weather.ozweather/radarbackgrounds//locations.png
and that's the end of the log file, as it had shut down after that.
I looked in the location given in the error: ".../addon_data/weather.ozweather/radarbackgorunds//" - and none of those images exist (which is why it can't load them).
Oh.. and thanks for looking into this bossanova808
RE: [RELEASE] OzWeather - Australian Weather Addon using BOM data - bossanova808 - 2012-10-23 11:36
Those errors aren't unexpected - it will clear the background images if they are greater than one day old, and re-download them (to pick up any changes to them). If they are not available, they won't load.
Do you get this same issue with a non-self compiled version? Gotta say I have never seen it on any of my Eden or Frodo installls....
Also - are you using Confluence? There's a funny error (not related to OzWeather I think) - about window 10099...I don't see that one in my logs
That log is only half an hour, so only one weather refresh by the looks of it....
Odd. Still no idea really, sorry. Will mull it over.
RE: [RELEASE] OzWeather - Australian Weather Addon using BOM data - BlissSol - 2012-10-23 12:09
Yep... its the confluence skin...
This is one of my builds, but from awhile ago - so i hadn't pre integrated any addon's (like i have now with OzWeather ~ so OzWeather was installed as a normal addon)...
This build was based off the final (stable) version 11 source, but its using the Confluence Vertical skin. (whether that has anything to do with the Window 10099 error?)
Otherwise it is strange... my Media Centre can run 24hrs with no issue at all... but as soon as i enable the extended (radar) features in OzWeather, it somehow becomes unstable.
RE: [RELEASE] OzWeather - Australian Weather Addon using BOM data - bossanova808 - 2012-10-23 12:14
Well I have run it many times > 1 hr, and am running it on Frodo right now, been 45 mins, no issues. Nobody else has reported it....and there's nothing in your log I wouldn't expect to see if it was working as normal....I have precisely those 'errors' as well (it's just when the data is blanked out briefly between weather data refreshes).
Tough one, got no idea where to start and can't really see how it could be the cause, to be honest.
Can you maybe try the same settings but with a totally vanilla build to help narrow it down? And maybe send me your settings.xml
RE: [RELEASE] OzWeather - Australian Weather Addon using BOM data - Intiakel - 2012-10-28 09:15
Hi bossanova, I'm trying to get your script to work on a vanilla Eden build.. It's proving rather problematic. Or maybe I've just missed something obvious
I have basically;
- Installed XBMC Eden on Windows 7 64-bit
- Scrubbed TV shows and movies directories
- Enabled HTTP control
- Added OzWeather from within XBMC
- Inserted extended weather info files into the confluence skin folder
- Set Radar to IDR033, which is working and displays perfectly fine
- Set postcode to 2151, which causes the script to error out and shows no weather info
Here is the relevant debug log from start and when trying to change the postcode
From what I can gather, it doesn't seem to be able to get my location based on the postcode I enter. 'Getting weather from' should have my location after it from seeing other logs. @17:56:58 the startup sequence finishes, and @17:59:23 is when I put in the postcode to OzWeather Settings.
If it helps at all, my postcode returns two matches when searching on weatherzone.com.au. Could it be getting confused and not picking one? If I set up OzWeather radar then switch back to WUnderground, I get full weather display + Radar. But I would rather get the data from BOM..
I'm at a loss as to why it doesn't seem to be working
RE: [RELEASE] OzWeather - Australian Weather Addon using BOM data - bossanova808 - 2012-10-28 09:27
1. Always post entire ebug logs, not snippets (it's a forum rule, use pastebin)
2. Weatherzone.com.au seems down right now - have you been trying for long? Maybe try back in a few ours (check you can go to weatherzone.com.au in a browser succesffuly, and that 2151 gets a sensible location - then re-try this and if it doesn't work pastebin your whole log.
3. it's fine with multiple postcodes things - it will give you a list to choose from.
4. Are you definitely hitting 'ok' after using the settings, not back...
Let me know, post full log, and I will look into it later tonight
RE: [RELEASE] OzWeather - Australian Weather Addon using BOM data - bossanova808 - 2012-10-29 10:32
Hey - just an update - I tried 2151 (North Paramatta) and no issue here. Let me know if you're still having issues - I think it was just WeatherZone being down...
it's not very graceful about it, but it's not down vey often...
RE: [RELEASE] OzWeather - Australian Weather Addon using BOM data - PetSue - 2012-11-27 09:22
Hi bossanova808 - just curious if this will be running for Frodo release as not working on B1 yet?
RE: [RELEASE] OzWeather - Australian Weather Addon using BOM data - bossanova808 - 2012-11-27 09:57
I've been using it with Frodo for maybe 4 months....works perfectly. All you need are the skin files available in the Add-on:Oz Weather wiki.
(and Oz Weather is in the official Frodo repo, too)
RE: [RELEASE] OzWeather - Australian Weather Addon using BOM data - PetSue - 2012-11-27 23:26
(2012-11-27 09:57)bossanova808 Wrote: I've been using it with Frodo for maybe 4 months....works perfectly. All you need are the skin files available in the Add-on:Oz Weather wiki.
I saw it was in the Frodo repo but I was getting errors. I will try the skin files ta