Page 1 of 1

queue repair - fails to restart

Posted: October 27th, 2012, 11:30 am
by udim
Version: 0.7.4
OS: Windows 7 pro sp1
Install-type: Windows Installer
Skin (if applicable): Default
Firewall Software: Windows firewall
Are you using IPV6? no
Is the issue reproducible? (yes/no) yes

Steps:
1. Status -> Queue Repair -> Repair
2. Get "Initiating restart" page.
3. Get an "Errors occurred" dialog. (sabnzbd is not running)
4. Restart sabnzbd - download that was in progress is now in the "orphaned jobs" list. (not sure if this is normal)

Log:
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 762, in end_job
AttributeError: 'NoneType' object has no attribute 'process'

Re: queue repair - fails to restart

Posted: October 27th, 2012, 11:35 am
by udim
Hmm... while the above problem happened 3 times, it stopped after I added that orphaned job back into the queue.
The job immediately moved to "completed" status, and it's listed in the history, but without the standard metadata. (missing fields: size, category (is *), download, source, unpack, repair)

Re: queue repair - fails to restart

Posted: October 27th, 2012, 12:01 pm
by shypike
Are you using the "check before download" option?
If so, temporarily disable it, it has a problem that will be solved in 0.7.5

Re: queue repair - fails to restart

Posted: October 27th, 2012, 1:18 pm
by udim
Yes, I am using that option.
Also, I just noticed that the job was actually incomplete and missing the last file.
Thanks