sabnzbd Suddenly wont start

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
mrees
Newbie
Newbie
Posts: 8
Joined: October 1st, 2012, 11:43 pm

sabnzbd Suddenly wont start

Post by mrees »

Hi there

Been super happy and running sabnzbd along with sick beard.
Suddenly today I'm unable to execute sabnzbd.exe for no apparent reason...

Ive checked the INI file and the host setting is set to 127.0.0.1
My IP address is a static (as its a home server) and hasn't changed in years (I double checked just in case)

Any help would be greatly appreciated. Thankyou !!

The logfile for sabnzbd.exe reads:

Traceback (most recent call last):
File "SABnzbd.py", line 1801, in <module>
File "SABnzbd.py", line 1297, in main
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\__init__.pyo", line 305, in initialize
File "sabnzbd\nzbqueue.pyo", line 107, in read_queue
File "sabnzbd\nzbqueue.pyo", line 141, in scan_jobs
File "sabnzbd\nzbqueue.pyo", line 162, in repair_job
File "sabnzbd\decorators.pyo", line 43, in call_func
File "sabnzbd\__init__.pyo", line 621, in add_nzbfile
File "sabnzbd\dirscanner.pyo", line 182, in ProcessSingleFile
File "sabnzbd\decorators.pyo", line 43, in call_func
File "sabnzbd\nzbqueue.pyo", line 901, in add_nzo
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\nzbqueue.pyo", line 328, in add
File "sabnzbd\nzbqueue.pyo", line 744, in end_job
AttributeError: 'NoneType' object has no attribute 'disconnect'
Traceback (most recent call last):
File "SABnzbd.py", line 1801, in <module>
File "SABnzbd.py", line 1297, in main
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\__init__.pyo", line 305, in initialize
File "sabnzbd\nzbqueue.pyo", line 107, in read_queue
File "sabnzbd\nzbqueue.pyo", line 141, in scan_jobs
File "sabnzbd\nzbqueue.pyo", line 166, in repair_job
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\nzbqueue.pyo", line 328, in add
File "sabnzbd\nzbqueue.pyo", line 744, in end_job
AttributeError: 'NoneType' object has no attribute 'disconnect'
Traceback (most recent call last):
File "SABnzbd.py", line 1801, in <module>
File "SABnzbd.py", line 1297, in main
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\__init__.pyo", line 305, in initialize
File "sabnzbd\nzbqueue.pyo", line 102, in read_queue
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\nzbqueue.pyo", line 328, in add
File "sabnzbd\nzbqueue.pyo", line 744, in end_job
AttributeError: 'NoneType' object has no attribute 'disconnect'
Traceback (most recent call last):
File "SABnzbd.py", line 1801, in <module>
File "SABnzbd.py", line 1297, in main
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\__init__.pyo", line 305, in initialize
File "sabnzbd\nzbqueue.pyo", line 102, in read_queue
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\nzbqueue.pyo", line 328, in add
File "sabnzbd\nzbqueue.pyo", line 744, in end_job
AttributeError: 'NoneType' object has no attribute 'disconnect'
Traceback (most recent call last):
File "SABnzbd.py", line 1801, in <module>
File "SABnzbd.py", line 1297, in main
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\__init__.pyo", line 305, in initialize
File "sabnzbd\nzbqueue.pyo", line 102, in read_queue
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\nzbqueue.pyo", line 328, in add
File "sabnzbd\nzbqueue.pyo", line 744, in end_job
AttributeError: 'NoneType' object has no attribute 'disconnect'
Traceback (most recent call last):
File "SABnzbd.py", line 1801, in <module>
File "SABnzbd.py", line 1297, in main
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\__init__.pyo", line 305, in initialize
File "sabnzbd\nzbqueue.pyo", line 102, in read_queue
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\nzbqueue.pyo", line 328, in add
File "sabnzbd\nzbqueue.pyo", line 744, in end_job
AttributeError: 'NoneType' object has no attribute 'disconnect'
Traceback (most recent call last):
File "SABnzbd.py", line 1801, in <module>
File "SABnzbd.py", line 1297, in main
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\__init__.pyo", line 305, in initialize
File "sabnzbd\nzbqueue.pyo", line 102, in read_queue
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\nzbqueue.pyo", line 328, in add
File "sabnzbd\nzbqueue.pyo", line 744, in end_job
AttributeError: 'NoneType' object has no attribute 'disconnect'
Traceback (most recent call last):
File "SABnzbd.py", line 1801, in <module>
File "SABnzbd.py", line 1297, in main
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\__init__.pyo", line 305, in initialize
File "sabnzbd\nzbqueue.pyo", line 102, in read_queue
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\nzbqueue.pyo", line 328, in add
File "sabnzbd\nzbqueue.pyo", line 744, in end_job
AttributeError: 'NoneType' object has no attribute 'disconnect'
Traceback (most recent call last):
File "SABnzbd.py", line 1801, in <module>
File "SABnzbd.py", line 1297, in main
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\__init__.pyo", line 305, in initialize
File "sabnzbd\nzbqueue.pyo", line 102, in read_queue
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\nzbqueue.pyo", line 328, in add
File "sabnzbd\nzbqueue.pyo", line 744, in end_job
AttributeError: 'NoneType' object has no attribute 'disconnect'
Traceback (most recent call last):
File "SABnzbd.py", line 1801, in <module>
File "SABnzbd.py", line 1297, in main
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\__init__.pyo", line 305, in initialize
File "sabnzbd\nzbqueue.pyo", line 102, in read_queue
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\nzbqueue.pyo", line 328, in add
File "sabnzbd\nzbqueue.pyo", line 744, in end_job
AttributeError: 'NoneType' object has no attribute 'disconnect'
Traceback (most recent call last):
File "SABnzbd.py", line 1801, in <module>
File "SABnzbd.py", line 1297, in main
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\__init__.pyo", line 305, in initialize
File "sabnzbd\nzbqueue.pyo", line 102, in read_queue
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\nzbqueue.pyo", line 328, in add
File "sabnzbd\nzbqueue.pyo", line 744, in end_job
AttributeError: 'NoneType' object has no attribute 'disconnect'
Traceback (most recent call last):
File "SABnzbd.py", line 1801, in <module>
File "SABnzbd.py", line 1297, in main
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\__init__.pyo", line 305, in initialize
File "sabnzbd\nzbqueue.pyo", line 102, in read_queue
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\nzbqueue.pyo", line 328, in add
File "sabnzbd\nzbqueue.pyo", line 744, in end_job
AttributeError: 'NoneType' object has no attribute 'disconnect'
Traceback (most recent call last):
File "SABnzbd.py", line 1801, in <module>
File "SABnzbd.py", line 1297, in main
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\__init__.pyo", line 305, in initialize
File "sabnzbd\nzbqueue.pyo", line 102, in read_queue
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\nzbqueue.pyo", line 328, in add
File "sabnzbd\nzbqueue.pyo", line 744, in end_job
AttributeError: 'NoneType' object has no attribute 'disconnect'
Traceback (most recent call last):
File "SABnzbd.py", line 1801, in <module>
File "SABnzbd.py", line 1297, in main
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\__init__.pyo", line 305, in initialize
File "sabnzbd\nzbqueue.pyo", line 102, in read_queue
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\nzbqueue.pyo", line 328, in add
File "sabnzbd\nzbqueue.pyo", line 744, in end_job
AttributeError: 'NoneType' object has no attribute 'disconnect'
Traceback (most recent call last):
File "SABnzbd.py", line 1801, in <module>
File "SABnzbd.py", line 1297, in main
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\__init__.pyo", line 305, in initialize
File "sabnzbd\nzbqueue.pyo", line 102, in read_queue
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\nzbqueue.pyo", line 328, in add
File "sabnzbd\nzbqueue.pyo", line 744, in end_job
AttributeError: 'NoneType' object has no attribute 'disconnect'
User avatar
sander
Release Testers
Release Testers
Posts: 9261
Joined: January 22nd, 2008, 2:22 pm

Re: sabnzbd Suddenly wont start

Post by sander »

This does not happen immediately, does it? Can you run sabnzbd-console.exe and see what else it says?

My guess it does not have to do with your IP address.

Is there stuff in your queue? If rebooting Windows does not help, would it be OK to delete the queue?

Oh wait: WIndows. Hasn't SAB on Windows a start option to repair? Isn't there a SAB icon in your tray? If so, right click on it and see the options. Is there a repair option?

FYI: the error happens in the last line of this piece of code:

Code: Select all

    def end_job(self, nzo):
        """ Send NZO to the post-processing queue
        """
        if self.actives(grabs=False) < 2 and cfg.autodisconnect():
            # This was the last job, close server connections
            sabnzbd.downloader.Downloader.do.disconnect()
mrees
Newbie
Newbie
Posts: 8
Joined: October 1st, 2012, 11:43 pm

Re: sabnzbd Suddenly wont start

Post by mrees »

Thanks so much for your time and help sander

When I run console mode, I receive the following:
Traceback (most recent call last):
File "SABnzbd.py", line 1801, in <module>
File "SABnzbd.py", line 1297, in main
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\__init__.pyo", line 305, in initialize
File "sabnzbd\nzbqueue.pyo", line 102, in read_queue
File "sabnzbd\decorators.pyo", line 31, in newFunction
File "sabnzbd\nzbqueue.pyo", line 328, in add
File "sabnzbd\nzbqueue.pyo", line 744, in end_job
AttributeError: 'NoneType' object has no attribute 'disconnect'

