2016-02-08, 03:57
(2016-02-07, 21:24)javiertoti Wrote: I had the addon running fine under OE 6.0.1 . The system updated the addon to 5.0.5 and now don't open Flix2Kodi, just an error dialog box «check in the log for more information»
Code:20:38:14 T:140122762798976 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.flix2kodi/)
20:38:14 T:140122762798976 DEBUG: ParentPath = [addons://sources/video]
20:38:14 T:140120950826752 DEBUG: StartScript - calling plugin Flix2Kodi('plugin://plugin.video.flix2kodi/','5','')
20:38:14 T:140120950826752 DEBUG: WaitOnScriptResult - waiting on the Flix2Kodi (id=36) plugin...
20:38:14 T:140118687028992 NOTICE: Thread LanguageInvoker start, auto delete: false
20:38:14 T:140118687028992 INFO: initializing python engine.
20:38:14 T:140118687028992 DEBUG: CPythonInvoker(36, /storage/.kodi/addons/plugin.video.flix2kodi/addon.py): start processing
20:38:14 T:140118687028992 NOTICE: -->Python Interpreter Initialized<--
20:38:14 T:140118687028992 DEBUG: CPythonInvoker(36, /storage/.kodi/addons/plugin.video.flix2kodi/addon.py): the source file to load is "/storage/.kodi/addons/plugin.video.flix2kodi/addon.py"
20:38:14 T:140118687028992 DEBUG: CPythonInvoker(36, /storage/.kodi/addons/plugin.video.flix2kodi/addon.py): setting the Python path to /storage/.kodi/addons/plugin.video.flix2kodi:/storage/.kodi/addons/script.module.requests/lib:/usr/lib/python27.zip:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages/gtk-2.0
20:38:14 T:140118687028992 DEBUG: CPythonInvoker(36, /storage/.kodi/addons/plugin.video.flix2kodi/addon.py): entering source directory /storage/.kodi/addons/plugin.video.flix2kodi
20:38:14 T:140118687028992 DEBUG: CPythonInvoker(36, /storage/.kodi/addons/plugin.video.flix2kodi/addon.py): instantiating addon using automatically obtained id of "plugin.video.flix2kodi" dependent on version 2.1.0 of the xbmc.python api
20:38:14 T:140118687028992 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: cannot import name database
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.flix2kodi/addon.py", line 10, in <module>
from resources import general
File "/storage/.kodi/addons/plugin.video.flix2kodi/resources/general.py", line 7, in <module>
import add
File "/storage/.kodi/addons/plugin.video.flix2kodi/resources/add.py", line 10, in <module>
from resources import library
File "/storage/.kodi/addons/plugin.video.flix2kodi/resources/library.py", line 12, in <module>
from resources.utility import database
ImportError: cannot import name database
-->End of Python script error report<--
20:38:14 T:140118687028992 INFO: Python script stopped
20:38:14 T:140118687028992 DEBUG: Thread LanguageInvoker 140118687028992 terminating
20:38:14 T:140120950826752 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
20:38:14 T:140122762798976 ERROR: GetDirectory - Error getting plugin://plugin.video.flix2kodi/
20:38:14 T:140122762798976 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.flix2kodi/) failed
20:38:14 T:140122762798976 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video)
20:38:14 T:140122762798976 DEBUG: ParentPath = [addons://sources/]
20:38:14 T:140118687028992 NOTICE: Thread BackgroundLoader start, auto delete: false
20:38:14 T:140118687028992 WARNING: CreateLoader - unsupported protocol(script) in script://script.navi-x/?content_type=video-poster.jpg
20:38:14 T:140118687028992
The full error message can be found here.
What can I do? Thank you,
looks like the same one i had. find library.py and delete the import database line.