maxbambi / plugin.video.raitv

Kodi plugin for RAI
GNU General Public License v3.0
35 stars 9 forks source link

Issue accessing Live TV on Kodi 19 on Libreelec #57

Closed udelledo closed 1 year ago

udelledo commented 1 year ago

I am running Kodi 19 on a RPi with Libreelec 10.0.2.

I have installed the plugin from the Kodi Add-On repository and I'm running version 3.8.1

When I try to load the Live TV channels I get this exception in the kodi log:

2022-10-13 20:01:44.139 T:919     ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'UnboundLocalError'>
                                                   Error Contents: local variable 'thumb' referenced before assignment
                                                   Traceback (most recent call last):
                                                     File "/storage/.kodi/addons/plugin.video.raitv/default.py", line 790, in <module>
                                                       show_tv_channels()
                                                     File "/storage/.kodi/addons/plugin.video.raitv/default.py", line 221, in show_tv_channels
                                                       if thumb:
                                                   UnboundLocalError: local variable 'thumb' referenced before assignment
                                                   -->End of Python script error report<--

2022-10-13 20:01:44.780 T:919   WARNING <general>: CPythonInvoker(12, /storage/.kodi/addons/plugin.video.raitv/default.py): the python script "/storage/.kodi/addons/plugin.video.raitv/default.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE,N9XBMCAddon9xbmcaddon5AddonE