There used to be a icon in the tray, that too has gone.
Ive rebooted and the issue has still occurs (Ill do it again now just in case)

More than happy to do anything to get it up again, but to be honest Im slightly unsure how to delete the queue if I cant access the web interface (still really new to this)
Ohh and yes, there are about 7 or 8 items in the queue from memory
mrees
Newbie
Newbie
Posts: 8
Joined: October 1st, 2012, 11:43 pm

Re: sabnzbd Suddenly wont start

Post by mrees »

Ohh and one last thing, yes the error occurs as soon as I try and launch sabnzbd.exe
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: sabnzbd Suddenly wont start

Post by shypike »

Start once like this:
WindowsKey-R
"c:\program files\sabnzbd\sabnzbd.exe" --repair-all
Enter

In case of a 64bit OS:
WindowsKey-R
"c:\program files (x86)\sabnzbd\sabnzbd.exe" --repair-all
Enter
mrees
Newbie
Newbie
Posts: 8
Joined: October 1st, 2012, 11:43 pm

Re: sabnzbd Suddenly wont start

Post by mrees »

Thanks a lot for your reply shypike

Unfortunately the same error occurs (and yes Im using a Win64 OS)

Thanks for everyones help
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: sabnzbd Suddenly wont start

Post by shypike »

Is there anything of value in your queue?
If not, just erase the "temporary download folder".
If so, start-up like this:
WindowsKey-R
"c:\program files (x86)\sabnzbd\sabnzbd.exe" --clean
Enter
Then go to the Status, Queue Repair.
There will be a table with lost jobs.
Re-enter those into the queue one-by-one until you find one that gives errors again.
mrees
Newbie
Newbie
Posts: 8
Joined: October 1st, 2012, 11:43 pm

Re: sabnzbd Suddenly wont start

Post by mrees »

Thankyou so much shypike :)
Worked a treat!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: sabnzbd Suddenly wont start

Post by shypike »

All jobs were restorable?
In that case, I need to look again at --repair-all, because that should do the same
as what you now did last time.
mrees
Newbie
Newbie
Posts: 8
Joined: October 1st, 2012, 11:43 pm

Re: sabnzbd Suddenly wont start

Post by mrees »

Yes, seems to be

Thanks again for your help
REALLY appreciate the speedy response
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: sabnzbd Suddenly wont start

Post by shypike »

BTW: It's not a case of queue corruption.
I just found out that this will happen any time when SABnzbd is restarted
right after a job has just finished downloading, but before post-processing.
Post-processing will then start as soon as SABnzbd is up again and it will hit the bug.
The bug is that the downloader task isn't started yet.
It won't happen very often, but when it does you're stuck because each
restart will hit the same problem.
Well, the fix is easy and just in time for 0.7.4
mrees
Newbie
Newbie
Posts: 8
Joined: October 1st, 2012, 11:43 pm

Re: sabnzbd Suddenly wont start

Post by mrees »

Yeah its happening again unfortunately
Whens 0.7.4 out ?

Im guessing the only temp fix is to keep cleaning out the queues and start over?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: sabnzbd Suddenly wont start

Post by shypike »

Tomorrow.
mrees
Newbie
Newbie
Posts: 8
Joined: October 1st, 2012, 11:43 pm

Re: sabnzbd Suddenly wont start

Post by mrees »

Great stuff
Thanks shypike
Post Reply