Strange Unrar Error

Get help with all aspects of 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
darktka
Newbie
Newbie
Posts: 2
Joined: September 12th, 2012, 8:25 pm

Strange Unrar Error

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Strange Unrar Error

Post 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 $?
darktka
Newbie
Newbie
Posts: 2
Joined: September 12th, 2012, 8:25 pm

Re: Strange Unrar Error

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Strange Unrar Error

Post 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?
Post Reply