python /home/admin/mtr/script_for_cron.py -j default -m 20 -a 'python3 /home/admin/workarea/git/Velours/python/prod/suivi_dashboard.py -T message -J last -I 10 -cs -q -DS 3073,3142,3385,3980,3981,4189,4197,4311,4323,4346,4887,4891,4220 -C 533,4310,4219,4489,4892 -cs -ts -rc' -s temps_de_traitement -M 0 -S 0 -U 97,80,97 import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data suivi_dashboard start Starting time : 1781418746.8125117 Missing data for key 'pic_no_classify' in raspi data, skipping. 2026/06/12 : Working: - DECHET_VALCOR --> 90.9% (Total: 2120 | Uploaded: 1927 | No trait: 2 | No classify: 2 | Duplicated: 189) Batches (0): Warning : moins de 10 batchs - PERLEN --> 75.21% (Total: 718 | Uploaded: 540 | No trait: 1 | No classify: 177) Batches (6): Warning : moins de 10 batchs les batchs sont entre : 2026-06-12 10:00:02 --> 2026-06-12 14:29:02 Warning(<20%): - TEST --> 0.97% (Total: 1439 | Uploaded: 14 | No trait: 2 | Dark: 4) Warning : No infos about batches yet Error: No pictures found: AUTRES ARC_EN_CIEL_PEU_DENSE ARC_EN_CIEL_MM ARC_EN_CIEL_JRM ARC_EN_CIEL_ACIER REFUS_AMIENS SEVRAN CEDRE DERICHEBOURG Warning : number of dashboard : 3 does not equal to what we wait : 10 message/check uploadsElapsed time : 0.06059980392456055 =====================check sts===================== perlen_0423_13062026 31153537 last done with classifieur, try to relaunch sts! INSERT into MTRPhoto.mtr_datou_current (mtd_id, mtr_photo_id, mtr_portfolio_id, mtr_user_id) VALUES (4189,NULL,31153537,1053) ON DUPLICATE KEY UPDATE backup = backup + 1 check datou current : () https://www.fotonower.com/view/31153537?reverse=true perlen_0423_04062026 31153251 last done with classifieur, try to relaunch sts! sts not found in done, should be still in current. check datou current : () https://www.fotonower.com/view/31153251?reverse=true perlen_0423_12062026 31149155 ok! https://www.fotonower.com/view/31149155?reverse=true perlen_0423_11062026 31146430 ok! https://www.fotonower.com/view/31146430?reverse=true perlen_0423_03062026 31146218 last done with classifieur, try to relaunch sts! sts not found in done, should be still in current. check datou current : () https://www.fotonower.com/view/31146218?reverse=true perlen_0423_10062026 31145473 ok! https://www.fotonower.com/view/31145473?reverse=true perlen_0423_09062026 31145188 ok! https://www.fotonower.com/view/31145188?reverse=true perlen_0423_08062026 31144925 ok! https://www.fotonower.com/view/31144925?reverse=true perlen_0423_02062026 31144897 last done with classifieur, try to relaunch sts! sts not found in done, should be still in current. check datou current : () https://www.fotonower.com/view/31144897?reverse=true check_stsElapsed time : 5.161883354187012 alert_checkElapsed time : 3.361701965332031e-05 Catched exception ! Connect or reconnect ! Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 106, in select cursor.execute(query, args) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 179, in execute res = self._query(mogrified_query) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 331, in _query self._do_get_result(db) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 136, in _do_get_result self._result = result = self._get_result() File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 363, in _get_result return self._get_db().store_result() MySQLdb.OperationalError: (1317, 'Query execution was interrupted') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/prod/suivi_dashboard.py", line 732, in TableSummary(context, datou_classifieur, last_days, relaunch_carac, verbose) File "/home/admin/workarea/git/Velours/python/prod/suivi_dashboard.py", line 479, in TableSummary df_score = retrieve_photo_quality(context, today_rows, verbose) File "/home/admin/workarea/git/Velours/python/prod/suivi_dashboard.py", line 508, in retrieve_photo_quality blur_info = get_quality_photo_data_by_pid(context, pid, quality_thcl=_blur_thr) File "/home/admin/workarea/git/Velours/python/prod/memo/lib_sla.py", line 414, in get_quality_photo_data_by_pid quality_info = context.gq.select(query_quality) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 117, in select cursor.execute(query, args) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 179, in execute res = self._query(mogrified_query) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 330, in _query db.query(q) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/connections.py", line 280, in query _mysql.connection.query(self, query) MySQLdb.OperationalError: (2013, 'Lost connection to MySQL server during query') Command exited with non-zero status 1 1.41user 1.31system 160:23:51elapsed 0%CPU (0avgtext+0avgdata 160532maxresident)k 183552inputs+16outputs (19440major+50394minor)pagefaults 0swaps