Page 1 of 1

Strange Unrar Error

Posted: September 12th, 2012, 8:35 pm
by darktka
After downloading collections of rar files, extraction fails. Everything else like auto-downloading additional par2 files and concatenating split files works fine. Manually extracting those downloads also works perfectly.
I also get a strange error message. Here is the relevant extract from my logs:

Code: Select all

2012-09-13 03:20:36,239::INFO::[postproc:342] Running unpack_magic on testdownload
2012-09-13 03:20:36,243::INFO::[newsunpack:201] Unrar starting on /www/sabnzbd/incomplete/testdownload  2012-09-13 03:20:36,244::INFO::[newsunpack:411] Extracting rarfile /www/sabnzbd/incomplete/testdownload/testdownload.part01.rar (belonging to testdownload) to /www/sabnzbd/complete/_UNPACK_testdownload
2012-09-13 03:20:36,244::ERROR::[newsunpack:424] Error "" while running rar_unpack on testdownload
2012-09-13 03:20:36,245::INFO::[newsunpack:205] Unrar finished on /www/sabnzbd/incomplete/testdownload
2012-09-13 03:20:36,248::INFO::[postproc:344] unpack_magic finished on testdownload
It seems that normally, "" would contain an error code but in my case it doesn't. I use version 0.7.3.

System: Debian Linux, ~4GB RAM, AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ 2GHz

Re: Strange Unrar Error

Posted: September 13th, 2012, 2:49 am
by shypike
Do you manually extract the files with unrar on the Debian system itself?
Ar you sure that you have only one unrar program and that you and SABnzbd use the same?
Can you email the output of the manual unrar session to bugs@sabnzbd.org ?
Preferably like this:
unrar -idp -o- -or name-of-first-rar name-of-destination-folder 2>&1 >log

Possibly unrar doesn't return a 0 exit code, which it should when there are no errors.
After unrar, type:
echo $?

Re: Strange Unrar Error

Posted: September 13th, 2012, 5:50 am
by darktka
Do you manually extract the files with unrar on the Debian system itself?
Ar you sure that you have only one unrar program and that you and SABnzbd use the same?
Yes to both.

The manual unrar session output is rather boring:

Code: Select all

UNRAR 4.10 freeware      Copyright (c) 1993-2012 Alexander Roshal


Extracting from ub10ltd6.r00

Extracting  ubuntu/ubuntu-10.04.3-desktop-amd64.iso                 

Extracting from ub10ltd6.r01

...         ubuntu-10.04.3-desktop-amd64.iso                        

Extracting from ub10ltd6.r02

...         ubuntu-10.04.3-desktop-amd64.iso                        

Extracting from ub10ltd6.r03

...         ubuntu-10.04.3-desktop-amd64.iso                        

Extracting from ub10ltd6.r04

...         ubuntu-10.04.3-desktop-amd64.iso                        

Extracting from ub10ltd6.r05

...         ubuntu-10.04.3-desktop-amd64.iso                        

Extracting from ub10ltd6.r06

...         ubuntu-10.04.3-desktop-amd64.iso                        

Extracting from ub10ltd6.r07

...         ubuntu-10.04.3-desktop-amd64.iso                        

Extracting from ub10ltd6.r08

...         ubuntu-10.04.3-desktop-amd64.iso                        

Extracting from ub10ltd6.r09

...         ubuntu-10.04.3-desktop-amd64.iso                        

Extracting from ub10ltd6.r10

...         ubuntu-10.04.3-desktop-amd64.iso                        

Extracting from ub10ltd6.r11

...         ubuntu-10.04.3-desktop-amd64.iso                        

Extracting from ub10ltd6.r12

...         ubuntu-10.04.3-desktop-amd64.iso                        

Extracting from ub10ltd6.r13

...         ubuntu-10.04.3-desktop-amd64.iso                          OK 
All OK
Also:

Code: Select all

# echo $?
0
I mailed it to you anyway ;)

Edit: I moved my sabnzbd.ini, thus resetting the whole application. Now unrar works again, so it's definitely a SABnzbd problem.

Re: Strange Unrar Error

Posted: September 13th, 2012, 3:28 pm
by shypike
darktka wrote:I moved my sabnzbd.ini, thus resetting the whole application. Now unrar works again, so it's definitely a SABnzbd problem.
That depends.
Can you remove all personal data from the old ini file and email that too?