When I try to use piper to do any tts, it produces nothing. In Settings > Voice Assistants, the Try Voice button just produces a spinning circle that spins indefinitely, and network logs show that the GET request hangs on Pending. Additionally, I see that no mp3 is produced in the tts folder. The Piper logs show that an error causes no file to be written:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/wyoming/server.py", line 41, in run
if not (await self.handle_event(event)):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/handler.py", line 53, in handle_event
raise err
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/handler.py", line 48, in handle_event
return await self._handle_event(event)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/handler.py", line 108, in _handle_event
wav_file: wave.Wave_read = wave.open(output_path, "rb")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/wave.py", line 630, in open
return Wave_read(f)
^^^^^^^^^^^^
File "/usr/lib/python3.11/wave.py", line 280, in __init__
f = builtins.open(f, 'rb')
^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ''