thomasweng15 / E.V.E.

a talking Jarvis program written in Python.
221 stars 27 forks source link

Errors while running eve.py #4

Open salimane opened 11 years ago

salimane commented 11 years ago
salimane at salimane-zenbook  in ~/htdocs/E.V.E.
± ./eve.py                                                                                             [master●:8d2816d:git]
Loading...
Loading brain from ./brain/standard.brn... done (93096 categories in 2.03 seconds)
Kernel bootstrap completed in 2.03 seconds
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++  Welcome to E.V.E.  ++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+                                                              +
+                 Say 'okay computer' to start!                +
+                                                              +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Saying: Hello there!
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
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
thomasweng15 commented 11 years ago

I included a note in the README on the commit above stating that these ALSA error messages do not affect the running of the program. You are actually still able to issue commands to E.V.E. when these lines are displayed in the terminal. That being said, I am working on suppressing these messages and would like to remove them.

thomasweng15 commented 11 years ago

Hi salimane, The most commit above removes the pesky error messages that appeared when E.V.E. speaks. This commit is a big improvement, but the messages still do appear in the case of recording voice commands.

after doing research it seems that these ALSA messages appear because ALSA is improperly configured. The solution to this misconfiguration is unclear from what I've looked at, but I will post what I find.