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 : 1781591548.762603 Missing data for key 'pic_no_classify' in raspi data, skipping. 2026/06/15 : Working: - DECHET_VALCOR --> 85.9% (Total: 2121 | Uploaded: 1822 | No trait: 2 | No classify: 2 | Duplicated: 295) Warning : No infos about batches yet - PERLEN --> 68.62% (Total: 717 | Uploaded: 492 | No trait: 1 | No classify: 224) Batches (6): Warning : moins de 10 batchs les batchs sont entre : 2026-06-15 10:00:02 --> 2026-06-15 14:22:03 Warning(<20%): - TEST --> 0.99% (Total: 1318 | Uploaded: 13 | 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.05527019500732422 =====================check sts===================== perlen_0423_15062026 31157000 ok! https://www.fotonower.com/view/31157000?reverse=true perlen_0423_05062026 31156762 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/31156762?reverse=true perlen_0423_14062026 31154441 ok! https://www.fotonower.com/view/31154441?reverse=true perlen_0423_13062026 31153537 ok! 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 : 3.383901357650757 Mail sent: {'message_id': '<202606160632.16027120397@smtp-relay.mailin.fr>', 'message_ids': None} mail d'alerte envoyé pour le dashboard arc_en_ciel_jrm Mail sent: {'message_id': '<202606160632.94656194784@smtp-relay.mailin.fr>', 'message_ids': None} mail d'alerte envoyé pour le dashboard refus_amiens Mail sent: {'message_id': '<202606160632.70818334454@smtp-relay.mailin.fr>', 'message_ids': None} mail d'alerte envoyé pour le dashboard arc_en_ciel_jrm_peu_dense Mail sent: {'message_id': '<202606160632.74271876169@smtp-relay.mailin.fr>', 'message_ids': None} mail d'alerte envoyé pour le dashboard angers_montee_convoyeur Mail sent: {'message_id': '<202606160632.16373809305@smtp-relay.mailin.fr>', 'message_ids': None} mail d'alerte envoyé pour le dashboard sevran Mail sent: {'message_id': '<202606160632.79813826036@smtp-relay.mailin.fr>', 'message_ids': None} mail d'alerte envoyé pour le dashboard plaque_Valcor Mail sent: {'message_id': '<202606160632.21612524282@smtp-relay.mailin.fr>', 'message_ids': None} mail d'alerte envoyé pour le dashboard dechet_Valcor_v2 Mail sent: {'message_id': '<202606160632.91252349825@smtp-relay.mailin.fr>', 'message_ids': None} mail d'alerte envoyé pour le dashboard arc_en_ciel_mm Mail sent: {'message_id': '<202606160632.12849817289@smtp-relay.mailin.fr>', 'message_ids': None} mail d'alerte envoyé pour le dashboard arc_en_ciel_acier alert_checkElapsed time : 0.9344527721405029 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.71user 1.37system 112:23:50elapsed 0%CPU (0avgtext+0avgdata 160696maxresident)k 301144inputs+16outputs (20530major+61755minor)pagefaults 0swaps