2016-12-24, 11:51
I keep getting a Yahoo error reported.
I have captured a log if needed, how do I upload a full log?
I have pasted what looked like the relevant lines related to the error below:-
09:38:18 T:13520 INFO: CPythonInvoker(10, C:\Users\willi\AppData\Roaming\Kodi\addons\script.skinshortcuts\default.py): script successfully run
09:38:18 T:13520 INFO: Python script stopped
09:38:18 T:13520 DEBUG: Thread LanguageInvoker 13520 terminating
09:38:23 T:2020 DEBUG: weather.yahoo: forecast data: {"query":{"count":0,"created":"2016-12-24T09:38:24Z","lang":"en-US","results":null}}
09:38:24 T:2020 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "C:\Users\willi\AppData\Roaming\Kodi\addons\weather.yahoo\default.py", line 265, in <module>
forecast(location, locationid)
File "C:\Users\willi\AppData\Roaming\Kodi\addons\weather.yahoo\default.py", line 108, in forecast
properties(data,loc)
File "C:\Users\willi\AppData\Roaming\Kodi\addons\weather.yahoo\default.py", line 148, in properties
if response and ('query' in response) and ('results' in response['query']) and ('channel' in response['query']['results']):
TypeError: argument of type 'NoneType' is not iterable
-->End of Python script error report<--
I have captured a log if needed, how do I upload a full log?
I have pasted what looked like the relevant lines related to the error below:-
09:38:18 T:13520 INFO: CPythonInvoker(10, C:\Users\willi\AppData\Roaming\Kodi\addons\script.skinshortcuts\default.py): script successfully run
09:38:18 T:13520 INFO: Python script stopped
09:38:18 T:13520 DEBUG: Thread LanguageInvoker 13520 terminating
09:38:23 T:2020 DEBUG: weather.yahoo: forecast data: {"query":{"count":0,"created":"2016-12-24T09:38:24Z","lang":"en-US","results":null}}
09:38:24 T:2020 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "C:\Users\willi\AppData\Roaming\Kodi\addons\weather.yahoo\default.py", line 265, in <module>
forecast(location, locationid)
File "C:\Users\willi\AppData\Roaming\Kodi\addons\weather.yahoo\default.py", line 108, in forecast
properties(data,loc)
File "C:\Users\willi\AppData\Roaming\Kodi\addons\weather.yahoo\default.py", line 148, in properties
if response and ('query' in response) and ('results' in response['query']) and ('channel' in response['query']['results']):
TypeError: argument of type 'NoneType' is not iterable
-->End of Python script error report<--