Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lex rebuild fails when there is any single character utterance #503

Closed
2 tasks
rstrahan opened this issue Oct 6, 2022 · 0 comments
Closed
2 tasks

Lex rebuild fails when there is any single character utterance #503

rstrahan opened this issue Oct 6, 2022 · 0 comments
Labels

Comments

@rstrahan
Copy link
Contributor

rstrahan commented Oct 6, 2022

Describe the bug
A clear and concise description of what the bug is.

Lex rebuild fails when there is any single character utterance, with "[ERROR] UnboundLocalError: local variable 'translatedText' referenced before assignment"

To Reproduce
Steps to reproduce the behavior.

Create a QID with a question containing a single character, like an emoji, for example..
Save it.
Then do LEX REBUILD from Content Designer.

Lex rebuild fails with this message:
image

Expected behavior
A clear and concise description of what you expected to happen.

LEX REBUILD should not fail.

Please complete the following information about the solution:

  • Version: [e.g. v0.0.1]

v5.2.1

  • Were there any errors in the CloudWatch Logs?

Yes.. LexV2BotLambda shows exception:

image

@rstrahan rstrahan added the bug label Oct 6, 2022
tabdunabi added a commit that referenced this issue Oct 11, 2022
…short-utterances

Fixes #503 - Lex rebuild fails when there is any single character utterance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant