2022-11-14, 10:26
(2022-11-03, 15:57)tmpusr Wrote: This error is still an issue using Kodi 19.4 on latest osmc.
Can't play any videos in the "filmer" category:
Code:
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/osmc/.kodi/addons/plugin.video.svtplay/default.py", line 12, in <module>
svt_play.run(PLUGIN_PARAMS)
File "/home/osmc/.kodi/addons/plugin.video.svtplay/resources/lib/svtplay.py", line 74, in run
self.navigate(arg_mode, arg_id, arg_params)
File "/home/osmc/.kodi/addons/plugin.video.svtplay/resources/lib/svtplay.py", line 103, in navigate
self.start_video(id)
File "/home/osmc/.kodi/addons/plugin.video.svtplay/resources/lib/svtplay.py", line 223, in start_video
video_data = self.graphql.getVideoDataForLegacyId(legacy_id)
File "/home/osmc/.kodi/addons/plugin.video.svtplay/resources/lib/api/graphql.py", line 199, in getVideoDataForLegacyId
json_data = self.__get(operation_name, query_hash, variables=variables)
File "/home/osmc/.kodi/addons/plugin.video.svtplay/resources/lib/api/graphql.py", line 359, in __get
return json_data["data"]
KeyError: 'data'
-->End of Python script error report
Still an issue on 5.1.15 @tmpusr ?
In the future, please file any issues here: https://github.com/kodi-svtplay/xbmc-svtplay/issues