Closed almightiest closed 2 years ago
I think it's bug in plex api:
see this comment:
I believe the problem was actually unrelated to the agent itself, and instead was related to a stale Plex authentication in the .pytrakt.json file. The weird part is that the API still queried for some things, but not others. Once I initiated a plextraktsync login-plex and re-authenticated to the same Plex instance, this error just disappeared.
So, it's here in case anyone ever runs into the issue, but it's a serious corner case based on a prior Plex issue and having to re-install my Plex installation a while back.
Plex authentication is not in the .pytrakt.json file, but in .env, so which re-login did you do? plex-login or trakt-login?
My bad, .env, Plex login.
Your solution :
Once I initiated a plextraktsync login-plex and re-authenticated to the same Plex instance, this error just disappeared.
From this issue https://github.com/Taxel/PlexTraktSync/issues/385#issuecomment-885876754 the solution was :
I renamed the .sqlite file and it has been rebuilt and I no longer experience this error.
It's a corner case and will be difficult to fix.
Maybe fixed by https://github.com/pkkid/python-plexapi/pull/950
Confirmation
The problem
This is related to https://github.com/Taxel/PlexTraktSync/issues/550#issue-1031300599 - but I'm unsure what scraper agent they were using. I use https://github.com/gboudreau/XBMCnfoTVImporter.bundle which allows me to have the same metadata, locally, for Kodi, Jellyfin and Plex.
When I am scraping the show '24' and it has S00E09 present in the 24 show directory, I get a critical failure. If i scrape it again without any Special episodes present, it works.
update.log:
Plex XML info:
S00E09 nfo file:
S01E01 nfo file:
Error trace / logs
Expected behavior
I expect it to properly sync S00E09.
Steps to reproduce the behavior
Inspect of problematic items
Workarounds
Remove the media, which isn't viable.
Install method
pipx (Recommended)
Version
0.19.1
Python Version
3.8.10
Operating System and Version
Ubuntu 20.04.4 LTS