par2_repair - errno 2 no such file or directory

Get help with all aspects of 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
stitch84
Newbie
Newbie
Posts: 5
Joined: July 9th, 2011, 4:34 pm

par2_repair - errno 2 no such file or directory

Post 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?
stitch84
Newbie
Newbie
Posts: 5
Joined: July 9th, 2011, 4:34 pm

Re: par2_repair - errno 2 no such file or directory

Post 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?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: par2_repair - errno 2 no such file or directory

Post 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...
Post Reply