Still getting the same error in 3.4.1, although Notifications are now working. Enabled debug logging in Trakt and on Kodi, but it doesn't add much to the log that wasn't already there...
Code:
2021-03-16 17:57:54.912 T:9380 DEBUG <general>: [script.trakt] resources.lib.syncMovies: [Movies Sync] 82 movie(s) playcount will be updated in Kodi
2021-03-16 17:57:54.912 T:9380 DEBUG <general>: [script.trakt] resources.lib.syncMovies: [Movies Sync] Movies to add: A Good Day to Die Hard, A Walk Among the Tombstones, Alien, Anzio, Apollo 13, Babylon A.D., Battle of the Bulge, Beethoven, Ben-Hur, Blitz, Cobra, Conan the Barbarian, Dangerous Days: Making Blade Runner, City Slickers II: The Legend of Curly's Gold, Fantastic Four, Fantastic Four: Rise of the Silver Surfer, Forrest Gump, Frankie Boyle: If I Could Reach Out Through Your TV and Strangle You I Would, Frankie Boyle: The Last Days of Sodom, Ghost in the Shell, Green Zone, Herbie Fully Loaded, Highlander: Endgame, Highlander: The Source, Highlander III: The Sorcerer, Indiana Jones and the Kingdom of the Crystal Skull, Inside Man, Insomnia, Ivanhoe, Jack Ryan: Shadow Recruit, Jeff Dunham: Arguing with Myself, JFK, Jingle All the Way, Jumper, King Arthur: Legend of the Sword, Magnum Force, Mr. & Mrs. Smith, Noam Chomsky: Rebel Without a Pause, Passengers, Pirates of the Caribbean: Dead Man's Chest, Police Academy 2: Their First Assignment, Police Academy 3: Back in Training, Police Academy 4: Citizens on Patrol, Quantum of Solace, Rain Man, Red Tails, Schindler's List, Se7en, See No Evil, Hear No Evil, Serenity, Sherlock Holmes: A Game of Shadows, Source Code, Star Trek Into Darkness, Stargate, Sudden Impact, Superman Returns, T2 Trainspotting, Taken 3, Teenage Mutant Ninja Turtles, Teenage Mutant Ninja Turtles: Out of the Shadows, The Big Red One, The Boondock Saints II: All Saints Day, The Enforcer, The Equalizer, The Godfather: Part II, The Godfather: Part III, The Golden Child, The Hunt for Red October, The Ipcress File, The Magnificent Seven, The Man from U.N.C.L.E., The Monuments Men, The Mummy: Tomb of the Dragon Emperor, The Outlaw Josey Wales, The Shawshank Redemption, The Thin Red Line, The X Files: I Want to Believe, Transformers: Age of Extinction, Tremors 2: Aftershocks, Turner & Hooch, Unforgiven, Von Ryan's Express
2021-03-16 17:57:54.921 T:9380 ERROR <general>: Exception in thread
2021-03-16 17:57:54.921 T:9380 ERROR <general>: trakt-sync
2021-03-16 17:57:54.921 T:9380 ERROR <general>: :
2021-03-16 17:57:54.921 T:9380 ERROR <general>: Traceback (most recent call last):
2021-03-16 17:57:54.921 T:9380 ERROR <general>: File "D:\Kodi Media Center\system\python\Lib\threading.py", line 932, in _bootstrap_inner
2021-03-16 17:57:54.921 T:9380 ERROR <general>:
2021-03-16 17:57:54.921 T:9380 ERROR <general>: self.run()
2021-03-16 17:57:54.921 T:9380 ERROR <general>:
2021-03-16 17:57:54.921 T:9380 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.trakt\resources\lib\service.py", line 371, in run
2021-03-16 17:57:54.922 T:9380 ERROR <general>:
2021-03-16 17:57:54.922 T:9380 ERROR <general>: sync.sync()
2021-03-16 17:57:54.922 T:9380 ERROR <general>:
2021-03-16 17:57:54.922 T:9380 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.trakt\resources\lib\sync.py", line 57, in sync
2021-03-16 17:57:54.922 T:9380 ERROR <general>:
2021-03-16 17:57:54.922 T:9380 ERROR <general>: syncMovies.SyncMovies(self, progress)
2021-03-16 17:57:54.922 T:9380 ERROR <general>:
2021-03-16 17:57:54.922 T:9380 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.trakt\resources\lib\syncMovies.py", line 45, in __init__
2021-03-16 17:57:54.922 T:9380 ERROR <general>:
2021-03-16 17:57:54.922 T:9380 ERROR <general>: self.__addMoviesToKodiWatched(traktMovies, kodiMovies, 70, 80)
2021-03-16 17:57:54.922 T:9380 ERROR <general>:
2021-03-16 17:57:54.922 T:9380 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.trakt\resources\lib\syncMovies.py", line 292, in __addMoviesToKodiWatched
2021-03-16 17:57:54.922 T:9380 ERROR <general>:
2021-03-16 17:57:54.922 T:9380 ERROR <general>: chunked_movies = utilities.chunks([{"jsonrpc": "2.0", "method": "VideoLibrary.SetMovieDetails", "params": {"movieid": kodiMoviesToUpdate[i]['movieid'], "playcount": kodiMoviesToUpdate[i]
2021-03-16 17:57:54.922 T:9380 ERROR <general>:
2021-03-16 17:57:54.922 T:9380 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.trakt\resources\lib\syncMovies.py", line 293, in <listcomp>
2021-03-16 17:57:54.922 T:9380 ERROR <general>:
2021-03-16 17:57:54.922 T:9380 ERROR <general>: ['plays'], "lastplayed": utilities.convertUtcToDateTime(kodiMoviesToUpdate[i]['last_watched_at'])}, "id": i} for i in range(len(kodiMoviesToUpdate))], chunksize)
2021-03-16 17:57:54.922 T:9380 ERROR <general>:
2021-03-16 17:57:54.923 T:9380 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.trakt\resources\lib\utilities.py", line 210, in convertUtcToDateTime
2021-03-16 17:57:54.923 T:9380 ERROR <general>:
2021-03-16 17:57:54.923 T:9380 ERROR <general>: local = utc.astimezone(tzlocal())
2021-03-16 17:57:54.923 T:9380 ERROR <general>:
2021-03-16 17:57:54.923 T:9380 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 144, in fromutc
2021-03-16 17:57:54.923 T:9380 ERROR <general>:
2021-03-16 17:57:54.923 T:9380 ERROR <general>: return f(self, dt)
2021-03-16 17:57:54.923 T:9380 ERROR <general>:
2021-03-16 17:57:54.923 T:9380 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 258, in fromutc
2021-03-16 17:57:54.923 T:9380 ERROR <general>:
2021-03-16 17:57:54.923 T:9380 ERROR <general>: dt_wall = self._fromutc(dt)
2021-03-16 17:57:54.923 T:9380 ERROR <general>:
2021-03-16 17:57:54.923 T:9380 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 222, in _fromutc
2021-03-16 17:57:54.923 T:9380 ERROR <general>:
2021-03-16 17:57:54.923 T:9380 ERROR <general>: dtoff = dt.utcoffset()
2021-03-16 17:57:54.923 T:9380 ERROR <general>:
2021-03-16 17:57:54.923 T:9380 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 222, in utcoffset
2021-03-16 17:57:54.924 T:9380 ERROR <general>:
2021-03-16 17:57:54.924 T:9380 ERROR <general>: if self._isdst(dt):
2021-03-16 17:57:54.924 T:9380 ERROR <general>:
2021-03-16 17:57:54.924 T:9380 ERROR <general>: File "D:\Kodi Media Center\portable_data\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 294, in _isdst
2021-03-16 17:57:54.924 T:9380 ERROR <general>:
2021-03-16 17:57:54.924 T:9380 ERROR <general>: if self.is_ambiguous(dt):
2021-03-16 17:57:54.924 T:9380 ERROR <general>:
2021-03-16 17:57:54.924 T:9380 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-16 17:57:54.924 T:9380 ERROR <general>:
2021-03-16 17:57:54.924 T:9380 ERROR <general>: (naive_dst != self._naive_is_dst(dt - self._dst_saved)))
2021-03-16 17:57:54.924 T:9380 ERROR <general>:
2021-03-16 17:57:54.924 T:9380 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-16 17:57:54.924 T:9380 ERROR <general>:
2021-03-16 17:57:54.924 T:9380 ERROR <general>: return time.localtime(timestamp + time.timezone).tm_isdst
2021-03-16 17:57:54.924 T:9380 ERROR <general>:
2021-03-16 17:57:54.924 T:9380 ERROR <general>: OSError
2021-03-16 17:57:54.924 T:9380 ERROR <general>: :
2021-03-16 17:57:54.924 T:9380 ERROR <general>: [Errno 22] Invalid argument
2021-03-16 17:57:54.924 T:9380 ERROR <general>:
(Whitespaces / line spacing removed) At a glance, there's nothing else in the log pertaining to the trakt addon. This is on a system running Windows 10 Pro (build 19401). All 3 of my windows-based systems that can run Kodi are suffering from this same issue regarding the Trakt addon. The above was triggered by a manual sync. The notification(s) for syncing movies and TV shows likewise are displayed after the startup scan / library update, but no 'completion' notifications are ever shown for either.