Save
Saving
  • pbretz pbretz

    One observation, when processing using “render” : true, records are processed, but the performance seems to be noticeably slower than when using the GUI. Is this to be expected? Is it possible that “enable_bot” : true is actually working but takes longer to start processing the JSON feed than when enabling through the GUI?

    posted in Templater Bot Deployment read more
  • pbretz pbretz

    I’m using a Mac Pro running MacOS High Sierra. I’ve been using:

    ./templater.sh -v ‘CC 2019’ -ui

    Yes, I’ve been using the settings you show in your post:

    “render” : false,
    “replicate” : false,
    “enable_bot” : true

    I’ve also been using the bot paramaters:

    “action_render” : true,
    “action_replicate” : false

    I don’t see any errors when the command loads, or when it finishes. The log doesn’t show any errors, It just doesn’t start processing records. If I use the UI with the same settings, from what I can tell, there are no issues.

    On a related note, processing is running fine using CLI and rendering Google worksheet data for another project using:

    “render” : true,
    “replicate” : false,
    “enable_bot” : false

    Pete

    posted in Templater Bot Deployment read more
  • pbretz pbretz

    Hi,

    I’m trying to enable Bot through the command line to process a JSON feed. I can successfully get Bot to process the feed when enabled if I’m doing this through AE’s GUI. I can’t get this work using the CLI. I’ve tried troubleshooting by:

    1. Using the CLI, I can successfully get Bot to process a record from my JSON feed if my templater-options.json file has tasks/render set to true. Processing successfully runs pre and post output scripts which change render-status in the feed from ready -> queued -> done
    2. If I change templater-options.json to tasks / render to false, and set tasks / bot_enable to true, I can launch the job through the CLI, and don’t see any errors. I get the message : ‘The Bot for Templater is now enabled.’. However, the record is not processed. I have ensured that the value of render-status has been reset to ‘ready’ before launching the CLI.

    Any suggestions why Bot is not processing the record?

    Pete

    posted in Templater Bot Deployment read more
  • pbretz pbretz

    Hi,

    I run a script after bot completes a job. The script runs three tasks. I originally setup the script to not run asynchronously, but AE crashed typically after executing the script. I switched to Asynchronous and the script runs to completion without AE crashing. A terminal window launches now, however, to show progress of the scripts. I don’t see any errors, but each job opens up a new terminal window. Is there anyway to prevent the terminal window opening?

    Pete

    posted in Templater Event Scripts read more
  • pbretz pbretz

    @jon looks like I needed an absolute path for the aws command. All’s working now! Thanks for the help.

    posted in Templater Event Scripts read more
  • pbretz pbretz

    AfterCodecs works great. I have a script which waits till rendering is complete and then runs a script with an aws command line call to upload the rendered video to s3. I can run the script from the command line, but when templater bot calls the script it doesn’t complete. I don’t see anything in the templater log that indicates an error. I’ve also tried suppressing output from aws with no success. Are there any restrictions on the commands that can be called within a script file?

    posted in Templater Event Scripts read more
  • pbretz pbretz

    @jon thanks for the suggestions! I’m going to try AfterCodecs first which seems to be the most streamlined solution.

    posted in Templater Event Scripts read more
  • pbretz pbretz

    I’m using Bot to render videos using a JSON feed. I need to render the videos as mp4’s and then upload to AWS S3 as they are rendered. AE won’t render videos as mp4’s which requires me to send a replicate to a watch folder for AME to process. Is there anyway through the bot process that I can use an event script that is triggered upon completion of the rendering by AME? Or is there a different way to approach this? Thanks for any suggestions.

    Pete

    posted in Templater Event Scripts read more