-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unhandled exception scanning movies #73
Comments
@t0815 enable trace logging in shoko server (from the web ui settings), then refresh the movie (goblin slayer: goblin's crown) or library in jellyfin and post the shoko server side stack trace when the error occurs. |
I'll assune this is related to isuue #61, just from another endpoint. But having the stack trace to confirm or reject my hypothesis would be nice. |
|
Looking at the stack trace from Shokofin then it seems like an error unrelated to this server side stack trace. The endpoints used in the functions where it threw in the stack trace from Shokofin doesn't contain any TvDB data, but the stack trace you posted for the server were for dehydrating TvDB data to send. Were there any other errors in the log besides that one? |
no, i did try again, and this error occurs at the same time:
|
hmm. but why TVDb... strange, maybe a broken entry again? |
so i was looking at the wrong method earlier. so it seems possible that this is the error. sorry for that. refresh or remove tvdb emtry for the shoko series in Shoko Desktop. that should fix it. |
probably. hard to say without investing. |
ill try to remove the entry, and try again. ahtho, this one seems to be valid |
ok. removing does not change. And i noticed, the last series id does not match with the movie
i have to check Database to see, which series the id 4275 is... |
I can probably add an extra log point to log the guarded memory key when it throws. |
@t0815 can you update to |
ah ok...
|
series failed was: ill check shoko now... and unlink tvdb |
aha... it does not have a tvdb link, buuut, i manually linked the file. So that might be the issue.... |
@t0815 also check the prequels/sequels |
just to be sure, but are you using the EXPERIMENTAL season merging setting? (asking because otherwise it wouldn't had thrown where it throws, since the path it's throwing at is locked behind that setting) |
nvm, i should had looked at the stack where it threw before asking you to check the prequels/sequels. it is not needed. sorry about that. |
no problem 😁 |
that is indeed odd. though there is not much i can do for the current stable release of the server if either a) refreshing the tvdb data doesn't magically make a series link appear or b) removing any potential tvdb ids using either Shoko Desktop or swagger (http://:8111/swagger) doesn't fix it. |
if you know how to inspect the db directly (or so I'm assuming based on the convo so far) then can you check if the CrossRef_AniDB_TvDB table contains the anidb anime id 8315 at all? |
kk will check |
crossref_anidb_tvdb
but, the id does not seem to match GYO lol... |
ok, deleting the invalid crossref didnt fix it. But I fixed it, by deleting my manual LINK to the file. As a result, I found an other unhandled exception lol... i made new issue 🤣 |
so is this server side tvdb issue fixed? or is it still persisting? |
Jellyfin version.
10.9.11
Shokofin version.
4.1.1.33 (dev)
Shoko Server version, release channel, and commit hash.
4.2.2
File structure of your Media Library Folder in Jellyfin/Import Folder in Shoko Server.
../Movies//.xyz
Screenshot of the "library settings" section of the plugin settings.
Library Type(s).
Movies
Do the issue persists after creating a library with Shoko set as the only metadata provider? (Now is your time to check if you haven't already.)
Issue
When scanning Movies, an exception occurs. From what i can tell from exception message, its not directly a plugin-exception, but an error from shoko api. I did check shoko logs too, but no real details there. ill append shoko last log messages too.
Stack Trace
[2024-09-11 18:13:26.845 +02:00] [INF] [33] Shokofin.Resolvers.ShokoIgnoreRule: Found shoko group "Goblin Slayer: Goblin's Crown" (Series="2756",ExtraSeries=[],Group="2253") [2024-09-11 18:13:27.009 +02:00] [INF] [33] Shokofin.Resolvers.ShokoIgnoreRule: Found shoko group "Eiga Go-Toubun no Hanayome" (Series="3979",ExtraSeries=[],Group="3206") [2024-09-11 18:13:27.270 +02:00] [INF] [33] Shokofin.Resolvers.ShokoIgnoreRule: Found show in movie library, ignoring shoko series. (Series="4275",ExtraSeries=[]) [2024-09-11 18:13:27.349 +02:00] [ERR] [33] Shokofin.Resolvers.ShokoIgnoreRule: Threw unexpectedly; "InternalServerErrorException" Shokofin.API.Models.ApiException: InternalServerErrorException at Shokofin.API.ShokoAPIClient.<>c__DisplayClass19_0`1.<<Get>b__1>d.MoveNext() --- End of stack trace from previous location --- at Shokofin.Utils.GuardedMemoryCache.GetOrCreateAsync[TItem](Object key, Action`1 foundAction, Func`1 createFactory, MemoryCacheEntryOptions createOptions) at Shokofin.API.ShokoAPIClient.Get[ReturnType](String url, HttpMethod method, String apiKey, Boolean skipCache) at Shokofin.API.ShokoAPIManager.GetSeriesIdsForSeason(String seriesId) at Shokofin.API.ShokoAPIManager.GetSeriesIdForPath(String path) at Shokofin.API.ShokoAPIManager.GetSeasonInfoByPath(String path) at Shokofin.Resolvers.ShokoIgnoreRule.ShouldFilterDirectory(String partialPath, String fullPath, Nullable`1 collectionType, Boolean shouldIgnore) at Shokofin.Resolvers.ShokoIgnoreRule.ShouldFilterItem(Folder parent, FileSystemMetadata fileInfo) [2024-09-11 18:13:27.366 +02:00] [ERR] [8] MediaBrowser.Controller.Entities.BaseItem: Error retrieving children Shokofin.API.Models.ApiException: InternalServerErrorException at Shokofin.API.ShokoAPIClient.<>c__DisplayClass19_0`1.<<Get>b__1>d.MoveNext() --- End of stack trace from previous location --- at Shokofin.Utils.GuardedMemoryCache.GetOrCreateAsync[TItem](Object key, Action`1 foundAction, Func`1 createFactory, MemoryCacheEntryOptions createOptions) at Shokofin.API.ShokoAPIClient.Get[ReturnType](String url, HttpMethod method, String apiKey, Boolean skipCache) at Shokofin.API.ShokoAPIManager.GetSeriesIdsForSeason(String seriesId) at Shokofin.API.ShokoAPIManager.GetSeriesIdForPath(String path) at Shokofin.API.ShokoAPIManager.GetSeasonInfoByPath(String path) at Shokofin.Resolvers.ShokoIgnoreRule.ShouldFilterDirectory(String partialPath, String fullPath, Nullable`1 collectionType, Boolean shouldIgnore) at Shokofin.Resolvers.ShokoIgnoreRule.ShouldFilterItem(Folder parent, FileSystemMetadata fileInfo) at Shokofin.Resolvers.ShokoIgnoreRule.MediaBrowser.Controller.Resolvers.IResolverIgnoreRule.ShouldIgnore(FileSystemMetadata fileInfo, BaseItem parent) at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate) at Emby.Server.Implementations.Library.LibraryManager.IgnoreFile(FileSystemMetadata file, BaseItem parent) at Emby.Server.Implementations.Library.LibraryManager.<>c__DisplayClass87_0.<ResolvePaths>b__0(FileSystemMetadata i) at System.Linq.Enumerable.WhereArrayIterator`1.ToList() at Emby.Server.Implementations.Library.LibraryManager.ResolvePaths(IEnumerable`1 files, IDirectoryService directoryService, Folder parent, LibraryOptions libraryOptions, Nullable`1 collectionType, IItemResolver[] resolvers) at Emby.Server.Implementations.Library.LibraryManager.ResolvePaths(IEnumerable`1 files, IDirectoryService directoryService, Folder parent, LibraryOptions libraryOptions, Nullable`1 collectionType) at MediaBrowser.Controller.Entities.Folder.GetNonCachedChildren(IDirectoryService directoryService) at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
shoko log
2024-09-14 12:11:01
Info
Event '00000000000000000000000000000000' queued.
2024-09-14 12:11:01
Error
Connection id "0HN68D0I7DM9N", Request id "0HN68D0I7DM9N:00000007": An unhandled exception was thrown by the application.
2024-09-14 12:13:11
Info
Event '00000000000000000000000000000000' queued.
2024-09-14 12:13:11
Error
Connection id "0HN68D0I7DMB3", Request id "0HN68D0I7DMB3:00000113": An unhandled exception was thrown by the application.
2024-09-14 12:14:03
Info
Event '00000000000000000000000000000000' queued.
2024-09-14 12:14:03
Error
Connection id "0HN68D0I7DMBM", Request id "0HN68D0I7DMBM:00000003": An unhandled exception was thrown by the application.
The text was updated successfully, but these errors were encountered: