Skip to content
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

Error when trying to reach people from movies #621

Closed
hbooo opened this issue Apr 8, 2019 · 4 comments
Closed

Error when trying to reach people from movies #621

hbooo opened this issue Apr 8, 2019 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@hbooo
Copy link

hbooo commented Apr 8, 2019

Bug report

Describe the bug
I have an error when trying to reach movies peoples

To Reproduce
Steps to reproduce the behavior:

  1. Have EmbyStat in french
  2. Go to movies
  3. Go to People
  4. Nothing is loaded

Expected behavior
People from movies should be loaded

Screenshots
image

System (please complete the following information):

  • OS: unRaid
  • Browser : Chrome
  • Version: uping/embystat:nightly-linux

Additional context
2019-04-08 09:25:08.1736 [INFO] SYSTEM Booting up server on port 5432 2019-04-08 09:25:09.5223 [DEBUG] DATABASE-SEEDER Seeding languages 2019-04-08 09:25:11.9614 [DEBUG] DATABASE-SEEDER Seeding Emby status 2019-04-08 09:25:11.9853 [DEBUG] DATABASE-SEEDER Seeding job data 2019-04-08 09:25:12.1891 [INFO] Starting Hangfire Server using job storage: 'Hangfire.MemoryStorage.MemoryStorage' 2019-04-08 09:25:12.1948 [INFO] Using the following options for Hangfire Server: Worker count: 1 Listening queues: 'main' Shutdown timeout: 1.00:00:00 Schedule polling interval: 00:00:05 2019-04-08 09:25:12.4360 [INFO] Server main server:123successfully announced in 210.1304 ms 2019-04-08 09:25:12.4428 [INFO] Server main server:123is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler... 2019-04-08 09:25:12.4468 [INFO] Server main server:123all the dispatchers started 2019-04-08 09:25:13.3463 [INFO] Connecting to ws://mydns:8096/embywebsocket?api_key=xxx&deviceId=yyy 2019-04-08 09:25:13.4443 [INFO] Web socket connection opened. 2019-04-08 09:25:19.2761 [WARN] The LINQ expression 'where {from CollectionType y in __types_0 where (Convert([y], Int32) == Convert([x].Type, Int32)) select [y] => Any()}' could not be translated and will be evaluated locally. 2019-04-08 09:25:19.2946 [WARN] The LINQ expression 'where (Convert([y], Int32) == Convert([x].Type, Int32))' could not be translated and will be evaluated locally. 2019-04-08 09:25:19.3012 [WARN] The LINQ expression 'Any()' could not be translated and will be evaluated locally. 2019-04-08 09:25:19.7720 [WARN] The Include operation for navigation '[x].ExtraPersons' is unnecessary and was ignored because the navigation is not reachable in the final query results. See https://go.microsoft.com/fwlink/?linkid=850303 for more information. 2019-04-08 09:25:21.8872 [INFO] EMBY-CLIENT Sending GET: http://mydns:8096/emby/persons/Frank Welker?SeriesStatuses=&fields=&Filters=&ImageTypes=&AirDays=&EnableImageTypes=&recursive=False&Genres=&StudioIds=&Years=&format=json 2019-04-08 09:25:22.5099 [WARN] The Include operation for navigation '[x].ExtraPersons' is unnecessary and was ignored because the navigation is not reachable in the final query results. See https://go.microsoft.com/fwlink/?linkid=850303 for more information. 2019-04-08 09:25:22.8446 [INFO] EMBY-CLIENT Sending GET: http://mydns:8096/emby/persons/Tim Burton?SeriesStatuses=&fields=&Filters=&ImageTypes=&AirDays=&EnableImageTypes=&recursive=False&Genres=&StudioIds=&Years=&format=json 2019-04-08 09:25:23.5211 [INFO] EMBY-CLIENT Sending GET: http://mydns:8096/emby/persons/Anna Akana?SeriesStatuses=&fields=&Filters=&ImageTypes=&AirDays=&EnableImageTypes=&recursive=False&Genres=&StudioIds=&Years=&format=json 2019-04-08 09:25:24.5620 [WARN] The Include operation for navigation '[x].MediaGenres' is unnecessary and was ignored because the navigation is not reachable in the final query results. See https://go.microsoft.com/fwlink/?linkid=850303 for more information. 2019-04-08 09:25:24.6681 [INFO] EMBY-CLIENT Sending GET: http://mydns:8096/emby/persons/Stan Lee?SeriesStatuses=&fields=&Filters=&ImageTypes=&AirDays=&EnableImageTypes=&recursive=False&Genres=&StudioIds=&Years=&format=json 2019-04-08 09:25:25.1366 [INFO] EMBY-CLIENT Sending GET: http://mydns:8096/emby/persons/Darby Hawker?SeriesStatuses=&fields=&Filters=&ImageTypes=&AirDays=&EnableImageTypes=&recursive=False&Genres=&StudioIds=&Years=&format=json 2019-04-08 09:25:25.6057 [INFO] EMBY-CLIENT Sending GET: http://mydns:8096/emby/persons/Mickie McGowan?SeriesStatuses=&fields=&Filters=&ImageTypes=&AirDays=&EnableImageTypes=&recursive=False&Genres=&StudioIds=&Years=&format=json 2019-04-08 09:25:26.0891 [INFO] EMBY-CLIENT Sending GET: http://mydns:8096/emby/persons/Stan Lee?SeriesStatuses=&fields=&Filters=&ImageTypes=&AirDays=&EnableImageTypes=&recursive=False&Genres=&StudioIds=&Years=&format=json 2019-04-08 09:25:26.5882 [ERROR] An unhandled error occurred. System.NullReferenceException: Object reference not set to an instance of an object. at EmbyStat.Services.PersonService.GetPersonById(String id) in /EmbyStat.Services/PersonService.cs:line 24 at EmbyStat.Services.MovieService.GetMostFeaturedActorsPerGenre(List1 collectionIds) in /EmbyStat.Services/MovieService.cs:line 421
at EmbyStat.Services.MovieService.GetPeopleStatsForCollections(List1 collectionIds) in /EmbyStat.Services/MovieService.cs:line 93 at EmbyStat.Controllers.Movie.MovieController.GetPersonStats(List1 collectionIds) in /EmbyStat.Controllers/Movie/MovieController.cs:line 44
at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextExceptionFilterAsync()
`

@mregni mregni self-assigned this Apr 9, 2019
@mregni mregni added the bug Something isn't working label Apr 9, 2019
@mregni
Copy link
Owner

mregni commented Apr 9, 2019

Looks like the same issue I had before, didn't fix it well I see. The system is trying to fetch an actor that is not in the database.

I'll see what I can do to fix it for good!

@mregni
Copy link
Owner

mregni commented Apr 9, 2019

wilhelmstroker has the same problem it seems

Forum post here

2019-04-09 14:34:24.0593 [INFO] EMBY-CLIENT Sending GET: http://1.2.3.4:8096/emby/persons/Frances McDormand?SeriesStatuses=&fields=&Filters=&ImageTypes=&AirDays=&EnableImageTypes=&recursive=False&Genres=&StudioIds=&Years=&format=json 2019-04-09 14:34:24.2163 [ERROR] An unhandled error occurred. System.NullReferenceException: Object reference not set to an instance of an object. at EmbyStat.Services.PersonService.GetPersonById(String id) in D:\Darth Vader\work\aa794b64fcf59423\EmbyStat.Services\PersonService.cs:line 24 at EmbyStat.Services.MovieService.GetMostFeaturedActorsPerGenre(List`1 collectionIds) in D:\Darth Vader\work\aa794b64fcf59423\EmbyStat.Services\MovieService.cs:line 421 at EmbyStat.Services.MovieService.GetPeopleStatsForCollections(List`1 collectionIds) in D:\Darth Vader\work\aa794b64fcf59423\EmbyStat.Services\MovieService.cs:line 93 at EmbyStat.Controllers.Movie.MovieController.GetPersonStats(List`1 collectionIds) in D:\Darth Vader\work\aa794b64fcf59423\EmbyStat.Controllers\Movie\MovieController.cs:line 44 at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextExceptionFilterAsync()

@mregni
Copy link
Owner

mregni commented Apr 10, 2019

This is linked to #609

mregni added a commit that referenced this issue Apr 10, 2019
mregni added a commit that referenced this issue Apr 10, 2019
Signed-off-by: Mikhaël Regni <mikhael@uping.be>
mregni added a commit that referenced this issue Apr 10, 2019
Signed-off-by: Mikhaël Regni <mikhael@uping.be>
@mregni mregni added the Release Merge for a release label Apr 11, 2019
@kesm
Copy link

kesm commented Apr 11, 2019

works with latest version, thanks

@mregni mregni removed the Release Merge for a release label Apr 13, 2019
@mregni mregni closed this as completed Apr 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants