Deleting an nzb from history while downloading nzb with the same name

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
Howitzer
Newbie
Newbie
Posts: 28
Joined: September 15th, 2016, 8:55 pm

Deleting an nzb from history while downloading nzb with the same name

Post by Howitzer »

Version: 3.5.0 [a756eea]
Python Version: 3.10.1 (tags/v3.10.1:2cd268a, Dec 6 2021, 19:10:37) [MSC v.1929 64 bit (AMD64)] [cp1252]
OpenSSL: OpenSSL 1.1.1l 24 Aug 2021


If I have a problem with a download of a specific release that has already finished downloading and is showing in my history and queue up another nzb with the exact same name and then, after it starts downloading (override the dupe warning), delete the bad one from my history it messes up the new one which is currently downloading and I cannot recover it, I have to delete the new one as well and start all over.

The first error when deleting the item from History is:

Disk error on creating file E:\Path\Incomplete\ReleaseName\FileName.ext

This error Pauses the client (not the item, the entire queue). Restarting the queue triggers additional errors:

Disk error on creating file E:\Path\Incomplete\ReleaseName\DifferentFileName.ext
Saving \\?\E:\Incomplete\ReleaseName\__ADMIN__\SABnzbd_nzo_z5ug7n28 failed


The client then pauses again. If I try to resume again, it just barfs:

Error importing <NzbFile: filename=FileName1, bytes=xxxxx, nzf_id=SABnzbd_nzf_zc_ea4dd>
Error importing <NzbFile: filename=FileName2, bytes=xxxxx, nzf_id=SABnzbd_nzf_zc_ea4dd>
Error importing <NzbFile: filename=FileName3, bytes=xxxxx, nzf_id=SABnzbd_nzf_zc_ea4dd>
etc.
etc.
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Deleting an nzb from history while downloading nzb with the same name

Post by safihre »

That can only happen if they were saved in the same directory in Incomplete, if so, how can SABnzbd know the difference between this new and old folder? They have the same name..
Maybe you can enable Debug logging and then after it happens again send me the log at [email protected].
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Howitzer
Newbie
Newbie
Posts: 28
Joined: September 15th, 2016, 8:55 pm

Re: Deleting an nzb from history while downloading nzb with the same name

Post by Howitzer »

They show up in different folders on my computer... if SAB isn't smart enough to be adding the ".1" and ".2" then it must be Windows... but then how does SAB know which folder to use?

I will capture some logs for you though :-)
Howitzer
Newbie
Newbie
Posts: 28
Joined: September 15th, 2016, 8:55 pm

Re: Deleting an nzb from history while downloading nzb with the same name

Post by Howitzer »

Looks like there is a fix for this in 4.1.0. I'll test and see if it has solved this issue. :-)
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Deleting an nzb from history while downloading nzb with the same name

Post by safihre »

Let me know if it doesn't!
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Howitzer
Newbie
Newbie
Posts: 28
Joined: September 15th, 2016, 8:55 pm

Re: Deleting an nzb from history while downloading nzb with the same name

Post by Howitzer »

Have not had a problem since. This seems to be totally fixed now. Currently running 4.2.0RC3 and have not had a problem since 4.1.0
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Deleting an nzb from history while downloading nzb with the same name

Post by safihre »

Great👍
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply