-
Notifications
You must be signed in to change notification settings - Fork 32
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
signal only works in main thread of the main interpreter #1
Comments
Could you elaborate more? how can I recreate it? didn't see it happen. |
ValueError: signal only works in main thread of the main interpreter File "C:\Python39\lib\site-packages\streamlit\script_runner.py", line 354, in _run_script |
This is the error I got when I run "application.py" file @BugzTheBunny |
Hi @mudassar111 sorry for the late response, You are saying that when trying to run the code as it is in this repo, this is the Error that you are getting? |
ValueError: signal only works in main thread File "c:\python38\lib\site-packages\streamlit\script_runner.py", line 354, in _run_script |
Brother I am getting the same error @BugzTheBunny |
Hey @mudassar111, It appears the problem is not related to the code, you should read this thread - Cheers |
Encountered the same issue here.
|
hey any updates on fixing this error. |
Hello @thestonedape , (Trying to help) That is not in the same context but I hope it can give you some insights. 👍 I came across a similar issue in my application when using (flask_socketio) and it was solved by disabling the debug mode. Reason: When you run in Debug, the reloader expects to run in the main thread. web_socket = Thread(target=socketio.run, args=(app,), kwargs={'host':'0.0.0.0', 'port': , 'debug':False, use_reloader':False}) |
Hello @BugzTheBunny , why folium cannot be displayed in streamlit_navbar ? ![]() ![]() |
I am getting this error "signal only works in main thread of the main interpreter". Can you please explain it to me, how can I rid of it? @BugzTheBunny
The text was updated successfully, but these errors were encountered: