python /home/admin/mtr/script_for_cron.py -j default -m 30 -a 'python3 ~/workarea/git/Velours/python/mtr/sql_queries.py -j status ' -s monitor_queries -M 0 -S 0 -U 120,120,120 import MySQLdb succeeded Now: 22/07/2025, 00:09:15 Nombre de datou current ('date', 'nombre de datou current') ('2025-07-22 00:09:15', 88) Nombre total de photos traitees dans les dernieres 24 heures ('date', 'total de photos traitees') ('2025-07-22 00:09:15', 514789) Nombre total de photos restant a traiter non commence ('date', 'Nombre total de photos restant a traiter non commence') ('2025-07-22 00:10:16', 2593) Nombre total de photos restant a traiter ('date', 'Nombre total de photos restant a traiter') ('2025-07-22 00:10:16', 4417) Reste a faire par datou id ('date', 'datou_id', 'total_a_traiter', 'total_traite', 'restant_a_traite', 'datou_nom', 'temps moyens passe des datous a traiter (heures)', 'list_port_ids_mtr_user_ids') ('2025-07-22 00:10:19', 4219, 10374, 6199, 4175, 'detection_plaque_valcor_010622', 519.3333333333334, '23315443:plaque_val:1064:1,25116808:plaque_val:1064:0,24979422:plaque_val:1064:0', 3) ('2025-07-22 00:10:19', 533, 30397, 30230, 167, 'multi_classification_tapis_dechet', 616.0, '23311132:jetson_tes:979:1,23572474:jetson_tes:979:1,25116200:aec_metal_:979:1,25001619:aec_metal_:979:1,24978287:aec_metal_:979:0,24113525:jetson_tes:979:1', 6) ('2025-07-22 00:10:19', 4310, 2002, 1960, 42, 'classifieur_2camions_valcor_021122_v1', 20.0, '25117608:dechet_val:991:0', 1) ('2025-07-22 00:10:19', 4871, 5517, 5509, 8, 'blur_rubbia_live', 19.0, '25117783:arc_en_cie:979:0', 1) ('2025-07-22 00:10:19', 4750, 42, 41, 1, 'Rubbia_crop_merge_2486_2499_classifiy_2547_extract_RYM_with_sam', 999.8, '17350689:foto6_sync:1107:1,23703709:test_diff_:1107:1,24956747:test_diff_:1107:1,17295578:foto6_sync:1107:1,23703266:test_diff_:1107:1,23703265:test_diff_:1107:1,16786377:foto6_sync:1107:1,23703009:test_diff_:1107:1,15313936:foto6_sync:1107:1,23702884:test_diff_:1107:1', 10) ('2025-07-22 00:10:19', 3991, 27, 27, 0, 'RUBBIA_ELA_131221_add_surclassifier_rapport', 2.0, '25150503:ela_diff_b:1017:1', 1) ('2025-07-22 00:10:19', 4153, 35, 35, 0, 'RUBBIA_PET_Fonce_add_surclassifier_rapport', 2.0, '25150531:flux_dev_d:1017:1', 1) ('2025-07-22 00:10:19', 4234, 2, 2, 0, 'refus_rym_velours_valcor', 0.0, '25155533:incinerati:1103:1', 1) ('2025-07-22 00:10:19', 4877, 2, 2, 0, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_rubbia_live', 0.0, '25155466:JRM_diff_b:979:1', 1) Reste a faire par datou id non traite ('date', 'datou_id', 'total_a_traiter', 'datou_nom', 'temps moyens passe des datous a traiter (heures)', 'list_port_ids_mtr_user_ids', 'nb_port') ('2025-07-22 00:10:20', 3543, 66, 'cod_pipline_qualipapia_automatique_cod', Decimal('2684.0000'), '4453926:jrm_diff_b:739:0,4652336:jrm_diff_b:739:0,4756245:jrm_diff_b:739:0,4938484:jrm_diff_b:739:0,4938485:jrm_diff_b:739:0,4938486:jrm_diff_b:739:0,4938487:jrm_diff_b:739:0,4938488:jrm_diff_b:739:0', 8) ('2025-07-22 00:10:20', 4311, 2002, 'sts_dechet_valcor_matching_v2_2022Q3', Decimal('0.0000'), '25117608:dechet_val:991:1', 1) ('2025-07-22 00:10:20', 4949, 525, 'blur_detection_test_ken', Decimal('584.0000'), '24359416:jetson_tes:1110:0', 1) Nombre de photos d'entrees traites par datou dans les dernieres 24 heures pour les traitement (datou_current) en cours ('date', 'datou_id', 'Nombre de photos traitees', 'datou_nom') ('2025-07-22 00:10:20', 4750, 45, 'Rubbia_crop_merge_2486_2499_classifiy_2547_extract_RYM_with_sam') ('2025-07-22 00:10:20', 533, 27320, 'multi_classification_tapis_dechet') ('2025-07-22 00:10:20', 4219, 3686, 'detection_plaque_valcor_010622') ('2025-07-22 00:10:20', 4310, 5772, 'classifieur_2camions_valcor_021122_v1') ('2025-07-22 00:10:20', 4871, 5509, 'blur_rubbia_live') ('2025-07-22 00:10:20', 3991, 188, 'RUBBIA_ELA_131221_add_surclassifier_rapport') ('2025-07-22 00:10:20', 4153, 175, 'RUBBIA_PET_Fonce_add_surclassifier_rapport') ('2025-07-22 00:10:20', 4877, 12, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_rubbia_live') ('2025-07-22 00:10:20', 4234, 2, 'refus_rym_velours_valcor') Nombre de datous demandés par statut ('statut', 'nombre de datous') (1, 26) (0, 66) (-5, 7) Nombre de resultats de type photos par datou dans les dernieres 24 heures (plusieurs photos de sorties par photos d'entree) ('date', 'datou_id', 'Nombre de photos traitees', 'datou_nom') ('2025-07-22 00:10:26', 4234, 88441, 'refus_rym_velours_valcor') ('2025-07-22 00:10:26', 4935, 56271, 'split_time_score_JRM_Arc_En_Ciel_merge') ('2025-07-22 00:10:26', 4876, 56113, 'split_time_score_JRM_Arc_En_Ciel_test_load') ('2025-07-22 00:10:26', 4883, 56005, 'split_time_score_JRM_Arc_En_Ciel') ('2025-07-22 00:10:26', 4302, 50442, 'RUBBIA_JRM_consolidate') ('2025-07-22 00:10:26', 4877, 49581, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_rubbia_live') ('2025-07-22 00:10:26', 533, 39789, 'multi_classification_tapis_dechet') ('2025-07-22 00:10:26', 4323, 37540, 'split_time_score_arc_en_ciel_mm') ('2025-07-22 00:10:26', 3804, 11047, 'Rubbia_crop_merge_2486_2499_classifiy_2547_extract_RYM') ('2025-07-22 00:10:26', 4219, 9632, 'detection_plaque_valcor_010622') ('2025-07-22 00:10:26', 4892, 7374, 'multi_classification_tapis_dechet') ('2025-07-22 00:10:26', 4310, 5778, 'classifieur_2camions_valcor_021122_v1') ('2025-07-22 00:10:26', 3993, 5756, 'RUBBIA_Carton_131221_add_surclassifier_rapport') ('2025-07-22 00:10:26', 4871, 5509, 'blur_rubbia_live') ('2025-07-22 00:10:26', 3995, 5480, 'RUBBIA_PEHD_131221_add_surclassifier_rapport') ('2025-07-22 00:10:26', 4322, 5464, 'RUBBIA_filmPE_151122') ('2025-07-22 00:10:26', 4916, 4200, 'split_time_score_Acier_Arc_En_Ciel') ('2025-07-22 00:10:26', 4748, 3462, 'RUBBIA_PET_Fonce_add_surclassifier_rapport') ('2025-07-22 00:10:26', 3994, 2061, 'RUBBIA_proportion_papier_add_surclassifier_rapport') ('2025-07-22 00:10:26', 4311, 1800, 'sts_dechet_valcor_matching_v2_2022Q3') ('2025-07-22 00:10:26', 3991, 1787, 'RUBBIA_ELA_131221_add_surclassifier_rapport') ('2025-07-22 00:10:26', 4934, 1700, 'split_time_score_JRM_Arc_En_Ciel_test_load_1hour') ('2025-07-22 00:10:26', 3459, 1601, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_weights') ('2025-07-22 00:10:26', 4153, 1546, 'RUBBIA_PET_Fonce_add_surclassifier_rapport') ('2025-07-22 00:10:26', 4891, 1418, 'split_time_score_angers_montee_convoyeur') ('2025-07-22 00:10:26', 4849, 1098, 'split_time_score_SCCU_6') ('2025-07-22 00:10:26', 4851, 1007, 'split_time_score_SCCU_8') ('2025-07-22 00:10:26', 4850, 933, 'split_time_score_SCCU_7') ('2025-07-22 00:10:26', 4220, 600, 'split_time_score_plaque_Valcor') ('2025-07-22 00:10:26', 4750, 517, 'Rubbia_crop_merge_2486_2499_classifiy_2547_extract_RYM_with_sam') ('2025-07-22 00:10:26', 3789, 464, 'split_time_score_test_multi_matiere') ('2025-07-22 00:10:26', 4741, 272, 'Rubbia_crop_merge_2486_2499_classifiy_2547_extract_RYM') ('2025-07-22 00:10:26', 3992, 198, 'RUBBIA_Alu_131221_add_surclassifier_rapport') ('2025-07-22 00:10:26', 3787, 128, 'split_time_score_urban_fest') ('2025-07-22 00:10:26', 3181, 66, 'split_time_score_JRM_Arc_En_Ciel') ('2025-07-22 00:10:26', 243, 52, 'prepare_varroa_ellipse_tile_rotate_whiten') ('2025-07-22 00:10:26', 370, 50, 'proportion_papier_qualite_dechets_tri') ('2025-07-22 00:10:26', 3164, 28, 'debug_sans_detect_pipeline_qualipapia_detect_crop_classify_rle_unique_nms_040321') ('2025-07-22 00:10:26', 4621, 21, 'tfhub_18_7_2023') ('2025-07-22 00:10:26', 4567, 21, 'tfhub_19_06_2023') ('2025-07-22 00:10:26', 4209, 20, 'test_acp') ('2025-07-22 00:10:26', 4212, 20, 'ACP_from_port_5709050_type_5619_size_9') ('2025-07-22 00:10:26', 4208, 20, 'test_acp_fit_transform_20') ('2025-07-22 00:10:26', 230, 20, 'datou_test_rotate') ('2025-07-22 00:10:26', 686, 18, 'copy_argmax_crop') ('2025-07-22 00:10:26', 4746, 18, 'split_time_score_cod_upm_SyctomXV_Mask_23Q1') ('2025-07-22 00:10:26', 40, 17, 'mask_coco_origin') ('2025-07-22 00:10:26', 3781, 14, 'cod_pipeline_Perlen_manuel_sts_test') ('2025-07-22 00:10:26', 1848, 10, 'Pipeline_upm_photos_blanches') ('2025-07-22 00:10:26', 3990, 10, 'test_crop_condition_blur') ('2025-07-22 00:10:26', 4184, 10, 'detection_plaque_valcor_010622') ('2025-07-22 00:10:26', 3070, 10, 'test_ventilate_hashtag_type_3326') ('2025-07-22 00:10:26', 4573, 10, 'test_sam_h') ('2025-07-22 00:10:26', 2719, 10, 'pipeline_rubbia_detect_crop_classify_rle_unique_nms_080920_only_final') ('2025-07-22 00:10:26', 2896, 10, 'test_radom_deformation') ('2025-07-22 00:10:26', 4148, 9, 'test_paddle_ocr') ('2025-07-22 00:10:26', 1026, 8, 'mask_coco_for_test') ('2025-07-22 00:10:26', 3856, 8, 'RUBBIA_Carton_050821_extract_RYM') ('2025-07-22 00:10:26', 2, 5, 'classification_model') ('2025-07-22 00:10:26', 2665, 4, 'pipeline_rubbia_detect_crop_classify_rle_unique_nms_080920') ('2025-07-22 00:10:26', 233, 4, 'datou_test_rotate_conditionnel') ('2025-07-22 00:10:26', 4492, 4, 'copie_4387_test_replace') ('2025-07-22 00:10:26', 4553, 4, 'copie_4387_test_replace') ('2025-07-22 00:10:26', 2085, 2, 'train_points_upm_darker') ('2025-07-22 00:10:26', 571, 2, 'datou_test_flip') ('2025-07-22 00:10:26', 1818, 2, 'blanchir') ('2025-07-22 00:10:26', 2041, 2, 'test_data_aug') Nombre de lignes inserees dans la table crop segments depuis une semaine, par hashtag type ('hashtag type id', 'Nombre de ligne dans crop_segments depuis 7 jours') ('d4018_output_mask', 1131914) ('d4018_output_rle', 875763) ('PhotoDescForrotata_polygone', 493080) ('merge_pipeline_rubbia_jrm_details_3459', 190653) ('datou_3991_rle', 162932) ('PhotoDescForlabels_result_test_step_tile', 58740) ('test_sam_h', 51664) ('datou_3993_rle', 51367) ('pht_test_rle_unique_nms_output', 29558) ('datou_4322_rle', 26642) ('varroa_from_ellipse_tiled_rotate_shrink_whiten_ok', 23940) ('output_merge_d4380', 21377) ('test_non_regreg_generate_new_image', 2219) ('detection_filter_test', 1600) ('mask_coco_origin', 767) Nombre total de sub photos associees à chaque hashtag type ('hashtag type id', 'hashtag type name', 'Nombre de photos total') Catched exception ! Connect or reconnect ! Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 69, 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: (1053, 'Server shutdown in progress') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 44, in connect self.db = MySQLdb.connect(host=self.host, db=self.dbname, user=self.user, passwd=self.password) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/__init__.py", line 121, in Connect return Connection(*args, **kwargs) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/connections.py", line 200, in __init__ super().__init__(*args, **kwargs2) MySQLdb.OperationalError: (2003, "Can't connect to MySQL server on 'sql.fotonower.com:3306' (111)") During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/sql_queries.py", line 304, in result = gq.select(query) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 78, in select self.connect() File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 47, in connect raise Exception("Unable to connect to " + str(self.host) + " : " + str(e)) Exception: Unable to connect to sql.fotonower.com : (2003, "Can't connect to MySQL server on 'sql.fotonower.com:3306' (111)") Command exited with non-zero status 1 0.43user 0.30system 1:51:14elapsed 0%CPU (0avgtext+0avgdata 34020maxresident)k 37008inputs+40outputs (2400major+7982minor)pagefaults 0swaps