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

I am getting this error in realtimestt_test.py code: #132

Open
circle-games opened this issue Oct 12, 2024 · 1 comment
Open

I am getting this error in realtimestt_test.py code: #132

circle-games opened this issue Oct 12, 2024 · 1 comment

Comments

@circle-games
Copy link

File "/home/falan/.my_venv/lib/python3.10/site-packages/RealtimeSTT/audio_recorder.py", line 124, in run
File "/usr/lib/python3.10/signal.py", line 56, in signal
system_signal.signal(system_signal.SIGINT, system_signal.SIG_IGN)
File "/usr/lib/python3.10/signal.py", line 56, in signal
handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
ValueError: signal only works in main thread of the main interpreter
ValueError: signal only works in main thread of the main interpreter

@KoljaB
Copy link
Owner

KoljaB commented Oct 12, 2024

Please try the code from here where it's already fixed. Release coming soon.

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