So I wrote a python script to automatically remove torrents from transmission using transmissionrpc. If I run the script manually in terminal using 'python /pathname/tc.py' where pathname is the path to the file, it works fine. However, I want to set it up as a folder action in automator. I added a Run Shell Script action to my workflow with /bin/bash as the shell and Pass input set to stdin. I put the same command in but when I run the workflow, I receive the following error:
Run Shell Script failed - 1 error
Traceback (most recent call last):
As far as I can tell from scouring the web it has to do with the Run Shell Script action's shell not having access to the same things as the default terminal shell. Unfortunately I have no idea how to fix this...
Any advice would be awesome. Thanks