Kodi Community Forum

Full Version: KodiBuntu - Addon Performance Issues
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I haven't used my KodiBuntu system for a few weeks, just went to use it and all my addons are performing really badly. This occurs from the point the addon is started, below is the debug log for simply opening the YouTube addon (which takes nearly 2 minutes):

Quote:23:33:18 T:139877150550208 DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x000d, modifier: 0x0
23:33:18 T:139877150550208 DEBUG: OnKey: return (0xf00d) pressed, action is Select
23:33:18 T:139877150550208 DEBUG: Clearing cached fileitems [plugin://plugin.video.youtube/]
23:33:18 T:139877150550208 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.youtube/)
23:33:18 T:139877150550208 DEBUG: ParentPath = [addons://sources/video/]
23:33:18 T:139876043482880 DEBUG: StartScript - calling plugin YouTube('plugin://plugin.video.youtube/','3','')
23:33:18 T:139876043482880 DEBUG: WaitOnScriptResult - waiting on the YouTube (id=21) plugin...
23:33:18 T:139875080644352 NOTICE: Thread LanguageInvoker start, auto delete: false
23:33:18 T:139875080644352 INFO: initializing python engine.
23:33:18 T:139875080644352 DEBUG: CPythonInvoker(21, /home/kodi/.kodi/addons/plugin.video.youtube/default.py): start processing
23:33:19 T:139877150550208 DEBUG: ------ Window Init (DialogBusy.xml) ------
23:33:42 T:139875080644352 NOTICE: -->Python Interpreter Initialized<--
23:33:42 T:139875080644352 DEBUG: CPythonInvoker(21, /home/kodi/.kodi/addons/plugin.video.youtube/default.py): the source file to load is "/home/kodi/.kodi/addons/plugin.video.youtube/default.py"
23:33:42 T:139875080644352 DEBUG: CPythonInvoker(21, /home/kodi/.kodi/addons/plugin.video.youtube/default.py): setting the Python path to /home/kodi/.kodi/addons/plugin.video.youtube:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0
23:33:42 T:139875080644352 DEBUG: CPythonInvoker(21, /home/kodi/.kodi/addons/plugin.video.youtube/default.py): entering source directory /home/kodi/.kodi/addons/plugin.video.youtube
23:33:45 T:139875080644352 DEBUG: CPythonInvoker(21, /home/kodi/.kodi/addons/plugin.video.youtube/default.py): instantiating addon using automatically obtained id of "plugin.video.youtube" dependent on version 2.14.0 of the xbmc.python api
23:34:31 T:139875080644352 NOTICE: [plugin.video.youtube] Starting Kodion framework by bromix...
23:34:35 T:139875080644352 NOTICE: [plugin.video.youtube] Python : 2.7.8
23:34:35 T:139875080644352 NOTICE: [plugin.video.youtube] System : Helix (2.19)
23:34:35 T:139875080644352 NOTICE: [plugin.video.youtube] Context: YouTube (5.0.6)
23:34:47 T:139875080644352 DEBUG: LocalizeStrings: no strings.po file exist at /home/kodi/.kodi/addons/plugin.video.youtube/resources/language/English, fallback to strings.xml
23:34:47 T:139876043482880 DEBUG: WaitOnScriptResult- plugin returned successfully
23:34:47 T:139877150550208 DEBUG: Saving fileitems [plugin://plugin.video.youtube/]
23:34:47 T:139877150550208 DEBUG: -- items: 5, sort method: 0, ascending: false
23:34:47 T:139875072251648 NOTICE: Thread BackgroundLoader start, auto delete: false
23:34:47 T:139875072251648 DEBUG: Thread BackgroundLoader 139875072251648 terminating
23:34:47 T:139875072251648 NOTICE: Thread JobWorker start, auto delete: true
23:34:47 T:139875072251648 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib-x86_64-linux.so)
23:34:47 T:139875072251648 DEBUG: Loading: /usr/lib/kodi/system/ImageLib-x86_64-linux.so
23:34:47 T:139876043482880 DEBUG: DoWork - took 141 ms to load special://skin/backgrounds/movies.jpg
23:34:47 T:139877150550208 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
23:34:50 T:139875080644352 NOTICE: [plugin.video.youtube] Shutdown of Kodion
23:34:50 T:139875080644352 INFO: CPythonInvoker(21, /home/kodi/.kodi/addons/plugin.video.youtube/default.py): script successfully run
23:34:52 T:139875080644352 INFO: Python script stopped
23:34:52 T:139875080644352 DEBUG: Thread LanguageInvoker 139875080644352 terminating

It wasn't doing this when I last used it. The system is on 24x7 so has probably done a bunch of updates since I last used it. I can't see any problems at the OS level and all other aspects of Kodi (playing local music, videos, etc.) seems to work fine. Can anyone see from the log what the problem could be? Thanks.
Just thought I'd add for the benefit of others. Problem was caused by the Library Watchdog addon and is a known issue (http://trac.kodi.tv/ticket/14212).
Isnt this Library Watchdog addon a 3rd party addon? Isnt the addon developer responsible for bugs and maintenance on the addon.
I'm not sure. I found the cause via a process of elimination and then found the bug which doesn't seem to have been updated for months. I've uninstalled the addon for now and will just update my library manually.
In any case if by removing the addon it fixed issue its unrelated to anything but that addon simple really.

I dont see how http://trac.kodi.tv/ticket/14212 is related to library watchdog in any case so, if you removed that addon and it works, then stands to reason and you know who to blame, that is, if your process of elimination followed any logical path at all.

Its hard to tell because you posted a snippet of a log and not a proper full debug log on a pastebin, the key words here being full debug pastebin.
(2015-03-27, 03:59)uNiversal Wrote: [ -> ]In any case if by removing the addon it fixed issue its unrelated to anything but that addon simple really.

I dont see how http://trac.kodi.tv/ticket/14212 is related to library watchdog in any case so, if you removed that addon and it works, then stands to reason and you know who to blame, that is, if your process of elimination followed any logical path at all.
As the author of the addon and the reporter of that bug: no, they are very related. If you don't understand any of what it's about, don't try to make "logical" conclusions.
Sorry if my reply somehow offended you Takoi. Which seems it has.
(2015-04-03, 09:44)uNiversal Wrote: [ -> ]Sorry if my reply somehow offended you Takoi. Which seems it has.
Just making it clear you are wrong when calling OP an idiot in your own obfuscated way.
Please dont put words in my post that arent there and make assumptions about what I mean vs what you think I meant. ( no issue being straight talker here).

FYI none of what you just assumed about what I meant is correct, and no one and even myself is 100% right 100% of the time.

You dont like my rationale in this case, Then that's perfectly fine to say, And Im ok with hearing it, however in such case, then explain and educate me and everyone else reading, after all I'm here to also and mostly to learn something new.

Thanks and much appreciated.