par2 error in ARM Linux

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
freeze
Newbie
Newbie
Posts: 14
Joined: January 13th, 2010, 1:26 pm

par2 error in ARM Linux

Post by freeze »

Hi,

I have been running SABnzbd for ages on my QNAP NAS. I had some problems with the release candidates' par checking (the WindowsError not defined one, that was reported by someone else). Lately I switched to 0.5.0 final and now par checking and repairing seems to be completely broken for me.

The error I get through the Web Interface is:

Reparing failed. [Errno 8] Exec format error

I looked at the logs but couldn't find anything really...do you have any ideas?

Thanks
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: par2 error in ARM Linux

Post by shypike »

I suspect that is what the OS reports when SABnzbd launches par2 and the OS doesn't like it.
Did you get this from a QNAP repository?
If so, please report this to the QNap package creators,
we are not in a position to support NAS systems.
freeze
Newbie
Newbie
Posts: 14
Joined: January 13th, 2010, 1:26 pm

Re: par2 error in ARM Linux

Post by freeze »

Hello shypike,

thanks for the quick reply...

No, I am actually not using the QNAP package system (QPKG). This was a manual install with python from an optware feed. Did anything change concerning the par2 execution? It used to work quite well until now...

Thanks

freeze
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: par2 error in ARM Linux

Post by shypike »

Have you tried to run the par2 utility separately?
freeze
Newbie
Newbie
Posts: 14
Joined: January 13th, 2010, 1:26 pm

Re: par2 error in ARM Linux

Post by freeze »

I actually use par2 quite often from the command line and never had any problems. It also worked without problems in 0.4.x, so I suspected a change in the code that calls the command. I disabled the par2 quick checking yesterday to see if that made any difference, but sadly it didn't :(

edit:
on a side note:

my par2 is actually a script which calls the original par2 containing

Code: Select all

/share/MD0_DATA/optware/lib/ld-linux.so.3 --library-path /share/MD0_DATA/optware/lib /opt/bin/par2.run "$@"
I use this because of different library versions...could this be the culprit? Would this be fixable?

Many thanks
Last edited by freeze on March 2nd, 2010, 12:45 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: par2 error in ARM Linux

Post by shypike »

I hope the first line of the script is the shebang, else the OS won't know what to do with it.

Code: Select all

#!/bin/sh
Or something like that.
Don't forget to do a chmod +x

(http://en.wikipedia.org/wiki/Shebang_%28Unix%29)
freeze
Newbie
Newbie
Posts: 14
Joined: January 13th, 2010, 1:26 pm

Re: par2 error in ARM Linux

Post by freeze »

no actually that was the complete script I have been using for quite some time now (instead of using a chroot environment for my optware)

I have just switched to another optware feed though which makes it possible to use par2 without these modifications AND without chroot...will report back as soon as I get something downloaded ;)
freeze
Newbie
Newbie
Posts: 14
Joined: January 13th, 2010, 1:26 pm

Re: par2 error in ARM Linux

Post by freeze »

it works when using the alternative par2 without using a chroot environment...

thanks for you help
Post Reply