Open samsonlokxdd opened 7 years ago
I am having the same problem
i am having the same issue that no response ..
That's not an issue with the mirror. You need a fast internet connection because there are lots of API calls going on in the backend.
Try rebooting the mirror software
Yeah that's not working........it shows the output on the terminal window but never answers or shows anything.
There's a problem with your alsa not with the mirror. Try updating it or changing the default sound card from options
Options? My computer sees it, the terminal window reports seeing it..... where is the 'options' to change it? Thank you
are you running Ubuntu on virtual box?
I am running just Unbuntu no virtual box. I have also tried running MM on serveronly mode but that doesn't work either
Okay, So I am running it on Virtual Box. In that there is an option where you can configure the sound from default to intel HD
OHhhhhhhhh Okay...well not sure what is going on here but I'm getting responses from terminal window in MM and the bot.py file but nothing shows on MM.....not getting text or audio.....
Can you post a screenshot of your terminal? If there is a sound problem then you might want to try this: sudo apt-get install alsa-utils --reinstall ./configure && make sudo make install sudo alsa force-reload
Or sudo apt-get install ubuntu-restricted-extras
getting this when trying to run alsomixer.......
ALSA lib conf.c:1028:(parse_value) card is not a string
ALSA lib conf.c:1697:(snd_config_load1) toplevel:2:0:Invalid argument ALSA lib conf.c:3449:(config_file_open) /etc/asound.conf may be old or corrupted: consider to remove or fix it ALSA lib conf.c:3371:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument ALSA lib conf.c:3820:(snd_config_update_r) hooks failed, removing configuration cannot open mixer: Invalid argument
Opps okay got that working had the wrong device LOL
ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.USB-Audio.pcm.hdmi.0:CARD=1,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM hdmi ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.USB-Audio.pcm.hdmi.0:CARD=1,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM hdmi ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.USB-Audio.pcm.modem.0:CARD=1' ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=1,DEV=0 ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.USB-Audio.pcm.modem.0:CARD=1' ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=1,DEV=0 ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.USB-Audio.pcm.modem.0:CARD=1' ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM phoneline ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.USB-Audio.pcm.modem.0:CARD=1' ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM phoneline ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock I'm listening Found audio Google Speech Recognition could not understand audio Found face I'm listening Found audio Google Speech Recognition thinks you said weather Found face I'm listening Found audio Google Speech Recognition thinks you said show me the weather Found face I'm listening Found audio Google Speech Recognition could not understand audio Found face I'm listening Found audio Google Speech Recognition could not understand audio Found face I'm listening
Appreciate all your help but this just doesn't work...... I have just installed another AI that works right out of the box without all these issues....... Thank you again but I deleted this......it's no good.
Which other AI did you resort to in the end? If it is an open source AI, can you please drop a link to it? Thanks.
I used the Hacker House one only. Will be uploading the code to GitHub soon. To get an idea of how my project look like you can refer to this video: https://www.youtube.com/watch?v=FZ486L4r7Bs&t=24s
I am currently using their AI code but I get a KeyError issue in the bot.py code. I watched that video sometime back and it is quite impressive what you're doing here. Thanks for the help.
Can you explain your error in detail? If possible post a screenshot of the terminal. Also tell the specs of your OS
I'm listening Found audio Google Speech Recognition thinks you said what is the current weather {"_text":"what is the current weather","entities":{"Intent":[{"confidence":0.98898134537505,"value":"weather"}],"Weather_Type":[{"confidence":0.88768633105406,"value":"current"}]},"msg_id":"0oKpEAE5qSVaglRIF"} weather Failed wit! 'minutely' Traceback (most recent call last): File "bot.py", line 78, in decide_action self.__weather_action(entities) File "bot.py", line 173, in __weather_action weather_obj = self.knowledge.find_weather() File "/home/vignesh/Documents/github/AI-Smart-Mirror-master/knowledge.py", line 25, in find_weather hourly_forecast = weather_json['minutely']['summary'] KeyError: 'minutely'
Screenshot of the Terminal
Screenshot of my PC/OS specs
obviously, you will get a key error because there is no key named minutely. Even I encountered the same error. What you need to do is open knowledge.py and comment that line and wherever minutely key used. Simple enough I guess
Google Speech Recognition thinks you said ok mirror Found face I'm listening Found audio Google Speech Recognition thinks you said ok mirror Found face I'm listening