tbunnyman/HandBreak-It — Issue #4: Crash on OS X without handbrake installed
Author: tbunnyman
Created: 2011-11-05 20:35:04+00:00
State: open

WHen running list presets without hand brake CLI installed it crashes
bunny5erv:tbunnyman-HandBreak-It bunnyman$ ./HandBreak.py -l
Traceback (most recent call last):
File "./HandBreak.py", line 270, in
print_presets()
File "./HandBreak.py", line 146, in print_presets
handbrake = HandBrake()
File "./HandBreak.py", line 45, in __init__
self._handBrakeCLI = self.find_handbrake()
File "./HandBreak.py", line 103, in find_handbrake
output = check_output(['which', 'HandBrakeCLI'])[0]
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 537, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['which', 'HandBrakeCLI']' returned non-zero exit status 1