Page 3 of 5

Re: [Scan-Script] Add packed nzb-files to queue

Posted: 11 Apr 2016, 21:37
by hugbug
You need folder rarfile. At best download the script with required libraries using button "Download zip" on github, then unpack it into scripts directory of nzbget.

Re: [Scan-Script] Add packed nzb-files to queue

Posted: 13 Apr 2016, 05:16
by clayboy
that didn't work

Re: [Scan-Script] Add packed nzb-files to queue

Posted: 14 Jul 2016, 15:32
by prinz2311
Updated rarfile lib. Now supports rar 5 file format.

Re: [Scan-Script] Add packed nzb-files to queue

Posted: 21 Aug 2016, 02:57
by jeeperv6
Hi,

I've got 2 VM's running NZBGet. I added this script as some of my NZB sources are rar'd and was tired of manually un-raring into the import folder.

On VM #1 this script runs flawlessly. On VM #2, I get the same errors as quite a few people.

Both VM's are Windows 7 Ultimate, 2gb ram, 40gb hard drives. Both have NZBGet & Python installed.

Is there anything else this script requires to run other than NZBGet & Python? I've compared both VM's and the software/setup is identical. The only difference is VM #1 has the videosort extension and VM #2 doesn't.

I know I could clone the working VM #1, but I'm thinking there's something missing on VM #2 and that could be what is causing other people to have the same errors as me.

Thanks for any light you can shed on this. The script works great (on VM #1 anyway)!

Re: [Scan-Script] Add packed nzb-files to queue

Posted: 06 Sep 2016, 03:57
by jeeperv6
After a little bit more experimenting, I found out that this script doesn't run properly under certain versions of Python.

VM #1 had Python 2.7.10 installed and the script worked 100%.

VM #2 had Python 2.7.12 installed and the script gave me the same errors are some people had previously mentioned.

I am guessing somewhere between version .10 & version .12 something got changed in Python.

For anyone who wants to run this script, I would suggest checking which version of Python you are running.

Otherwise, under Python 2.7.10 this script does the job beautifully. Thank you to the script creator! :)

Re: [Scan-Script] Add packed nzb-files to queue

Posted: 14 Sep 2016, 01:24
by prinz2311
I tried it with 2.7.12. Works for me.

Re: [Scan-Script] Add packed nzb-files to queue

Posted: 09 Jan 2017, 17:04
by freschnek
Hi

I got the following error when i add a packed nzb-file. Phyton 2.7.13 on Windowshomeserver 2011 installed.
....
Mon Jan 09 2017 17:54:50 unzip: rarfile.rarfile.RarCannotExec: Unrar not installed? (rarfile.UNRAR_TOOL='unrar')
INFO Mon Jan 09 2017 17:54:50 unzip: raise RarCannotExec("Unrar not installed? (rarfile.UNRAR_TOOL=%r)" % UNRAR_TOOL)
INFO Mon Jan 09 2017 17:54:50 unzip: File "J:\ServerFolders\Downloads\scripts\rarfile\rarfile.py", line 2800, in custom_popen
INFO Mon Jan 09 2017 17:54:50 unzip: p = custom_popen(cmd)
INFO Mon Jan 09 2017 17:54:50 unzip: File "J:\ServerFolders\Downloads\scripts\rarfile\rarfile.py", line 877, in _extract
INFO Mon Jan 09 2017 17:54:50 unzip: self._extract(fnlist, path, pwd)
INFO Mon Jan 09 2017 17:54:50 unzip: File "J:\ServerFolders\Downloads\scripts\rarfile\rarfile.py", line 811, in extractall
INFO Mon Jan 09 2017 17:54:50 unzip: rarf.extractall(path = dir, members = rf)
INFO Mon Jan 09 2017 17:54:50 unzip: File "J:\ServerFolders\Downloads\scripts\unzip.py", line 263, in <module>
INFO Mon Jan 09 2017 17:54:50 unzip: Traceback (most recent call last):

Re: [Scan-Script] Add packed nzb-files to queue

Posted: 10 Jan 2017, 11:15
by freschnek
now it works

rarfile.rarfile.RarCannotExec: Unrar not installed? (rarfile.UNRAR_TOOL='unrar') replace unrar with the full Path of the unrar tool.

Re: [Scan-Script] Add packed nzb-files to queue

Posted: 24 Aug 2018, 08:31
by zaemon
Thanks for this script.

As others I have the "gzipped" error message if though I'm trying to process a rar file. I'm running Windows 10.

Any thoughts?

Re: [Scan-Script] Add packed nzb-files to queue

Posted: 18 Feb 2019, 00:49
by toro
Script is not working..and many of the nzb are either zipped or rar...and I find myself constantly having to unpack them so I can download the nzb, I think I am just going back to sab, I like nzbget. its quick and not a resource hog..but this is getting to involved to get a simple task done.