queue repair - fails to restart

Report & discuss bugs found in 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
udim
Newbie
Newbie
Posts: 3
Joined: October 27th, 2012, 11:19 am

queue repair - fails to restart

Post 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'
udim
Newbie
Newbie
Posts: 3
Joined: October 27th, 2012, 11:19 am

Re: queue repair - fails to restart

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

Re: queue repair - fails to restart

Post 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
udim
Newbie
Newbie
Posts: 3
Joined: October 27th, 2012, 11:19 am

Re: queue repair - fails to restart

Post by udim »

Yes, I am using that option.
Also, I just noticed that the job was actually incomplete and missing the last file.
Thanks
Post Reply