Author Topic: PAR2 files failed to download + alt.binz erroneously reports "Repair failed"  (Read 5594 times)

Offline jasonwc

  • Contributor
  • ***
  • Posts: 17
I downloaded a fairly large archive yesterday (24 GB) which apparently had lots of corruption. I needed over 400 repair blocks accounting for 4% of the file. For some reason, alt.binz 0.31.6 failed to even download the additional PAR2 repair files even though there were enough to repair the damage (nearly 600 available). I downloaded the PAR2 repair files manually and initiated a repair. The repair went surprisingly fast considering the damage (and did in fact max out all 8 cores on my Core i7 :)). However, after the repair completed it stated "Repair Failed".

I checked the files with MultiPar and found that the repair had in fact completed successfully. Indeed, the alt.binz log states:

6/30/2010 12:05:09 PM] [PAR2&Unrar] "File" Par2 repair successful
[6/30/2010 12:05:28 PM] [Main] Download queue autosaved in 0ms
[6/30/2010 12:05:28 PM] [Main] RSS tree autosaved in 0ms
[6/30/2010 12:06:15 PM] [PAR2&Unrar] "File" unrar started
[6/30/2010 12:06:17 PM] [PAR2&Unrar] Source dir: l:\in process\file\
[6/30/2010 12:06:17 PM] [PAR2&Unrar] Unrar dir: L:\somewhere\
[6/30/2010 12:06:17 PM] [PAR2&Unrar] Archive name: file
[6/30/2010 12:06:17 PM] [PAR2&Unrar] Error[0]No Password!
[6/30/2010 12:06:17 PM] [PAR2&Unrar] "l:\in process\. . .part001.rar" unrar failed

As you can see, the repair was successful. The unrar failed because the archive was encrypted and alt.binz didn't know the password. In that case the error should have been "Unrar failed; encrypted archive", not "Repair failed".

Offline Rdl

  • Administrator
  • *****
  • Posts: 4050
Was collection finished (Reported size of collection = 0KB) in download queue tab? Was that par2 set the only one in collection?
Do you have by any chane in log something like this:
[30-Jun-10 18:43:25] [PAR2&Unrar] bla....par2 needs 20 more blocks, 37 available
[30-Jun-10 18:43:25] [PAR2&Unrar] bla....par2 unpaused 20 blocks

Regarding wrong reporting - yeah I noticed that also. Will be fixed.

Offline jasonwc

  • Contributor
  • ***
  • Posts: 17
The bizarre thing is that it never even checked for missing blocks. This is what I found for the PREVIOUS download-

[6/30/2010 2:29:40 AM] [Dec] Yenc file File.part235.rar decoded in 2855ms
[6/30/2010 2:29:40 AM] [PAR2&Unrar] File.par2 needs 39 more blocks, 150 available
[6/30/2010 2:29:40 AM] [PAR2&Unrar] File.par2 unpaused 39 blocks

It then downloaded the PAR2 blocks and repaired the archive. Yet, on the second download-

[6/30/2010 5:43:59 AM] [T8] Article finished 260/261 File.part266.rar
[6/30/2010 5:44:00 AM] [Dec] Yenc file File.part267.rar decoded in 16ms
[6/30/2010 5:44:02 AM] [Dec] Yenc file File.part266.rar decoded in 2153ms
[6/30/2010 5:45:23 AM] [Main] Download queue autosaved in 16ms

As you can see, after the download completes, it simply stops all activity. All I see after that point is re-connections to the Usenet server. I then manually downloaded the PAR2 repair files and initiated a repair.

[6/30/2010 11:29:14 AM] [Dec] Yenc file File.vol510+73.par2 decoded in 2231ms
[6/30/2010 11:29:18 AM] [PAR2&Unrar] Repairing File.par2
[6/30/2010 11:29:18 AM] [PAR2&Unrar] "l:\in process\file\file.par2" Par2 repair started
. . .
[6/30/2010 12:05:09 PM] [PAR2&Unrar] "l:\in process\file\file.par2" Par2 repair successful

So, there were clearly enough blocks, and the repair was successful. I see nothing in the logs to suggest why the PAR2 blocks weren't downloaded. I have PAR2 checking and repairing enabled, as can be seen by the previous download.

Offline jasonwc

  • Contributor
  • ***
  • Posts: 17
I noticed another issue. When the unrar process finishes, it still shows as "In Process" - unrarring at 100%. The log confirms the unrar process completed successfully, yet it still show as In Process.

[6/30/2010 3:53:31 PM] [PAR2&Unrar] "l:\in process\file.rar" unrar started
[6/30/2010 3:53:34 PM] [PAR2&Unrar] Source dir: l:\in process\
[6/30/2010 3:53:34 PM] [PAR2&Unrar] Unrar dir: F:\In Process
[6/30/2010 3:53:34 PM] [PAR2&Unrar] Archive name: file
[6/30/2010 3:56:38 PM] [PAR2&Unrar] "l:\in process\file.rar" unrar finished

Offline davidq666

  • Contributor
  • ***
  • Posts: 1302
  • Watashi Wa Ero Desu!
I noticed another issue. When the unrar process finishes, it still shows as "In Process" - unrarring at 100%. The log confirms the unrar process completed successfully, yet it still show as In Process.

with "In Progress" u mean that little light red cross in the unrar icon?

what did the par2 tab show in those cases where no repairing took place?

did u by any chance change the dl directory during download?

Offline jasonwc

  • Contributor
  • ***
  • Posts: 17
When the unraring is successful the progress tab shows "Unraring (100%)" while the status tab on the main page says "In Process".

When it fails to unrar, it says "Repair Failed" in the progress tab. Apparently, these are known issues, and do not relate to functionality - merely presentation.

On the other hand, I have now had two substantive issues; one where my download failed to unpause PAR2 repair archives or unrar, and another where a successful and complete download failed to unrar. There is NOTHING in the log to show a failure. It appears no unrar was even attempted. Nonethless, the previous downloads in both cases were unrared successfully.

Offline jasonwc

  • Contributor
  • ***
  • Posts: 17
I noticed another issue. When the unrar process finishes, it still shows as "In Process" - unrarring at 100%. The log confirms the unrar process completed successfully, yet it still show as In Process.


with "In Progress" u mean that little light red cross in the unrar icon?

No, I'm referring to the PAR2 "Progress" tab which shows "Unraring (100%)".

what did the par2 tab show in those cases where no repairing took place?

If I recall correctly, it showed nothing.

did u by any chance change the dl directory during download?

I don't believe so. In fact, the one I did change unrared properly.

Offline davidq666

  • Contributor
  • ***
  • Posts: 1302
  • Watashi Wa Ero Desu!

with "In Progress" u mean that little light red cross in the unrar icon?

No, I'm referring to the PAR2 "Progress" tab which shows "Unraring (100%)".

that is actualy no bug the progressbar will show unraring 100% until that par-set is removed. what does change is the unrar icon! it changes from one with a cross to one with a green check mark.


what did the par2 tab show in those cases where no repairing took place?

If I recall correctly, it showed nothing.

what i mean is was there par-set present that coresponded to those files u were downloading? and if yes what did it do?

btw

did u enable "move small par2 file to the fron of the queue"?


did u by any chance change the dl directory during download?

I don't believe so. In fact, the one I did change unrared properly.


that is very weird because for proper par-checking the small par2 file and all other neccesary files need to be in the same folder, when u change that folder during the download that is usualy not the case.

Offline jasonwc

  • Contributor
  • ***
  • Posts: 17

with "In Progress" u mean that little light red cross in the unrar icon?

No, I'm referring to the PAR2 "Progress" tab which shows "Unraring (100%)".

that is actualy no bug the progressbar will show unraring 100% until that par-set is removed. what does change is the unrar icon! it changes from one with a cross to one with a green check mark.


what did the par2 tab show in those cases where no repairing took place?

If I recall correctly, it showed nothing.

what i mean is was there par-set present that coresponded to those files u were downloading? and if yes what did it do?

btw

did u enable "move small par2 file to the fron of the queue"?


did u by any chance change the dl directory during download?


that is very weird because for proper par-checking the small par2 file and all other neccesary files need to be in the same folder, when u change that folder during the download that is usualy not the case.

1. Ah, I see what you mean.

2. Yes, there were PAR2 sets present, and I have the option to download the small PAR2 at the beginning of the queue enabled. Most of the time the PAR2 repair and unrar works fine. When it failed to download, I unpaused the PAR2s manually, and the repair was successful.

3. Sorry for the confusion. I changed the UNRAR directory - not the download directory. Everything was in the same DL directory.

Offline jasonwc

  • Contributor
  • ***
  • Posts: 17
My latest download completed with the progress "Nothing to Unrar". In fact, it was a 450+ part RAR archive.

Offline davidq666

  • Contributor
  • ***
  • Posts: 1302
  • Watashi Wa Ero Desu!
My latest download completed with the progress "Nothing to Unrar". In fact, it was a 450+ part RAR archive.

well then there most be something wrong with the par-set

Offline jasonwc

  • Contributor
  • ***
  • Posts: 17
Alt.binz show that all blocks were verfied properly. There wasn't even a need to repair. WinRAR extracted without error.

Offline Rdl

  • Administrator
  • *****
  • Posts: 4050
My latest download completed with the progress "Nothing to Unrar". In fact, it was a 450+ part RAR archive.
What was the extension(s) of the archive files?

Offline jasonwc

  • Contributor
  • ***
  • Posts: 17
Format was Filename.partXXX.rar

Fairly standard.

Offline Rdl

  • Administrator
  • *****
  • Posts: 4050
Can you upload somewhere the nzb you used and pm me the link.