Page 1 of 1

par not working

Posted: February 6th, 2015, 4:52 am
by tarzanboy76
I seem to have a problem where some downloads report the following error;

Code: Select all

Repairing failed, [Errno 2] No such file or directory
Looking through my logs, this seems to be the relevant section;

Code: Select all

Traceback (most recent call last):
  File "/opt/sabnzbd/sabnzbd/newsunpack.py", line 1042, in par2_repair
    setname, joinables, single=single)
  File "/opt/sabnzbd/sabnzbd/newsunpack.py", line 1188, in PAR_Verify
    startupinfo=stup, creationflags=creationflags)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
I did some quick googling, and it seems that most people with this error don't have par2 properly installed. However, I've checked that it installed, checked that it is in the path, and checked that it is accessible by the user that sabnzbd runs under.

What else could be causing this problem??

Re: par not working

Posted: February 6th, 2015, 7:58 am
by sander
I would set SAB's logging to "+Debug", let it run again, and then see what the logging says in the 10-20 lines before that traceback. I expect to see the command that caused the traceback.