Problem with CLI script
-
Hi
I’ve upgraded to 2.7 and I am trying to run the CLI templater.sh command provided on your website. I am not quite clear what has changed as AE exits immediately with the message{ err_code : 1, desc : "Error starting Templater application", ae : "Templater Error: Could not initialize user interface. Reported on line 36", details : "undefined is not an object", reported : "2018-4-18 @ 18:46:20 " }
which is not helpful enough.
My guess is that with 2.7 some params in the templater-options have changed, but I am not clear which ones. (2.6 gave a more verbatim warning like "“An Output Module template was not found”) I’ve also downloaded the newest templater.sh file from the GitHup repository, which was 27 das old.
I am reverting to 2.6 for now, as this is a productive system. Thank you for any pointers.
-
Sorry you’re having that issue. We’re working hard to get the docs and GitHub repo updated to reflect all of the new features of 2.7. We’re hoping to have those up in the next few days. In the meantime, we added a new setting to the Templater Preferences. Can I have you try adding this line into the
prefs
object of your templater-options.json:"supress_ae_dialogs" : true
We’re going to be issuing an update soon, so for 2.7.1 that option will no longer be required.
Also, if you are launching the Bot with the CLI, make sure that you use a
-ui
argument in your shell script.