Alt.Binz forum

New Alt.Binz versions => Bugs => Topic started by: jasonwc on June 30, 2010, 06:36:14 pm

Title: PAR2 files failed to download + alt.binz erroneously reports "Repair failed"
Post by: jasonwc on June 30, 2010, 06:36:14 pm
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".
Title: Re: PAR2 files failed to download + alt.binz erroneously reports "Repair failed"
Post by: Rdl on June 30, 2010, 06:47:24 pm
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.
Title: Re: PAR2 files failed to download + alt.binz erroneously reports "Repair failed"
Post by: jasonwc on June 30, 2010, 08:34:35 pm
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.
Title: Re: PAR2 files failed to download + alt.binz erroneously reports "Repair failed"
Post by: jasonwc on June 30, 2010, 10:20:32 pm
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
Title: Re: PAR2 files failed to download + alt.binz erroneously reports "Repair failed"
Post by: davidq666 on July 01, 2010, 08:57:31 am
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?
Title: Re: PAR2 files failed to download + alt.binz erroneously reports "Repair failed"
Post by: jasonwc on July 01, 2010, 04:36:44 pm
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.
Title: Re: PAR2 files failed to download + alt.binz erroneously reports "Repair failed"
Post by: jasonwc on July 01, 2010, 04:44:19 pm
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.
Title: Re: PAR2 files failed to download + alt.binz erroneously reports "Repair failed"
Post by: davidq666 on July 01, 2010, 05:14:01 pm

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.
Title: Re: PAR2 files failed to download + alt.binz erroneously reports "Repair failed"
Post by: jasonwc on July 01, 2010, 05:36:18 pm

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.
Title: Re: PAR2 files failed to download + alt.binz erroneously reports "Repair failed"
Post by: jasonwc on July 01, 2010, 05:43:59 pm
My latest download completed with the progress "Nothing to Unrar". In fact, it was a 450+ part RAR archive.
Title: Re: PAR2 files failed to download + alt.binz erroneously reports "Repair failed"
Post by: davidq666 on July 01, 2010, 05:48:34 pm
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
Title: Re: PAR2 files failed to download + alt.binz erroneously reports "Repair failed"
Post by: jasonwc on July 01, 2010, 06:18:01 pm
Alt.binz show that all blocks were verfied properly. There wasn't even a need to repair. WinRAR extracted without error.
Title: Re: PAR2 files failed to download + alt.binz erroneously reports "Repair failed"
Post by: Rdl on July 01, 2010, 07:05:15 pm
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?
Title: Re: PAR2 files failed to download + alt.binz erroneously reports "Repair failed"
Post by: jasonwc on July 01, 2010, 07:40:22 pm
Format was Filename.partXXX.rar

Fairly standard.
Title: Re: PAR2 files failed to download + alt.binz erroneously reports "Repair failed"
Post by: Rdl on July 01, 2010, 07:44:09 pm
Can you upload somewhere the nzb you used and pm me the link.
Title: Re: PAR2 files failed to download + alt.binz erroneously reports "Repair failed"
Post by: jasonwc on July 01, 2010, 07:55:28 pm
I PM'd you the NZB. I noticed something very strange. Although all 425 RAR archives were downloaded only part002-425 were verified. Part001 was not verified. However, it has the same size of the others, and is not in caps, suggesting it's not corrupt. In addition, WinRAR extracted without error. Usually it would give a CRC mismatch error if an archive was corrupt, and it would certainly have complained about a missing archive.
Title: Re: PAR2 files failed to download + alt.binz erroneously reports "Repair failed"
Post by: jasonwc on July 07, 2010, 06:16:28 am
Alt.binz has recently stopped marking corrupted RARs in uppercase. I didn't change any settings. "Uppercase corrupted files" is checked. I even togged the setting on and off and restarted alt.binz to no avail.
Title: Re: PAR2 files failed to download + alt.binz erroneously reports "Repair failed"
Post by: Hecks on July 07, 2010, 02:25:28 pm
You really are having a lot of problems, aren't you?  If this is a new reproducible bug, please post it separately so it can be tracked, thanks.