AE sometimes shows alert "Cannot execute script. The scripting plugin is not installed."
Problem:
Sometimes AE displays the alert "Cannot execute script. The scripting plugin is not installed."
This requires human interaction, i.e. somebody needs to close the alert, to continue batch processing. In addition to that, the script is not executed.
Background:
I'm running AE on the commandline to batch warp stabilize footage.
A PHP script calls AE via the commandline roughly as follows (note the absence of -noui):
"C:\[full path to AE]\AfterFX.com" -r "[full path to jsx]"
The first call runs a script that adds the footage to a composition and does some tricks to let the Warp Stabilizer Analysis and Stabilization phases commence and finish. Additionally, the composition is added to the render queue.
The result is saved to an aepx-project file.
The second call runs a script that opens the new project file and starts rendering (I previously used aerender.exe for this, but it is necessarily headless and sometimes fails to validate the license and just fails; the same currently happens with afterfx.com -noui).
Both scripts contain try/catch-blocks around almost the entire script and are contained in app.beginSuppressDialogs() and app.endSuppressDialogs(false).
Message was edited by: author Premature submit, problem description was absent.