Craps out on startup

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
SteveMc
Newbie
Newbie
Posts: 25
Joined: February 9th, 2008, 5:50 pm

Craps out on startup

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

Re: Craps out on startup

Post by shypike »

It looks like the sabnzbd.ini file is corrupt.
Check it with text editor to see if it makes any sense.
SteveMc
Newbie
Newbie
Posts: 25
Joined: February 9th, 2008, 5:50 pm

Re: Craps out on startup

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

Re: Craps out on startup

Post 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.
SteveMc
Newbie
Newbie
Posts: 25
Joined: February 9th, 2008, 5:50 pm

Re: Craps out on startup

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