2015-04-06, 17:26
(2015-04-06, 16:48)pgordash Wrote: I recently updated to OpenELEC 5.0.8 which is Kodi 14.2 and the Yahoo Weather add-on started to fail with a script error. I'm located in Edmonton, AB Canada. Here is the entry from the log file:
15:28:20 T:139691705747200 NOTICE: -->Python Interpreter Initialized<--
15:28:20 T:139691705747200 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: invalid literal for int() with base 10: ''
Traceback (most recent call last):
File "/storage/.kodi/addons/weather.yahoo/default.py", line 218, in <module>
forecast(location, locationid)
File "/storage/.kodi/addons/weather.yahoo/default.py", line 105, in forecast
properties(query,loc)
File "/storage/.kodi/addons/weather.yahoo/default.py", line 161, in properties
set_property('Current.DewPoint' , dewpoint(int(condition[0].attributes['temp'].value), int(atmosphere[0].attributes['humidity'].value)))
ValueError: invalid literal for int() with base 10: ''
-->End of Python script error report<--
Any ideas? My WOEID is correct in the settings.xml...
Thanks,
Paul
That is why I will be sticking to Kodi 14.1 which works.