I ran into several issues when using the AutoClose_v3.py script. I'm currently running SDP OnPrem v111303 with Windows Server 2019 and running SQL 2017 database with Python 3.10.0.
Even though I have next to no experience with python scripting, I was able to update some of the functions in the AutoClose script that are now deprecated in my version of Python. I am down to an issue with the functions.py commands and I keep getting a 'File or directory not found' error. I tried replacing the file with the version that was included in the zip folder with the original AutoClose script and still get the same errors.
I've attached a copy of my most recent error.