Eugene-Bond / xmbc-plugins

XBMC addons
13 stars 15 forks source link

Cannot open plugin on Frodo (XBMC 12) on GBOX MX2 #9

Closed mishakogan closed 10 years ago

mishakogan commented 10 years ago

Here is the portion of the log where I think the problems is at:

..... 03:59:18 T:1762502648 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.kartina.tv/) 03:59:18 T:1762502648 DEBUG: ParentPath = [addons://sources/video/] 03:59:18 T:1690496784 DEBUG: - calling plugin Kartina.TV('plugin://plugin.video.kartina.tv/','1','') 03:59:18 T:1690496784 INFO: initializing python engine. 03:59:18 T:1690496784 DEBUG: new python thread created. id=3 03:59:18 T:1690496784 DEBUG: - waiting on the Kartina.TV (id=3) plugin... 03:59:18 T:1762851888 DEBUG: Python thread: start processing 03:59:18 T:1762851888 NOTICE: -->Python Interpreter Initialized<-- 03:59:18 T:1762851888 DEBUG: - The source file to load is /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.kartina.tv/default.py 03:59:18 T:1762851888 DEBUG: - Setting the Python path to /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.kartina.tv:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.pyamf/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.myconnpy/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.beautifulsoup/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.common.plugin.cache/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.buggalo/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.mechanize/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.xbmcswift2/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.requests2/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.xbmcswift/lib:/data/data/org.xbmc.xbmc/cache/apk/assets/addons/script.module.t0mm0.common/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.simplejson/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.addon.common/lib:/data/data/org.xbmc.xbmc/cache/apk/assets/addons/script.module.pil/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.simple.downloader/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.requests/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.urlresolver/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.parsedom/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.elementtree/lib:/data/data/org.xbmc.xbmc/cache/apk/assets/addons/script.module.pysqlite/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.metahandler/lib:/:/data/app/xbmc-matricom-09-16-13-.apk/assets/python2.6/lib/python26.zip:/data/app/xbmc-matricom-09-16-13-.apk/assets/python2.6/lib/python2.6:/data/app/xbmc-matricom-09-16-13-.apk/assets/python2.6/lib/python2.6/plat-linux2:/data/app/xbmc-matricom-09-16-13-.apk/assets/python2.6/lib/python2.6/lib-tk:/data/app/xbmc-matricom-09-16-13-.apk/assets/python2.6/lib/python2.6/lib-old:/data/app/xbmc-matricom-09-16-13-.apk/assets/python2.6/lib/python2.6/lib-dynload: 03:59:18 T:1762851888 DEBUG: - Entering source directory /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.kartina.tv 03:59:18 T:1762851888 DEBUG: Instantiating addon using automatically obtained id of "plugin.video.kartina.tv" dependent on version 2.1.0 of the xbmc.python api 03:59:18 T:1762851888 INFO: Python script stopped 03:59:18 T:1690496784 DEBUG: - plugin exited prematurely - terminating 03:59:18 T:1762502648 ERROR: - Error getting plugin://plugin.video.kartina.tv/ 03:59:18 T:1762502648 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.kartina.tv/) failed 03:59:18 T:1762502648 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video/) 03:59:18 T:1762502648 DEBUG: ParentPath = [] 03:59:18 T:1762502648 DEBUG: waiting for python thread 3 (/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.kartina.tv/default.py) to stop 03:59:18 T:1762502648 DEBUG: python thread 3 (/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/plugin.video.kartina.tv/default.py) destructed 03:59:18 T:1762502648 DEBUG: ------ Window Init (DialogKaiToast.xml) ------ 03:59:18 T:1762502648 DEBUG: Window DialogKaiToast.xml was already loaded 03:59:18 T:1762502648 DEBUG: Alloc resources: 0.01m 03:59:19 T:1758421512 DEBUG: - unable to stat url https://raw.github.com/DixieDean/Dixie-Deans-XBMC-Repo/master/zips/script.tvguidedixie/icon.png 03:59:19 T:1690496784 DEBUG: - unable to stat url https://github.com/hadynz/repository.arabic.xbmc-addons/raw/master/repo/plugin.video.panet/icon.png 03:59:19 T:1690496784 DEBUG: - unable to stat url http://lzoubek.github.io/xbmc-doplnky/rep......

I think this might be the problem: " "plugin.video.kartina.tv" dependent on version 2.1.0 of the xbmc.python api 03:59:18 T:1762851888 INFO: Python script stopped 03:59:18 T:1690496784 DEBUG: - plugin exited prematurely - terminating 03:59:18 T:1762502648 ERROR:"

Please, help

mishakogan commented 10 years ago

I changed the version of the required import to 1.0 instead of 2.1.0 in addon.xml and it staredted working. I have 1.2.5 version of the plugin. Will I be fine?.It seems to work

Eugene-Bond commented 10 years ago

Dependence on python 2.1.0 supposed to be working for Frodo. But your local patch definitely was the good way how to resolve an issue.