Code Monkey home page Code Monkey logo

Comments (9)

louistiti avatar louistiti commented on May 13, 2024 1

Hello @mortim59,

Thanks for your issue. Could you please use this issue template to have a better understanding of the problem you are facing to?

from leon.

aurelmegn avatar aurelmegn commented on May 13, 2024

name: 🐞 Bug Report
about: Report an unexpected problem or unintended behavior.
labels: bug

Specs

  • Leon version: 1.0.0-beta.0
  • OS (or browser) version: Linux Manjaro (Firefox 65)
  • Node.js version: 10.10.0
  • Complete "npm run check" output:

[email protected] check /media/aurel/main/lab/leon
babel-node scripts/run-check.js

.: CHECKING :.

➡ /bin/sh -c node --version
✔ v10.10.0

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

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

➡ /bin/sh -c pipenv --where
✔ /media/aurel/main/lab/leon/bridges/python

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

➡ /bin/sh -c pipenv run python bridges/python/main.py en leon randomnumber "Give me a random number"
✔ {"package": "leon", "module": "randomnumber", "lang": "en", "input": "Give me a random number", "output": {"type": "end", "code": "success", "speech": 58, "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

  • (optional) Leon package version:

Expected Behavior

I expect from leon to give me the answer without the missing package error

Actual Behavior

Sorry, it seems I have a problem with the [module (ex: Whoami or Greeting or Random Number)] of my Leon package!

How Do We Reproduce?

Follow the installation procedure of leon

git clone -b master https://github.com/leon-ai/leon.git leon
cd leon
npm install
npm run check
npm run build
npm start

from leon.

louistiti avatar louistiti commented on May 13, 2024

Hello @sh1ftsh,

Thanks for your details. I was not able to reproduce the issue despite the fact I setup the same environment as you can see here.

Leon triggers this scope when there is an error with the child process execution. You can find it in server/src/core/brain.js at the line 130.

Do you have anything in the logs/errors.log file?

from leon.

mortim avatar mortim commented on May 13, 2024

name: 🐞 Bug Report
about: Problem with modules
labels: bug

Specs

  • Leon version:
  • OS (or browser) version: linux kernel version (4.15.0-45-generic)
  • Node.js version: v10.8.0
  • Complete "npm run check" output:
> [email protected] check /home/karim/leon
> babel-node scripts/run-check.js

⠋
---

.: CHECKING :.

✖ Error: Command failed: /bin/sh -c pipenv --version
/bin/sh: 1: pipenv: not found

Expected Behavior

When I type hello or one of the existing commands by the wizard, it returns the corresponding message

Actual Behavior

I have error messages saying that a module is missing

How Do We Reproduce?

git clone -b master https://github.com/leon-ai/leon.git leon
cd leon
npm install
npm run check
npm run build
npm start

from leon.

aurelmegn avatar aurelmegn commented on May 13, 2024

@louistiti yeah I do have some lines on logs/errors.log
the lines are like this

2019-02-13T11:05:39+01:00 - /bin/sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)

from leon.

louistiti avatar louistiti commented on May 13, 2024

@mortim59 thanks for your details. It seems Pipenv is not installed. Please install it first.

@sh1ftsh okay this warning is not related to the issue you mentioned previously. Unfortunately, I'm not able to reproduce this error 😞

from leon.

mortim avatar mortim commented on May 13, 2024

@louistiti ok thanks !

from leon.

louistiti avatar louistiti commented on May 13, 2024

Hello @sh1ftsh @mortim59,

Actually the warning mentioned in #5 (comment) should cause that issue.

I invite you to take a look at this answer to fix it.

Please let me know if it solved the problem or not.

from leon.

louistiti avatar louistiti commented on May 13, 2024

I added a comment in the dotfiles.

from leon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.