gao_yu
(gao yu)
September 3, 2020, 6:12am
1
Traceback (most recent call last):
File "/edx/app/edxapp/edx-platform/manage.py", line 17, in <module>
log_python_warnings()
File "/edx/app/edxapp/edx-platform/openedx/core/lib/logsettings.py", line 125, in log_python_warnings
warnings.filterwarnings('ignore', '.*unclosed.*', category=ResourceWarning)
NameError: global name 'ResourceWarning' is not defined
mahyard
(Mahyar Damavand)
September 3, 2020, 6:21am
2
Hey @gao_yu ,
you would not expect to get a good detailed answer when you did not ask a question.
you should provide a description about your problem and the situation you were when the trouble appeared.
morenol
(Luis Moreno)
September 3, 2020, 2:53pm
3
gao_yu:
ResourceWarning
Are you using python2.7?
It seems that ResourceWarning is available since python3.2