Unusable RAR file 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
drose25
Newbie
Newbie
Posts: 5
Joined: April 17th, 2012, 1:39 am

Unusable RAR file error?

Post by drose25 »

Hi Everyone,

I upgraded from 0.7.11 to 0.7.16 today (on Ubuntu 12.04) and I started getting this error "unusable RAR file" that I've never seen before. Can anyone tell me what it means (other than the obvious)? Do I need to upgrade another package or am I just getting a bad nzb? If this particular nzb hadn't been grabbed by about 1000 people with no comments, I'd chalk it up to the nzb, but since no one has complained I'm not so sure.
User avatar
sander
Release Testers
Release Testers
Posts: 9061
Joined: January 22nd, 2008, 2:22 pm

Re: Unusable RAR file error?

Post by sander »

You get that message "unusable RAR file" if the unrar says 'is not RAR archive'.

So: SAB depends on what unrar says. What happens when you run an manual unrar on the rar files?

Code: Select all

elif 'is not RAR archive' in line:
            # Unrecognizable RAR file
            m = re.search('(.+) is not RAR archive', line)
            if m:
                filename = TRANS(m.group(1)).strip()
            else:
                filename = '???'
            nzo.fail_msg = T('Unusable RAR file')
            msg = ('[%s][%s] '+ Ta('Unusable RAR file')) % (setname, latin1(filename))
            nzo.set_unpack_info('Unpack', unicoder(msg), set=setname)
            fail = 1
drose25
Newbie
Newbie
Posts: 5
Joined: April 17th, 2012, 1:39 am

Re: Unusable RAR file error?

Post by drose25 »

I did not still have the original files from the previous failed attempts, so I re-downloaded it this morning. Instead of setting it to process to SB, I just downloaded it normally. Both 7-zip on a Windows machine and rar on the Ubuntu host were able to unpack the file successfully with no errors.

Odd thing: today's successful download and yesterday's three failed downloads all show they were missing 24 articles. No way of telling which 24, but I'm going to presume they were the same.

I'm going to try downloading again with process to SB on this time and see if the error returns. Perhaps I've got something screwed up in the update, although this install has worked without error for about 2 years now.

Thanks for your help!
drose25
Newbie
Newbie
Posts: 5
Joined: April 17th, 2012, 1:39 am

Re: Unusable RAR file error?

Post by drose25 »

So, I re-downloaded the same NZB that worked fine 15 minutes before, but this time set it to process with the SB scripts...

Got the "unusable RAR file" error again. :( I went to the incomplete directory for the nzb and some of it appears to be unpacked/unrar'ed properly (i.e., the sample, an nfo, etc.) but the main file is not. Nor do the rar parts left in the incomplete directory add up to enough to the main file.

I've compared the complete directory version vs. the incomplete directory version and it looks like for some reason, when running the SB script, the SAB (or the script) is junk rar parts. For example, in the complete directory I have rar files that look like this:

16555.r00
16555.r01
etc
blahblah1106.r00
blahblah1106.r01
etc.

In the incomplete directory, all the "blahblah" named files are missing. Naturally, these are the ones that contain the main file I'm interested in. :D I'm guessing since there are apparently 2 separate RARs in the nzb (16555.rar and blahblah1106.rar, ultimately) that some confusion is occurring when unpacking. I'm just not sure where. As far as I know, all of the unpacking/unrar'ing is done by SABnzbd and the SB script just gets called to move the final file(s) over. This has me confused since SABnzbd seems to process the nzb fine when it's not expecting to send it to SB.
stomp
Newbie
Newbie
Posts: 14
Joined: September 28th, 2008, 2:27 pm

Re: Unusable RAR file error?

Post by stomp »

I got the same error a while back. You can manually unrar the files with the latest WinRAR release. I guess they slightly changed the way it is done.
User avatar
sander
Release Testers
Release Testers
Posts: 9061
Joined: January 22nd, 2008, 2:22 pm

Re: Unusable RAR file error?

Post by sander »

stomp wrote:I got the same error a while back. You can manually unrar the files with the latest WinRAR release. I guess they slightly changed the way it is done.
Which SAB version?
Can you PM a link to such a NZB?
hoju3508
Newbie
Newbie
Posts: 14
Joined: May 1st, 2010, 4:56 pm
Location: Austin, TX

Re: Unusable RAR file error?

Post by hoju3508 »

I believe this is due to some groups using WinRar 5.0.
jnaes
Newbie
Newbie
Posts: 8
Joined: February 1st, 2010, 11:06 pm

Re: Unusable RAR file error?

Post by jnaes »

It looks like unrar will need to be updated or something. This is becoming more and more of a problem.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Unusable RAR file error?

Post by shypike »

Will be in next release.
zzzac
Newbie
Newbie
Posts: 6
Joined: January 22nd, 2014, 8:37 am

Re: Unusable RAR file error?

Post by zzzac »

HI

This is down to winrar 5 being used, had this issue today and manually unzipping works fine.

Any idea when the next release is due ?

cheers
yelloflag
Newbie
Newbie
Posts: 1
Joined: February 5th, 2014, 3:30 am

Re: Unusable RAR file error?

Post by yelloflag »

Hi the Problem "unusable rarfile" is easy to solve

just download here the file for your for your system http://www.rarlab.com/rar_add.htm
i'm using windows so i take unrar for windows
after unpacking the the unrarw32.exe take the unrar.exe file and copy it to the "programfilesx68/sabnzb/win/unrar"folder
i've copied the file to both, directly to win and also to the x64 folder
and sabnzb unrars the unusable rarfiles without an error
zzzac
Newbie
Newbie
Posts: 6
Joined: January 22nd, 2014, 8:37 am

Re: Unusable RAR file error?

Post by zzzac »

I installed 0.7.17RC1 which solved my problem..... thanks anyway as I am sure that will work as well.
bigjohn
Newbie
Newbie
Posts: 10
Joined: October 28th, 2012, 11:27 pm

Re: Unusable RAR file error?

Post by bigjohn »

i downloaded the rar 5.01 package for mac os x, but where do i put it/how do i install it?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Unusable RAR file error?

Post by shypike »

Look where it's installed within the folder /Applications/SABnzbd and replace file unrar
bunGs
Newbie
Newbie
Posts: 1
Joined: June 21st, 2014, 2:55 pm

Re: Unusable RAR file error?

Post by bunGs »

for Linux: update your Unrar
follow directions and it works!....

http://www.linuxfromscratch.org/blfs/vi ... unrar.html
Post Reply