2024-04-29 13:07:02,810 | app.py 1744 log_exception() | ERROR | Exception on /trainingjob/pipelineNotification [POST] Traceback (most recent call last): File "/w/workspace/aiml-fw-awmf-tm-tox-sonarqube/trainingmgr/trainingmgr_main.py", line 545, in pipeline_notification raise TMException(errMsg + trainingjob_name) trainingmgr.common.exceptions_utls.TMException: Upload to mme failedusecase1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/w/workspace/aiml-fw-awmf-tm-tox-sonarqube/trainingmgr/db/common_db_fun.py", line 183, in change_in_progress_to_failed_by_latest_version conn = ps_db_obj.get_new_conn() AttributeError: 'NoneType' object has no attribute 'get_new_conn' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/w/workspace/aiml-fw-awmf-tm-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/app.py", line 2529, in wsgi_app response = self.full_dispatch_request() File "/w/workspace/aiml-fw-awmf-tm-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/app.py", line 1825, in full_dispatch_request rv = self.handle_user_exception(e) File "/w/workspace/aiml-fw-awmf-tm-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/app.py", line 1823, in full_dispatch_request rv = self.dispatch_request() File "/w/workspace/aiml-fw-awmf-tm-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/app.py", line 1799, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "/w/workspace/aiml-fw-awmf-tm-tox-sonarqube/trainingmgr/trainingmgr_main.py", line 560, in pipeline_notification if not change_in_progress_to_failed_by_latest_version(trainingjob_name, PS_DB_OBJ) : File "/w/workspace/aiml-fw-awmf-tm-tox-sonarqube/trainingmgr/db/common_db_fun.py", line 203, in change_in_progress_to_failed_by_latest_version raise DBException(DB_QUERY_EXEC_ERROR + \ trainingmgr.common.exceptions_utls.DBException: Failed to execute query in change_in_progress_to_failed_by_latest_version'NoneType' object has no attribute 'get_new_conn'