2021-03-15, 19:03
After the upgrade to 5.1.0 I get this from time to time
It happened today and 2 more times last week, so it is not a big issue right now. Yahoo weather 5.1.0 plus the patched default.py, on kodi 18.9 in libreelec x64 9.2.6.
The reason I used 5.1.0 is because kodi sees it as the latest version and won't upgrade to the broken one. Shall I move back to 5.0.7 and disable auto update just for yahoo weather?
I would move to kodi 19, but I don't think libreelec 10 will be ready before kodi 19.1.
Code:
2021-03-15 08:55:07.218 T:140040218863360 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: 'weathers'
Traceback (most recent call last):
File "/storage/.kodi/addons/weather.yahoo/default.py", line 286, in <module>
forecast(location, locationid)
File "/storage/.kodi/addons/weather.yahoo/default.py", line 142, in forecast
properties(data, loc, locid)
File "/storage/.kodi/addons/weather.yahoo/default.py", line 166, in properties
data = response['weathers'][0]
KeyError: 'weathers'
-->End of Python script error report<--
The reason I used 5.1.0 is because kodi sees it as the latest version and won't upgrade to the broken one. Shall I move back to 5.0.7 and disable auto update just for yahoo weather?
I would move to kodi 19, but I don't think libreelec 10 will be ready before kodi 19.1.