Page 1 of 2

ERROR: CRC failed

Posted: February 18th, 2008, 5:11 pm
by FutureCow
I have another CRC error. Because vinnie19 had solved his problem I create a new topic.
I have updated my SABnzbd to the new 0.3.1 Final version. I downloaded 4 files. and 3 of them i get an CRC error:

FILE 
Stage Par2
[PAR-INFO] FILE: => Scanning "/mnt/newsgroup/incomplete/FILE/FILE.vol000+01.PAR2" 
Stage Unrar
[RAR-INFO] FILE: => ERROR: CRC failed in "FILE.mp4"

Do i have to sent a Log file?

I see this inside the log file:

2008-02-18 19:30:42,810::INFO::[assembler] Par2 check starting on FILE.nzb
2008-02-18 19:30:42,813::INFO::[assembler] Running repair on set FILE
2008-02-18 19:31:34,871::INFO::[newsunpack] Main packet not found...
2008-02-18 19:31:34,905::INFO::[newsunpack] []
2008-02-18 19:31:34,909::INFO::[newsunpack] Par verify failed on /mnt/newsgroup/incomplete/FILE/FILE.vol000+01.PAR2!
2008-02-18 19:31:34,913::INFO::[assembler] Par2 check finished on FILE.nzb
2008-02-18 19:31:34,937::INFO::[assembler] Creating directory: /mnt/newsgroup/complete/__UNPACK_IN_PROGRESS__FILE
2008-02-18 19:31:34,969::INFO::[assembler] Running unpack_magic on FILE.nzb
2008-02-18 19:31:35,066::INFO::[newsunpack] Unrar starting on /mnt/newsgroup/incomplete/FILE
2008-02-18 19:31:35,174::INFO::[newsunpack] Extracting rarfile /mnt/newsgroup/incomplete/FILE/FILE.part02.rar (belonging to FILE) to /mnt/newsgroup/complete/__UNPACK_IN_PROGRESS__FILE
2008-02-18 19:58:45,230::WARNING::[newsunpack] ERROR: CRC failed in FILE.mp4"

Re: ERROR: CRC failed

Posted: February 18th, 2008, 5:25 pm
by shypike
Yes, please send me the logfiles (all of them) and the NZB too.
[email protected].

What's your exact platform and Python version?

Re: ERROR: CRC failed

Posted: February 18th, 2008, 6:38 pm
by switch
Looks to me like FILE.vol000+01.PAR2! is corrupt and for some reason it cannot find any other par2 files. Will investigate further..

Re: ERROR: CRC failed

Posted: February 19th, 2008, 5:13 am
by DeXeS
To make sure it is a SABnzbd+ problem; when you check the download manually (with quickpar or a similar program), do you get 100% correct or the possibility to make the files 100% ?

Re: ERROR: CRC failed

Posted: February 19th, 2008, 5:58 am
by FutureCow
SABnzbd is on a little Linux machine. When I get the stuff on my Windows PC, I can make the broken RAR files with the PAR. On my linux machine only the not broken files get unpacked. So i think their is something wrong woth the PARing of the files at my linux machine. But I installed the latest 0.4 par2cmdline.

Re: ERROR: CRC failed

Posted: February 19th, 2008, 6:27 am
by FutureCow
what is the exact PAR commando that SABnzbd gives to the computer?

Re: ERROR: CRC failed

Posted: February 19th, 2008, 6:37 am
by DeXeS
From the par2cmdline-0.4 (linux) readme file
USING PAR2CMDLINE

