Page 1 of 1

Craps out on startup

Posted: January 3rd, 2011, 4:40 am
by SteveMc
Hi guys,

Had a BSOD last night, and this morning sabnzbd isn't cooperating - when I run it I am just directed to the logfile due to 'errors' occuring.

Each time I try to open the program it adds the following errors to the log:

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 661, in read_config
TypeError: string indices must be integers

Any ideas? Thanks!

PS - I have tried reinstalling (over the old version - have quite a long queue on the go at the moment) but no luck!

Re: Craps out on startup

Posted: January 3rd, 2011, 4:43 am
by shypike
It looks like the sabnzbd.ini file is corrupt.
Check it with text editor to see if it makes any sense.

Re: Craps out on startup

Posted: January 3rd, 2011, 4:46 am
by SteveMc
Thanks for the quick reply...

And I think you might be on to something, because I can't seem to find sabnzbd.ini anywhere!

It's not in the program files/sabnzbd directory at least! That's where it's usually kept, right?

Wouldn't the reinstall have brought it back, or does it only get generated the first time the program runs successfully?

Re: Craps out on startup

Posted: January 3rd, 2011, 6:13 am
by shypike
This is the location:
http://wiki.sabnzbd.org/configure-v2
Re-install doesn't bring it back.
You can remove it and this will let the setup Wizard run again.

Re: Craps out on startup

Posted: January 3rd, 2011, 6:41 am
by SteveMc
That's great, thanks - back up and running.

Config.ini was indeed very corrupted.

Never seen the wizard before (been installed a long time!) - very handy. Nice skin too which I'd never seen...

Appreciate the help, cheers!