2012-11-27, 23:33
If the persist, see your doctor. (I.e. post your settings and log file)
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<--
18:30:25 T:140098977335040 NOTICE: Thread XBPyThread start, auto delete: false
18:30:25 T:140098977335040 NOTICE: -->Python Interpreter Initialized<--
18:30:25 T:140098977335040 NOTICE: CommonFunctions-1.5.1
18:30:33 T:140098977335040 ERROR: Error Type: <type 'exceptions.TypeError'>
18:30:33 T:140098977335040 ERROR: Error Contents: descriptor 'split' requires a 'str' object but received a 'unicode'
18:30:33 T:140098977335040 ERROR: Traceback (most recent call last):
File "/home/foo/.xbmc/addons/weather.ozweather/default.py", line 595, in <module>
locationName = str.split(locationName[0], ' Weather')
TypeError: descriptor 'split' requires a 'str' object but received a 'unicode'
if not responseurl.endswith('weatherzone.com.au/search/'):
#we were redirected to an actual result page
locationName = common.parseDOM(resultPage, "h1", attrs = { "class": "unenclosed" })
locationName = str.split(str(locationName[0]), ' Weather') <--- Wrapped 'locationName[0]' with an str()
locations = [locationName[0] + ', ' + text]
locationids = [responseurl]
log("Single result " + str(locations) + " URL " + str(locationids))
else:
#we got back a page to choose a more specific location
middle = common.parseDOM(resultPage, "div", attrs = { "id": "structure_middle" })