Open ryanhiebert opened 8 years ago
Seemingly something is deleting SentryLogMiddleware. If you can find a good way to reproduce this (in isolation) we can investigate further. I'm not sure what would cause this in Python, but it's possible that the way sys.excepthook works we need to account for things like this.
Interesting, I will have to see if I can come up with more details based on that idea. Thus far I haven't been able to reproduce it reliably, even though it has been happening very often. Perhaps this seed can help me figure out something that I can nail use with git bisect
to nail down the change that introduced it, and perhaps find the problem.
I just got this today, also: [06/Nov/2016 18:42:09] "GET /static/assets/fonts/roboto-v15-latin-500.woff HTTP/1.1" 304 0 [06/Nov/2016 18:42:09] "GET /static/assets/json/sunbursts/SO-progs.json HTTP/1.1" 304 0 [06/Nov/2016 18:42:09] "GET /static/assets/fonts/noto-sans-v6-latin-700.woff HTTP/1.1" 304 0 [06/Nov/2016 18:42:09] "GET /static/assets/json/sunbursts/NDO-progs.json HTTP/1.1" 304 0 [06/Nov/2016 18:42:09] "GET /static/assets/json/sunbursts/RGM-progs.json HTTP/1.1" 304 0 [06/Nov/2016 18:42:09] "GET /static/assets/fonts/Material-Design-Iconic-Font.woff?v=1.0.1 HTTP/1.1" 304 0 ^C(toast) MM203287-PC (joe)$ Unhandled exception in thread started by <function wrapper at 0x10e8fb848> Traceback (most recent call last): File "/Users/judge/.pyenv/versions/toast/lib/python2.7/site-packages/django/utils/autoreload.py", line 234, in wrapper filename = traceback.extract_tb(tb)[-1][0] TypeError: 'NoneType' object is not callable
I regularly get errors at the end of Django processes, about
NoneType
not being callable. It's only at termination of a program, and cleanup, so I never knew where to look. Today I finally saw this error in the Django development server, and it gave me more of a traceback, which seems to lead me here. Has anyone seen this before? Is it likely a misconfiguration of my app somehow?