Mycroft Community Forum

Error with test.py

when i run mycroft he non listen… i ran unittes and i have this trouble help to understand what happend???

============ 2 failed, 431 passed, 5 skipped, 232 warnings in 110.03s (0:01:50) ==============
Exception in thread Thread-47:
Traceback (most recent call last):
File “/usr/lib/python3.9/threading.py”, line 954, in _bootstrap_inner
self.run()
File “/usr/lib/python3.9/threading.py”, line 892, in run
self._target(*self._args, **self._kwargs)
File “/home/dani/Documenti/mycroft-core/.venv/lib/python3.9/site-packages/precise_runner/runner.py”, line 192, in _handle_predictions
chunk = self.stream.read(self.chunk_size // self.read_divisor)
File “/home/dani/Documenti/mycroft-core/.venv/lib/python3.9/site-packages/precise_runner/runner.py”, line 64, in get_prediction
self.proc.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe
Exception in thread Thread-18:
Traceback (most recent call last):
File “/usr/lib/python3.9/threading.py”, line 954, in _bootstrap_inner
self.run()
File “/usr/lib/python3.9/threading.py”, line 892, in run
self._target(*self._args, **self._kwargs)
File “/home/dani/Documenti/mycroft-core/.venv/lib/python3.9/site-packages/precise_runner/runner.py”, line 192, in _handle_predictions
chunk = self.stream.read(self.chunk_size // self.read_divisor)
File “/home/dani/Documenti/mycroft-core/.venv/lib/python3.9/site-packages/precise_runner/runner.py”, line 64, in get_prediction
self.proc.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe
Exception in thread Thread-13:
Traceback (most recent call last):
File “/usr/lib/python3.9/threading.py”, line 954, in _bootstrap_inner
self.run()
File “/usr/lib/python3.9/threading.py”, line 892, in run
self._target(*self._args, **self._kwargs)
File “/home/dani/Documenti/mycroft-core/.venv/lib/python3.9/site-packages/precise_runner/runner.py”, line 192, in _handle_predictions
chunk = self.stream.read(self.chunk_size // self.read_divisor)
File “/home/dani/Documenti/mycroft-core/.venv/lib/python3.9/site-packages/precise_runner/runner.py”, line 64, in get_prediction
self.proc.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe
Exception in thread Thread-8:
Traceback (most recent call last):
File “/usr/lib/python3.9/threading.py”, line 954, in _bootstrap_inner
self.run()
File “/usr/lib/python3.9/threading.py”, line 892, in run
self._target(*self._args, **self._kwargs)
File “/home/dani/Documenti/mycroft-core/.venv/lib/python3.9/site-packages/precise_runner/runner.py”, line 192, in _handle_predictions
chunk = self.stream.read(self.chunk_size // self.read_divisor)
File “/home/dani/Documenti/mycroft-core/.venv/lib/python3.9/site-packages/precise_runner/runner.py”, line 64, in get_prediction
self.proc.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe

thankss :slight_smile:

Hi there,

We have a Wake Word Troubleshooting guide which would be a better start to diagnose what might be wrong with the wake word detection:
https://mycroft-ai.gitbook.io/docs/using-mycroft-ai/troubleshooting/wake-word-troubleshooting

Is this running on an x86 system (eg desktop or laptop) or an ARM based device like a Raspberry Pi?
If you don’t have AVX on your system then Precise will not work without a custom version of TensorFlow but from the other thread it sounds like you’re already looking at PocketSphinx.

1 Like

i installed in Ubuntu 64x.Notebook… mic function ok…i see level on cli window in when i talk but he not listen i change language on italian with autoconfig possible bug???