Page 1 of 1

Sabnzbd crash on startup

Posted: April 11th, 2010, 5:55 am
by goldensunlord
Sabnzbdplus crashes on my Debian SID system. Information:

Version: 0.5.0-1
Stuff broke after the following upgrade:
[UPGRADE] sabnzbdplus 0.4.12-1 -> 0.5.0-1
I don't use IPv6
This happens on all themes.

The backtrace in the error log is the following:

recent call last):
 File "/usr/bin/sabnzbdplus", line 1216, in
   main()
 File "/usr/bin/sabnzbdplus", line 968, in main
   init_ok = sabnzbd.initialize(pause, clean_up, evalSched=True)
 File "/usr/share/sabnzbdplus/sabnzbd/decorators.py", line 31, in newFunction
   return f(*args, **kw)
 File "/usr/share/sabnzbdplus/sabnzbd/__init__.py", line 222, in initialize
   scheduler.init()
 File "/usr/share/sabnzbdplus/sabnzbd/scheduler.py", line 64, in init
   m, h, d, action_name, argument_list = schedule.split(None, 4)
ValueError: need more than 0 values to unpack

As the whole stuff happens in normal sabnzbd files, I'd figured this would be a sabnzbd bug. Does anyone have a clue why this is caused? I sadly don't have much experience with python, so I can't be of much help.

Re: Sabnzbd crash on startup

Posted: April 11th, 2010, 6:12 am
by shypike
Your sabnzbd.ini is damaged.
Open the file and remove the line containing "schedlines =".

Re: Sabnzbd crash on startup

Posted: April 11th, 2010, 6:22 am
by goldensunlord
Thanks, that indeed worked like a charm. Problem solved I'd say :)