[Bug] Currently Processing jobs are deleted as Orphans

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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
Jumbs
Newbie
Newbie
Posts: 38
Joined: May 2nd, 2011, 4:50 pm

[Bug] Currently Processing jobs are deleted as Orphans

Post by Jumbs »

This is a small window use case, but it happened to me.

While a very large job was being repair/unrared, I saw the warning that i had orphaned jobs.
So i clicked and told it to clean them.

Unfortunately, it deleted (folder and all) the currently processing one as well, causing it to fail.
Last edited by Jumbs on October 7th, 2015, 9:50 am, edited 1 time in total.
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: [Bug[ Currently Processing jobs are deleted as Orphans

Post by safihre »

Yes I also noticed this.. Shypike can you fix this in the python code?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [Bug] Currently Processing jobs are deleted as Orphans

Post by shypike »

Jumbs wrote:This is a small window use case, but it happened to me.

While a very large job was being repair/unrared, I saw the warning that i had orphaned jobs.
So i clicked and told it to clean them.

Unfortunately, it deleted (folder and all) the currently processing one as well, causing it to fail.
How did you delete the items? One by one?
Jumbs
Newbie
Newbie
Posts: 38
Joined: May 2nd, 2011, 4:50 pm

Re: [Bug] Currently Processing jobs are deleted as Orphans

Post by Jumbs »

Used the mass delete.

After i clicked it i realized i saw the currently unraring piece in the list.
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: [Bug] Currently Processing jobs are deleted as Orphans

Post by safihre »

Shypike: the mass delete is just a for loop over all the single orphaned downloads, so doesn't matter how he deleted. It just shouldn't be in that list..
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [Bug] Currently Processing jobs are deleted as Orphans

Post by shypike »

Jumbs wrote: After i clicked it i realized i saw the currently unraring piece in the list.
Right, the current post-processed job should not be in the list at all.
Under investigation.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [Bug] Currently Processing jobs are deleted as Orphans

Post by shypike »

Problem will be solved in Beta2.
(Fixed in the source on github)
Post Reply