Page 1 of 1

[0.4.2] History crashes

Posted: September 4th, 2008, 1:38 am
by midas
For some strange reason my history "crashes", it only reports a error 500.


04/Sep/2008:08:50:54 HTTP INFO Page handler: 'ordinal not in range(128)'
Traceback (most recent call last):
  File "/home//SABnzbd-0.4.2/cherrypy/_cphttptools.py", line 126, in _run
  File "/home//SABnzbd-0.4.2/cherrypy/filters/__init__.py", line 151, in applyFilters
  File "/home//SABnzbd-0.4.2/sabnzbd/interface.py", line 209, in beforeFinalize
  File "/home//SABnzbd-0.4.2/sabnzbd/interface.py", line 915, in index
  File "_usr_local_src_SABnzbd_interfaces_Default_templates_history_tmpl.py", line 214, in respond
  File "/var/lib/python-support/python2.5/Cheetah/DummyTransaction.py", line 31, in getvalue
    return ''.join(outputChunks)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 13: ordinal not in range(128)

Getting my history working again would be great :)

Re: [0.4.2] History crashes

Posted: September 4th, 2008, 3:43 am
by shypike
We've had reports like this before but were never able to reproduce it.
Could you zip the file queue.sab from the cache folder and email
it to bugs@sabnzbd.org ?
Please also include the NZB file that you think caused the problem.
This will help us in diagnosing the problem.

The only solution now is to start up SABnzbd with the --clean option,
but this will kill your queue and the complete history.
So don't do this before sending the queue.sab file.

We're preparing to release 0.4.4 shortly, so maybe we can add a fix for this problem.
So you may need not clean the history at all.

Re: [0.4.2] History crashes

Posted: September 4th, 2008, 6:20 am
by midas
Ill send it when im back home, only thing is that i have no idea which nzb caused the problem as i use RSS feeds for downloading.

Re: [0.4.2] History crashes

Posted: September 4th, 2008, 6:59 am
by shypike
That's OK, just send the queue.sab file.