unrar - ARM processor (Linkstation) 3.41 beta 1 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
koniosis
Newbie
Newbie
Posts: 7
Joined: February 22nd, 2010, 1:55 am

unrar - ARM processor (Linkstation) 3.41 beta 1 error!

Post by koniosis »

Hi,

I'm running SABnzbd on an ARM Linkstation Pro. I have been using v4 for a while now and it worked great.

Since upgrading to v5.0 automatic unrar has stopped working. I get an error "ERROR: Unknown option -or" when it tries to unrar.

I also receive a warning about my unrar version. However, checking the rarlabs.com website, the only version available for the ARM processor is 3.41 beta 1, there is no newer version so I'm stuck!

Is there a way to get SABnzbd to work with the older rar version, it worked with v4.

Is there a way to  get a newer unrar for ARM processors than the one on the rarlabs website?

Thanks for you help!

Koni

Version: (0.5.0 Final)
OS: (Debian)
Install-type: (python source)
Last edited by koniosis on February 22nd, 2010, 3:19 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: unrar - ARM processor (Linkstation) 3.41 beta 1 error!

Post by shypike »

Find module newsunpack.py.
At line 470 you'll see:

Code: Select all

    command = ['%s' % RAR_COMMAND, 'x', '-idp', '-o-', '-or', password,
Change it to

Code: Select all

    command = ['%s' % RAR_COMMAND, 'x', '-idp', '-o-', password,
That will fix it, but very occasionally you may run into problems with duplicate files.
See: https://trac2.assembla.com/SABnzbd/ticket/97
koniosis
Newbie
Newbie
Posts: 7
Joined: February 22nd, 2010, 1:55 am

Re: unrar - ARM processor (Linkstation) 3.41 beta 1 error!

Post by koniosis »

Thank you!

I noticed that there are some open-source free versions of unrar that I could build from source, are these a suitable replacement or am I best sticking with this older version from rarlabs?
koniosis
Newbie
Newbie
Posts: 7
Joined: February 22nd, 2010, 1:55 am

Re: unrar - ARM processor (Linkstation) 3.41 beta 1 error!

Post by koniosis »

Hmm, maybe a new bug ticket is required for this problem then. It seems SAB can check the version of unrar (hence the warning on the main page) so it would be useful if it disabled unsupported options for older versions?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: unrar - ARM processor (Linkstation) 3.41 beta 1 error!

Post by shypike »

The reason we do not want to support the "free" unrars is that they are of poor quality.
We were sick and tired of investigating people's reports about
"CRC errors" only to find out that they were using a crappy unrar.
koniosis
Newbie
Newbie
Posts: 7
Joined: February 22nd, 2010, 1:55 am

Re: unrar - ARM processor (Linkstation) 3.41 beta 1 error!

Post by koniosis »

I e-mailed rarlabs, they have pointed me at the source: http://www.rarlab.com/rar/unrarsrc-3.9.9.tar.gz which can be built manually.

I will try building this on my Linkstation and post back here the results.

Thanks
koniosis
Newbie
Newbie
Posts: 7
Joined: February 22nd, 2010, 1:55 am

Re: unrar - ARM processor (Linkstation) 3.41 beta 1 error!

Post by koniosis »

Could be some good out of this. If I can make a working build for the ARM processor, rarlabs have tentively agreed to post the binary on their website!
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: unrar - ARM processor (Linkstation) 3.41 beta 1 error!

Post by shypike »

We'll be happy to host it too, but rarlabs would be better.
koniosis
Newbie
Newbie
Posts: 7
Joined: February 22nd, 2010, 1:55 am

Re: unrar - ARM processor (Linkstation) 3.41 beta 1 error!

Post by koniosis »

Ok the build is good, where can I send the file for the website?

FYI, this was built on a Buffalo Linkstation Pro:

Linux Version 2.6.12.6-arm1
Compiled #77 Tue Dec 5 22:23:46 CST 2006
One ARM ARM926EJ-Sid(wb) rev 0 (v5l) Processor, 128M RAM
266.24 Bogomips Total
Last edited by koniosis on February 22nd, 2010, 2:23 pm, edited 1 time in total.
koniosis
Newbie
Newbie
Posts: 7
Joined: February 22nd, 2010, 1:55 am

Re: unrar - ARM processor (Linkstation) 3.41 beta 1 error!

Post by koniosis »

rarlabs.com have accepted the binary, it can now be downloaded from:

http://www.rarlab.com/rar/unrar-3.9.9-arm.gz

And is listed on http://www.rarlab.com/rar_add.htm as "UnRAR for ARM Linux Command line freeware ARM Linux UnRAR."

Enjoy!
Post Reply