fewieden / MMM-voice

Offline Voice Recognition Module for MagicMirror²

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when starting

cowboysdude opened this issue · comments

Platform (Hardware/OS):
Unbuntu 16

Node version:
8.9.4
MagicMirror version:
2.2.2
Module version:
Lastest Master
Description of the issue:
when starting it intializes then goes right to ERROR
When run in debug: true it says undefined.
I ran the command line and my mic is 0.....

Not sure what's undefined but I've tried the mic at 0 and 1......still get ERROR

Fixed it. Thanks

Could you pls report for other users, what caused the issue und how you fixed it?

Don’t run them in the MagicMirror directory. Just open a new terminal window and run them
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
and
sudo ldconfig
the 2nd will need your password
and this will verify your microphone number for your config
cat /proc/asound/cards]]

;)

Still having this issue. Says "Error" on Mirror. But I set the right mic on config. Using a USB PnP Sound Device and it works fine with AlexaPi. Think there's a clash maybe??

@KriyenKP i have no experience with alexapi

But you could check the error log for more details

I'm getting the dreaded "WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration." Everytime I delete the MMM-Voice, the error message goes away. Below is how I copied it on my scrip.
{
module: "MMM-voice",
position: "bottom_bar",
config: {
microphone: 1,
...
}
},

remove the ...

Not sure how I missed that. Thanks, homie.

hi fewieden, i tried the two commands:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
sudo ldconfig
but nothing showed up. i check the file directory and i cant seem to find any ldconfig file (also in hidden mode). it is missing somewhere?

It starts from initializing then ready choose a mode and immediately goes to ERROR, i checked the error.log it shows 1 1 1 1 1 1 ...