Page 1 of 1

500 Internal Server Error in Status and Config tabs

Posted: June 20th, 2011, 3:38 pm
by ddave667
Version: 0.6.5 Final
OS: OSX Snow Leopard 10.6.7
Install-type: Default (Plush)
Firewall Software: None
Are you using IPV6? No
Is the issue reproducible? Yes

Hi there,

Whenever I click on either the "Status" or "Config" tabs, I receive a similar error message:

Status

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.pyc", line 618, in respond
 File "cherrypy/_cpdispatch.pyc", line 25, in __call__
 File "sabnzbd/interface.pyc", line 2123, in index
 File "sabnzbd/decorators.pyc", line 43, in call_func
 File "sabnzbd/decorators.pyc", line 31, in newFunction
 File "sabnzbd/nzbqueue.pyc", line 838, in scan_jobs
 File "sabnzbd/nzbqueue.pyc", line 127, in scan_jobs
 File "sabnzbd/__init__.pyc", line 1007, in proxy_build_history
 File "sabnzbd/api.pyc", line 1573, in build_history
 File "sabnzbd/database.pyc", line 221, in fetch_history
 File "sabnzbd/database.pyc", line 389, in unpack_history_info
error: Error -3 while decompressing data: unknown compression method


Config

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.pyc", line 618, in respond
 File "cherrypy/_cpdispatch.pyc", line 25, in __call__
 File "sabnzbd/interface.pyc", line 1012, in index
 File "sabnzbd/decorators.pyc", line 43, in call_func
 File "sabnzbd/decorators.pyc", line 31, in newFunction
 File "sabnzbd/nzbqueue.pyc", line 838, in scan_jobs
 File "sabnzbd/nzbqueue.pyc", line 127, in scan_jobs
 File "sabnzbd/__init__.pyc", line 1007, in proxy_build_history
 File "sabnzbd/api.pyc", line 1573, in build_history
 File "sabnzbd/database.pyc", line 221, in fetch_history
 File "sabnzbd/database.pyc", line 389, in unpack_history_info
error: Error -3 while decompressing data: unknown compression method

I have tried rebooting, replacing the OSX app and clearing my browser cache - nothing seems to stick.

Does anyone have any other suggestions?

Thanks,

Dave

Re: 500 Internal Server Error in Status and Config tabs

Posted: June 20th, 2011, 4:24 pm
by sander
Can you find ~/.sabnzbd/admin/history1.db on your Mac?

If so, can you rename it to history1.db.OLD, and then start SABnzbd?

Re: 500 Internal Server Error in Status and Config tabs

Posted: June 21st, 2011, 2:17 am
by ddave667
sander wrote: Can you find ~/.sabnzbd/admin/history1.db on your Mac?

If so, can you rename it to history1.db.OLD, and then start SABnzbd?
This worked! Thanks.

FYI I found the file at ~/Library/Application Support/SABnzbd/admin/history1.db

But it worked! and that's the important part.

Thanks so much!

Regards,

Dave

Re: 500 Internal Server Error in Status and Config tabs

Posted: June 21st, 2011, 7:31 am
by shypike
A corrupt sqlite database file.
That's a rare event.