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: 19/10/2025, 07:00:29 Nombre de datou current ('date', 'nombre de datou current') ('2025-10-19 07:00:29', 45) Nombre total de photos traitees dans les dernieres 24 heures ('date', 'total de photos traitees') ('2025-10-19 07:00:29', 373471) Nombre total de photos restant a traiter non commence ('date', 'Nombre total de photos restant a traiter non commence') ('2025-10-19 07:00:39', 4665) Nombre total de photos restant a traiter ('date', 'Nombre total de photos restant a traiter') ('2025-10-19 07:00:39', 1958) 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-19 07:00:39', 4750, 1153, 38, 1115, 'Rubbia_crop_merge_2486_2499_classifiy_2547_extract_RYM_with_sam', 2301.3333333333335, '16786377:foto6_sync:1107:1,17295578:foto6_sync:1107:1,23703709:test_diff_:1107:1,24956747:test_diff_:1107:1,26761642:test_diff_:1107:1,26761566:foto6_sync:1107:1', 6) ('2025-10-19 07:00:39', 4219, 1527, 1043, 484, 'detection_plaque_valcor_010622', 22.0, '27900446:plaque_val:1064:1', 1) ('2025-10-19 07:00:39', 4892, 3798, 3468, 330, 'multi_classification_tapis_dechet', 6.0, '27905866:Sevran_302:1042:1,27905868:angers_mon:1017:1', 2) ('2025-10-19 07:00:39', 533, 1264, 1235, 29, 'multi_classification_tapis_dechet', 6.0, '27905867:jetson_tes:979:1', 1) ('2025-10-19 07:00:39', 4234, 1, 1, 0, 'refus_rym_velours_valcor', 0.0, '27908191:incinerati:1103: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-10-19 07:00:40', 3543, 66, 'cod_pipline_qualipapia_automatique_cod', Decimal('4827.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-19 07:00:40', 4220, 1527, 'split_time_score_plaque_Valcor', Decimal('0.0000'), '27900446:plaque_val:1064:0', 1) ('2025-10-19 07:00:40', 4311, 2547, 'sts_dechet_valcor_matching_v2_2022Q3', Decimal('0.0000'), '27899314:dechet_val:991:1', 1) ('2025-10-19 07:00:40', 4949, 525, 'blur_detection_test_ken', Decimal('2726.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-19 07:00:40', 4750, 42, 'Rubbia_crop_merge_2486_2499_classifiy_2547_extract_RYM_with_sam') ('2025-10-19 07:00:40', 533, 3772, 'multi_classification_tapis_dechet') ('2025-10-19 07:00:40', 4310, 854, 'classifieur_2camions_valcor_021122_v1') ('2025-10-19 07:00:40', 4234, 10, 'refus_rym_velours_valcor') ('2025-10-19 07:00:40', 4219, 2085, 'detection_plaque_valcor_010622') ('2025-10-19 07:00:40', 4892, 9868, 'multi_classification_tapis_dechet') Nombre de datous demandés par statut ('statut', 'nombre de datous') (99, 5) (1, 16) (-5, 4) (0, 27) 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-19 07:00:41', 4234, 132734, 'refus_rym_velours_valcor') ('2025-10-19 07:00:41', 4883, 52223, 'split_time_score_JRM_Arc_En_Ciel') ('2025-10-19 07:00:41', 4876, 48597, 'split_time_score_JRM_Arc_En_Ciel_test_load') ('2025-10-19 07:00:41', 4935, 41000, 'split_time_score_JRM_Arc_En_Ciel_merge') ('2025-10-19 07:00:41', 4892, 23244, 'multi_classification_tapis_dechet') ('2025-10-19 07:00:41', 4958, 14121, 'learn_MM_generique_141025') ('2025-10-19 07:00:41', 533, 11224, 'multi_classification_tapis_dechet') ('2025-10-19 07:00:41', 4219, 6791, 'detection_plaque_valcor_010622') ('2025-10-19 07:00:41', 3993, 5366, 'RUBBIA_Carton_131221_add_surclassifier_rapport') ('2025-10-19 07:00:41', 4887, 5000, 'split_time_score_Sevran_test') ('2025-10-19 07:00:41', 4871, 4883, 'blur_rubbia_live') ('2025-10-19 07:00:41', 4891, 3700, 'split_time_score_angers_montee_convoyeur') ('2025-10-19 07:00:41', 4323, 3200, 'split_time_score_arc_en_ciel_mm') ('2025-10-19 07:00:41', 4322, 2750, 'RUBBIA_filmPE_151122') ('2025-10-19 07:00:41', 4311, 2420, 'sts_dechet_valcor_matching_v2_2022Q3') ('2025-10-19 07:00:41', 4310, 2369, 'classifieur_2camions_valcor_021122_v1') ('2025-10-19 07:00:41', 3804, 2292, 'Rubbia_crop_merge_2486_2499_classifiy_2547_extract_RYM') ('2025-10-19 07:00:41', 4934, 1989, 'split_time_score_JRM_Arc_En_Ciel_test_load_1hour') ('2025-10-19 07:00:41', 4302, 1385, 'RUBBIA_JRM_consolidate') ('2025-10-19 07:00:41', 4748, 1147, 'RUBBIA_PET_Fonce_add_surclassifier_rapport') ('2025-10-19 07:00:41', 3995, 969, 'RUBBIA_PEHD_131221_add_surclassifier_rapport') ('2025-10-19 07:00:41', 4878, 900, 'split_time_score_JRM_Arc_En_Ciel_test_load') ('2025-10-19 07:00:41', 4851, 837, 'split_time_score_SCCU_8') ('2025-10-19 07:00:41', 4220, 834, 'split_time_score_plaque_Valcor') ('2025-10-19 07:00:41', 4849, 731, 'split_time_score_SCCU_6') ('2025-10-19 07:00:41', 4433, 614, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_weights') ('2025-10-19 07:00:41', 4850, 557, 'split_time_score_SCCU_7') ('2025-10-19 07:00:41', 3459, 267, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_weights') ('2025-10-19 07:00:41', 3789, 232, 'split_time_score_test_multi_matiere') ('2025-10-19 07:00:41', 4189, 200, 'split_time_score_JRM_Perlen_convoyeur') ('2025-10-19 07:00:41', 3318, 192, 'RUBBIA_Refus_mask_simple_non_aussi_rle') ('2025-10-19 07:00:41', 4153, 112, 'RUBBIA_PET_Fonce_add_surclassifier_rapport') ('2025-10-19 07:00:41', 3992, 98, 'RUBBIA_Alu_131221_add_surclassifier_rapport') ('2025-10-19 07:00:41', 3787, 64, 'split_time_score_urban_fest') ('2025-10-19 07:00:41', 4750, 42, 'Rubbia_crop_merge_2486_2499_classifiy_2547_extract_RYM_with_sam') ('2025-10-19 07:00:41', 3181, 33, 'split_time_score_JRM_Arc_En_Ciel') ('2025-10-19 07:00:41', 243, 26, 'prepare_varroa_ellipse_tile_rotate_whiten') ('2025-10-19 07:00:41', 370, 25, 'proportion_papier_qualite_dechets_tri') ('2025-10-19 07:00:41', 3164, 14, 'debug_sans_detect_pipeline_qualipapia_detect_crop_classify_rle_unique_nms_040321') ('2025-10-19 07:00:41', 4208, 10, 'test_acp_fit_transform_20') ('2025-10-19 07:00:41', 4209, 10, 'test_acp') ('2025-10-19 07:00:41', 4212, 10, 'ACP_from_port_5709050_type_5619_size_9') ('2025-10-19 07:00:41', 3781, 7, 'cod_pipeline_Perlen_manuel_sts_test') ('2025-10-19 07:00:41', 4567, 6, 'tfhub_19_06_2023') ('2025-10-19 07:00:41', 40, 6, 'mask_coco_origin') ('2025-10-19 07:00:41', 4621, 6, 'tfhub_18_7_2023') ('2025-10-19 07:00:41', 3070, 5, 'test_ventilate_hashtag_type_3326') ('2025-10-19 07:00:41', 2896, 5, 'test_radom_deformation') ('2025-10-19 07:00:41', 3990, 5, 'test_crop_condition_blur') ('2025-10-19 07:00:41', 1848, 5, 'Pipeline_upm_photos_blanches') ('2025-10-19 07:00:41', 3856, 4, 'RUBBIA_Carton_050821_extract_RYM') ('2025-10-19 07:00:41', 230, 4, 'datou_test_rotate') ('2025-10-19 07:00:41', 4573, 3, 'test_sam_h') ('2025-10-19 07:00:41', 4184, 2, 'detection_plaque_valcor_010622') ('2025-10-19 07:00:41', 4553, 2, 'copie_4387_test_replace') ('2025-10-19 07:00:41', 1026, 2, 'mask_coco_for_test') ('2025-10-19 07:00:41', 2719, 2, 'pipeline_rubbia_detect_crop_classify_rle_unique_nms_080920_only_final') ('2025-10-19 07:00:41', 4492, 2, 'copie_4387_test_replace') ('2025-10-19 07:00:41', 1818, 1, 'blanchir') ('2025-10-19 07:00:41', 2041, 1, 'test_data_aug') ('2025-10-19 07:00:41', 686, 1, 'copy_argmax_crop') ('2025-10-19 07:00:41', 571, 1, 'datou_test_flip') ('2025-10-19 07:00:41', 2085, 1, 'train_points_upm_darker') ('2025-10-19 07:00:41', 2, 1, 'classification_model') ('2025-10-19 07:00:41', 233, 1, 'datou_test_rotate_conditionnel') 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', 3947452) ('d4018_output_rle', 1149391) ('type_merge_mask_detect_2486_2499', 1137328) ('PhotoDescForrotata_polygone', 369810) ('output_type_final_datou_3068', 363515) ('datou_4322_rle', 182548) ('mask_filmsPE_10_8_23', 165406) ('datou_3995_rle', 89553) ('learn_mask_rubbia_rle_carton_03_08_21', 78488) ('Mask_tiled_stride_ELA__230223', 76500) ('learn_RUBBIA_REFUS_AMIENS_23', 67403) ('PhotoDescForlabels_result_test_step_tile', 44055) ('pht_test_rle_unique_nms_output', 29558) ('datou_3993_rle', 22567) ('varroa_from_ellipse_tiled_rotate_shrink_whiten_ok', 17955) ('test_sam', 8789) ('test_non_regreg_generate_new_image', 2418) ('detection_filter_test', 1600) ('mask_coco_origin', 633) ('merge_pipeline_rubbia_jrm_details_3459', 354) 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.21user 0.10system 8:14:33elapsed 0%CPU (0avgtext+0avgdata 33568maxresident)k 22904inputs+32outputs (2721major+7962minor)pagefaults 0swaps