It fails to deploy the Kanzi skill with the self-hosted linuxserver docker. Fails on Lambda as well. Failed on a clean build new server with npm. Tried rebuilding several times and have ensured the endpoint is reachable.
In the error log I'm seeing this
igahugirod (paste) I truncated the last bit as it repeats for a while.
Error arises from /usr/lib/node_modules/lexigram-cli/node_modules/ask-cli/lib/deploy/deploy-model.js on line 189.
Alexa developer console simple states that
"The model build has failed with an unspecified error. This could be from an invalid model or we could be experiencing intermittent issues. Please try again."
Shows 10 good full builds and one failed for each deploy attempt. I assume one language is the hangup. It loaded 137 intents and 15 slot types, but does show 9 Utterance Conflicts in EN-US (
back, go back, go home, go to sleep, hold, home, navigate home, right, shut down).
Don't know if it's because I'm running a very large library, because alexa wants a two word invocation, or more likely some other bug.
Fixed issue with following steps:
html:
Removed references to all other languages besides EN-US and EN_GB in:
/node_modules/lexigram-cli/action.ts
/node_modules/lexigram-cli/InteractionModel.ts
/node_modules/lexigram-cli/kanzi-skill.json
/node_modules/lexigram-cli/koko-skill.json
/node_modules/lexigram-cli/dist/actions.js
/node_modules/lexigram-cli/dist/InteractionModel.js
/kanzi/skill.json
deleted all but en-US and en-GB from /kanzi/models/
in the generated lambda.zip:
deleted all languages but templates.en.yaml sample_slotvals.en.txt and utterances.en.txt
/alexa.py
Edited node_modules/lexigram-cli/actions.ts and node_modules/lexigram-cli/dist/actions.ts to stop it from removing old repo code, downloading new source, and extracting new source
Copied contents of the lambda.zip to /home/kanzi/kanzi/source/repo/