Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom wake word not working [BrokenPipeError: [Errno 32] Broken pipe] #3130

Open
ZarvaanBacha opened this issue Sep 20, 2022 · 0 comments
Open

Comments

@ZarvaanBacha
Copy link

Describe the bug
When Mycroft loads the custom Precise wakeword, an error occurs in which Tensorflow cannot start

Log

19:29:30.619 | INFO | 663538 | main:on_ready:179 | Speech client is ready.
[663593] Failed to execute script engine
Traceback (most recent call last):
File "tensorflow/python/pywrap_tensorflow.py", line 58, in
File "/home/matthew/Documents/GitHub/mycroft-precise/.venv/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
File "tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
File "tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
File "imp.py", line 242, in load_module
File "imp.py", line 342, in load_dynamic
ImportError: /home/zarvaan/.local/share/mycroft/precise/precise-engine/tensorflow/python/_pywrap_tensorflow_internal.so: undefined symbol: _ZN15stream_executor4cuda15kCudaPlatformIdE

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "precise/scripts/engine.py", line 64, in
File "precise/scripts/engine.py", line 52, in main
File "precise/network_runner.py", line 91, in init
File "precise/network_runner.py", line 41, in init
File "importlib/init.py", line 126, in import_module
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "/home/matthew/Documents/GitHub/mycroft-precise/.venv/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
File "tensorflow/init.py", line 24, in
File "/home/matthew/Documents/GitHub/mycroft-precise/.venv/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
File "tensorflow/python/init.py", line 49, in
File "/home/matthew/Documents/GitHub/mycroft-precise/.venv/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
File "tensorflow/python/pywrap_tensorflow.py", line 74, in
ImportError: Traceback (most recent call last):
File "tensorflow/python/pywrap_tensorflow.py", line 58, in
File "/home/matthew/Documents/GitHub/mycroft-precise/.venv/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module
File "tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
File "tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
File "imp.py", line 242, in load_module
File "imp.py", line 342, in load_dynamic
ImportError: /home/zarvaan/.local/share/mycroft/precise/precise-engine/tensorflow/python/_pywrap_tensorflow_internal.so: undefined symbol: _ZN15stream_executor4cuda15kCudaPlatformIdE

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/install_sources#common_installation_problems

for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
Exception in thread Thread-5 (_handle_predictions):
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 946, in run
self._target(*self._args, **self._kwargs)
File "/home/zarvaan/mycroft-core/.venv/lib/python3.10/site-packages/precise_runner/runner.py", line 197, in _handle_predictions
prob = self.engine.get_prediction(chunk)
File "/home/zarvaan/mycroft-core/.venv/lib/python3.10/site-packages/precise_runner/runner.py", line 64, in get_prediction self.proc.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe

To Reproduce
Steps to reproduce the behavior:

  1. start 'mycroft-start debug'

Log files
I could provide more if needed

Environment (please complete the following information):

Device type: Custom computer running Intel Core i7-8700K with GTX 1080
OS: Ubuntu 20.04
Mycroft-core version: v21.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant