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
Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.
Debug mode: on
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 943, in run
run_simple(host, port, self, **options)
File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 812, in run_simple
reloader_type)
File "/usr/local/lib/python3.6/dist-packages/werkzeug/_reloader.py", line 267, in run_with_reloader
signal.signal(signal.SIGTERM, lambda *args: sys.exit(0))
File "/usr/lib/python3.6/signal.py", line 47, in signal
handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
ValueError: signal only works in main thread
`
how to fix it, pls help me, thx
The text was updated successfully, but these errors were encountered:
Hey @nixlong, are you sure the webserver deps (dash, plotly and stuff) are updated to latest?
Maybe even something broke on the newer updates.
If the issue persists paste your versions here.
cheers!
Hey, try with those (in order of importance)
Flask 1.0.2
dash 0.26.2
plotly 3.1.1
dash-core-components 0.28.1
dash-html-components 0.11.0
dash-renderer 0.13.2
when run it with the -w option like this :
the exception happens:
`WEBSERVER MODE
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 943, in run
run_simple(host, port, self, **options)
File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 812, in run_simple
reloader_type)
File "/usr/local/lib/python3.6/dist-packages/werkzeug/_reloader.py", line 267, in run_with_reloader
signal.signal(signal.SIGTERM, lambda *args: sys.exit(0))
File "/usr/lib/python3.6/signal.py", line 47, in signal
handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
ValueError: signal only works in main thread
`
how to fix it, pls help me, thx
The text was updated successfully, but these errors were encountered: