Closed JourneyOver closed 9 months ago
I think you misidentified the version, there's nothing changed in the area of code that reports the error:
The commit that leads to this is 3536303dbc5fe4b93ee7b6a82c4ccecb73ff6d3b, i.e:
@lru_cache(maxsize=2) # <-- this triggers the error
def mf_resolve(self, pm: PlexLibraryItem):
return self.mf.resolve_any(pm)
and it affects on watch
command.
ok. seems those both together don't work, i.e the __eq__
and @lru_cache
together give this error:
Looks like #1744 fixed the issue as I updated to 0.28.8 now and the error seems to no longer appear and everything is back to working order ^^.
Confirmation
The problem
Updated to version 0.28.7 and upon doing so I start getting errors in the log about
TypeError was raised: unhashable type: 'PlexLibraryItem'
constantly when browsing my plex library or watching something, it no longer scrobbles after the watch period of a show or movie is over either.Error trace / logs
Expected behavior
For it to behave like previous versions where it wasn't throwing said error.
Steps to reproduce the behavior
TypeError was raised: unhashable type: 'PlexLibraryItem'
3.1 can try watching movie or tv episode and see that it's constantly throwing the same error, and when the movie or tv episode ends it does not scrobble to trakt at all.Inspect of problematic items
No response
Workarounds
Downgraded back to version 0.28.6 and no longer see the error, so it's something that was introduced between 0.28.6 and 0.28.7 release.
Install method
docker-compose
Config file contents
Version
0.28.7
Python Version
3.12.1
Plex Server Version
1.40.0.7775
Operating System and Version
Ubuntu 22.04
I turned debug to true to get my log, usually it's set to false.