2017-01-03, 00:37
(2017-01-02, 06:04)dgrayfromdc Wrote:(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?
Look for a file named queue.db and remove it
(2017-01-02, 11:42)RKMFlorida Wrote: Trakt is my favorite Kodi Add-on. Amazing tool and service.
I just upgraded from my prior OpenElec build to a new LibreElec build running Kodi v16.1. I'm also running Trakt v3.10
When I restored my add-on's, Trakt wouldn't work.
To get Trakt working, I deleted the Trakt directory from the userdata/addon_data directory, then re-installed. Once I did that, I was able to uninstall and activate ... everything seems to work great.
The problem is that Trakt will not sync my watched-status back to my new Kodi install, no matter what I try..
I've verified everything:
- I've checked that all shows are properly indexed by Kodi and showing the the DB.
- I've checked that Trakt settings are correctly set to sync for TV/Movies
- I've reboot and re-run Trakt several times. It shows a status like it's updating movies/TV episodes, but nothing in my library shows as watched, despite this.
Can anyone suggest a next-step in locating the source of the problem?
Thank you in advance!
Try to create a logfile like mentioned in the first post. Then retry and check the logfile, there will probably be a moment, where it breaks.
(2017-01-02, 23:54)shred00 Wrote: So I've installed the plugin on Jarvis and I can see that when I start watching a show, it shows I am watching it on my dashboard on the trakt web interface so I am successfully scrobbling, it seems.
But where in the trakt web interface will it show that I have watched it? I would have thought it would have been in History but I don't see the show I am watching being added there. The only thing there are shows that I have told trakt, through the web interface, that I have watched.
They should be set as watched, when you FINISH watching the movie. Be aware, that you need to have it enabled in the settings.