Problem with train

Hello,
when I click on “Train” on tab “Words” I get:

INFO:main:Starting training
DEBUG:DialogueManager:asleep -> training_sentences
DEBUG:PocketsphinxWakeListener:listening -> loaded
[2020-05-02 15:40:22,163] 192.168.188.65:40914 GET /api/unknown-words 1.1 200 2 20641
INFO:quart.serving:192.168.188.65:40914 GET /api/unknown-words 1.1 200 2 20641
DEBUG:train:Parsing ini file(s): [’/home/boggiano/.config/rhasspy/profiles/it/sentences.ini’]
DEBUG:rhasspynlu.ini_jsgf:Loaded ini file
– ini_graph
– intent_fst
. language_model:intent_counts
ngramcount: /lib/arm-linux-gnueabihf/libm.so.6: version GLIBC_2.27' not found (required by ngramcount) ngramcount: /lib/arm-linux-gnueabihf/libm.so.6: version GLIBC_2.27’ not found (required by /home/boggiano/rhasspy/.venv/lib/libngram.so.134)
TaskFailed - taskid:language_model:intent_counts
Command failed: ‘ngramcount /home/boggiano/.config/rhasspy/profiles/it/intent.fst /home/boggiano/.config/rhasspy/profiles/it/intent.fst.counts’ returned 1

########################################
language_model:intent_counts :

DEBUG:DialogueManager:training_sentences -> ready
INFO:DialogueManager:Automatically listening for wake word
DEBUG:DialogueManager:ready -> asleep
DEBUG:PocketsphinxWakeListener:loaded -> listening
DEBUG:InboxActor: -> stopped
ERROR:main:Training failed: <Task: language_model:intent_counts>: TaskFailed
Command failed: ‘ngramcount /home/boggiano/.config/rhasspy/profiles/it/intent.fst /home/boggiano/.config/rhasspy/profiles/it/intent.fst.counts’ returned 1
Traceback (most recent call last):
File “/home/boggiano/rhasspy/.venv/lib/python3.6/site-packages/quart/app.py”, line 1471, in full_dispatch_request
result = await self.dispatch_request(request_context)
File “/home/boggiano/rhasspy/.venv/lib/python3.6/site-packages/quart/app.py”, line 1519, in dispatch_request
return await handler(**request_.view_args)
File “app.py”, line 640, in api_train
raise Exception(f"Training failed: {result.reason}")
Exception: Training failed: <Task: language_model:intent_counts>: TaskFailed
Command failed: ‘ngramcount /home/boggiano/.config/rhasspy/profiles/it/intent.fst /home/boggiano/.config/rhasspy/profiles/it/intent.fst.counts’ returned 1

[2020-05-02 15:40:22,304] 192.168.188.65:40912 POST /api/train 1.1 500 221 182213
INFO:quart.serving:192.168.188.65:40912 POST /api/train 1.1 500 221 182213
DEBUG:InboxActor: -> stopped
[2020-05-02 15:40:22,358] 192.168.188.65:40912 GET /api/problems 1.1 200 308 8313
INFO:quart.serving:192.168.188.65:40912 GET /api/problems 1.1 200 308 8313

Thanks

Hi,
it seems you’re missing some binaries required by some python package.

Are you running inside a venv? Try launching again ./download-dependencies.sh and then ./create-venv.sh, it should download any missing dependency.

I did it, same error.

Before reinstalling (I have to admit I did some tricks to install rhasspy over snips) can you tell me please, if you are in the same situation like this :

ls -l /lib/arm-linux-gnueabihf/libm.so.6

lrwxrwxrwx 1 root root 12 Feb 6 2019 /lib/arm-linux-gnueabihf/libm.so.6 -> libm-2.24.so

and

ls -l /lib/arm-linux-gnueabihf/libm-2.24.so

-rw-r--r-- 1 root root 452152 Feb 6 2019 /lib/arm-linux-gnueabihf/libm-2.24.so

Thanks

Hi,
I’m not! My libm.so.6 points to libm-2.28.so

So it seems you somehow have an older version