Page 1 of 1

500 Internal Server Error

Posted: May 15th, 2011, 7:42 am
by pcss
Hi all,

Was running 0.5.6 previously and didn't read the release notes and installed 0.6.0 over the top. Clickingon Config/General resulted in the following error:

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 618, in respond
  File "cherrypy\_cpdispatch.pyo", line 25, in __call__
  File "sabnzbd\interface.pyo", line 1281, in index
  File "_Program_Files__x86__SABnzbd_interfaces_ExtJs_templates_config_general_tmpl.py", line 455, in respond
NotFound: cannot find 'rss_rate'


Did a full uninstall and new install of 0.6.0 (and 0.6.1 now) and still receiving the same error.

Any help greatly appreciated!  :)

Re: 500 Internal Server Error

Posted: May 15th, 2011, 9:28 am
by shypike
Clear your browser cache.

Re: 500 Internal Server Error

Posted: May 16th, 2011, 9:01 am
by pcss
Hi shypike,

Appreciate the reply; have done the cache clear as well as a full shutdown & restart of sabnzb, browser and PC.

Re: 500 Internal Server Error

Posted: May 16th, 2011, 9:44 am
by shypike
The error indicates a mismatch between the Python code and the Web templates.
A complete removal (check afterwards) before installing should normally help.

It's not the kind of error that escapes attention,
so it must some inconsistency in your installation.
Did you try an alternative browser? (You never know what these things remember).

Re: 500 Internal Server Error

Posted: May 17th, 2011, 7:00 am
by iam
Just to add another +1 to this exact error after upgrading via repos to 0.6.1

Code: Select all

2011-05-17 12:47:30,314::DEBUG::[_cplogging:55] [17/May/2011:12:47:30] HTTP Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 618, in respond
    cherrypy.response.body = self.handler()
  File "/usr/share/sabnzbdplus/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/share/sabnzbdplus/sabnzbd/interface.py", line 1281, in index
    return template.respond()
  File "_usr_share_sabnzbdplus_interfaces_smpl_templates_config_general_tmpl.py", line 441, in respond
NotFound: cannot find 'rss_rate'
As with pcss, the error occurs when trying to view Config > General.

I've so far removed and reinstalled 0.6.1, cleared my browser cache, tried another browser, and made sure rss_rate is definitely defined in sabnzbd.ini - still no joy.

Any help much appreciated.

Re: 500 Internal Server Error

Posted: May 17th, 2011, 7:10 am
by iam
As someone hinted at earlier - this was to do with the templates (in this case the smpl skin/theme/template). I changed web_dir = smpl to web_dir = plush within sabnzbd.ini and the config interface now works as expected.

Can someone using plush (and 0.6.1) change to smpl and see if theirs works?