【发布时间】:2021-04-20 02:39:02
【问题描述】:
我的 apache 错误日志充满了这个重复的错误消息。虽然我的应用程序运行良好并且 apache 继续为其提供服务,但我无法找到其他错误的原因,因为出于某种原因,这是唯一被记录的内容。
我的应用是一个运行 apache2 和 mod-wsgi 的 Django 应用
NameError: name 'TypeError' is not defined
Exception ignored in: <function BaseEventLoop.__del__ at 0x7fefd6b13040>
Traceback (most recent call last):
File "/usr/lib/python3.8/asyncio/base_events.py", line 654, in __del__
NameError: name 'ResourceWarning' is not defined
Exception ignored in: <function Local.__del__ at 0x7fefd6b0b430>
Traceback (most recent call last):
File "/srv/example/env/lib/python3.8/site-packages/asgiref/local.py", line 96, in __del__
【问题讨论】:
标签: django django-models django-views django-templates mod-wsgi