2017-01-02, 06:04
(2016-12-03, 19:17)dgrayfromdc Wrote: Hello,
I'm a long time XBMC/Kodi user. I wanted to use Trakt for Plex sync, and online database backup, among other things. However, I can't seem to get Trakt working on Kodi. I've installed from the repository using Kodi 16.1, and can't seem to get it configured. I get a non-descript pop-up that an error has occurred. I've tried searching the thread, and couldn't find anything that matched the error I'm seeing. I turned on debugging and this is a log excerpt from the event that caused the error notification:
Code:1:45:08 T:139831412684544 DEBUG: CurlFile::Open(0x7f2ce802ba20) http://mirrors.kodi.tv/addons/jarvis/script.trakt/script.trakt-3.1.7.zip
11:45:08 T:139831412684544 DEBUG: CCurlFile::Open - effective URL: <http://mirror.wdc1.us.leaseweb.net/xbmc/addons/jarvis/script.trakt/script.trakt-3.1.7.zip>
11:45:10 T:139831412684544 INFO: ADDON: cpluff: 'Could not read plug-in directory /usr/lib/kodi/addons: No such file or directory'
11:45:10 T:139831518689024 DEBUG: Thread LanguageInvoker start, auto delete: false
11:45:10 T:139831518689024 INFO: initializing python engine.
11:45:10 T:139831518689024 DEBUG: CPythonInvoker(8, /home/dontrel/.kodi/addons/script.trakt/default.py): start processing
11:45:10 T:139832324516160 DEBUG: CGUIMediaWindow::GetDirectory (addons://repository.xbmc.org/xbmc.addon.executable)
11:45:10 T:139832324516160 DEBUG: ParentPath = [addons://repository.xbmc.org/xbmc.addon.executable]
11:45:10 T:139831518689024 DEBUG: -->Python Interpreter Initialized<--
11:45:10 T:139831518689024 DEBUG: CPythonInvoker(8, /home/dontrel/.kodi/addons/script.trakt/default.py): the source file to load is "/home/dontrel/.kodi/addons/script.trakt/default.py"
11:45:10 T:139831518689024 DEBUG: CPythonInvoker(8, /home/dontrel/.kodi/addons/script.trakt/default.py): setting the Python path to /home/dontrel/.kodi/addons/script.trakt:/home/dontrel/.kodi/addons/script.module.addon.signals/lib:/home/dontrel/.kodi/addons/script.module.arrow/lib:/home/dontrel/.kodi/addons/script.module.dateutil/lib:/home/dontrel/.kodi/addons/script.module.requests/lib:/home/dontrel/.kodi/addons/script.module.simplejson/lib:/home/dontrel/.kodi/addons/script.module.six/lib:/home/dontrel/.kodi/addons/script.module.trakt/lib:/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:/usr/lib/python2.7/dist-packages/ubuntu-sso-client
11:45:10 T:139831518689024 DEBUG: CPythonInvoker(8, /home/dontrel/.kodi/addons/script.trakt/default.py): entering source directory /home/dontrel/.kodi/addons/script.trakt
11:45:10 T:139831518689024 DEBUG: CPythonInvoker(8, /home/dontrel/.kodi/addons/script.trakt/default.py): instantiating addon using automatically obtained id of "script.trakt" dependent on version 2.24.0 of the xbmc.python api
11:45:10 T:139831421077248 DEBUG: Thread BackgroundLoader start, auto delete: false
11:45:10 T:139832324516160 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
11:45:10 T:139831421077248 DEBUG: Thread BackgroundLoader 139831421077248 terminating
11:45:12 T:139831518689024 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'sqlite3.OperationalError'>
Error Contents: unable to open database file
Traceback (most recent call last):
File "/home/dontrel/.kodi/addons/script.trakt/default.py", line 6, in <module>
from service import traktService
File "/home/dontrel/.kodi/addons/script.trakt/service.py", line 21, in <module>
class traktService:
File "/home/dontrel/.kodi/addons/script.trakt/service.py", line 25, in traktService
dispatchQueue = sqlitequeue.SqliteQueue()
File "/home/dontrel/.kodi/addons/script.trakt/sqlitequeue.py", line 60, in __init__
with self._get_conn() as conn:
File "/home/dontrel/.kodi/addons/script.trakt/sqlitequeue.py", line 76, in _get_conn
self._connection_cache[id] = sqlite3.Connection(self.path, timeout=60)
OperationalError: unable to open database file
-->End of Python script error report<--
11:45:12 T:139831518689024 INFO: Python script stopped
If it helps, I have an Ubuntu machine with MySQL sharing enabled, and all of my content is shared from the same system via SMB. All content is indexed (even on the local machine) via SMB per instructions in the wiki.
Anyone?