SABnzbd won't start (log inside)

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
BitAddict
Newbie
Newbie
Posts: 4
Joined: March 23rd, 2010, 3:34 am

SABnzbd won't start (log inside)

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd won't start (log inside)

Post 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.
Post Reply