2020-06-08, 10:29
The Yahoo! Weather add-on throws errors in Kodi 17 and 18. It seems something changed on the end of the Yahoo Weather API breaking this Kodi add-on. It seems to be the variable for the precipitationProbability.
The log file contains these entries:
@ronie : Is it possible to fix and release a new version of this add-on? It's probably the one of the most used add-on on Kodi
The log file contains these entries:
Quote: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: 'precipitationProbability'
Traceback (most recent call last):
File "/storage/.kodi/addons/weather.yahoo/default.py", line 284, in <module>
forecast(location, locationid)
File "/storage/.kodi/addons/weather.yahoo/default.py", line 141, in forecast
properties(data, loc, locid)
File "/storage/.kodi/addons/weather.yahoo/default.py", line 188, in properties
set_property('Current.Precipitation' , str(data['observation']['precipitationProbability']) + '%')
KeyError: 'precipitationProbability'
-->End of Python script error report<--
@ronie : Is it possible to fix and release a new version of this add-on? It's probably the one of the most used add-on on Kodi