2021-02-24, 02:00
Cheers guys. Might pay to temporarily disable it then, assuming it causes issues with normal Kodi operation. Thanks for the clarification.
![Smile Smile](https://forum.kodi.tv/images/smilies/smile.png)
Dan / Gib.
![Smile Smile](https://forum.kodi.tv/images/smilies/smile.png)
Dan / Gib.
(2021-02-23, 06:44)cage Wrote: Just a heads up for other folks out there; there are some issues going on.Same issue for me.
I can scrobble movies but not tv. Setup has not changed in years.
DEBUG: [script.trakt] urllib3.connectionpool: https://api.trakt.tv:443 "POST /scrobble/start HTTP/1.1" 404 None
(2021-02-24, 08:06)tommymsw Wrote: hey all. Just upgraded to Kodi 19. (fresh install). But the Trakt app seems to not be working for me. When I authorize, I get "Woohoo" at Trakt, but in Kodi, the addon still says a grey "user" under accounts and not my account name like it used to. And when I run the app, it seems to only sync to like 8% and then just stops.
(2021-02-24, 15:19)peakay Wrote:(2021-02-24, 08:06)tommymsw Wrote: hey all. Just upgraded to Kodi 19. (fresh install). But the Trakt app seems to not be working for me. When I authorize, I get "Woohoo" at Trakt, but in Kodi, the addon still says a grey "user" under accounts and not my account name like it used to. And when I run the app, it seems to only sync to like 8% and then just stops.
Mine appears to be the same after upgrade to Kodi 19 - greyed out user after successful authorisation. On run, hangs with message "synchronize TV Episodes" - "Parsing 6 of 19 episode data from Kodi" - have to use task manager to end task on Kodi here - left for just over an hour with no change. also deleted my profile and recreated, multiple uninstall/ reinstalls of addin. No joy.
(2021-02-24, 15:19)peakay Wrote:(2021-02-24, 08:06)tommymsw Wrote: hey all. Just upgraded to Kodi 19. (fresh install). But the Trakt app seems to not be working for me. When I authorize, I get "Woohoo" at Trakt, but in Kodi, the addon still says a grey "user" under accounts and not my account name like it used to. And when I run the app, it seems to only sync to like 8% and then just stops.
Mine appears to be the same after upgrade to Kodi 19 - greyed out user after successful authorisation. On run, hangs with message "synchronize TV Episodes" - "Parsing 6 of 19 episode data from Kodi" - have to use task manager to end task on Kodi here - left for just over an hour with no change. also deleted my profile and recreated, multiple uninstall/ reinstalls of addin. No joy.
(2021-02-24, 15:19)peakay Wrote:(2021-02-24, 08:06)tommymsw Wrote: hey all. Just upgraded to Kodi 19. (fresh install). But the Trakt app seems to not be working for me. When I authorize, I get "Woohoo" at Trakt, but in Kodi, the addon still says a grey "user" under accounts and not my account name like it used to. And when I run the app, it seems to only sync to like 8% and then just stops.
Mine appears to be the same after upgrade to Kodi 19 - greyed out user after successful authorisation. On run, hangs with message "synchronize TV Episodes" - "Parsing 6 of 19 episode data from Kodi" - have to use task manager to end task on Kodi here - left for just over an hour with no change. also deleted my profile and recreated, multiple uninstall/ reinstalls of addin. No joy.
2021-02-26 14:22:09.689 T:12348 DEBUG <general>: [script.trakt] resources.lib.syncMovies: [Movies Sync] Kodi movie playcount is up to date.
2021-02-26 14:22:10.191 T:12348 DEBUG <general>: [script.trakt] resources.lib.syncMovies: [Movies Sync] 129 movie(s) progress will be updated in Kodi
2021-02-26 14:22:10.191 T:12348 ERROR <general>: Exception in thread
2021-02-26 14:22:10.191 T:12348 ERROR <general>: trakt-sync
2021-02-26 14:22:10.191 T:12348 ERROR <general>: :
2021-02-26 14:22:10.191 T:12348 ERROR <general>: Traceback (most recent call last):
2021-02-26 14:22:10.191 T:12348 ERROR <general>: File "C:\Program Files\Kodi\system\python\Lib\threading.py", line 932, in _bootstrap_inner
2021-02-26 14:22:10.192 T:12348 ERROR <general>:
2021-02-26 14:22:10.192 T:12348 ERROR <general>: self.run()
2021-02-26 14:22:10.192 T:12348 ERROR <general>:
2021-02-26 14:22:10.192 T:12348 ERROR <general>: File "C:\Users\xxx\AppData\Roaming\Kodi\addons\script.trakt\resources\lib\service.py", line 379, in run
2021-02-26 14:22:10.193 T:12348 ERROR <general>:
2021-02-26 14:22:10.193 T:12348 ERROR <general>: sync.sync()
2021-02-26 14:22:10.193 T:12348 ERROR <general>:
2021-02-26 14:22:10.193 T:12348 ERROR <general>: File "C:\Users\xxx\AppData\Roaming\Kodi\addons\script.trakt\resources\lib\sync.py", line 57, in sync
2021-02-26 14:22:10.193 T:12348 ERROR <general>:
2021-02-26 14:22:10.194 T:12348 ERROR <general>: syncMovies.SyncMovies(self, progress)
2021-02-26 14:22:10.194 T:12348 ERROR <general>:
2021-02-26 14:22:10.194 T:12348 ERROR <general>: File "C:\Users\xxx\AppData\Roaming\Kodi\addons\script.trakt\resources\lib\syncMovies.py", line 47, in __init__
2021-02-26 14:22:10.194 T:12348 ERROR <general>:
2021-02-26 14:22:10.194 T:12348 ERROR <general>: self.__addMovieProgressToKodi(traktMoviesProgress, kodiMovies, 81, 91)
2021-02-26 14:22:10.194 T:12348 ERROR <general>:
2021-02-26 14:22:10.195 T:12348 ERROR <general>: File "C:\Users\xxx\AppData\Roaming\Kodi\addons\script.trakt\resources\lib\syncMovies.py", line 332, in __addMovieProgressToKodi
2021-02-26 14:22:10.195 T:12348 ERROR <general>:
2021-02-26 14:22:10.195 T:12348 ERROR <general>: chunked_movies = utilities.chunks([{"jsonrpc": "2.0", "id": i, "method": "VideoLibrary.SetMovieDetails", "params": {"movieid": movie['movieid'], "resume": {
2021-02-26 14:22:10.195 T:12348 ERROR <general>:
2021-02-26 14:22:10.195 T:12348 ERROR <general>: File "C:\Users\xxx\AppData\Roaming\Kodi\addons\script.trakt\resources\lib\syncMovies.py", line 332, in <listcomp>
2021-02-26 14:22:10.196 T:12348 ERROR <general>:
2021-02-26 14:22:10.196 T:12348 ERROR <general>: chunked_movies = utilities.chunks([{"jsonrpc": "2.0", "id": i, "method": "VideoLibrary.SetMovieDetails", "params": {"movieid": movie['movieid'], "resume": {
2021-02-26 14:22:10.196 T:12348 ERROR <general>:
2021-02-26 14:22:10.196 T:12348 ERROR <general>: NameError
2021-02-26 14:22:10.196 T:12348 ERROR <general>: :
2021-02-26 14:22:10.196 T:12348 ERROR <general>: free variable 'i' referenced before assignment in enclosing scope
2021-02-26 14:22:10.196 T:12348 ERROR <general>:
2021-02-26 14:22:10.197 T:12348 DEBUG <general>: .
(2021-02-25, 10:14)tommymsw Wrote:(2021-02-24, 15:19)peakay Wrote:(2021-02-24, 08:06)tommymsw Wrote: hey all. Just upgraded to Kodi 19. (fresh install). But the Trakt app seems to not be working for me. When I authorize, I get "Woohoo" at Trakt, but in Kodi, the addon still says a grey "user" under accounts and not my account name like it used to. And when I run the app, it seems to only sync to like 8% and then just stops.
Mine appears to be the same after upgrade to Kodi 19 - greyed out user after successful authorisation. On run, hangs with message "synchronize TV Episodes" - "Parsing 6 of 19 episode data from Kodi" - have to use task manager to end task on Kodi here - left for just over an hour with no change. also deleted my profile and recreated, multiple uninstall/ reinstalls of addin. No joy.
I am also on Shield. And same thing. With me it is of like 248 shows? (although I have WAY more).
(2021-02-27, 13:43)Razze Wrote: I broke those lines with https://github.com/trakt/script.trakt/pull/521/files
Will send an update
(2021-03-03, 15:08)fguitch Wrote:Yes, has been there for some days. Resolved my issues at least :/(2021-02-27, 13:43)Razze Wrote: I broke those lines with https://github.com/trakt/script.trakt/pull/521/files
Will send an update
Auto Update is still not working, have you sent the update ?
(2021-02-26, 05:43)cods69 Wrote: A snippet of debug - pretty clearly some issues in there.
Code:2021-02-26 14:22:09.689 T:12348 DEBUG <general>: [script.trakt] resources.lib.syncMovies: [Movies Sync] Kodi movie playcount is up to date.
2021-02-26 14:22:10.191 T:12348 DEBUG <general>: [script.trakt] resources.lib.syncMovies: [Movies Sync] 129 movie(s) progress will be updated in Kodi
2021-02-26 14:22:10.191 T:12348 ERROR <general>: Exception in thread
2021-02-26 14:22:10.191 T:12348 ERROR <general>: trakt-sync
2021-02-26 14:22:10.191 T:12348 ERROR <general>: :
2021-02-26 14:22:10.191 T:12348 ERROR <general>: Traceback (most recent call last):
2021-02-26 14:22:10.191 T:12348 ERROR <general>: File "C:\Program Files\Kodi\system\python\Lib\threading.py", line 932, in _bootstrap_inner
2021-02-26 14:22:10.192 T:12348 ERROR <general>:
2021-02-26 14:22:10.192 T:12348 ERROR <general>: self.run()
2021-02-26 14:22:10.192 T:12348 ERROR <general>:
2021-02-26 14:22:10.192 T:12348 ERROR <general>: File "C:\Users\xxx\AppData\Roaming\Kodi\addons\script.trakt\resources\lib\service.py", line 379, in run
2021-02-26 14:22:10.193 T:12348 ERROR <general>:
2021-02-26 14:22:10.193 T:12348 ERROR <general>: sync.sync()
2021-02-26 14:22:10.193 T:12348 ERROR <general>:
2021-02-26 14:22:10.193 T:12348 ERROR <general>: File "C:\Users\xxx\AppData\Roaming\Kodi\addons\script.trakt\resources\lib\sync.py", line 57, in sync
2021-02-26 14:22:10.193 T:12348 ERROR <general>:
2021-02-26 14:22:10.194 T:12348 ERROR <general>: syncMovies.SyncMovies(self, progress)
2021-02-26 14:22:10.194 T:12348 ERROR <general>:
2021-02-26 14:22:10.194 T:12348 ERROR <general>: File "C:\Users\xxx\AppData\Roaming\Kodi\addons\script.trakt\resources\lib\syncMovies.py", line 47, in __init__
2021-02-26 14:22:10.194 T:12348 ERROR <general>:
2021-02-26 14:22:10.194 T:12348 ERROR <general>: self.__addMovieProgressToKodi(traktMoviesProgress, kodiMovies, 81, 91)
2021-02-26 14:22:10.194 T:12348 ERROR <general>:
2021-02-26 14:22:10.195 T:12348 ERROR <general>: File "C:\Users\xxx\AppData\Roaming\Kodi\addons\script.trakt\resources\lib\syncMovies.py", line 332, in __addMovieProgressToKodi
2021-02-26 14:22:10.195 T:12348 ERROR <general>:
2021-02-26 14:22:10.195 T:12348 ERROR <general>: chunked_movies = utilities.chunks([{"jsonrpc": "2.0", "id": i, "method": "VideoLibrary.SetMovieDetails", "params": {"movieid": movie['movieid'], "resume": {
2021-02-26 14:22:10.195 T:12348 ERROR <general>:
2021-02-26 14:22:10.195 T:12348 ERROR <general>: File "C:\Users\xxx\AppData\Roaming\Kodi\addons\script.trakt\resources\lib\syncMovies.py", line 332, in <listcomp>
2021-02-26 14:22:10.196 T:12348 ERROR <general>:
2021-02-26 14:22:10.196 T:12348 ERROR <general>: chunked_movies = utilities.chunks([{"jsonrpc": "2.0", "id": i, "method": "VideoLibrary.SetMovieDetails", "params": {"movieid": movie['movieid'], "resume": {
2021-02-26 14:22:10.196 T:12348 ERROR <general>:
2021-02-26 14:22:10.196 T:12348 ERROR <general>: NameError
2021-02-26 14:22:10.196 T:12348 ERROR <general>: :
2021-02-26 14:22:10.196 T:12348 ERROR <general>: free variable 'i' referenced before assignment in enclosing scope
2021-02-26 14:22:10.196 T:12348 ERROR <general>:
2021-02-26 14:22:10.197 T:12348 DEBUG <general>: .
2021-03-07 02:33:52.369 T:400 ERROR <general>: Exception in thread
2021-03-07 02:33:52.369 T:400 ERROR <general>: trakt-sync
2021-03-07 02:33:52.369 T:400 ERROR <general>: :
2021-03-07 02:33:52.369 T:400 ERROR <general>: Traceback (most recent call last):
2021-03-07 02:33:52.369 T:400 ERROR <general>: File "D:\Kodi Media Center\system\python\Lib\threading.py", line 932, in _bootstrap_inner
2021-03-07 02:33:52.370 T:400 ERROR <general>:
2021-03-07 02:33:52.370 T:400 ERROR <general>: self.run()
2021-03-07 02:33:52.370 T:400 ERROR <general>:
2021-03-07 02:33:52.370 T:400 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.trakt\resources\lib\service.py", line 379, in run
2021-03-07 02:33:52.370 T:400 ERROR <general>:
2021-03-07 02:33:52.370 T:400 ERROR <general>: sync.sync()
2021-03-07 02:33:52.370 T:400 ERROR <general>:
2021-03-07 02:33:52.370 T:400 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.trakt\resources\lib\sync.py", line 57, in sync
2021-03-07 02:33:52.370 T:400 ERROR <general>:
2021-03-07 02:33:52.370 T:400 ERROR <general>: syncMovies.SyncMovies(self, progress)
2021-03-07 02:33:52.370 T:400 ERROR <general>:
2021-03-07 02:33:52.370 T:400 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.trakt\resources\lib\syncMovies.py", line 45, in __init__
2021-03-07 02:33:52.370 T:400 ERROR <general>:
2021-03-07 02:33:52.370 T:400 ERROR <general>: self.__addMoviesToKodiWatched(traktMovies, kodiMovies, 70, 80)
2021-03-07 02:33:52.370 T:400 ERROR <general>:
2021-03-07 02:33:52.370 T:400 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.trakt\resources\lib\syncMovies.py", line 292, in __addMoviesToKodiWatched
2021-03-07 02:33:52.371 T:400 ERROR <general>:
2021-03-07 02:33:52.371 T:400 ERROR <general>: chunked_movies = utilities.chunks([{"jsonrpc": "2.0", "method": "VideoLibrary.SetMovieDetails", "params": {"movieid": kodiMoviesToUpdate[i]['movieid'], "playcount": kodiMoviesToUpdate[i]
2021-03-07 02:33:52.371 T:400 ERROR <general>:
2021-03-07 02:33:52.371 T:400 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.trakt\resources\lib\syncMovies.py", line 293, in <listcomp>
2021-03-07 02:33:52.371 T:400 ERROR <general>:
2021-03-07 02:33:52.371 T:400 ERROR <general>: ['plays'], "lastplayed": utilities.convertUtcToDateTime(kodiMoviesToUpdate[i]['last_watched_at'])}, "id": i} for i in range(len(kodiMoviesToUpdate))], chunksize)
2021-03-07 02:33:52.371 T:400 ERROR <general>:
2021-03-07 02:33:52.371 T:400 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.trakt\resources\lib\utilities.py", line 209, in convertUtcToDateTime
2021-03-07 02:33:52.371 T:400 ERROR <general>:
2021-03-07 02:33:52.371 T:400 ERROR <general>: local = utc.astimezone(tzlocal())
2021-03-07 02:33:52.371 T:400 ERROR <general>:
2021-03-07 02:33:52.371 T:400 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 144, in fromutc
2021-03-07 02:33:52.371 T:400 ERROR <general>:
2021-03-07 02:33:52.371 T:400 ERROR <general>: return f(self, dt)
2021-03-07 02:33:52.371 T:400 ERROR <general>:
2021-03-07 02:33:52.371 T:400 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 258, in fromutc
2021-03-07 02:33:52.371 T:400 ERROR <general>:
2021-03-07 02:33:52.372 T:400 ERROR <general>: dt_wall = self._fromutc(dt)
2021-03-07 02:33:52.372 T:400 ERROR <general>:
2021-03-07 02:33:52.372 T:400 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 222, in _fromutc
2021-03-07 02:33:52.372 T:400 ERROR <general>:
2021-03-07 02:33:52.372 T:400 ERROR <general>: dtoff = dt.utcoffset()
2021-03-07 02:33:52.372 T:400 ERROR <general>:
2021-03-07 02:33:52.372 T:400 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 222, in utcoffset
2021-03-07 02:33:52.372 T:400 ERROR <general>:
2021-03-07 02:33:52.372 T:400 ERROR <general>: if self._isdst(dt):
2021-03-07 02:33:52.372 T:400 ERROR <general>:
2021-03-07 02:33:52.372 T:400 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 294, in _isdst
2021-03-07 02:33:52.372 T:400 ERROR <general>:
2021-03-07 02:33:52.372 T:400 ERROR <general>: if self.is_ambiguous(dt):
2021-03-07 02:33:52.372 T:400 ERROR <general>:
2021-03-07 02:33:52.372 T:400 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 256, in is_ambiguous
2021-03-07 02:33:52.372 T:400 ERROR <general>:
2021-03-07 02:33:52.372 T:400 ERROR <general>: (naive_dst != self._naive_is_dst(dt - self._dst_saved)))
2021-03-07 02:33:52.372 T:400 ERROR <general>:
2021-03-07 02:33:52.372 T:400 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 260, in _naive_is_dst
2021-03-07 02:33:52.373 T:400 ERROR <general>:
2021-03-07 02:33:52.373 T:400 ERROR <general>: return time.localtime(timestamp + time.timezone).tm_isdst
2021-03-07 02:33:52.373 T:400 ERROR <general>:
2021-03-07 02:33:52.373 T:400 ERROR <general>: OSError
2021-03-07 02:33:52.373 T:400 ERROR <general>: :
2021-03-07 02:33:52.373 T:400 ERROR <general>: [Errno 22] Invalid argument