- Code: Select all
File "make_script.py", line 159, in <module>
File "make_script.py", line 51, in main
File ".../make_scripts/Parsers/makeX.py", line 172, in extractImage
process = subprocess.Popen(commandList)
File "/usr/local/python-2.7.2/lib/python2.7/subprocess.py", line 679, in __init__
File "/usr/local/python-2.7.2/lib/python2.7/subprocess.py", line 1228, in _execute_child
OSError: [Errno 13] Permission denied
I've tried using the pdb module to find where the error occurs, but no luck. I've also checked all the file permissions and they have 'rwx'. The only thing I haven't checked (and don't have permissions to change) are the /usr/local/python-2.7.2/xxxx directories.
Does anyone have any advice on how I can debug this to find extactly what directory is causing this problem?