The command line parameters for par2cmdline are as follow:

    par2 c(reate) [options] [files]
    par2 v(erify) [options] [files]
    par2 r(epair) [options] [files]

  Also:

    par2create [options] [files]
    par2verify [options] [files]
    par2repair [options] [files]
   
  Options:

    -b  : Set the Block-Count
    -s  : Set the Block-Size (Don't use both -b and -s)
    -r  : Level of Redundancy (%)
    -c  : Recovery block count (don't use both -r and -c)
    -f  : First Recovery-Block-Number
    -u    : Uniform recovery file sizes
    -l    : Limit size of recovery files (Don't use both -u and -l)
    -n  : Number of recovery files (Don't use both -n and -l)
    -m  : Memory (in MB) to use
    -v [-v]: Be more verbose
    -q [-q]: Be more quiet (-qq gives silence)
    --    : Treat all remaining CommandLine as filenames
   
If you wish to create par2 files for a single source file, you may leave
out the name of the par2 file from the command line. par2cmdline will then
assume that you wish to base the filenames for the par2 files on the name
of the source file.

You may also leave off the .par2 file extension when verifying and repairing.

Re: ERROR: CRC failed

Posted: February 19th, 2008, 7:33 am
by FutureCow
the problem is that PAR2 doesnt work as it shoud do. This error is the problem: Main Packet not found.

I find this tread: http://bugs.gentoo.org/show_bug.cgi?id=137092 but i don't realy know what to do with the 2 text files in it. Can someone help me with that?

Re: ERROR: CRC failed

Posted: February 19th, 2008, 7:57 am
by switch
That could very well be the cause, originally I thought it may have just been the result of a badly downloaded par file, but you get it on your next (successful) download too.

I am still concerned about the next line:
2008-02-18 19:31:34,905::INFO::[newsunpack] []

That should contain the names of the other par2 files in the set, and for some reason it is not finding them.

It could be because the usenet subjects of the files are named weird, they have "Grab" appended to the end of the filename such as ".vol092+10.PAR2Grab"

However it creates the correct par2 set on my windows pc:
Image

What happens when you add the nzb to your queue and start downloading the file, does it have the par2's as a "set" down at the bottom when you switch "Toggle Verbosity" on?

Re: ERROR: CRC failed

Posted: February 19th, 2008, 8:09 am
by DeXeS
found this on how to use those patches:
http://gentoo-wiki.com/HOWTO_Installing ... ty_Ebuilds
http://devmanual.gentoo.org/ebuild-writ ... index.html
Don't know if it works because I never have used gentoo.

Re: ERROR: CRC failed

Posted: February 23rd, 2008, 10:23 am
by FutureCow
I can't use Ebuilds on my linux version I think. it is a custom Debian version of Linux.
I think the PAR2CMDline isn't working correct. what commando can I give to test?

[root@LINUX:/mnt/newsgroup/complete/FILE]$\ par2 v FILE.par2
par2cmdline version 0.4, Copyright (C) 2003 Peter Brian Clements.

par2cmdline comes with ABSOLUTELY NO WARRANTY.

This is free software, and you are welcome to redistribute it and/or modify
it under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version. See COPYING for details.

Loading "FILE.par2".
Loaded 239 new packets
Loading "FILE.vol000+01.PAR2".
Loaded 1 new packets including 1 recovery blocks
Loading "FILE.vol001+02.PAR2".
Loaded 2 new packets including 2 recovery blocks
Loading "FILE.vol003+04.PAR2".
Loaded 4 new packets including 4 recovery blocks
Loading "FILE.vol007+07.PAR2".
Loaded 7 new packets including 7 recovery blocks
Loading "FILE.vol014+12.PAR2".
Loaded 12 new packets including 12 recovery blocks
Loading "FILE.vol026+23.PAR2".
Loaded 23 new packets including 23 recovery blocks
Loading "FILE.vol124+25.PAR2".
Loaded 25 new packets including 25 recovery blocks
Loading "FILE.vol049+25.PAR2".
Loaded 25 new packets including 25 recovery blocks
Loading "FILE.vol074+25.PAR2".
Loaded 25 new packets including 25 recovery blocks
Loading "FILE.vol099+25.PAR2".
Loaded 25 new packets including 25 recovery blocks

Main packet not found.
[root@LINUX:/mnt/newsgroup/complete/FILE]$\

Re: ERROR: CRC failed

Posted: February 23rd, 2008, 1:22 pm
by DeXeS
Looks like the file(s) that needs to be checked isn't there. But that's kind of strange because it says "Loaded 239 new packets" and that would mean that it has al the files loaded...

I tested par2cmd also on my ubuntu machine with only the pars and no rar files: the outcome was this:

Code: Select all

Loading "somefile.rar.par2".
Loaded 4 new packets
Loading "somefile.rar.vol2+2.PAR2".
Loaded 2 new packets including 2 recovery blocks
Loading "somefile.rar.vol0+1.PAR2".
Loaded 1 new packets including 1 recovery blocks
Loading "somefile.rar.vol1+1.PAR2".
Loaded 1 new packets including 1 recovery blocks

There are 1 recoverable files and 0 other files.
The block size used was 384000 bytes.
There are a total of 28 data blocks.
The total size of the data files is 10625221 bytes.

Verifying source files:

Target: "somefile.rar" - missing.

Scanning extra files:


Repair is required.
1 file(s) are missing.
You have 0 out of 28 data blocks available.
You have 4 recovery blocks available.
Repair is not possible.
You need 24 more recovery blocks to be able to repair.
That's how it should look like if the target file was missing (somefile.rar). So in my opinion par2cmdline on you system is broke

Have you already reinstalled par2cmdline? have you installed the right package?
http://sourceforge.net/project/showfile ... e_id=82331

Or try to get it from the gentoo mirror download thing (in ubuntu its apt-get)

Re: ERROR: CRC failed

Posted: February 23rd, 2008, 3:37 pm
by FutureCow
i installed
par2cmdline-0.4.tar.gz  Mirror  239312 30720 Platform-Independent Source

I'm not running Ubuntu or Gentoo, just a custom version of Debian. if i search the web fot a fix about "Main packet not found" I can find some thinks but not for my linux machine... how can I fix this?

Re: ERROR: CRC failed

Posted: February 23rd, 2008, 5:30 pm
by DeXeS
Give it a try on the debian forum or if you didn't customized it youself, the forum of that custom debian.

Re: ERROR: CRC failed

Posted: February 24th, 2008, 8:22 am
by FutureCow
is it olso possible to work with antoher par program?
gpar2
libpar2