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

can't create new thread at interpreter shutdown #94

Open
rejilraj opened this issue Jun 15, 2024 · 1 comment
Open

can't create new thread at interpreter shutdown #94

rejilraj opened this issue Jun 15, 2024 · 1 comment

Comments

@rejilraj
Copy link

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
Copy link
Owner

KoljaB commented Jun 15, 2024

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.)

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

2 participants