question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Leon don't want to talk french, angry omelette du fromage

See original GitHub issue

Specs

  • Leon version: beta 3
  • OS (or browser) version: Windows 10 but Leon on WSL Ubuntu 18
  • Node.js version: 11
  • Complete “npm run check” output:
---

.: CHECKING :.

➡ /bin/sh -c node --version
✔ v11.15.0

➡ /bin/sh -c npm --version
✔ 6.7.0

➡ /bin/sh -c pipenv --version
✔ pipenv, version 2018.11.26

➡ /bin/sh -c pipenv --where
✔ /home/user/leon-dev/bridges/python

➡ /bin/sh -c pipenv run python --version
✔ Python 3.6.7

➡ /bin/sh -c pipenv run python bridges/python/main.py scripts/assets/query-object.json
✔ {"package": "leon", "module": "randomnumber", "action": "run", "lang": "en", "input": "Give me a random number", "entities": [], "output": {"type": "end", "codes": ["success"], "speech": 8, "options": {}}}

➡ Classifier 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 setup the offline TTS by running: "npm run setup:offline-tts"

➡ Watson STT
❗ Watson STT is not yet configured

➡ Offline STT
❗ Cannot find bin/deepspeech/lm.binary. You can setup the offline STT by running: "npm run setup:offline-stt"

---

.: REPORT :.

➡ Here is the diagnosis about your current setup
✔ Run
✔ Run modules
✔ Reply you by texting
❗ 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

Actual Behavior

When i talk whit Leon in french it’s crash

How Do We Reproduce?

Talk french with Leon :p

Extra (like a sample repo to reproduce the issue, etc.)

(node:1042) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'split' of undefined
    at Nlu.process (/home/user/leon-dev/server/dist/core/nlu.js:103:45)
    at processTicksAndRejections (internal/process/task_queues.js:86:5)
(node:1042) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1042) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
louistiticommented, Jun 9, 2019

After digging into some debugging, the issue is fixed quite strangely.

A simple new build (npm run build and npm start) fixed it. I suppose it was due to a change in the code that was not update or something similar.

I’ll close this issue as it is now working.

0reactions
louistiticommented, Jun 9, 2019

Thanks for sharing.

I’ve created a Discord server just now. Would you mind joining it so we can talk further?

Explanations will be posted here if that is fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kéké on Twitter: "As a french l can tell you that "Omelette du ...
In the episode, Dexter tries to learn French but only manages to learn this (wrong) phrase. The meme is used by English-speakers to...
Read more >
J'aime le français added a new photo. - J'aime le français
The Duolingo French course has improved so much ever since this meme was made a long time ago. It's not like that anymore....
Read more >
Omelette du Fromage: Please Stop Using “du” - French Iceberg
This is, of course, grammatically incorrect since, as you know, our typical dish is called “omelette au fromage”. Because yes, contrary to what ......
Read more >
The Internet Movie Script Database (IMSDb)
IRANOFF I don't want to go to the Hotel Terminus. KOPALSKI If Lenin were alive he would say, "Buljanoff, Comrade, for once in...
Read more >
TIL that the french phrase "omelette du fromage" as shown on ...
TIL that the french phrase "omelette du fromage" as shown on Dexter's Laboratory, is grammatically incorrect. It's actually supposed to be "omelette au...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found