You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an application where I have not access to the main python thread
I'd like to be able to launch a server with the panel utility function get_server
I simulate what should be achieved with a MRE:
Associated code
However to make this code works I had to comment the line 95 in panel.io.server.py
If not I get thiss error:
Exception in thread Thread-18:
Traceback (most recent call last):
File "D:\CIVA_RP\civa-rep\ProjetCIVA\ceaComponents\dev\python\lib\threading.py", line 916, in _bootstrap_inner
self.run()
File "<ipython-input-3-97ff3fa09bcb>", line 7, in run
self.server = get_server(slider, port=5006)
File "D:\CIVA_RP\civa-rep\ProjetCIVA\ceaComponents\dev\python\lib\site-packages\panel\io\server.py", line 95, in get_server
signal.signal(signal.SIGINT, sig_exit)
File "D:\CIVA_RP\civa-rep\ProjetCIVA\ceaComponents\dev\python\lib\signal.py", line 47, in signal
handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
ValueError: signal only works in main thread
So I'd like to request may be an argument to make it optional
The text was updated successfully, but these errors were encountered:
I have an application where I have not access to the main python thread
I'd like to be able to launch a server with the panel utility function
get_server
I simulate what should be achieved with a MRE:
Associated code
However to make this code works I had to comment the line 95 in panel.io.server.py
If not I get thiss error:
So I'd like to request may be an argument to make it optional
The text was updated successfully, but these errors were encountered: