Page 1 of 1

web interface returning error 500

Posted: September 5th, 2017, 4:49 pm
by egasmic
Hello all,

I'm very new to SABnzbd and was hoping to find some help here with this issue. Up until yesterday everything was running smoothly, downloading and extracting content to TV and Movie folders, adding NZBs via Sonarr/Radarr, etc. Now SABnzbd runs and I can see the icon in the taskbar (says it's downloading), however the web interface returns the following:
500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
File "cherrypy\_cprequest.pyo", line 670, in respond
File "cherrypy\lib\encoding.pyo", line 220, in __call__
File "cherrypy\_cpdispatch.pyo", line 60, in __call__
File "sabnzbd\interface.pyo", line 356, in index
File "sabnzbd\api.pyo", line 1338, in build_queue
KeyError: 'Default'
Powered by CherryPy 8.1.2
Here's some system info:
Version: 2.2.1
OS: Windows Server 2012r2 Standard
Install-type: Windows Installer
Skin (if applicable): default
Firewall Software: None
Are you using IPV6?no
Is the issue reproducible? yes

I've tried restarting SAB, restarting the OS, reinstalled SAB 2.2.1, and installed Python 2.7.13. None of this helped at all and the same error shows up every time I try to access the web interface.

Any help would be highly appreciated.
Thanks in advance!
E

Re: web interface returning error 500

Posted: September 6th, 2017, 4:52 am
by safihre
This is very strange, something has added a job and set the priority to 'Default', which is not a valid priority.
To fix this it should work fine by just letting it finish the queue and make sure no new downloads are being added.
Then the interface should work again. Try adding 1 job (using Radar/Sonarr or manual) and see what happens.

Do you only use Radarr/Sonarr to add things?

Re: web interface returning error 500

Posted: September 6th, 2017, 10:57 am
by egasmic
thanks so much for the response! a couple of hours after I posted this, the interface started responding normally. There were many other items in the queue, so it never completed but apparently at least that one bad job completed and the rest proceeded normally.

Yes, I just use Radarr/Sonarr to add. Many times I will initiate a manual search within one or the other then choose the prefered NZBs myself, adding them through Radarr or Sonarr then finding them in the queue to prioritize if it's important to get quickly.

Again, thanks for the response! is there any way to manually remove one of these bad jobs if it comes up again?

Re: web interface returning error 500

Posted: September 6th, 2017, 11:51 am
by safihre
I will make sure for 2.3.0 that the input is checked and can only contain valid priorities :)