Page 1 of 1

Repair Skipped When Smallest PAR2 Is Damaged

Posted: June 23rd, 2013, 6:49 pm
by PiERiT
Version: 0.7.13
OS: Windows 8 Pro x64
Install: Windows
Firewall: None
IPV6: No
Reproducible: Yes

As far as I can tell, SABnzbd's default behavior is to download the smallest PAR2 file by itself, and additional recovery files if needed. However, I think I've encountered a bug that occurs when said PAR2 file is damaged. Basically, the 'repair' step is skipped, and it tries to extract the archives, which of course fails. If I open the PAR2 file in QuickPar, it is marked as damaged and QuickPar does not list the archives. Only when adding additional PAR2 files does it have the info it needs to determine the archives are present and incomplete.
Image
Image
Judging by this, it looks like SABnzbd thinks the archives are complete, when in reality they were never scanned. Is this known/expected behavior? Is there a workaround? Perhaps a setting to always download a couple PAR2 files instead of just one?

Re: Repair Skipped When Smallest PAR2 Is Damaged

Posted: June 25th, 2013, 4:45 pm
by shypike
Do you have an example NZB that shows his behaviour?

Re: Repair Skipped When Smallest PAR2 Is Damaged

Posted: June 25th, 2013, 5:01 pm
by PiERiT
Do you have somewhere I can send it or upload it?

Although, I'm not sure you'd see the same behavior if we're use different providers. I am using NewsHosting.

Re: Repair Skipped When Smallest PAR2 Is Damaged

Posted: June 26th, 2013, 11:21 am
by shypike
bugs@sabnzbd.org and please add the URL of this message.

Re: Repair Skipped When Smallest PAR2 Is Damaged

Posted: June 26th, 2013, 1:08 pm
by shypike
Problem is confirmed and will be fixed in 0.7.14
(But send the NZB anyway).

Re: Repair Skipped When Smallest PAR2 Is Damaged

Posted: June 26th, 2013, 3:02 pm
by PiERiT
Will send it when I get home this evening. Thank you!