Comments (9)
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.
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.
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.
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.
@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.
@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.
@louistiti ok thanks !
from leon.
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.
I added a comment in the dotfiles.
from leon.
Related Issues (20)
- Error while setting up offline-tts on Windows 10 HOT 4
- Adding transmission resuming at breaking point when downloading big file like TCP_Server HOT 1
- npm start error while checking skills data HOT 1
- Hotword offline setup error
- Can't start leon after a successful check HOT 3
- After I turn on STT in .env, the server can not be started up HOT 3
- How to get the Female voice in text-to-speech? HOT 1
- create birth with docker - fails because of missing python
- cannot start the TCP server - GLIBC_2.35 not found HOT 1
- Alternate TTS engine HOT 1
- Unable to Startup Error: Cannot find module 'C:\Users\User\.leon\server\dist\pre-check.js'
- Load your personal data into leon? PDFs etc?
- error run-setup-hotword.js HOT 2
- How to disable telemetry before running `leon create birth` / How to disable the creation of the report at the end
- Design and create Aurora UI components HOT 2
- Introducing Widgets HOT 1
- Music Skill HOT 1
- Forecast Skill HOT 1
- Add providers level to skills HOT 1
- Leon crash cyrillic chars
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leon.