Can get it to work on my Pi 3

Hi cant get this software to work on my PI 3.

I used: https://docs.mycroft.ai/development/running.mycroft
I have usb audio hub where i instert my mic and speaker. (Worked with Jasper Project)
I have fresh Debian install.

I get this error when i run voice:

pi@raspberrypi:~/mycroft-core $ ./start.sh voice
Starting voice
2017-01-02 08:20:29,650 - mycroft.configuration - DEBUG - Configuration ‘/home/pi/mycroft-core/mycroft/configuration/mycroft.conf’ loaded
2017-01-02 08:20:29,651 - mycroft.configuration - DEBUG - Configuration ‘/etc/mycroft/mycroft.conf’ not found
2017-01-02 08:20:29,651 - mycroft.configuration - DEBUG - Configuration ‘/home/pi/.mycroft/mycroft.conf’ not found
2017-01-02 08:20:29,883 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTPS connection (1): api.mycroft.ai
2017-01-02 08:20:39,783 - requests.packages.urllib3.connectionpool - DEBUG - “GET /v1/device//setting HTTP/1.1” 401 38
2017-01-02 08:20:39,801 - mycroft.configuration - WARNING - Failed to fetch remote configuration: HTTPError(u’The supplied authentication is invalid’,)
Carnegie Mellon University, Copyright © 1999-2011, all rights reserved
version: mimic-2.0.0-release Dec 2014 (http://cmuflite.org)
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.USB-Audio.pcm.front.1:CARD=1’
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM front
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(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.surround51.1:CARD=1’
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround21
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.USB-Audio.pcm.surround51.1:CARD=1’
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround21
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.USB-Audio.pcm.surround40.1:CARD=1’
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround40
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.USB-Audio.pcm.surround51.1:CARD=1’
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround41
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.USB-Audio.pcm.surround51.1:CARD=1’
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround50
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.USB-Audio.pcm.surround51.1:CARD=1’
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround51
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.USB-Audio.pcm.surround71.1:CARD=1’
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround71
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.USB-Audio.pcm.iec958.1:CARD=1,AES0=4,AES1=130,AES2=0,AES3=2’
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM iec958
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.USB-Audio.pcm.iec958.1:CARD=1,AES0=4,AES1=130,AES2=0,AES3=2’
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.USB-Audio.pcm.iec958.1:CARD=1,AES0=4,AES1=130,AES2=0,AES3=2’
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

ALSA lib pcm_dmix.c:1022:(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
Expression ‘paInvalidSampleRate’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 2048
Expression ‘PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 2719
Expression ‘PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 2843
2017-01-02 08:20:40,410 - mycroft.messagebus.client.ws - INFO - Connected
Exception in thread Thread-15:
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 810, in __bootstrap_inner
self.run()
File “/home/pi/mycroft-core/mycroft/client/speech/listener.py”, line 57, in run
with self.mic as source:
File “/home/pi/mycroft-core/mycroft/client/speech/mic.py”, line 100, in enter
input=True, # stream is an input stream
File “/home/pi/.virtualenvs/mycroft/local/lib/python2.7/site-packages/pyaudio.py”, line 747, in open
stream = Stream(self, *args, **kwargs)
File “/home/pi/.virtualenvs/mycroft/local/lib/python2.7/site-packages/pyaudio.py”, line 442, in init
self._stream = pa.open(**arguments)
IOError: [Errno Invalid sample rate] -9997

Any advice?

I did 2 reinstalls and now less errors but got this:
./start.sh voice
Starting voice
2017-01-02 15:19:30,802 - mycroft.configuration - DEBUG - Configuration ‘/home/pi/mycroft-core/mycroft/configuration/mycroft.conf’ loaded
2017-01-02 15:19:30,802 - mycroft.configuration - DEBUG - Configuration ‘/etc/mycroft/mycroft.conf’ not found
2017-01-02 15:19:30,803 - mycroft.configuration - DEBUG - Configuration ‘/home/pi/.mycroft/mycroft.conf’ not found
2017-01-02 15:19:31,034 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTPS connection (1): api.mycroft.ai
2017-01-02 15:19:33,268 - requests.packages.urllib3.connectionpool - DEBUG - “GET /v1/device//setting HTTP/1.1” 401 38
2017-01-02 15:19:33,278 - mycroft.configuration - WARNING - Failed to fetch remote configuration: HTTPError(u’The supplied authentication is invalid’,)
Carnegie Mellon University, Copyright © 1999-2011, all rights reserved
version: mimic-2.0.0-release Dec 2014 (http://cmuflite.org)
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

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
2017-01-02 15:19:33,890 - mycroft.messagebus.client.ws - INFO - Connected
2017-01-02 15:19:34,869 - mycroft.client.speech.mic - DEBUG - Waiting for wake word…

Cant seem to get it working on my Pi. did anyone get it to work on a Pi 3?

I faced same issues when installing on Pi3. Checkout the following links. It should help.
https://docs.mycroft.ai/development/troubleshooting.notes/audio.issues , http://superuser.com/questions/989385/how-to-make-raspberry-pi-use-an-external-usb-sound-card-as-a-default

There is a unofficial image for this. It’s a little out of date becasue of our migration from cerberus.mycroft.ai to home.mycroft.ai, but we should have an updated one shortly.
I would suggest waiting for the new image but if you want to try it but here it is:
https://drive.google.com/file/d/0B_kLZyk84iy_Q0VvcXhxZHFGMWs/view