Hi Mycroft community,
I’m hoping to be back - was active with Mycroft but then COVID changed everything. :((
I was using Pycroft because it’s just so turnkey. But I want to utilize the power of a RasPi 4 as a general purpose computer. So I switched to the 12/2/2020 version of what used to be called Raspbian. I was able to record and playback using arecord and aplay so I know the mic and speakers are working.
I installed Mycroft (and Jellyfin) and created the service file in /etc/systemd/system. I started the service and Mycroft was purported to be running. But I say “Hey Mycroft” and nothing happened. So I stopped the service and started it interactively with debug on. Now Mycroft is answering me. :))
I did see an error in the logs about down level Python or something. I followed the URL to the website and it was recommended to do this:
$ sudo apt-get install libatlas-base-dev
That made the error messages go away, but Mycroft will still not answer in background mode.
So a question and a proposal:
- Why does Mycroft work only in debug mode?
- Should that apt install step be added to the documentation on installing in the Linux doc page? (https://mycroft-ai.gitbook.io/docs/using-mycroft-ai/get-mycroft/linux)
P.S. was just about to post when I thought to do a ‘tail -f /var/log/mycroft/voice.log’ When I say ‘Hey Mycroft’ I see this added to the log file:
2021-01-17 08:37:12.328 | INFO | 22833 | __main__:handle_wakeword:67 | Wakeword Detected: hey mycroft Connection failure: Connection refused pa_context_connect() failed: Connection refused 2021-01-17 08:37:12.382 | INFO | 22833 | __main__:handle_record_begin:37 | Begin Recording... 2021-01-17 08:37:20.459 | INFO | 22833 | __main__:handle_record_end:45 | End Recording... 2021-01-17 08:37:24.070 | ERROR | 22833 | mycroft.client.speech.listener:transcribe:239 | list index out of range 2021-01-17 08:37:24.072 | ERROR | 22833 | mycroft.client.speech.listener:transcribe:240 | Speech Recognition could not understand audio