Can't get nzbget to unrar

Get help, report and discuss bugs.
Post Reply
Dantes

Can't get nzbget to unrar

Post by Dantes » 04 Sep 2009, 07:06

Hi,

first of all, I'm a newbie and managed to get nzbget working for my nas (IcyBox) via optware (which is a big accomplishment for me).

My problem is, nzbget won't unrar the downloaded files. I spend hours over this, tried a few things, but I couldn't find out what's wrong.

The log doesn't show any errors:

Code: Select all

Sat Jan  3 13:21:24 1970	INFO	Collection Family Guy - 7x16 - Peter_s Progress completely downloaded
Sat Jan  3 13:21:24 1970	INFO	Queueing Family Guy - 7x16 - Peter_s Progress/family.guy.716.pdtv-lol for par-check
Sat Jan  3 13:21:24 1970	INFO	Queueing Family Guy - 7x16 - Peter_s Progress/family.guy.716.pdtv.sample-lol.avi for par-check
Sat Jan  3 13:21:25 1970	INFO	Executing post-process-script for Family Guy - 7x16 - Peter_s Progress/family.guy.716.pdtv-lol
Sat Jan  3 13:21:27 1970	DETAIL	Post-Process: *** NZBGet post-process script ***
Sat Jan  3 13:21:28 1970	DETAIL	Post-Process: This script is supposed to be called from nzbget.
Sat Jan  3 13:21:28 1970	INFO	Completed post-process-script for Family Guy - 7x16 - Peter_s Progress/family.guy.716.pdtv-lol
Sat Jan  3 13:21:29 1970	INFO	Executing post-process-script for Family Guy - 7x16 - Peter_s Progress/family.guy.716.pdtv.sample-lol.avi
Sat Jan  3 13:21:30 1970	DETAIL	Post-Process: *** NZBGet post-process script ***
Sat Jan  3 13:21:30 1970	DETAIL	Post-Process: This script is supposed to be called from nzbget.
Sat Jan  3 13:21:30 1970	INFO	Completed post-process-script for Family Guy - 7x16 - Peter_s Progress/family.guy.716.pdtv.sample-lol.avi
I'm using the following postprocessing script:

postprocess-example.sh
postprocess-example.conf

I cannot see in the log that it's actually doing a par-check. And this line:

Code: Select all

Sat Jan  3 13:21:25 1970	INFO	Executing post-process-script for Family Guy - 7x16 - Peter_s Progress/family.guy.716.pdtv-lol
What happened to the ".avi". I don't know, maybe this doesn't mean anything.

Also, I put the unrar file in the same directory as the postprocessing script, is this correct?

Where's the error, can somebody point me into the right direction?

Thanks

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Can't get nzbget to unrar

Post by hugbug » 04 Sep 2009, 08:00

You are trying to use a postprocessing script from nzbget 0.7.0-testing with nzbget 0.6.0. It won't work.
You should use a script designed for 0.6.0 - this one, for example.

However I recommed to upgrade to version 0.7.0-testing, which includes a better postprocessing script. What optware-target you are using? I provide binaries of 0.7.0-testing for few optware platforms -here.

Dantes

Re: Can't get nzbget to unrar

Post by Dantes » 04 Sep 2009, 08:17

I've downloaded the optware package here:

http://de.nas-4220.org/index.php/Packages:Optware

and yes, I think I'm using the script from the newest version. Is it also possible that I've put the .sh and .conf. in the wrong folder or would I have gotten a different error then?

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Can't get nzbget to unrar

Post by hugbug » 04 Sep 2009, 08:43

Try to install 0.7.0 packages for "cs05q3armel" and "nslu2". May be one of them will work.

Code: Select all

ipkg install http://sourceforge.net/projects/nzbget/files/nzbget-testing/nzbget-0.7.0-testing-r342-bin-nslu2-armeb.ipk
or

Code: Select all

http://sourceforge.net/projects/nzbget/files/nzbget-testing/nzbget-0.7.0-testing-r342-bin-nslu2-armeb.ipk
Chances are not big but who knows :).

If was planning of creating a testing package for optware, but I need time for it.
Dantes wrote:Is it also possible that I've put the .sh and .conf. in the wrong folder or would I have gotten a different error then?
No, that's not the case. The messages I see in your log show that you are using a newer version of postprocessing script, which is not compatible with your nzbget version.

Dantes

Re: Can't get nzbget to unrar

Post by Dantes » 04 Sep 2009, 16:39

Thank you very much hugbug, using the older script did the trick, it's working perfectly now.

Just a small thing:

Code: Select all

Sun Jan  4 10:25:11 1970	DETAIL	Post-Process: All OK
Sun Jan  4 10:25:11 1970	DETAIL	Post-Process: ls: *.rar: No such file or directory
Sun Jan  4 10:25:11 1970	INFO	Unpack: Cleaning up
Sun Jan  4 10:25:12 1970	DETAIL	Post-Process: rm: cannot remove `*.nzb': No such file or directory
Sun Jan  4 10:25:12 1970	DETAIL	Post-Process: rm: cannot remove `*.1': No such file or directory
Sun Jan  4 10:25:12 1970	DETAIL	Post-Process: rm: cannot remove `.sfv': No such file or directory
Sun Jan  4 10:25:13 1970	INFO	Completed post-process-script for Family Guy - 7x13 - Stew-roids/family.guy.713.pdtv-lol
I would like that it deletes all files in the incoming directory and only leaves the unpacked file.

Thanks again for doing such a great job!

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Can't get nzbget to unrar

Post by hugbug » 04 Sep 2009, 17:25

It should delete rar-files and some other unneeded files (nzb, sfv).
Doesn't it work for you?

Dantes

Re: Can't get nzbget to unrar

Post by Dantes » 04 Sep 2009, 17:35

No, unfortunately not, all files were still there.

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Can't get nzbget to unrar

Post by hugbug » 04 Sep 2009, 18:04

Have you set the option "DeleteRarFiles=1"? It's line 32 in postprocess-example.sh.

Dantes

Re: Can't get nzbget to unrar

Post by Dantes » 05 Sep 2009, 10:47

Thanks, now everything is working great :D

Post Reply

Who is online

Users browsing this forum: No registered users and 53 guests