The Bot > Event Scripts > Troubleshooting Event Scripts

Troubleshooting Event Scripts

Use the following suggestions to help you troubleshoot your event scripts if they do not execute as expected.

Verify the full command line incantation that Templater uses

  1. Open the templater.log file and search the text file for the phrases POST JOB SCRIPT, POST BATCH SCRIPT, or BOT SHUTDOWN depending on which event script you are troubleshooting.
  2. Locate the log line that shows a statement starting with "Full command line..." Highlight only the full command line as reported by Templater, and copy it to the clipboard.
  3. Start a new command line session and paste the full command line at the prompt. Press enter.
  4. Verify that your script executes as expected.

Log script output to a file

  1. Inside your script file, log output messages to a text file.
  2. After Templater finishes its tasks, inspect the log file to see if your script generated expected results.

Verify permissions of script files

  1. Verify that the script file is executable by the user running After Effects.
  2. If the user does not have permission to execute the script file, a user with administrator privileges should set them for the script file. For example, on OSX, you can enter chmod u+x myPostJob.sh to make it executable for the current user. On Windows, use the Security tab in the script file's Properties dialog.