Page 1 of 1

SABnzbd won't start (log inside)

Posted: August 30th, 2010, 6:01 am
by BitAddict
A couple of days ago I noticed SABbznd had stopped working and on closer inspection I noticed it hadn't run on on startup.

Everytime I try to start it I get "Errors occurred See Log File".
In the log file I get a whole bunch of this:
Traceback (most recent call last):
  File "logging\handlers.pyo", line 74, in emit
  File "logging\handlers.pyo", line 131, in doRollover
WindowsError: [Error 32] The process cannot access the file because it is being used by another process
Traceback (most recent call last):
  File "logging\handlers.pyo", line 73, in emit
  File "logging\handlers.pyo", line 147, in shouldRollover
ValueError: I/O operation on closed file
repeating over and over, which I think is pretty common, but then at the end of the log file it has:
raceback (most recent call last):
  File "SABnzbd.py", line 1257, in
  File "SABnzbd.py", line 851, in main
  File "sabnzbd\decorators.pyo", line 31, in newFunction
  File "sabnzbd\config.pyo", line 640, in read_config
  File "sabnzbd\utils\configobj.pyo", line 1277, in __init__
  File "sabnzbd\utils\configobj.pyo", line 1346, in _load
  File "sabnzbd\utils\configobj.pyo", line 1618, in _parse
UnboundLocalError: local variable 'parent' referenced before assignment
Traceback (most recent call last):
  File "SABnzbd.py", line 1257, in
  File "SABnzbd.py", line 851, in main
  File "sabnzbd\decorators.pyo", line 31, in newFunction
  File "sabnzbd\config.pyo", line 640, in read_config
  File "sabnzbd\utils\configobj.pyo", line 1277, in __init__
  File "sabnzbd\utils\configobj.pyo", line 1346, in _load
  File "sabnzbd\utils\configobj.pyo", line 1618, in _parse
UnboundLocalError: local variable 'parent' referenced before assignment

I have tried installing the latest version (0.5.4) but that hasn't helped... I was reluctant to uninstall and reinstall completely as I have a lot of custom folders set up, but I guess I'll give that a try now. Anybody have any ideas what the reason might be?
The only thing I can think of is that I recently installed the latest sickbeard 459

Re: SABnzbd won't start (log inside)

Posted: August 30th, 2010, 6:30 pm
by shypike
The first part is a known Python bug, we cannot fix it.
The second one could be a corrupt sabnzbd.ini file.
Check it carefully using Notepad.