Author Topic: Par2 repair failed  (Read 5753 times)

Offline afdad

  • Contributor
  • ***
  • Posts: 71
Par2 repair failed
« on: February 28, 2007, 08:55:24 pm »
During the download, all the files were correctly checked and identified if incomplete. At the end of the download queue, the correct number of par2 blocks was unpaused and downloaded (5 incomplete files needing 6 blocks in total).

However, after 8 minutes the par2 repair failed. Strangely, the files were obviously checked again, but now the program requested an additional block in order to be able to repair (i.e., 7 in total). When I checked the files manually using QuickPar, the same incomplete files were initially identified as in ABZ and the 6 blocks already downloaded were sufficient to repair everything.

Below is the section of the log file related to this error (some lines removed to keep it small). Using daily build 260207.

The error occurs with the very last rar file in the queue (flourish-ntx.rar). During the initial check, it stated correctly that 51 of 53 blocks were available (confirmed with Quickpar). But during the second check, the program claimed falsely that only 50 of 53 blocks were available.


Quote
[27.02.2007 15:01:21] [PAR2&Unrar] flourish-ntx.par2 needs 6 more blocks, 249 available
[27.02.2007 15:01:21] [PAR2&Unrar] flourish-ntx.par2 unpaused 6 blocks

[27.02.2007 15:01:35] [Dec] Yenc file flourish-ntx.vol001+02.par2 decoded in 406ms
[27.02.2007 15:01:45] [Dec] Yenc file flourish-ntx.vol003+04.par2 decoded in 765ms

[27.02.2007 15:01:46] [PAR2&Unrar] Repairing flourish-ntx.par2
[27.02.2007 15:01:46] [PAR2&Unrar] "d:\alt.binz\flourish (2006)\flourish-ntx.par2" Par2 repair started


[27.02.2007 15:09:55] [PAR2&Unrar] "d:\alt.binz\flourish (2006)\flourish-ntx.par2" Par2 repair failed
[27.02.2007 15:09:55] [PAR2&Unrar] par2cmdline version 0.4, Copyright (C) 2003 Peter Brian Clements.
[...]

[27.02.2007 15:09:55] [PAR2&Unrar] Loading "flourish-ntx.par2".
[27.02.2007 15:09:55] [PAR2&Unrar] Loaded 192 new packets
[27.02.2007 15:09:55] [PAR2&Unrar] Loading "flourish-ntx.vol001+02.par2".
[27.02.2007 15:09:55] [PAR2&Unrar] Loaded 2 new packets including 2 recovery blocks
[27.02.2007 15:09:55] [PAR2&Unrar] Loading "flourish-ntx.vol003+04.par2".
[27.02.2007 15:09:55] [PAR2&Unrar] Loaded 4 new packets including 4 recovery blocks
[27.02.2007 15:09:55] [PAR2&Unrar]
[27.02.2007 15:09:55] [PAR2&Unrar] There are 95 recoverable files and 0 other files.
[27.02.2007 15:09:55] [PAR2&Unrar] The block size used was 960000 bytes.
[27.02.2007 15:09:55] [PAR2&Unrar] There are a total of 4989 data blocks.
[27.02.2007 15:09:55] [PAR2&Unrar] The total size of the data files is 4705868511 bytes.
[27.02.2007 15:09:55] [PAR2&Unrar] Verifying source files:
[27.02.2007 15:09:55] [PAR2&Unrar] Target: "flourish-ntx.r13" - damaged. Found 52 of 53 data blocks.
[27.02.2007 15:09:55] [PAR2&Unrar] Target: "flourish-ntx.r16" - damaged. Found 52 of 53 data blocks.
[27.02.2007 15:09:55] [PAR2&Unrar] Target: "flourish-ntx.r22" - damaged. Found 52 of 53 data blocks.
[27.02.2007 15:09:55] [PAR2&Unrar] Target: "flourish-ntx.r67" - damaged. Found 52 of 53 data blocks.
[...]
[27.02.2007 15:09:55] [PAR2&Unrar] Target: "flourish-ntx.r92" - found.
[27.02.2007 15:09:55] [PAR2&Unrar] Target: "flourish-ntx.r93" - found.
[27.02.2007 15:09:55] [PAR2&Unrar] Target: "flourish-ntx.rar" - damaged. Found 50 of 53 data blocks.
[27.02.2007 15:09:55] [PAR2&Unrar]
[27.02.2007 15:09:55] [PAR2&Unrar] Scanning extra files:
[27.02.2007 15:09:55] [PAR2&Unrar]
[27.02.2007 15:09:55] [PAR2&Unrar]
[27.02.2007 15:09:55] [PAR2&Unrar] Repair is required.
[27.02.2007 15:09:55] [PAR2&Unrar] 5 file(s) exist but are damaged.
[27.02.2007 15:09:55] [PAR2&Unrar] 90 file(s) are ok.
[27.02.2007 15:09:55] [PAR2&Unrar] You have 4982 out of 4989 data blocks available.
[27.02.2007 15:09:55] [PAR2&Unrar] You have 6 recovery blocks available.
[27.02.2007 15:09:55] [PAR2&Unrar] Repair is not possible.
[27.02.2007 15:09:55] [PAR2&Unrar] You need 1 more recovery blocks to be able to repair.
[27.02.2007 15:09:55] [PAR2&Unrar]

Offline Rdl

  • Administrator
  • *****
  • Posts: 4073
Par2 repair failed
« Reply #1 on: February 28, 2007, 11:54:53 pm »
For the nth time. Known issue. Par2.exe is not able to detect all block like alt.binz & quickpar

Offline afdad

  • Contributor
  • ***
  • Posts: 71
Par2 repair failed
« Reply #2 on: March 01, 2007, 01:43:37 am »
Then why not use the same algorithm in ABZ? That way, the number of needed blocks would be consistent and repairing would be less likely to fail.

BTW, I wasn't aware that this bug has been mentioned n-1 times before. At least I haven't seen it mentioned in the forum. What about a 'Known Issues' sticky post?

Offline Rdl

  • Administrator
  • *****
  • Posts: 4073
Par2 repair failed
« Reply #3 on: March 06, 2007, 02:11:09 pm »
Fixed