KoljaB / RealtimeTTS

Converts text to speech in realtime
1.39k stars 119 forks source link

can't create new thread at interpreter shutdown #94

Open rejilraj opened 2 weeks ago

rejilraj commented 2 weeks ago

Error: can't create new thread at interpreter shutdown WARNING:root:error in play() with engine system: can't create new thread at interpreter shutdown Traceback: Traceback (most recent call last): File "D:\tts\RealtimeTTS\RealtimeTTS\text_to_stream.py", line 318, in play self.player.start() File "D:\tts\RealtimeTTS\RealtimeTTS\stream_player.py", line 292, in start self.playback_thread.start() File "C:\Users\rejil\miniconda3\Lib\threading.py", line 992, in start _start_new_thread(self._bootstrap, ()) RuntimeError: can't create new thread at interpreter shutdown

KoljaB commented 2 weeks ago

Please provide more info. What is the the code that leads to this error?

(The error indicates that your Python program is attempting to start a new thread during or after the interpreter shutdown process, which is not allowed. This typically happens when your application is trying to do some threading-related operations, like starting a new thread, when Python is cleaning up or terminating.)