window and dialog scripts have error messages when closing
#1
these errors are in the log. i tested with the globalsearch script also since it is an xbmc script.

Quote:13:54:00 T:140735073049792 ERROR: Control 9000 in window 13000 has been asked to focus, but it can't
13:54:00 T:140735073049792 ERROR: Control 161 in window 13000 has been asked to focus, but it can't

13:54:14 T:4794744832 ERROR: Failed to run the gc to clean up after running prior to shutting down the Interpreter /Users/username/Library/Application Support/XBMC/addons/script.globalsearch/default.py
13:54:14 T:4794744832 WARNING: The python script "/Users/username/Library/Application Support/XBMC/addons/script.globalsearch/default.py" has left several classes in memory that we couldn't clean up. The classes include: WindowXMLDialog,Player

13:54:15 T:140735073049792 ERROR: Control 9000 in window 13000 has been asked to focus, but it can't
13:54:23 T:4716171264 NOTICE: Thread XBPython start, auto delete: false
13:54:23 T:4716171264 NOTICE: -->Python Interpreter Initialized<--
13:54:23 T:140735073049792 ERROR: ClearBlock: Trying to clear non existent block /Users/username/Library/Application Support/XBMC/addons/script.globalsearch

do any of you addon developers notice this with your scripts or is it possible i'm not cleaning up in the script properly. notice the python interpreter get initialized again after exiting the script[/b].
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#2
I noticed some of these errors in RCB too. Especially the "The python script has left several classes in memory" and "Trying to clear non existent block" look familiar to me.

But I was always sure that this might be some coding error on my end. Never had the time to check this in detail.
Reply

Logout Mark Read Team Forum Stats Members Help
window and dialog scripts have error messages when closing0