Page 1 of 1

par2_repair - errno 2 no such file or directory

Posted: July 31st, 2011, 2:03 am
by stitch84
Hi,

i have a problem with my SABnzbd running on Debian.
Sometimes i get the following error after the download of the content is complete.

Code: Select all

2011-07-31 08:52:56,761::ERROR::[newsunpack:790] Fehler "[Errno 2] No such file or directory" beim Ausf?hren von par2_repair auf ***
2011-07-31 08:52:56,762::INFO::[newsunpack:791] Traceback: 
Traceback (most recent call last):
  File "/usr/local/src/SABnzbd/sabnzbd/newsunpack.py", line 771, in par2_repair
    setname, joinables)
  File "/usr/local/src/SABnzbd/sabnzbd/newsunpack.py", line 888, in PAR_Verify
    startupinfo=stup, creationflags=creationflags)
  File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Can anyone tell me what´s going wrong there?

Re: par2_repair - errno 2 no such file or directory

Posted: July 31st, 2011, 2:15 am
by stitch84
OK this is strange.
Sometimes i can see the message "no par2 program found", i guess that´s the reason for the error.
But when i restart SABnzbd it works and SABnzbd can find the par2 program.

par2 is installed in /usr/local/bin and this directory is in my PATH.

Any idea?

Re: par2_repair - errno 2 no such file or directory

Posted: July 31st, 2011, 2:28 am
by shypike
Well, either SABnzbd sees par2 at startup or it doesn't.
If it doesn't a warning will be displayed.
Other that that, I have no idea at why par2 is only sometimes seen.
BTW, you shouldn't see the exception, because SABnzbd shouln't even attempt
to start par2 when in hasn't seen it at startup.
Why par2 tries to play hide and seek, I don't know...