Page 1 of 1

0.8.0Beta3 Deleting file being processed kills everything

Posted: December 14th, 2015, 2:41 pm
by Credicon
An interesting issue I came across, and can reproduce, but don't like reproducing...

If a file is currently being processed (checked, extracting, etc...) and you delete the file, EVERYTHING fails, including the current files you are downloading all fail to save to the temporary download folder, any files being extracted after the file you just deleted fails to extract, and if you re-add any nzb files to re-download it fails as well. The only way to recover is to clear your queue, all your download history, clear any orphaned jobs, and then go to your temp folder and clear that as well. In theory, deleting an active task should just stop that task, clear its files and continue on, instead it breaks everything.

Re: 0.8.0Beta3 Deleting file being processed kills everythin

Posted: December 15th, 2015, 2:32 am
by shypike
How do you delete files? Do you mean you delete a job from the queue or history?

Re: 0.8.0Beta3 Deleting file being processed kills everythin

Posted: December 15th, 2015, 11:22 pm
by Credicon
Hit the trash can beside the file being extracted.

Re: 0.8.0Beta3 Deleting file being processed kills everythin

Posted: December 16th, 2015, 3:21 am
by shypike
Credicon wrote:Hit the trash can beside the file being extracted.
Sorry, is that using the Window Explorer or is that in the user interface of SABnzbd?
It is not possible (or should not be) to remove the job currently being extracted.

Maybe I'm slow in understanding, but what you describe sounds serious.
Please clarify.

Re: 0.8.0Beta3 Deleting file being processed kills everythin

Posted: December 16th, 2015, 3:33 am
by safihre
shypike wrote:It is not possible (or should not be) to remove the job currently being extracted.
In Glitter you can..

Re: 0.8.0Beta3 Deleting file being processed kills everythin

Posted: December 16th, 2015, 3:52 am
by shypike
safihre wrote:
shypike wrote:It is not possible (or should not be) to remove the job currently being extracted.
In Glitter you can..
That's an error.
I will plug that hole in the API, after checking what exactly happens.

Re: 0.8.0Beta3 Deleting file being processed kills everythin

Posted: December 16th, 2015, 4:21 am
by safihre
shypike wrote:
safihre wrote:
shypike wrote:It is not possible (or should not be) to remove the job currently being extracted.
In Glitter you can..
That's an error.
I will plug that hole in the API, after checking what exactly happens.
Wouldn't it be nice if you can? That it would cancel/kill the par2 or unrar and delete all the leftovers? Especially when something brakes..

Re: 0.8.0Beta3 Deleting file being processed kills everythin

Posted: December 16th, 2015, 5:18 am
by shypike
safihre wrote: Wouldn't it be nice if you can? That it would cancel/kill the par2 or unrar and delete all the leftovers? Especially when something brakes..
Later release, lots of impact and tricky platform dependencies.

Re: 0.8.0Beta3 Deleting file being processed kills everythin

Posted: December 17th, 2015, 11:12 pm
by Credicon
Yep, thats exactly whats happening in Glitter, you can click the trash bin and it breaks things in a bad way