synesthesiam / voice2json

Command-line tools for speech and intent recognition on Linux
MIT License
1.08k stars 63 forks source link

Docker image missing espeak-ng #48

Open theguybieber opened 3 years ago

theguybieber commented 3 years ago

The docker image seems to be missing espeak-ng. Can we get that added so the speak_sentence command works? I get the following error:

guy@sam-i:~/Documents/dev/droidhc/sami/avatar/xavier/voice2json$ ./voice2json speak-sentence "hello dave" Traceback (most recent call last): File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/lib/voice2json/voice2json/main.py", line 1088, in asyncio.run(main()) File "/usr/lib/python3.7/asyncio/runners.py", line 43, in run return loop.run_until_complete(main) File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete return future.result() File "/usr/lib/voice2json/voice2json/main.py", line 87, in main await args.func(args, core) File "/usr/lib/voice2json/voice2json/speak.py", line 25, in speak await speak_espeak(args, core) File "/usr/lib/voice2json/voice2json/speak.py", line 53, in speak_espeak *espeak_cmd, stdout=asyncio.subprocess.PIPE File "/usr/lib/python3.7/asyncio/subprocess.py", line 217, in create_subprocess_exec stderr=stderr, kwds) File "/usr/lib/python3.7/asyncio/base_events.py", line 1533, in subprocess_exec bufsize, kwargs) File "/usr/lib/python3.7/asyncio/unix_events.py", line 190, in _make_subprocess_transport kwargs) File "/usr/lib/python3.7/asyncio/base_subprocess.py", line 37, in init stderr=stderr, bufsize=bufsize, kwargs) File "/usr/lib/python3.7/asyncio/unix_events.py", line 763, in _start universal_newlines=False, bufsize=bufsize, **kwargs) File "/usr/lib/python3.7/subprocess.py", line 775, in init restore_signals, start_new_session) File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'espeak-ng': 'espeak-ng'