batch : 0/199 nombre de photos selectionnées : 8000 Catched exception ! Connect or reconnect ! Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 68, in select cursor.execute(query, args) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 209, in execute res = self._query(query) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 315, in _query db.query(q) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/connections.py", line 239, in query _mysql.connection.query(self, query) MySQLdb._exceptions.OperationalError: (1205, 'Lock wait timeout exceeded; try restarting transaction') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/utils/delete_row_crop_segment.py", line 153, in delete_cs_id(id_list_final, batch_delete) File "/home/admin/workarea/git/Velours/python/mtr/utils/delete_row_crop_segment.py", line 38, in delete_cs_id gq.select(delete_cs_id_query) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 79, in select cursor.execute(query, args) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 209, in execute res = self._query(query) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 315, in _query db.query(q) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/connections.py", line 239, in query _mysql.connection.query(self, query) MySQLdb._exceptions.OperationalError: (1205, 'Lock wait timeout exceeded; try restarting transaction') Command exited with non-zero status 1 0.17user 0.01system 2:09.70elapsed 0%CPU (0avgtext+0avgdata 32988maxresident)k 96inputs+8outputs (0major+5085minor)pagefaults 0swaps