Page 1 of 1

Par2 fails, please add retry with sfv only, then unpack

Posted: November 8th, 2011, 5:03 am
by tripkip
Hi,

Last couple of weeks I get this very often.
Par2 fails, "main packet not found" (I understand this is probably not a SabNZBd issue, rather generating a bad par2 issue), but I really get this too often lately...
If I check the files with ckfsv, all files are good, unrar too no problem.

Sabnzbd could solve this by doing an optional sfv check if par2 fails or just let the user select this on retry.

For an example of this nzb that fails: http://nzbmatrix.com/nzb-details.php?id=1085884, also check the comments, you can see that I'm not the only one.

Thank you.

Re: Par2 fails, please add retry with sfv only, then unpack

Posted: November 11th, 2011, 12:15 pm
by Mav
I suspect we're having the same problems. You need a login for that url though so I can't be sure. But there are releases out there that use a semicolon in the filenames which causes the par2 stuff to fail on windows. If I use quickpar, it doesn't see any data at all. I've had it mostly happen with 1080p movie releases from CHD among others, like Harry.Potter.and.the.Deathly.Hallows.Part.2.2011.BluRay.1080p.DTS.x264-CHD.

But this also causes problems in sabnzbd. In this case, not only the par2 check fails, the history log entry keeps showing it as 'repairing' indefinitely until you restart, then it says failed and I can delete it. If you do try to delete it I've had sabnzbd become unresponsive, as in it does not serve the webpage interface anymore. But now I also have the problem that it's impossible to delete the entry from the download list. Changed settings revert back if go a page forward and back, so I can't pause it or set priority to low. When I click on the download name, I get this error:

Code: Select all

500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "cherrypy\_cprequest.pyo", line 618, in respond
  File "cherrypy\_cpdispatch.pyo", line 25, in __call__
  File "sabnzbd\interface.pyo", line 488, in default
  File "sabnzbd\interface.pyo", line 512, in nzo_details
AttributeError: 'NoneType' object has no attribute 'final_name_pw_clean'
Powered by CherryPy 3.2.0
Maybe another reboot will help (edit: it does), but it would be really great if this could be handled better by sabnzbd. I'm not sure if the par2 problem with semicolons in filenames can we fixed so it works on windows, but at least not have it crash and muck up the download/history lists when par2 fails?

Re: Par2 fails, please add retry with sfv only, then unpack

Posted: November 11th, 2011, 1:11 pm
by tripkip
Yes i have it with all CHD releases..

Re: Par2 fails, please add retry with sfv only, then unpack

Posted: November 11th, 2011, 2:45 pm
by shypike
tripkip wrote: For an example of this nzb that fails: http://nzbmatrix.com/nzb-details.php?id=1085884, also check the comments, you can see that I'm not the only one.
This is a failed post. The par2 files are just crap (nothing but zero characters).
SABnzbd already does an alternative SFV check, but only when no par2 files are available.
Having crappy par2 files will make SABnzbd just complain about being unable to verify/repair.
I'm not sure skipping par2 verification is a good idea in such cases.
I have to study this a bit for feasibility.

The (clumsy) work-around, would be:
- wait for the job to fail
- go to the "incomplete" folder of the job
- remove all par2 files
- Pause SABnzbd
- Click retry in history
- Click on the job
- Remove all par2 entries
- Resume SABnzbd