PAR2 and Unrar not working.
Forum rules
Help us help you:
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.
-
- Newbie
- Posts: 25
- Joined: February 13th, 2008, 5:02 pm
PAR2 and Unrar not working.
Hello all,
I'm having trouble getting Par2 and Unrar working.
I get the following message in the log files...
2008-02-16 11:42:19,308::INFO::_yenc module... NOT found!
2008-02-16 11:42:19,313::INFO::celementtree module... NOT found!
2008-02-16 11:42:19,317::INFO::par2 binary... NOT found!
2008-02-16 11:42:19,322::INFO::rar binary... NOT found
2008-02-16 11:42:19,326::INFO::unzip binary... NOT found!
2008-02-16 11:42:19,331::WARNING::Perl interpreter... NOT found, cannot EMail!
If I log into the box (Unix/DS107e) I can type par2 or par2repair or unrar and they are found/work.
Can anyone give me some advice on this please?
Thanks
Jeff
I'm having trouble getting Par2 and Unrar working.
I get the following message in the log files...
2008-02-16 11:42:19,308::INFO::_yenc module... NOT found!
2008-02-16 11:42:19,313::INFO::celementtree module... NOT found!
2008-02-16 11:42:19,317::INFO::par2 binary... NOT found!
2008-02-16 11:42:19,322::INFO::rar binary... NOT found
2008-02-16 11:42:19,326::INFO::unzip binary... NOT found!
2008-02-16 11:42:19,331::WARNING::Perl interpreter... NOT found, cannot EMail!
If I log into the box (Unix/DS107e) I can type par2 or par2repair or unrar and they are found/work.
Can anyone give me some advice on this please?
Thanks
Jeff
Re: PAR2 and Unrar not working.
The _yenc and celemtree messages mean that you did not install these Python modules.
Also, it looks like you don't have Perl installed (required for email).
The rest, I'm not sure. You could try the attached test script.
It should produce some thing like this:
!usr!bin!par2
!usr!bin!unrar
!usr!bin!nice
!usr!bin!unzip
!usr!bin!perl
(The slashes have been replaced by ! chars, to bypass the idiot security filter that this forum uses.)
If anything is missing, it means that SABnzbd cannot find it using the $PATH variable.
Also, it looks like you don't have Perl installed (required for email).
The rest, I'm not sure. You could try the attached test script.
It should produce some thing like this:
!usr!bin!par2
!usr!bin!unrar
!usr!bin!nice
!usr!bin!unzip
!usr!bin!perl
(The slashes have been replaced by ! chars, to bypass the idiot security filter that this forum uses.)
If anything is missing, it means that SABnzbd cannot find it using the $PATH variable.
-
- Newbie
- Posts: 25
- Joined: February 13th, 2008, 5:02 pm
Re: PAR2 and Unrar not working.
I get the following back...
DiskStation> python testpath.py.txt
/volume1/opt/bin/par2
/volume1/opt/bin/unrar
/volume1/opt/bin/unzip
so its on the path.
But I'm not sure why SAB can't find them.
DiskStation> python testpath.py.txt
/volume1/opt/bin/par2
/volume1/opt/bin/unrar
/volume1/opt/bin/unzip
so its on the path.
But I'm not sure why SAB can't find them.
Re: PAR2 and Unrar not working.
Which SABnzbd version do you use?
Older ones are sensitive to where they start from.
Try this:
cd full-path-to-sabnzbd
python SABnzbd.py "whatever options"
If that doesn't work, I'm afraid that you need to add additional "print" statements in the
Python code to find this problem.
The code is located in the file "newsunpack.py" in the folder sabnzbd.
Older ones are sensitive to where they start from.
Try this:
cd full-path-to-sabnzbd
python SABnzbd.py "whatever options"
If that doesn't work, I'm afraid that you need to add additional "print" statements in the
Python code to find this problem.
The code is located in the file "newsunpack.py" in the folder sabnzbd.
Re: PAR2 and Unrar not working.
Reinstall one of the modules (par2, yenc etc) again and see if that helps... I have no problems with any of the versions of sab on my Ubuntu server(linux).
edit: I see that you got the same problem with the older versions http://synology.com/enu/forum/viewtopic ... da9384b4b0
Did you manage to fix it with the old version?
did you get any errors or found strange things when installing SABnzbd by the instructions from that forum/site?
edit: I see that you got the same problem with the older versions http://synology.com/enu/forum/viewtopic ... da9384b4b0
Did you manage to fix it with the old version?
did you get any errors or found strange things when installing SABnzbd by the instructions from that forum/site?
Last edited by DeXeS on February 16th, 2008, 1:13 pm, edited 1 time in total.
Re: PAR2 and Unrar not working.
Ubuntu is tested by the core team, NAS/SAN's are not.
However, I suggest you send "mdamen" a personal message through this forum,
he's working on SABnzbd on Synology sytems.
I know he has it running on his box.
However, I suggest you send "mdamen" a personal message through this forum,
he's working on SABnzbd on Synology sytems.
I know he has it running on his box.
-
- Newbie
- Posts: 25
- Joined: February 13th, 2008, 5:02 pm
Re: PAR2 and Unrar not working.
thanks for the support guys.
I think I've got it working now.
I updated from 3.1RC1 to 3.1 and changed back to the normal template (not plush).
It seems to be working now, so I'm going to let it run for a week and then change the template again.
Thanks again.
Jeff Porter
I think I've got it working now.
I updated from 3.1RC1 to 3.1 and changed back to the normal template (not plush).
It seems to be working now, so I'm going to let it run for a week and then change the template again.
Thanks again.
Jeff Porter
-
- Newbie
- Posts: 25
- Joined: February 13th, 2008, 5:02 pm
Re: PAR2 and Unrar not working.
ok, so I setup my box to download, par2 and unrar a file last night.
But I got these error messages...
2008-02-19 03:40:52,017 ERROR [newsunpack] Unknown exception while running par2_repair on set xor-pb.313 Traceback (most recent call last): File "/volume1/opt/SABnzbd-0.3.1/sabnzbd/newsunpack.py", line 598, in par2_repair actionname, joinables) File "/volume1/opt/SABnzbd-0.3.1/sabnzbd/newsunpack.py", line 687, in PAR_Verify startupinfo=stup, creationflags=creationflags) File "/opt/lib/python2.4/subprocess.py", line 543, in __init__ errread, errwrite) File "/opt/lib/python2.4/subprocess.py", line 975, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
2008-02-19 03:40:52,371 ERROR [newsunpack] Unknown exception while running rar_unpack on PB.nzb Traceback (most recent call last): File "/volume1/opt/SABnzbd-0.3.1/sabnzbd/newsunpack.py", line 317, in rar_unpack nzo, actionname, extraction_path) File "/volume1/opt/SABnzbd-0.3.1/sabnzbd/newsunpack.py", line 380, in RAR_Extract startupinfo=stup, creationflags=creationflags) File "/opt/lib/python2.4/subprocess.py", line 543, in __init__ errread, errwrite) File "/opt/lib/python2.4/subprocess.py", line 975, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
Now I'm guessing the unrar failed since par2 failed.
But I'm not sure why par2 failed.
I'm pretty sure that /opt/ is linked from /volume1/opt/, I'll double check this when I get home though.
Its possible I used a softlink and the box has been rebooted.
What do you lot think?
But I got these error messages...
2008-02-19 03:40:52,017 ERROR [newsunpack] Unknown exception while running par2_repair on set xor-pb.313 Traceback (most recent call last): File "/volume1/opt/SABnzbd-0.3.1/sabnzbd/newsunpack.py", line 598, in par2_repair actionname, joinables) File "/volume1/opt/SABnzbd-0.3.1/sabnzbd/newsunpack.py", line 687, in PAR_Verify startupinfo=stup, creationflags=creationflags) File "/opt/lib/python2.4/subprocess.py", line 543, in __init__ errread, errwrite) File "/opt/lib/python2.4/subprocess.py", line 975, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
2008-02-19 03:40:52,371 ERROR [newsunpack] Unknown exception while running rar_unpack on PB.nzb Traceback (most recent call last): File "/volume1/opt/SABnzbd-0.3.1/sabnzbd/newsunpack.py", line 317, in rar_unpack nzo, actionname, extraction_path) File "/volume1/opt/SABnzbd-0.3.1/sabnzbd/newsunpack.py", line 380, in RAR_Extract startupinfo=stup, creationflags=creationflags) File "/opt/lib/python2.4/subprocess.py", line 543, in __init__ errread, errwrite) File "/opt/lib/python2.4/subprocess.py", line 975, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
Now I'm guessing the unrar failed since par2 failed.
But I'm not sure why par2 failed.
I'm pretty sure that /opt/ is linked from /volume1/opt/, I'll double check this when I get home though.
Its possible I used a softlink and the box has been rebooted.
What do you lot think?
-
- Newbie
- Posts: 25
- Joined: February 13th, 2008, 5:02 pm
Re: PAR2 and Unrar not working.
ok, so the link is a hard link.
Line 975 of Subprocess is this...
# Parent
os.close(errpipe_write)
if p2cread and p2cwrite:
os.close(p2cread)
if c2pwrite and c2pread:
os.close(c2pwrite)
if errwrite and errread:
os.close(errwrite)
# Wait for exec to fail or succeed; possibly raising exception
data = os.read(errpipe_read, 1048576) # Exceptions limited to 1 MB
os.close(errpipe_read)
if data != "":
os.waitpid(self.pid, 0)
child_exception = pickle.loads(data)
raise child_exception #THIS IS 975
Any ideas?
Jeff Porter
Line 975 of Subprocess is this...
# Parent
os.close(errpipe_write)
if p2cread and p2cwrite:
os.close(p2cread)
if c2pwrite and c2pread:
os.close(c2pwrite)
if errwrite and errread:
os.close(errwrite)
# Wait for exec to fail or succeed; possibly raising exception
data = os.read(errpipe_read, 1048576) # Exceptions limited to 1 MB
os.close(errpipe_read)
if data != "":
os.waitpid(self.pid, 0)
child_exception = pickle.loads(data)
raise child_exception #THIS IS 975
Any ideas?
Jeff Porter
-
- Newbie
- Posts: 25
- Joined: February 13th, 2008, 5:02 pm
Re: PAR2 and Unrar not working.
Note: I hand cranked Par2repair on my files and download is good.
"All files are correct, repair is not required."
"All files are correct, repair is not required."
-
- Newbie
- Posts: 25
- Joined: February 13th, 2008, 5:02 pm
Re: PAR2 and Unrar not working.
anyone got any tips for me to try and resolve this?
Re: PAR2 and Unrar not working.
I have no advice... have you mailed mdamen as Shypike suggested?
shypike wrote: However, I suggest you send "mdamen" a personal message through this forum,
he's working on SABnzbd on Synology sytems.
I know he has it running on his box.
-
- Newbie
- Posts: 25
- Joined: February 13th, 2008, 5:02 pm
Re: PAR2 and Unrar not working.
success!!
It was one of several things, not sure which, but I did the following...
Delete the SABnzb.ini file and let the system create a new one.
Apply 777 to all files/directories etc.
Can't remember what the 3rd thing I did was.
It was one of several things, not sure which, but I did the following...
Delete the SABnzb.ini file and let the system create a new one.
Apply 777 to all files/directories etc.
Can't remember what the 3rd thing I did was.
Re: PAR2 and Unrar not working.
nice that it's working now!