-
-
Notifications
You must be signed in to change notification settings - Fork 401
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
Movie Search and Suggestions not working with CouchPotato enabled #350
Comments
Is there anything in your browsers console? (F12) |
This is the 'upcoming' response: {"statusCode":500,"message":"Something went horribly, horribly wrong while servicing your request.","details":"Nancy.RequestExecutionException: Oh noes! ---\u003e System.NullReferenceException: Object reference not set to an instance of an object\n at PlexRequests.Services.Jobs.CouchPotatoCacher+\u003c\u003ec.\u003cQueuedIds\u003eb__15_0 (PlexRequests.Api.Models.Movie.Movie x) \u003c0x418b7130 + 0x00016\u003e in \u003cfilename unknown\u003e:0 \n at System.Linq.Enumerable+WhereSelectListIterator Sorry for the formatting, it was just one line. Edit: Seems like I also have issues with other software, getting 500 internal errors on PlexPy as well. |
I also have that same issue {"statusCode":500,"message":"Something went horribly, horribly wrong while servicing your request.","details":"Nancy.RequestExecutionException: Oh noes! ---\u003e System.NullReferenceException: Object reference not set to an instance of an object.\r\n at PlexRequests.Services.Jobs.CouchPotatoCacher.\u003c\u003ec.\u003cQueuedIds\u003eb__15_0(Movie x) in C:\projects\requestplex\PlexRequests.Services\Jobs\CouchPotatoCacher.cs:line 90\r\n at System.Linq.Enumerable.WhereSelectListIterator |
Actually can one of you guys test my fix? I can't reproduce the issue so I am just trying to fix the exception. The build should be ready within the next 10 mins: https://ci.appveyor.com/project/tidusjar/requestplex/build/1.8.549/artifacts |
Hmmm... I'm not sure how that is still possible. I'm going to add some logging in for that area and see if I can narrow it down. Can you try out a build with extra logging? It will be in an hour or so. |
Yeah no problem. I can access plexrequests/search/movie/upcoming only when CouchPotato is disabled as well. Otherwise it gives the 500 InternalServerError |
Ok this is going to sound noobish, but if I just leave the SqlTables.sql file in my current install will that preserve my settings when I try your fix? |
All of your settings are stored in plexrequests.sqlite |
https://ci.appveyor.com/project/tidusjar/requestplex/build/1.8.551/artifacts
Can you do the search and post the logs. (Logging at level |
You restart and then it's fine? So it's enabled, you disable it and then it doesn't work? |
CP enabled: Doesn't work. If I enable it back again without restarting, it works. So if it starts with CP Enabled, then the search doesn't work. This is what it reports when the search works: |
OK, this should fix it. New build will be here once it completes: https://ci.appveyor.com/project/tidusjar/requestplex/build/1.8.552/artifacts |
Yup, that fixed it 👍 |
Yes me too, thanks! |
You guys may as well use that build until the next release :)
|
Plex Requests.Net Version: 1.8.1
Operating System: Debian 8.5
Mono Version: Mono JIT compiler version 4.4.0
Reproduction Steps:
Tried a fresh install, new PlexRequests database as well.
Searching for a movie works only when CouchPotato is disabled.
Applies to manually searching and Suggestions
TV Show searching is working fine, even with Sonarr enabled.
When searching or using the suggestions, the loading animation rolls indefinitely and no results are shown.
Tried with and without CouchPotato SubDirectory, same issue happens.
Working configuration:
Just disable CouchPotato.
Not working configuration:
CouchPotato enabled.
Hostname: localhost
Port: 5050
SSL: No
The 'Test Connectivity' is successful.
The text was updated successfully, but these errors were encountered: