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
{{ message }}
This repository has been archived by the owner on Dec 9, 2021. It is now read-only.
Running Django 3.0 on Python 3.8, using python ./manage.py runserver
File "/usr/lib/python3.8/site-packages/debug_toolbar/panels/__init__.py", line 181, in process_request
return self.get_response(request)
File "/usr/lib/python3.8/site-packages/djdt_flamegraph/djdt_flamegraph.py", line 63, in process_request
self.sampler.start()
File "/usr/lib/python3.8/site-packages/djdt_flamegraph/djdt_flamegraph.py", line 90, in start
signal.signal(signal.SIGALRM, self._sample)
File "/usr/lib64/python3.8/signal.py", line 47, in signal
handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
ValueError: signal only works in main thread
The text was updated successfully, but these errors were encountered:
Thanks. python ./manage.py runserver --nothreading --noreload worked. Would be nice if it detected this and de-activated itself. It might even be able to be detected in settings.py to avoid listing it in INSTALLED_APPS.
Running Django 3.0 on Python 3.8, using
python ./manage.py runserver
The text was updated successfully, but these errors were encountered: