Can someone please help me get Mycroft running. My sound comes over the HDMI. I’ve got the microphone plugged into motherboard soundcard. I’ve tried setting device_index to 0 and 2. Thanks.
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 pcm_route.c:867:(find_matching_chmap) Found no matching channel map
Input Device id 0 - HDA Intel PCH: ALC892 Analog (hw:0,0)
Input Device id 2 - HDA Intel PCH: ALC892 Alt Analog (hw:0,2)
Input Device id 6 - sysdefault
Input Device id 16 - pulse
Input Device id 18 - default
2017-06-05 08:01:59,798 - mycroft.configuration - INFO - Loading configuration: /home/mint/Desktop/mycroft-core-dev/mycroft/configuration/mycroft.conf
2017-06-05 08:01:59,799 - mycroft.configuration - DEBUG - Configuration ‘/home/mint/Desktop/mycroft-core-dev/mycroft/configuration/mycroft.conf’ loaded
2017-06-05 08:01:59,799 - mycroft.configuration - DEBUG - Configuration ‘/home/mint/.mycroft/mycroft.conf’ not found
2017-06-05 08:01:59,799 - mycroft.configuration - INFO - Loading configuration: mycroft.ai
2017-06-05 08:01:59,891 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
2017-06-05 08:02:00,282 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/device/3d211b28-2711-4943-8e0d-80f07ed1fc5c/setting HTTP/1.1” 200 2922
2017-06-05 08:02:00,285 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
2017-06-05 08:02:00,674 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/device/3d211b28-2711-4943-8e0d-80f07ed1fc5c/location HTTP/1.1” 200 4
2017-06-05 08:02:00,679 - mycroft.configuration - INFO - Loading configuration: /etc/mycroft/mycroft.conf
2017-06-05 08:02:00,679 - mycroft.configuration - DEBUG - Configuration ‘/etc/mycroft/mycroft.conf’ not found
2017-06-05 08:02:00,679 - mycroft.configuration - DEBUG - Configuration ‘/home/mint/.mycroft/mycroft.conf’ not found
2017-06-05 08:02:00,679 - mycroft.configuration - INFO - Loading configuration: /home/mint/.mycroft/mycroft.conf
2017-06-05 08:02:00,680 - mycroft.configuration - DEBUG - Configuration ‘/home/mint/.mycroft/mycroft.conf’ not found
2017-06-05 08:02:00,680 - mycroft.configuration - DEBUG - Configuration ‘/home/mint/.mycroft/mycroft.conf’ not found
Carnegie Mellon University, Copyright © 1999-2011, all rights reserved
mimic developers, Copyright © 2016, all rights reserved
version: mimic-1.2.0.2 ()
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 pcm_route.c:867:(find_matching_chmap) Found no matching channel map
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 pcm_route.c:867:(find_matching_chmap) Found no matching channel map
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
Exception in thread Thread-15:
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 801, in __bootstrap_inner
self.run()
File “/home/mint/Desktop/mycroft-core-dev/mycroft/client/speech/listener.py”, line 59, in run
with self.mic as source:
File “/home/mint/Desktop/mycroft-core-dev/mycroft/client/speech/mic.py”, line 110, in enter
input=True, # stream is an input stream
File “/home/mint/.virtualenvs/mycroft/local/lib/python2.7/site-packages/pyaudio.py”, line 747, in open
stream = Stream(self, *args, **kwargs)
File “/home/mint/.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
2017-06-05 08:02:00,953 - mycroft.messagebus.client.ws - INFO - Connected
fatal: Not a git repository (or any of the parent directories): .git
2017-06-05 08:02:00,955 - mycroft.util.setup_base - DEBUG - No module named version
2017-06-05 08:02:00,955 - mycroft.util.setup_base - ERROR - Command ‘[‘git’, ‘rev-parse’, ‘–short’, ‘HEAD’]’ returned non-zero exit status 128
Traceback (most recent call last):
File “/home/mint/Desktop/mycroft-core-dev/mycroft/util/setup_base.py”, line 44, in get_version
[“git”, “rev-parse”, “–short”, “HEAD”]).strip()
File “/usr/lib/python2.7/subprocess.py”, line 574, in check_output
raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command ‘[‘git’, ‘rev-parse’, ‘–short’, ‘HEAD’]’ returned non-zero exit status 128