Seit ein paar Tagen läuft das MultiWeather-Add-on von Kodi 19.4 auf meinem "MX-Linux 19.4 xfce 64bit" nicht mehr richtig.
Sehr oft (aber komischerweise nicht immer), wenn es die Wetterdaten updaten will (alle 30 Minuten), kommt eine Fehlermeldung, dass ich das Protokoll ansehen möge, um mehr zu erfahren.
Was ist da bitte los und was kann ich dagegen tun?
Hier der relevante Ausschnitt aus der kodi.log-Datei:
Code
2022-10-16 20:44:34.543 T:3410 INFO <general>: WEATHER: Downloading weather
2022-10-16 20:44:34.543 T:3411 INFO <general>: initializing python engine.
2022-10-16 20:44:37.543 T:3411 INFO <general>: Skipped 1 duplicate messages..
2022-10-16 20:44:37.543 T:3411 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'KeyError'>
Error Contents: 'data'
Traceback (most recent call last):
File "/home/user-pc/.var/app/tv.kodi.Kodi/data/addons/weather.multi/default.py", line 5, in <module>
weather.MAIN(mode=sys.argv[1])
File "/home/user-pc/.var/app/tv.kodi.Kodi/data/addons/weather.multi/lib/weather.py", line 36, in __init__
self.get_forecast(location, locationid, locationlat, locationlon, ycookie, ycrumb)
File "/home/user-pc/.var/app/tv.kodi.Kodi/data/addons/weather.multi/lib/weather.py", line 171, in get_forecast
weatherbit.Weather.get_weather(add_weather)
File "/home/user-pc/.var/app/tv.kodi.Kodi/data/addons/weather.multi/lib/providers/weatherbit.py", line 9, in get_weather
for count, item in enumerate(data['data']):
KeyError: 'data'
-->End of Python script error report<--
2022-10-16 20:44:37.552 T:14 INFO <general>: CActiveAESink::OpenSink - initialize sink
2022-10-16 20:44:37.553 T:14 INFO <general>: PulseAudio: Opened device Default in pcm mode with Buffersize 150 ms Periodsize 50 ms
2022-10-16 20:44:37.557 T:3411 INFO <general>: Python interpreter stopped
2022-10-16 20:44:38.886 T:3412 INFO <general>: CPythonInvoker(52, /home/user-pc/.var/app/tv.kodi.Kodi/data/addons/script.openweathermap.maps/default.py): script successfully run
2022-10-16 20:44:38.990 T:3412 INFO <general>: Python interpreter stopped
Alles anzeigen