Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Widgets incompatible with Last Played addon #125

Open
alphabitnz opened this issue Jan 23, 2022 · 0 comments
Open

Custom Widgets incompatible with Last Played addon #125

alphabitnz opened this issue Jan 23, 2022 · 0 comments

Comments

@alphabitnz
Copy link

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:
5-star/plugin.video.last_played#23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant