Article CRC check, sabnzbd 0.7.11

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
benjarobin
Newbie
Newbie
Posts: 3
Joined: January 7th, 2013, 7:39 pm

Article CRC check, sabnzbd 0.7.11

Post by benjarobin »

I discovered a lot of INFO message in the log of sabnzbd, likes this one

Code: Select all

INFO::[decoder:121] Erreur CRC dans [email protected] (FFFFFFFF2F249386 -> 2F249386)
It looks like the CRC result is stored in 64 bits, instead of 32 bits
Although the article is tagged as corrupted and missing, the downloaded file is valid, which is normal since the articles tagged as corrupted are valid.

For information, I am running on 32 bits PC

Code: Select all

Linux benjarobin 3.8.8-2-ARCH #1 SMP PREEMPT Tue Apr 23 11:35:43 CEST 2013 i686 GNU/Linux
Edit: Well after code analysis, I think the problem is inside the header of the message. The solution could be to keep the 8 last characters of the CRC (decoder.py : 299)

Edit2: To fix it (tested and working), I added this line after line 299

Code: Select all

_partcrc = _partcrc[-8:]
Or maybe (not tested) replace line 299 by

Code: Select all

_partcrc = '00000000' + yend[crcname].upper()
_partcrc = _partcrc[-8:]
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Article CRC check, sabnzbd 0.7.11

Post by shypike »

It means: sloppy poster.
If you wish, you can disable CRC checking in Config->Switches.
It doesn't matter much, since par2 will do the heavy lifting.
Post Reply