add-ons / screensaver.turnoff

Kodi screensaver that turns your screen off to save power
Other
21 stars 14 forks source link

failed to run the gc to clean up after running prior to shutting down the Interpreter #12

Closed dagwieers closed 5 years ago

dagwieers commented 5 years ago

So one of the issues I have been wrapping my head around seem to be related to testing the screensaver when media was playing. And this is causes the below issue when restoring the display.

This does not happen in normal use, as the screensaver would never be activated when something is playing. (Not even when something is paused...)

2019-10-31 16:41:53.390 T:1707008896   ERROR: CPythonInvoker(30, /storage/.kodi/addons/screensaver.turnoff/screensaver.py): failed to run the gc to clean up after running prior to shutting down the Interpreter
2019-10-31 16:41:53.391 T:1707008896 WARNING: CPythonInvoker(30, /storage/.kodi/addons/screensaver.turnoff/screensaver.py): the python script "/storage/.kodi/addons/screensaver.turnoff/screensaver.py" has left several classes in memory that we couldn't clean up. The classes include: N14PythonBindings31XBMCAddon_xbmc_Monitor_DirectorE,N14PythonBindings42XBMCAddon_xbmcgui_WindowXMLDialog_DirectorE
dagwieers commented 5 years ago

If we cannot find a fix for this, there are two options: