David_Allchin | 2022-11-28 06:21:51 UTC | #1
We are finding we are unable to process YAML files with the most recent versions of Archy. The issue occurs with existing YAML files, and when creating a new one from a new essentially blank flow.
2.14.0 is the latest version that processes YAML successfully. All subsequent versions produce the following error.
Command: 'createImportFile' the YAML file contained invalid characters. Please ensure the contents are valid YAML and are formatted correctly. error(s) encountered.
Log file:
Downloading https://sdk-cdn.mypurecloud.com/archy/latest/archy-linux.zip... Archy version 2.15.2 Installing module "powershell-yaml"... [1 - Phone Bridge and Welcome] (1/1) 🏃 Processing file "/builds/esolutions/service-desk/genesys-configuration/flows/inboundcall/1 - Phone Bridge and Welcome.yaml"... [1 - Phone Bridge and Welcome] name: "1 - Phone Bridge and Welcome", type: "inboundCall", Git commit hash: 14efcc43599fed347413b7099936121f2323673d 2022-11-28 15:20:42 +1100 [1 - Phone Bridge and Welcome] checking for errors in the flow... Architect Scripting running under Node version '14.18.3' ArchSessionId:SkCdxpWvo options yaml file path '/builds/esolutions/service-desk/genesys-configuration/.archy/config' resolved to '/builds/esolutions/service-desk/genesys-configuration/.archy/config'. loading yaml from file path '/builds/esolutions/service-desk/genesys-configuration/.archy/config'. setting the Archy exit code to 100 An error occurred.
Archy - Architect Yaml Flow Processor ver. 2.15.2 - Failure
DateTime: Mon Nov 28 2022 05:00:37 GMT+0000 (Coordinated Universal Time) Summary Command: 'createImportFile' the YAML file contained invalid characters. Please ensure the contents are valid YAML and are formatted correctly. error(s) encountered. using '/builds/esolutions/service-desk/genesys-configuration' as the home directory since none was defined. Log: /builds/esolutions/service-desk/genesys-configuration/debug/archy-debug-2022-11-28T05.00.37.404Z.txt execution complete. exit code: 100 WARNING: [1 - Phone Bridge and Welcome] (1/1) ❌ inboundCall "1 - Phone Bridge and Welcome" failed to run createImportFile. at /builds/esolutions/service-desk/genesys-configuration/build/run-archy.ps1:111 run-archy.ps1: line 101 run-archy.ps1: line 635 Cleaning up project directory and file based variables 00:01 ERROR: Job failed: exit code 1
jon.vansteen | 2022-11-28 18:07:26 UTC | #2
Hi David_Allchin,
Thanks for reporting this issue. Does this error only happen when using the createImportFile command or is it all commands? Additionally, would you be able to send me a yaml file that you are seeing this error with, such as a new one from a blank flow as you had described, in a direct message as an attachment?
Thanks, Jon
David_Allchin | 2022-12-08 00:23:35 UTC | #3
Hi Jon, The error only occurs for the creatImportFile command
Please find a newly created test file attached that failed.
TestArchy.yaml|attachment (2.6 KB)
Archy - Architect Yaml Flow Processor ver. 2.15.3 - Failure
DateTime: Thu Dec 08 2022 11:07:21 GMT+1100 (Australian Eastern Daylight Time)
Summary
Command: 'createImportFile' the YAML file contained invalid characters. Please ensure the contents are valid YAML and are formatted correctly.
error(s) encountered.
using 'G:\My Drive\Documents\repos\deakin\service_desk\genesys-configuration' as the home directory since none was defined.
system | 2023-01-07 00:23:50 UTC | #4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 17388