I installed the latest release on Arch Linux with from https://github.com/MycroftAI/mycroft-core/releases and ran the dev_setup.sh script.
Probably relevant errors:
Expression 'paInvalidSampleRate' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2043
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2714
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2838
Output of ./start-mycroft.sh audiotest:
/usr/lib/python3.6/runpy.py:125: RuntimeWarning: 'mycroft.util.audio_test' found in sys.modules after import of package 'mycroft.util', but prior to execution of 'mycroft.util.audio_test'; this may result in unpredictable behaviour
warn(RuntimeWarning(msg))
===========================================================
== STARTING TO RECORD, MAKE SOME NOISE! ==
===========================================================
ALSA lib pcm_dsnoop.c:602:(snd_pcm_dsnoop_open) unable to create IPC semaphore
ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_dsnoop.c:602:(snd_pcm_dsnoop_open) unable to create IPC semaphore
ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
Expression 'paInvalidSampleRate' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2043
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2714
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2838
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/pyotr/Custom/mycroft-core-release-v18.2.12/mycroft/util/audio_test.py", line 62, in <module>
main()
File "/home/pyotr/Custom/mycroft-core-release-v18.2.12/mycroft/util/audio_test.py", line 53, in main
record(args.filename, args.duration)
File "/home/pyotr/Custom/mycroft-core-release-v18.2.12/mycroft/util/audio_test.py", line 33, in record
with mic as source:
File "/home/pyotr/Custom/mycroft-core-release-v18.2.12/mycroft/client/speech/mic.py", line 122, in __enter__
input=True, # stream is an input stream
File "/home/pyotr/Custom/mycroft-core-release-v18.2.12/.venv/lib/python3.6/site-packages/pyaudio.py", line 750, in open
stream = Stream(self, *args, **kwargs)
File "/home/pyotr/Custom/mycroft-core-release-v18.2.12/.venv/lib/python3.6/site-packages/pyaudio.py", line 441, in __init__
self._stream = pa.open(**arguments)
OSError: [Errno -9997] Invalid sample rate