I have a service in Automator that I pass a folder and it runs on every file in the folder. It uses a python script to read the album field from an mp3's id3 tags and write it to the Finder comment field:
This worked fine in Mojave, with each file's album being written to its comment. Now with Catalina when I run the service, every comment gets set to the following:
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file '/Users/thompcha/Documents/Scripts/album.py': [Errno 1] Operation not permitted
- The script works fine if I run it manually from the terminal
- I granted Automator, Terminal, and Python full disk access in System Preferences
- I installed python via Homebrew as suggested in responses to similar questions
- I made the script chmod 777 and changed the owner to myself
The answer found here does not work for me because I need to pass the output of the python script to the rest of the shell script for further execution.
What can I do to make automator successfully execute my python script?