Problem running SickRage post process script (Exit 127)
Posted: June 15th, 2015, 11:45 am
I've been using SABnzbd in conjunction with SickBeard for a long time and everything has worked great so far. I recently switched to SickRage, mainly for its ability to handle failed downloads, and was able to replicate my setup successfully. However, as of this afternoon the post-processing script sabToSickBeard.py refuses to work and gives me the error message: "Exit(127) env: python2: No such file or directory". I am very confused as to why this is so as this script has worked for me before and I haven't changed anything in the .py file.
I have been toying around with NZBGet, which I installed yesterday just to try it out, and CouchPotato and am wondering if that might've impacted the script. In the move from SickBeard to SickRage I changed the Post-Processing Scripts Folder in SAB to point to /Applications/SickRage/autoProcessTV instead of /Applications/Sick-Beard/autoProcessTV but as I've said earlier this worked fine initially.
One thing I have noticed is that the first line in the sabToSickBeard.py, hellaToSickBeard.py and mediaToSickbeard.py scripts in the Applications/SickRage/autoProcessTV folder is "#!/usr/bin/env python2" whereas the first line in the autoProcessTV.py script is "#!/usr/bin/env python" (as opposed to python2). In the Applications/Sick-Beard/autoProcessTV folder the three scripts autoProcessTV.py, hellaToSickBeard.py and sabToSickBeard.py all have "#!/usr/bin/env python" as the first line and do not mention python2.
I am a n00b as far as python is concerned and so am asking this question again, even though I've seen similar questions on other forums online, as I found the solutions a little baffling. I've gone through all the options on SickRage and SABnzbd and can't figure out what the issue is. I would greatly appreciate some help with this issue as I'd like to continue using SickRage. Thanks.
I have been toying around with NZBGet, which I installed yesterday just to try it out, and CouchPotato and am wondering if that might've impacted the script. In the move from SickBeard to SickRage I changed the Post-Processing Scripts Folder in SAB to point to /Applications/SickRage/autoProcessTV instead of /Applications/Sick-Beard/autoProcessTV but as I've said earlier this worked fine initially.
One thing I have noticed is that the first line in the sabToSickBeard.py, hellaToSickBeard.py and mediaToSickbeard.py scripts in the Applications/SickRage/autoProcessTV folder is "#!/usr/bin/env python2" whereas the first line in the autoProcessTV.py script is "#!/usr/bin/env python" (as opposed to python2). In the Applications/Sick-Beard/autoProcessTV folder the three scripts autoProcessTV.py, hellaToSickBeard.py and sabToSickBeard.py all have "#!/usr/bin/env python" as the first line and do not mention python2.
I am a n00b as far as python is concerned and so am asking this question again, even though I've seen similar questions on other forums online, as I found the solutions a little baffling. I've gone through all the options on SickRage and SABnzbd and can't figure out what the issue is. I would greatly appreciate some help with this issue as I'd like to continue using SickRage. Thanks.