2013-01-18, 10:20
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:
Hope that helps!
PS is there any way to change the default temperature reading from °F to °C?
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<--
PS is there any way to change the default temperature reading from °F to °C?