Author Topic: par2 block count wrong  (Read 5027 times)

Offline spamwerbung

  • Contributor
  • ***
  • Posts: 43
par2 block count wrong
« on: June 12, 2017, 07:19:27 PM »
Hi,

Today I noticed what seem a real bug. I have a broken collection where par2 repair fail because one block is missing:
[12/06/2017 17:49:21] [PAR2&Unrar] Repair is required.
[12/06/2017 17:49:21] [PAR2&Unrar] 13 file(s) exist but are damaged.
[12/06/2017 17:49:21] [PAR2&Unrar] 403 file(s) are ok.
[12/06/2017 17:49:21] [PAR2&Unrar] You have 8271 out of 8301 data blocks available.
[12/06/2017 17:49:21] [PAR2&Unrar] You have 29 recovery blocks available.
[12/06/2017 17:49:21] [PAR2&Unrar] Repair is not possible.
[12/06/2017 17:49:21] [PAR2&Unrar] You need 1 more recovery blocks to be able to repair.

Not a big deal, but



So the par2 repair notice, oh there is a block missing, but won't download any additional block even available because the download thread believe to have enough repair blocks downloaded.

Offline gerkula

  • Contributor
  • ***
  • Posts: 14
Re: par2 block count wrong
« Reply #1 on: June 15, 2017, 11:36:04 PM »
+1 to same bug, and I am tired of manually downloading par blocks.
« Last Edit: June 15, 2017, 11:39:36 PM by gerkula »

Offline Rdl

  • Administrator
  • *****
  • Posts: 3926
Re: par2 block count wrong
« Reply #2 on: June 18, 2017, 03:56:18 PM »
Can you try to help me reproduce this?

Offline spamwerbung

  • Contributor
  • ***
  • Posts: 43
Re: par2 block count wrong
« Reply #3 on: June 18, 2017, 10:49:28 PM »
Yes, just tell me how. ;)

Offline Rdl

  • Administrator
  • *****
  • Posts: 3926
Re: par2 block count wrong
« Reply #4 on: June 18, 2017, 11:07:18 PM »
Well, few things could help...

Was there par2 set that was downloaded in the same folder? Do you have option to delete certain filetypes after unrar?
Based on par2 tab file block listing and par2.exe log feedback you could pinpoint which file is problematic one (mismatch between detected blocks) Then you could try and reproduce the problem by downloading only that file and seeing altbinz block count and then manualy running par2.exe to see reported block count by that tool. If things can be reproduced then you could send me nzb with needed file info.

Offline spamwerbung

  • Contributor
  • ***
  • Posts: 43
Re: par2 block count wrong
« Reply #5 on: June 23, 2017, 12:26:57 AM »
Currently I do not have any such "broken" download yet. Next time I have I will try above steps.

Offline dh2

  • Contributor
  • ***
  • Posts: 34
Re: par2 block count wrong
« Reply #6 on: June 27, 2017, 12:32:15 PM »
I think that maybe you're talking about the same thing that I encounter on a regular basis.
AltBinz par checker gives the set a %100 OK, whereas it's really not & manually checking with QuickPar the result will be 1 block missing.

Download set in question was an nzb created in the Binsearch tab, NG a.b.tv subject  170524_12

I have pix & the nzb file but don't see how to attach them here
clicking on 'instert image' icon just gives me following

Offline Rdl

  • Administrator
  • *****
  • Posts: 3926
Re: par2 block count wrong
« Reply #7 on: June 28, 2017, 09:43:45 AM »
Everything is ok here regarding that nzb/par2 set
Use image hosters like imgur to upload pictures and then use insert image link around link to your picture.

Offline dh2

  • Contributor
  • ***
  • Posts: 34
Re: par2 block count wrong
« Reply #8 on: June 28, 2017, 01:18:42 PM »
Like, I'd mentioned, this comes up on a regular basis; not every day, but at least once a week or more.



Offline Rdl

  • Administrator
  • *****
  • Posts: 3926
Re: par2 block count wrong
« Reply #9 on: June 28, 2017, 02:05:44 PM »
Could you try same nzb and see if you'll get same result. Make sure you have detailed logging turned on. Also, make sure you save problematic file.

Offline dh2

  • Contributor
  • ***
  • Posts: 34
Re: par2 block count wrong
« Reply #10 on: June 28, 2017, 11:25:59 PM »
tried again with the same nzb file & the problem wasn't there this time.

But, I do still have the file with the error from the original DL that did have the problem, 170524_12.part31.rar
if you think that I can learn anything from it.

Just tell me where to upload it if you want to look at it

But I did get the same kind of error in another DL today. Like I said, it's something that happens and it's been going on for some time. 

Another error that started about the same time as this one, also comes along on a regular basis, but less often, is when AltBinz DLs a set that needs repair, it will then DL the necessary par files, & do a repair but the repair will come us a failed. But if I then manually let Altbinz DL one more par2 file, it will then do another repair & this time it will be
successful.

& 1 more that showed up at about the saem time is automatic unraring of a set will come up failed, but if I choose it in the par2 tab and do a ctrl+U/unrar set, then it will unrar with no problems.

Offline Rdl

  • Administrator
  • *****
  • Posts: 3926
Re: par2 block count wrong
« Reply #11 on: June 29, 2017, 07:58:08 AM »
You should take a look at hardware. Start with memory and hdd.

Offline Rdl

  • Administrator
  • *****
  • Posts: 3926
Re: par2 block count wrong
« Reply #12 on: September 12, 2017, 04:00:43 PM »
There was a major bug regarding this. Could be fixed now...

Offline spamwerbung

  • Contributor
  • ***
  • Posts: 43
Re: par2 block count wrong
« Reply #13 on: September 14, 2017, 08:43:13 PM »
Thanks for still looking into this, even I did not had any additional download where this was happen.

Offline spamwerbung

  • Contributor
  • ***
  • Posts: 43
Re: par2 block count wrong
« Reply #14 on: December 01, 2017, 07:32:09 PM »
Well, few things could help...

Was there par2 set that was downloaded in the same folder? Do you have option to delete certain filetypes after unrar?
Based on par2 tab file block listing and par2.exe log feedback you could pinpoint which file is problematic one (mismatch between detected blocks) Then you could try and reproduce the problem by downloading only that file and seeing altbinz block count and then manualy running par2.exe to see reported block count by that tool. If things can be reproduced then you could send me nzb with needed file info.

I had today luck to get again such problematic file/collection, the info from PAR2 tab:
Quote
[01/12/2017 17:42:43] [PAR2&Unrar] Repair is required.
[01/12/2017 17:42:43] [PAR2&Unrar] 1 file(s) exist but are damaged.
[01/12/2017 17:42:43] [PAR2&Unrar] 168 file(s) are ok.
[01/12/2017 17:42:43] [PAR2&Unrar] You have 114796 out of 114797 data blocks available.
[01/12/2017 17:42:43] [PAR2&Unrar] You have 1 recovery blocks available.
[01/12/2017 17:42:43] [PAR2&Unrar] Repair is possible.
[01/12/2017 17:42:43] [PAR2&Unrar] 1 recovery blocks will be used to repair.

However, I also tried to repair directly with par2.exe on command line, but with a slightly different result:
Quote
Repair is required.
1 file(s) exist but are damaged.
168 file(s) are ok.
You have 114796 out of 114797 data blocks available.
You have 1 recovery blocks available.
Repair is possible.
1 recovery blocks will be used to repair.

Too many input blocks for Reed Solomon matrix.


Any Idea? Especially about the "Too many input blocks for Reed Solomon matrix." message from par2.exe?