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: 18/10/2025, 07:00:27 Nombre de datou current ('date', 'nombre de datou current') ('2025-10-18 07:00:27', 69) Nombre total de photos traitees dans les dernieres 24 heures ('date', 'total de photos traitees') ('2025-10-18 07:00:27', 562370) Nombre total de photos restant a traiter non commence ('date', 'Nombre total de photos restant a traiter non commence') ('2025-10-18 07:00:37', 21437) Nombre total de photos restant a traiter ('date', 'Nombre total de photos restant a traiter') ('2025-10-18 07:00:37', 23898) 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-10-18 07:00:38', 4891, 8474, 100, 8374, 'split_time_score_angers_montee_convoyeur', 0.0, '27870363:angers_mon:1017:1', 1) ('2025-10-18 07:00:38', 4958, 15668, 9096, 6572, 'learn_MM_generique_141025', 69.0, '9985333:set_test_a:702:1,27518573:jetson_tes:702:1,27507860:jetson_tes:702:1,27462374:jetson_tes:702:1,27424680:jetson_tes:702:1', 5) ('2025-10-18 07:00:38', 4871, 16571, 11632, 4939, 'blur_rubbia_live', 64.0, '27076019:arc_en_cie:979:0,27849519:arc_en_cie:979:0,26769748:arc_en_cie:979:0,27818041:arc_en_cie:979:0', 4) ('2025-10-18 07:00:38', 4311, 1993, 20, 1973, 'sts_dechet_valcor_matching_v2_2022Q3', 0.0, '27870487:dechet_val:991:1', 1) ('2025-10-18 07:00:38', 4219, 3285, 2218, 1067, 'detection_plaque_valcor_010622', 69.0, '27823931:plaque_val:1064:0,27544920:plaque_val:1064:0,27508708:plaque_val:1064:0', 3) ('2025-10-18 07:00:38', 4892, 3576, 2711, 865, 'multi_classification_tapis_dechet', 6.0, '27896763:Sevran_302:1042:1,27896764:angers_mon:1017:1', 2) ('2025-10-18 07:00:38', 4310, 604, 528, 76, 'classifieur_2camions_valcor_021122_v1', 2.0, '27899314:dechet_val:991:1', 1) ('2025-10-18 07:00:38', 533, 5784, 5752, 32, 'multi_classification_tapis_dechet', 1470.0, '27896762:jetson_tes:979:1,24113525:jetson_tes:979:1', 2) ('2025-10-18 07:00:38', 4302, 196, 196, 0, 'RUBBIA_JRM_consolidate', 1.0, '27892251:JRM_diff_b:979:1,27891832:JRM_diff_b:979:1,27891425:JRM_diff_b:979:1', 3) 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-10-18 07:00:39', 3543, 66, 'cod_pipline_qualipapia_automatique_cod', Decimal('4803.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-10-18 07:00:39', 4220, 981, 'split_time_score_plaque_Valcor', Decimal('0.0000'), '27870510:plaque_val:1064:0', 1) ('2025-10-18 07:00:39', 4311, 2597, 'sts_dechet_valcor_matching_v2_2022Q3', Decimal('0.0000'), '27870487:dechet_val:991:1,27899314:dechet_val:991:0', 2) ('2025-10-18 07:00:39', 4323, 2887, 'split_time_score_arc_en_ciel_mm', Decimal('0.0000'), '27870358:jetson_tes:979:1', 1) ('2025-10-18 07:00:39', 4878, 5907, 'split_time_score_JRM_Arc_En_Ciel_test_load', Decimal('0.0000'), '27870361:arc_en_cie:979:0', 1) ('2025-10-18 07:00:39', 4891, 8474, 'split_time_score_angers_montee_convoyeur', Decimal('0.0000'), '27870363:angers_mon:1017:1', 1) ('2025-10-18 07:00:39', 4949, 525, 'blur_detection_test_ken', Decimal('2702.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-10-18 07:00:39', 4958, 8679, 'learn_MM_generique_141025') ('2025-10-18 07:00:39', 533, 2902, 'multi_classification_tapis_dechet') ('2025-10-18 07:00:39', 4871, 3800, 'blur_rubbia_live') ('2025-10-18 07:00:39', 4219, 3151, 'detection_plaque_valcor_010622') ('2025-10-18 07:00:39', 4892, 19705, 'multi_classification_tapis_dechet') ('2025-10-18 07:00:39', 4891, 100, 'split_time_score_angers_montee_convoyeur') ('2025-10-18 07:00:39', 4311, 20, 'sts_dechet_valcor_matching_v2_2022Q3') ('2025-10-18 07:00:39', 4302, 196, 'RUBBIA_JRM_consolidate') ('2025-10-18 07:00:39', 4310, 1556, 'classifieur_2camions_valcor_021122_v1') Nombre de datous demandés par statut ('statut', 'nombre de datous') (99, 1) (1, 27) (-5, 4) (0, 42) 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-10-18 07:00:41', 4234, 126284, 'refus_rym_velours_valcor') ('2025-10-18 07:00:41', 4302, 70092, 'RUBBIA_JRM_consolidate') ('2025-10-18 07:00:41', 4876, 60745, 'split_time_score_JRM_Arc_En_Ciel_test_load') ('2025-10-18 07:00:41', 4935, 60300, 'split_time_score_JRM_Arc_En_Ciel_merge') ('2025-10-18 07:00:41', 4892, 57221, 'multi_classification_tapis_dechet') ('2025-10-18 07:00:41', 4883, 56559, 'split_time_score_JRM_Arc_En_Ciel') ('2025-10-18 07:00:41', 3993, 22779, 'RUBBIA_Carton_131221_add_surclassifier_rapport') ('2025-10-18 07:00:41', 4877, 22524, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_rubbia_live') ('2025-10-18 07:00:41', 533, 14345, 'multi_classification_tapis_dechet') ('2025-10-18 07:00:41', 4219, 13963, 'detection_plaque_valcor_010622') ('2025-10-18 07:00:41', 4871, 9921, 'blur_rubbia_live') ('2025-10-18 07:00:41', 4958, 8679, 'learn_MM_generique_141025') ('2025-10-18 07:00:41', 4310, 8676, 'classifieur_2camions_valcor_021122_v1') ('2025-10-18 07:00:41', 4323, 3520, 'split_time_score_arc_en_ciel_mm') ('2025-10-18 07:00:41', 4887, 2800, 'split_time_score_Sevran_test') ('2025-10-18 07:00:41', 3804, 2735, 'Rubbia_crop_merge_2486_2499_classifiy_2547_extract_RYM') ('2025-10-18 07:00:41', 4934, 2307, 'split_time_score_JRM_Arc_En_Ciel_test_load_1hour') ('2025-10-18 07:00:41', 4433, 2239, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_weights') ('2025-10-18 07:00:41', 3318, 2011, 'RUBBIA_Refus_mask_simple_non_aussi_rle') ('2025-10-18 07:00:41', 4322, 1816, 'RUBBIA_filmPE_151122') ('2025-10-18 07:00:41', 3995, 1756, 'RUBBIA_PEHD_131221_add_surclassifier_rapport') ('2025-10-18 07:00:41', 4748, 1620, 'RUBBIA_PET_Fonce_add_surclassifier_rapport') ('2025-10-18 07:00:41', 4189, 996, 'split_time_score_JRM_Perlen_convoyeur') ('2025-10-18 07:00:41', 4851, 845, 'split_time_score_SCCU_8') ('2025-10-18 07:00:41', 4878, 800, 'split_time_score_JRM_Arc_En_Ciel_test_load') ('2025-10-18 07:00:41', 3994, 755, 'RUBBIA_proportion_papier_add_surclassifier_rapport') ('2025-10-18 07:00:41', 4153, 701, 'RUBBIA_PET_Fonce_add_surclassifier_rapport') ('2025-10-18 07:00:41', 4311, 700, 'sts_dechet_valcor_matching_v2_2022Q3') ('2025-10-18 07:00:41', 4220, 700, 'split_time_score_plaque_Valcor') ('2025-10-18 07:00:41', 4849, 636, 'split_time_score_SCCU_6') ('2025-10-18 07:00:41', 3991, 527, 'RUBBIA_ELA_131221_add_surclassifier_rapport') ('2025-10-18 07:00:41', 4850, 502, 'split_time_score_SCCU_7') ('2025-10-18 07:00:41', 3789, 464, 'split_time_score_test_multi_matiere') ('2025-10-18 07:00:41', 4891, 400, 'split_time_score_angers_montee_convoyeur') ('2025-10-18 07:00:41', 4741, 225, 'Rubbia_crop_merge_2486_2499_classifiy_2547_extract_RYM') ('2025-10-18 07:00:41', 4250, 224, 'pcnc_prod_consolidate') ('2025-10-18 07:00:41', 3787, 128, 'split_time_score_urban_fest') ('2025-10-18 07:00:41', 4252, 119, 'pehd_prod_consolidate') ('2025-10-18 07:00:41', 4255, 105, 'pet_clair_prod_consolidate') ('2025-10-18 07:00:41', 4742, 105, 'entrant_consolidate') ('2025-10-18 07:00:41', 4251, 98, 'ela_prod_consolidate') ('2025-10-18 07:00:41', 3992, 91, 'RUBBIA_Alu_131221_add_surclassifier_rapport') ('2025-10-18 07:00:41', 370, 73, 'proportion_papier_qualite_dechets_tri') ('2025-10-18 07:00:41', 3181, 66, 'split_time_score_JRM_Arc_En_Ciel') ('2025-10-18 07:00:41', 3459, 60, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_weights') ('2025-10-18 07:00:41', 243, 52, 'prepare_varroa_ellipse_tile_rotate_whiten') ('2025-10-18 07:00:41', 4249, 42, 'pcm_prod_consolidate') ('2025-10-18 07:00:41', 4254, 28, 'pet_fonce_prod_consolidate') ('2025-10-18 07:00:41', 3164, 28, 'debug_sans_detect_pipeline_qualipapia_detect_crop_classify_rle_unique_nms_040321') ('2025-10-18 07:00:41', 4212, 20, 'ACP_from_port_5709050_type_5619_size_9') ('2025-10-18 07:00:41', 4209, 20, 'test_acp') ('2025-10-18 07:00:41', 4208, 20, 'test_acp_fit_transform_20') ('2025-10-18 07:00:41', 4621, 15, 'tfhub_18_7_2023') ('2025-10-18 07:00:41', 4567, 15, 'tfhub_19_06_2023') ('2025-10-18 07:00:41', 3781, 14, 'cod_pipeline_Perlen_manuel_sts_test') ('2025-10-18 07:00:41', 230, 12, 'datou_test_rotate') ('2025-10-18 07:00:41', 4959, 10, 'split_time_score_cod_upm_SyctomXV_Mask_23Q1') ('2025-10-18 07:00:41', 3070, 10, 'test_ventilate_hashtag_type_3326') ('2025-10-18 07:00:41', 2896, 10, 'test_radom_deformation') ('2025-10-18 07:00:41', 686, 10, 'copy_argmax_crop') ('2025-10-18 07:00:41', 3990, 9, 'test_crop_condition_blur') ('2025-10-18 07:00:41', 3856, 8, 'RUBBIA_Carton_050821_extract_RYM') ('2025-10-18 07:00:41', 1848, 7, 'Pipeline_upm_photos_blanches') ('2025-10-18 07:00:41', 4184, 6, 'detection_plaque_valcor_010622') ('2025-10-18 07:00:41', 40, 6, 'mask_coco_origin') ('2025-10-18 07:00:41', 4148, 5, 'test_paddle_ocr') ('2025-10-18 07:00:41', 4553, 4, 'copie_4387_test_replace') ('2025-10-18 07:00:41', 4492, 4, 'copie_4387_test_replace') ('2025-10-18 07:00:41', 2719, 4, 'pipeline_rubbia_detect_crop_classify_rle_unique_nms_080920_only_final') ('2025-10-18 07:00:41', 2, 3, 'classification_model') ('2025-10-18 07:00:41', 4573, 3, 'test_sam_h') ('2025-10-18 07:00:41', 1026, 3, 'mask_coco_for_test') ('2025-10-18 07:00:41', 1818, 2, 'blanchir') ('2025-10-18 07:00:41', 571, 2, 'datou_test_flip') ('2025-10-18 07:00:41', 233, 2, 'datou_test_rotate_conditionnel') ('2025-10-18 07:00:41', 2041, 2, 'test_data_aug') ('2025-10-18 07:00:41', 2085, 2, 'train_points_upm_darker') 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') ('PhotoDescForrotata_polygone', 419118) ('d4018_output_mask', 140320) ('d4018_output_rle', 80445) ('PhotoDescForlabels_result_test_step_tile', 49929) ('datou_4322_rle', 42515) ('pht_test_rle_unique_nms_output', 29558) ('varroa_from_ellipse_tiled_rotate_shrink_whiten_ok', 20349) ('test_sam', 9813) ('test_non_regreg_generate_new_image', 2735) ('detection_filter_test', 1600) ('mask_coco_origin', 633) 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 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 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') 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 81, 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_cath.fotonower.com:3306' (113)") 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 115, in select self.connect() File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 84, in connect raise Exception("Unable to connect to " + str(self.host) + " : " + str(e)) Exception: Unable to connect to sql_cath.fotonower.com : (2003, "Can't connect to MySQL server on 'sql_cath.fotonower.com:3306' (113)") Command exited with non-zero status 1 0.20user 0.10system 32:14:35elapsed 0%CPU (0avgtext+0avgdata 32744maxresident)k 23336inputs+40outputs (2685major+8053minor)pagefaults 0swaps