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

Leon crash cyrillic chars #516

Open
Watersrc-stack opened this issue Nov 15, 2023 · 0 comments
Open

Leon crash cyrillic chars #516

Watersrc-stack opened this issue Nov 15, 2023 · 0 comments
Labels
bug Indicates an unexpected problem or unintended behavior.

Comments

@Watersrc-stack
Copy link

Specs

  • Leon version: 1.0.0-beta.8
  • OS (or browser) version: Ubuntu 22.04.3 LTS
  • Node.js version: v18.13.0
  • Complete "leon check" (or "npm run check") output:

[email protected] check
ts-node scripts/check.js

.: CHECKING :.
ℹ️ Leon version
✅ 1.0.0-beta.8

ℹ️ Environment
✅ Total RAM: 15.35 GB
✅ {"type":"Linux","platform":"linux","arch":"x64","cpus":16,"release":"6.2.0-36-generic","osName":"Linux 6.2","distro":{"os":"linux","dist":"Ubuntu","codename":"jammy","release":"22.04"}}

ℹ️ node --version
✅ v18.13.0

ℹ️ npm --version
✅ 9.2.0

✅ Python bridge version: 1.0.1
ℹ️ Executing a skill...
ℹ️ bridges/python/dist/linux-x86_64/leon-python-bridge "/home/watersrc/.leon/scripts/assets/intent-object.json"
✅ {"domain": "leon", "skill": "random_number", "action": "run", "lang": "en", "utterance": "Give me a random number", "entities": [], "slots": {}, "output": {"type": "end", "codes": ["50"], "speech": "50", "core": {}, "options": {}}}
ℹ️ Skill execution time: 222ms

✅ TCP server version: 1.0.0
ℹ️ Starting the TCP server...
ℹ️ tcp_server/dist/linux-x86_64/leon-tcp-server en
✅ The TCP server can successfully start
ℹ️ TCP server startup time: 5072ms

ℹ️ Global resolvers NLP model state
✅ Found and valid

ℹ️ Skills resolvers NLP model state
✅ Found and valid

ℹ️ Main NLP model state
✅ Found and valid

ℹ️ Amazon Polly TTS
⚠️ Amazon Polly TTS is not yet configured

ℹ️ Google Cloud TTS/STT
⚠️ Google Cloud TTS/STT is not yet configured

ℹ️ Watson TTS
⚠️ Watson TTS is not yet configured

ℹ️ Offline TTS
⚠️ Cannot find bin/flite/flite. You can set up the offline TTS by running: "npm run setup:offline-tts"

ℹ️ Watson STT
⚠️ Watson STT is not yet configured

ℹ️ Offline STT
⚠️ Cannot find bin/coqui/huge-vocabulary.scorer. You can setup the offline STT by running: "npm run setup:offline-stt"

.: REPORT :.
ℹ️ Here is the diagnosis about your current setup
✅ Run
✅ Run skills
✅ Reply you by texting
✅ Start the TCP server
⚠️ Amazon Polly text-to-speech
⚠️ Google Cloud text-to-speech
⚠️ Watson text-to-speech
⚠️ Offline text-to-speech
⚠️ Google Cloud speech-to-text
⚠️ Watson speech-to-text
⚠️ Offline speech-to-text

✅ Hooray! Leon can run correctly
ℹ️ If you have some yellow warnings, it is all good. It means some entities are not yet configured

.: REPORT URL :.
ℹ️ Sending report...
✅ Report URL: https://report.getleon.ai/raw/pifedurupi

Expected Behavior

Respond something like "I don't understand the request".

Actual Behavior

Leon crash with '0' as exit code.

How Do We Reproduce?

I put "Где коТ ?" (Where is the cat ? in english)
but I think it will crash with any cyrillic chars.
To reproduce this bug, simply type cyrillic characters.

@Watersrc-stack Watersrc-stack added the bug Indicates an unexpected problem or unintended behavior. label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior.
Projects
None yet
Development

No branches or pull requests

1 participant