Release OzWeather - Australian Weather Addon using BOM data inc. animated radar support
Sorry if this has been reported before, I didn't wade through this whole thread to see if I could spot the same error.

I just installed XBMC on Windows 8 Professional 64-bit. I've never used it before but have been reading it is good as a media player. One of the first things I tried was the Weather tab. Obviously the default weather server is rubbish and not applicable to us Australians, and I quickly found I could change it to OzWeather. Brilliant! Unfortunately it doesn't work for me, though - every time I try to use it I get an error that says:

Error!
Script failed: weather.ozweather

Here is a copy-paste of the relevant section of the log:
Code:
16:10:15 T:7996   DEBUG: CApplication::ProcessMouse: trying mouse action leftclick
16:10:15 T:7996   DEBUG: CApplication::ExecuteXBMCAction : Translating ActivateWindow(Weather)
16:10:15 T:7996   DEBUG: CApplication::ExecuteXBMCAction : To ActivateWindow(Weather)
16:10:15 T:7996   DEBUG: Activating window ID: 12600
16:10:15 T:7996   DEBUG: ------ Window Deinit (Home.xml) ------
16:10:15 T:7996   DEBUG: ------ Window Init (MyWeather.xml) ------
16:10:15 T:7996    INFO: Loading skin file: MyWeather.xml, load type: KEEP_IN_MEMORY
16:10:15 T:6416    INFO: WEATHER: Downloading weather
16:10:15 T:6416    INFO: initializing python engine.
16:10:15 T:6416   DEBUG: new python thread created. id=1
16:10:15 T:6748  NOTICE: Thread XBPyThread start, auto delete: false
16:10:15 T:6748   DEBUG: Python thread: start processing
16:10:15 T:6748  NOTICE: -->Python Interpreter Initialized<--
16:10:15 T:6748   DEBUG: XBPyThread::Process - The source file to load is C:\Users\Trevor Hardy\AppData\Roaming\XBMC\addons\weather.ozweather\default.py
16:10:15 T:6748   DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\Trevor Hardy\AppData\Roaming\XBMC\addons\weather.ozweather;C:\Program Files (x86)\XBMC\addons\weather.wunderground\resources\lib\wunderground;C:\Program Files (x86)\XBMC\addons\script.module.simplejson\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Users\Trevor Hardy\AppData\Roaming\XBMC\addons\script.module.parsedom\lib;C:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib;C:\Program Files (x86)\XBMC\system\python\DLLs;C:\Program Files (x86)\XBMC\system\python\Lib;C:\Program Files (x86)\XBMC\python26.zip;C:\Program Files (x86)\XBMC\system\python\lib\plat-win;C:\Program Files (x86)\XBMC\system\python\lib\lib-tk;C:\Program Files (x86)\XBMC;C:\Program Files (x86)\XBMC\system\python;C:\Program Files (x86)\XBMC\system\python\lib\site-packages;
16:10:15 T:6748   DEBUG: XBPyThread::Process - Entering source directory C:\Users\Trevor Hardy\AppData\Roaming\XBMC\addons\weather.ozweather
16:10:15 T:6748   DEBUG: Instantiating addon using automatically obtained id of "weather.ozweather" dependent on version 2.1.0 of the xbmc.python api
16:10:16 T:6748  NOTICE: CommonFunctions-2.5.1
16:10:16 T:6748   DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x8a9ef88
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Called forecast()
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Clearing Properties
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Weather.IsFetched] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Radar] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Video.1] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Current.Condition] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Current.ConditionLong] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Current.Temperature] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Current.Wind] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Current.WindDirection] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Current.Humidity] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Current.FeelsLike] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Current.DewPoint] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Current.UVIndex] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Current.OutlookIcon] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Current.FanartCode] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day0.Title] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day0.HighTemp] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day0.LowTemp] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day0.Outlook] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day0.OutlookIcon] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day0.FanartCode] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day1.Title] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day1.HighTemp] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day1.LowTemp] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day1.Outlook] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day1.OutlookIcon] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day1.FanartCode] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day2.Title] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day2.HighTemp] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day2.LowTemp] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day2.Outlook] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day2.OutlookIcon] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day2.FanartCode] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day3.Title] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day3.HighTemp] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day3.LowTemp] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day3.Outlook] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day3.OutlookIcon] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day3.FanartCode] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day4.Title] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day4.HighTemp] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day4.LowTemp] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day4.Outlook] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day4.OutlookIcon] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day4.FanartCode] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day5.Title] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day5.HighTemp] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day5.LowTemp] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day5.Outlook] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day5.OutlookIcon] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day5.FanartCode] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day6.Title] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day6.HighTemp] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day6.LowTemp] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day6.Outlook] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day6.OutlookIcon] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Setting property - Name: [Day6.FanartCode] - Value:[]
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Getting weather from , Extended features = false
16:10:16 T:6748   DEBUG: Oz Weather-0.4.7: Get the forecast data from weatherzone.com.au:
16:10:16 T:6748   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: ('content',)
                                            Traceback (most recent call last):
                                              File "C:\Users\Trevor Hardy\AppData\Roaming\XBMC\addons\weather.ozweather\default.py", line 640, in <module>
                                                forecast(location, radar)
                                              File "C:\Users\Trevor Hardy\AppData\Roaming\XBMC\addons\weather.ozweather\default.py", line 241, in forecast
                                                propertiesPDOM(data["content"], extendedFeatures)
                                            KeyError: ('content',)
                                            -->End of Python script error report<--
Hope that helps!

PS is there any way to change the default temperature reading from °F to °C?
Reply


Messages In This Thread
:grin::grin::grin: - by fastdump - 2011-12-15, 11:53
[No subject] - by bossanova808 - 2011-12-15, 11:55
[No subject] - by fastdump - 2011-12-15, 12:09
[No subject] - by bossanova808 - 2011-12-15, 12:10
[No subject] - by MaxHeadroom - 2011-12-15, 12:23
[No subject] - by N3MIS15 - 2011-12-15, 12:28
[No subject] - by bossanova808 - 2011-12-15, 12:43
[No subject] - by bossanova808 - 2011-12-16, 02:06
[No subject] - by fastdump - 2011-12-16, 04:30
[No subject] - by bossanova808 - 2011-12-16, 04:41
[No subject] - by bossanova808 - 2011-12-16, 05:16
[No subject] - by bossanova808 - 2011-12-16, 06:48
[No subject] - by rocketpants - 2011-12-16, 09:38
[No subject] - by fastdump - 2011-12-16, 11:30
[No subject] - by bossanova808 - 2011-12-17, 00:11
[No subject] - by fastdump - 2011-12-17, 04:40
[No subject] - by fastdump - 2011-12-17, 08:30
[No subject] - by bossanova808 - 2011-12-17, 08:32
[No subject] - by bossanova808 - 2011-12-17, 08:33
[No subject] - by fastdump - 2011-12-17, 11:00
[No subject] - by bossanova808 - 2011-12-17, 11:06
not working at all for me - by technophobe - 2011-12-19, 07:13
[No subject] - by bossanova808 - 2011-12-19, 07:20
[No subject] - by bossanova808 - 2011-12-19, 10:37
[No subject] - by bossanova808 - 2011-12-19, 12:25
log file? - by technophobe - 2011-12-20, 06:42
[No subject] - by bossanova808 - 2011-12-20, 11:47
[No subject] - by zan5hin - 2012-01-01, 13:50
[No subject] - by bossanova808 - 2012-01-03, 12:25
[No subject] - by bossanova808 - 2012-01-03, 13:25
[No subject] - by Troyp42 - 2012-01-11, 01:59
[No subject] - by bossanova808 - 2012-01-11, 02:01
[No subject] - by Troyp42 - 2012-01-11, 02:05
[No subject] - by bossanova808 - 2012-01-11, 02:07
[No subject] - by Troyp42 - 2012-01-11, 02:27
[No subject] - by bossanova808 - 2012-01-11, 11:51
[No subject] - by bossanova808 - 2012-01-11, 11:52
[No subject] - by Kokonutcreme - 2012-01-12, 07:52
[No subject] - by bossanova808 - 2012-01-12, 07:54
[No subject] - by Troyp42 - 2012-01-12, 08:30
[No subject] - by teeedubb - 2012-01-12, 09:14
[No subject] - by bossanova808 - 2012-01-12, 09:55
[No subject] - by teeedubb - 2012-01-12, 23:08
[No subject] - by fastdump - 2012-01-14, 18:02
[No subject] - by bossanova808 - 2012-01-15, 12:03
[No subject] - by bossanova808 - 2012-01-16, 13:17
[No subject] - by bossanova808 - 2012-01-16, 13:18
[No subject] - by bossanova808 - 2012-01-17, 02:30
[No subject] - by bossanova808 - 2012-01-17, 04:49
[No subject] - by Troyp42 - 2012-01-17, 09:31
[No subject] - by bossanova808 - 2012-01-17, 10:27
[No subject] - by bossanova808 - 2012-01-17, 11:45
[No subject] - by Troyp42 - 2012-01-17, 12:06
[No subject] - by bossanova808 - 2012-01-17, 12:09
[No subject] - by Troyp42 - 2012-01-17, 12:13
[No subject] - by bossanova808 - 2012-01-17, 12:16
[No subject] - by fastdump - 2012-01-17, 12:28
[No subject] - by bossanova808 - 2012-01-17, 12:32
[No subject] - by bossanova808 - 2012-01-17, 12:34
[No subject] - by Troyp42 - 2012-01-17, 12:39
[No subject] - by bossanova808 - 2012-01-17, 12:47
[No subject] - by fastdump - 2012-01-17, 12:57
[No subject] - by Troyp42 - 2012-01-17, 13:00
[No subject] - by bossanova808 - 2012-01-17, 13:03
[No subject] - by Troyp42 - 2012-01-17, 13:04
[No subject] - by bossanova808 - 2012-01-17, 13:06
[No subject] - by Troyp42 - 2012-01-17, 13:18
[No subject] - by bossanova808 - 2012-01-17, 13:26
[No subject] - by Troyp42 - 2012-01-17, 13:35
[No subject] - by bossanova808 - 2012-01-17, 13:42
[No subject] - by Troyp42 - 2012-01-17, 13:47
[No subject] - by bossanova808 - 2012-01-17, 13:51
[No subject] - by fastdump - 2012-01-17, 14:34
[No subject] - by bossanova808 - 2012-01-17, 14:39
[No subject] - by fastdump - 2012-01-17, 14:51
[No subject] - by bossanova808 - 2012-01-17, 14:55
[No subject] - by fastdump - 2012-01-17, 14:55
[No subject] - by bossanova808 - 2012-01-17, 14:56
[No subject] - by fastdump - 2012-01-17, 15:01
[No subject] - by bossanova808 - 2012-01-17, 15:08
[No subject] - by fastdump - 2012-01-17, 15:28
[No subject] - by bossanova808 - 2012-01-18, 01:09
[No subject] - by ya.rahman - 2012-01-18, 03:51
Dharma version - by ya.rahman - 2012-01-18, 03:53
[No subject] - by bossanova808 - 2012-01-18, 03:54
[No subject] - by ya.rahman - 2012-01-18, 04:27
[No subject] - by bossanova808 - 2012-01-18, 04:29
[No subject] - by bossanova808 - 2012-01-19, 14:41
[No subject] - by fastdump - 2012-01-20, 02:42
[No subject] - by bossanova808 - 2012-01-20, 05:41
[No subject] - by bossanova808 - 2012-01-20, 13:53
[No subject] - by bossanova808 - 2012-01-22, 07:01
[No subject] - by bossanova808 - 2012-01-22, 07:28
[No subject] - by blaher - 2012-01-25, 08:49
[No subject] - by bossanova808 - 2012-01-25, 11:18
[No subject] - by fastdump - 2012-01-26, 03:31
[No subject] - by blaher - 2012-01-26, 04:06
[No subject] - by bossanova808 - 2012-01-26, 04:55
[No subject] - by Troyp42 - 2012-01-29, 04:41
[No subject] - by bossanova808 - 2012-01-29, 05:19
[No subject] - by bossanova808 - 2012-01-29, 05:23
[No subject] - by bossanova808 - 2012-01-29, 06:03
[No subject] - by Troyp42 - 2012-01-29, 07:28
[No subject] - by Troyp42 - 2012-01-29, 13:07
[No subject] - by bossanova808 - 2012-01-30, 01:38
[No subject] - by Troyp42 - 2012-01-30, 03:33
[No subject] - by fastdump - 2012-01-30, 13:22
[No subject] - by Troyp42 - 2012-01-31, 08:20
[No subject] - by bossanova808 - 2012-01-31, 08:25
[No subject] - by Troyp42 - 2012-01-31, 23:48
[No subject] - by Freakish - 2012-02-01, 01:06
[No subject] - by bossanova808 - 2012-02-01, 01:10
[No subject] - by Freakish - 2012-02-01, 01:32
[No subject] - by bossanova808 - 2012-02-01, 01:36
[No subject] - by Freakish - 2012-02-01, 01:57
[No subject] - by bossanova808 - 2012-02-01, 02:02
[No subject] - by kozak069 - 2012-02-05, 02:37
[No subject] - by bossanova808 - 2012-02-05, 04:28
[No subject] - by kozak069 - 2012-02-05, 10:30
[No subject] - by bossanova808 - 2012-02-05, 10:37
[No subject] - by bossanova808 - 2012-02-08, 03:08
[No subject] - by bossanova808 - 2012-02-10, 06:19
[No subject] - by GiJOr33 - 2012-02-17, 06:39
Link not working? - by Manicman - 2012-02-26, 08:06
[No subject] - by scotia - 2012-02-27, 04:56
[No subject] - by bossanova808 - 2012-02-27, 05:14
[No subject] - by bossanova808 - 2012-02-27, 05:32
[No subject] - by bossanova808 - 2012-02-27, 05:33
[No subject] - by scotia - 2012-02-27, 05:48
[No subject] - by bossanova808 - 2012-02-27, 05:49
[No subject] - by bossanova808 - 2012-02-27, 07:18
[No subject] - by scotia - 2012-02-27, 07:19
[No subject] - by bossanova808 - 2012-02-27, 07:25
New code - by scotia - 2012-02-27, 07:29
[No subject] - by bossanova808 - 2012-02-27, 07:36
[No subject] - by bossanova808 - 2012-02-27, 07:43
[No subject] - by scotia - 2012-02-27, 07:49
[No subject] - by bossanova808 - 2012-02-27, 07:51
[No subject] - by scotia - 2012-02-27, 07:55
[No subject] - by bossanova808 - 2012-02-27, 08:00
OZWeather Error - by Jolly181 - 2012-03-11, 04:00
[No subject] - by bossanova808 - 2012-03-11, 05:01
[No subject] - by bossanova808 - 2012-03-11, 05:30
[No subject] - by Jolly181 - 2012-03-11, 06:08
[No subject] - by bossanova808 - 2012-03-11, 06:15
[No subject] - by bossanova808 - 2012-03-11, 06:15
[No subject] - by Jolly181 - 2012-03-11, 06:19
Neon compatible MyWeather.xml - by User 35611 - 2012-04-07, 14:51
RE: [RELEASE] OzWeather - Australian Weather Addon using BOM data - by SiliconAngel - 2013-01-18, 10:20
peakay - by peakay - 2015-12-28, 14:06
peakay - by peakay - 2015-12-29, 02:45
OzWeather not working - by awfma - 2023-09-06, 08:47
Logout Mark Read Team Forum Stats Members Help
OzWeather - Australian Weather Addon using BOM data inc. animated radar support5