Installing Snips on Linux/Ubuntu

Hello.

I’ve been following several topics about Snips installation on Ubuntu.

First off, I have new Ubuntu 18.04 x86_x64 distribution.

I’ve followed this tutorial: https://docs.snips.ai/articles/other-platforms/linux-amd64

Changing incorrect key server “pgp . mit . edu” to “keyserver . ubuntu . com” (thanks to @rootkea) from another thread.

Later on, I’ve created and tested my assistant on console.snips.ai - the console test worked fine, the assistant is very simple one, reacting to some simple words without any complicated logic.
I’ve downloaded the zip file with it.

Next, I’ve deployed my assistant without sam, using this tutorial: https://docs.snips.ai/articles/console/actions/deploy-your-assistant

But when I type in the console “sudo snips-watch -vvv” I just get:

Watching on localhost:1883 (MQTT)

And it’s all - no new entries when I try to wake it up with “Hey Snips!”. As the whole documentation is very Rasberry-centred it’s very hard to even debug this problem. How can I verify where’s the problem and if Snips process the data and is installed correctly?

p.s. I’ve found in another thread (of course for Rasberry Pi) the “snips” command, but on Ubuntu it gives me just (note that I’ve followed the installation tutorials listed above and e.g. “snips-watch” does exists):

Command ‘snips’ not found.

When I manually start “snips-skill-server” I get error:

ERROR:snips_skill_server: failed to fetch skills -> caused by: didn’t find any skills in root skills directorie(s) “/var/lib/snips/skills” nor skill directorie(s).

When I manually start “snips-audio-server” it starts but with some problems:

[23:46:35.666620] INFO :snips_audio_server_cli: Starting audio server on mqtt for site default
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:1052:(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
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[23:46:35.690049] INFO :snips_audio_portaudio : Use input device: “default”
[23:46:35.767171] INFO :snips_broadcast_mqtt_server: Starting broadcasting audio on hermes for site “default”
[23:46:37.912574] INFO :snips_audio_portaudio : Playing “9a4370e0-e8c2-4887-a334-c9ac1bc92cd9” using output “default”, wav spec: WavSpec { channels: 2, sample_rate: 22050, bits_per_sample: 16, sample_format: Int }
[23:46:38.367718] INFO :snips_audio_portaudio : Playing of “9a4370e0-e8c2-4887-a334-c9ac1bc92cd9” finished
[23:46:40.393713] INFO :snips_audio_portaudio : Playing “08a1bc5c-3437-4e96-9a4a-4ee1ce9bbe34” using output “default”, wav spec: WavSpec { channels: 2, sample_rate: 22050, bits_per_sample: 16, sample_format: Int }
[23:46:41.458502] INFO :snips_audio_portaudio : Playing of “08a1bc5c-3437-4e96-9a4a-4ee1ce9bbe34” finished

And when I now run “snips-watch -vvv” it reacts to wake word, but does not really launch anything:

[23:46:32] Watching on localhost:1883 (MQTT)
[23:46:37] [Hotword] detected on site default, for model hey_snips
[23:46:37] [Asr] was asked to stop listening on site default
[23:46:37] [Hotword] was asked to toggle itself ‘off’ on site default
[23:46:37] [Dialogue] session with id ‘21faf853-cab6-4864-aa4a-4367109cfe18’ was started on site default
[23:46:37] [AudioServer] was asked to play a wav of 41.1 kB with id ‘9a4370e0-e8c2-4887-a334-c9ac1bc92cd9’ on site default
[23:46:38] [AudioServer] finished playing wav with id ‘9a4370e0-e8c2-4887-a334-c9ac1bc92cd9’
[23:46:38] [Asr] was asked to listen on site default
[23:46:40] [Asr] captured text “please” in 2.0s
[23:46:40] [Asr] was asked to stop listening on site default
[23:46:40] [AudioServer] was asked to play a wav of 93.1 kB with id ‘08a1bc5c-3437-4e96-9a4a-4ee1ce9bbe34’ on site default
[23:46:41] [AudioServer] finished playing wav with id ‘08a1bc5c-3437-4e96-9a4a-4ee1ce9bbe34’
[23:46:41] [Nlu] was asked to parse input “please”
[23:46:41] [Nlu] detected intent FeyDreamers:Lights with confidence score 0.329 for input “please”
[23:46:41] [Dialogue] New intent detected FeyDreamers:Lights with confidence 0.329
[23:46:47] [Dialogue] session with id ‘21faf853-cab6-4864-aa4a-4367109cfe18’ was ended on site default. The session was ended because one of the component didn’t respond in a timely manner
[23:46:47] [Asr] was asked to stop listening on site default
[23:46:47] [Hotword] was asked to toggle itself ‘on’ on site default

Am I missing something? Or some more services I should run also or re-configure? And shouldn’t “snips-audio-server” stars by default?