uwsgi logs ResourceWarning: unclosed file
Everytime I regret... but I thought I'd let a couple of casual users try SAO as opposed to installing the GTK client... But the first thing I notice in the logs (running recent 6.0):
Mon Sep 06 06:09:22 2021] WARNING:py.warnings:sys:1: ResourceWarning: unclosed file <_io.BufferedReader name='/opt/trytond/sao/index.html'>
Mon Sep 06 06:09:22 2021] WARNING:py.warnings:sys:1: ResourceWarning: unclosed file <_io.BufferedReader name='/opt/trytond/sao/bower_components/jquery/dist/jquery.min.js'>
Mon Sep 06 06:09:22 2021] WARNING:py.warnings:sys:1: ResourceWarning: unclosed file <_io.BufferedReader name='/opt/trytond/sao/bower_components/bootstrap/dist/js/bootstrap.min.js'>
Mon Sep 06 06:09:22 2021] WARNING:py.warnings:sys:1: ResourceWarning: unclosed file <_io.BufferedReader name='/opt/trytond/sao/bower_components/moment/min/moment.min.js'>
Mon Sep 06 06:09:22 2021] WARNING:py.warnings:sys:1: ResourceWarning: unclosed file <_io.BufferedReader name='/opt/trytond/sao/bower_components/gettext.js/dist/gettext.min.js'>
Mon Sep 06 06:09:22 2021] WARNING:py.warnings:sys:1: ResourceWarning: unclosed file <_io.BufferedReader name='/opt/trytond/sao/bower_components/papaparse/papaparse.min.js'>
Mon Sep 06 06:09:22 2021] WARNING:py.warnings:sys:1: ResourceWarning: unclosed file <_io.BufferedReader name='/opt/trytond/sao/bower_components/d3/d3.min.js'>
Mon Sep 06 06:09:22 2021] WARNING:py.warnings:sys:1: ResourceWarning: unclosed file <_io.BufferedReader name='/opt/trytond/sao/bower_components/c3/c3.min.js'>
... and so on