sualfred / skin.embuary

Embuary - a Emby lookalike Kodi skin
https://emby.media/community/index.php?/topic/49724-support-thread-embuary-a-emby-kodi-skin/page-1
Other
126 stars 66 forks source link

Custom Widgets incompatible with Last Played addon #125

Open alphabitnz opened 2 years ago

alphabitnz commented 2 years ago

This isn't causing Kodi to crash, but sporadically breaks this addon if loaded as a custom widget until a skin reload is done.

2022-01-16 03:19:59.032 T:696166 WARNING <general>: CPythonInvoker(7, /Users/myusername/Library/Application Support/Kodi/addons/plugin.video.last_played/default.py): the python script "/Users/myusername/Library/Application Support/Kodi/addons/plugin.video.last_played/default.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE,N9XBMCAddon4xbmc7MonitorE
2022-01-16 12:15:11.023 T:1352870   ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'NameError'>
                                                   Error Contents: name 'ListItem' is not defined
                                                   Traceback (most recent call last):
                                                     File "/Users/myusername/Library/Application Support/Kodi/addons/plugin.video.last_played/addon.py", line 129, in <module>
                                                       list_items("*", list_size)
                                                     File "/Users/myusername/Library/Application Support/Kodi/addons/plugin.video.last_played/addon.py", line 84, in list_items
                                                       li = ListItem(lang(30030))
                                                   NameError: name 'ListItem' is not defined
                                                   -->End of Python script error report<--

Reference Issue: https://github.com/5-star/plugin.video.last_played/issues/23