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: 13/03/2025, 00:01:25 Nombre de datou current ('date', 'nombre de datou current') ('2025-03-13 00:01:25', 108) Nombre total de photos traitees dans les dernieres 24 heures ('date', 'total de photos traitees') ('2025-03-13 00:01:25', 827942) Nombre total de photos restant a traiter non commence ('date', 'Nombre total de photos restant a traiter non commence') ('2025-03-13 00:20:09', 23190) Nombre total de photos restant a traiter ('date', 'Nombre total de photos restant a traiter') ('2025-03-13 00:20:14', 19226) 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-03-13 00:21:12', 4887, 6132, 100, 6032, 'split_time_score_Sevran_test', 0.0, '21332145:sevran_122:739:1', 1) ('2025-03-13 00:21:12', 4921, 4731, 60, 4671, 'learn_mask_bonbonne_120325', 11.0, '21247140:aec_metal_:702:0', 1) ('2025-03-13 00:21:12', 4219, 8184, 4213, 3971, 'detection_plaque_valcor_010622', 199.4, '21263468:plaque_val:1064:0,21163827:plaque_val:1064:0,21130800:plaque_val:1064:0,21093986:plaque_val:1064:0,20658354:plaque_val:1064:0', 5) ('2025-03-13 00:21:12', 3385, 1539, 20, 1519, 'split_time_score_JRM_Arc_En_Ciel_peu_dense', 0.0, '21332168:arc_en_cie:739:1', 1) ('2025-03-13 00:21:12', 4346, 1052, 100, 952, 'split_time_score_cedre', 0.0, '21320317:cedre_arge:1080:1', 1) ('2025-03-13 00:21:12', 4489, 2528, 1843, 685, 'multi_classification_tapis_dechet', 47.666666666666664, '21214967:cedre_arge:1080:0,21247513:cedre_arge:1080:0,21320317:cedre_arge:1080:0', 3) ('2025-03-13 00:21:12', 3993, 725, 390, 335, 'RUBBIA_Carton_131221_add_surclassifier_rapport', 11.666666666666666, '21354311:emr_diff_b:739:1,21354295:pcnc_diff_:739:0,21346920:gros_carto:739:0,21349035:emr_diff_b:1017:0,21343519:emr_diff_b:739:1,21354386:pcnc_diff_:739:1,21354387:emr_diff_b:739:0,21349047:emr_diff_b:1017:0,21354404:emr_diff_b:739:1,21332192:gros_carto:739:0,21354407:emr_diff_b:739:0,21354408:pcnc_diff_:739:0,21332193:emr_diff_b:739:0,21354437:emr_diff_b:739:1,21287233:gros_carto:739:0', 15) ('2025-03-13 00:21:12', 4892, 6221, 5890, 331, 'multi_classification_tapis_dechet', 8.5, '21332145:sevran_122:739:1,21370421:angers_mon:1017:1', 2) ('2025-03-13 00:21:12', 4433, 332, 205, 127, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_weights', 11.4, '21350613:JRM_diff_b:1053:1,21342125:JRM_diff_b:1053:0,21342124:JRM_diff_b:1053:0,21342123:JRM_diff_b:1053:0,21352217:JRM_diff_b:1053:0', 5) ('2025-03-13 00:21:12', 4918, 4731, 4610, 121, 'learn_mask_acier_110325', 15.0, '21247140:aec_metal_:702:0', 1) ('2025-03-13 00:21:12', 4234, 386, 285, 101, 'refus_rym_velours_valcor', 5.8, '21346752:truck_diff:991:1,21365064:truck_diff:991:1,21367216:incinerati:1103:1,21364719:truck_diff:991:1,21343947:truck_diff:991:1', 5) ('2025-03-13 00:21:12', 3991, 76, 60, 16, 'RUBBIA_ELA_131221_add_surclassifier_rapport', 11.666666666666666, '21352346:ela_diff_b:1017:0,21339766:ela_diff_b:1017:0,21344011:ela_diff_b:739:0', 3) ('2025-03-13 00:21:12', 3994, 52, 39, 13, 'RUBBIA_proportion_papier_add_surclassifier_rapport', 0.0, '21370455:gm_diff_ba:1017:1,21370458:gm_diff_ba:1017:1', 2) ('2025-03-13 00:21:12', 533, 108, 96, 12, 'multi_classification_tapis_dechet', 0.0, '21370422:aec_metal_:739:0', 1) ('2025-03-13 00:21:12', 3804, 90, 80, 10, 'Rubbia_crop_merge_2486_2499_classifiy_2547_extract_RYM', 8.0, '21354349:pet_clair_:739:1', 1) ('2025-03-13 00:21:12', 4748, 87, 80, 7, 'RUBBIA_PET_Fonce_add_surclassifier_rapport', 17.0, '21332176:flux_dev_r:739:0,21338542:flux_dev_r:739:0,21301383:flux_dev_r:739:0,21353725:flux_dev_r:739:0', 4) ('2025-03-13 00:21:12', 3995, 25, 20, 5, 'RUBBIA_PEHD_131221_add_surclassifier_rapport', 0.0, '21370456:pehd_pp_di:1017:1', 1) ('2025-03-13 00:21:12', 4742, 7, 7, 0, 'entrant_consolidate', 8.0, '19451568:entrant_di:440:1', 1) ('2025-03-13 00:21:12', 4866, 5, 5, 0, 'dib_crop_merge_2486_2499_classifiy_2547_extract_RYM_with_sam', 561.0, '20603553:dib_diff_b:440:1,20603587:dib_diff_b:440:1,20603562:dib_diff_b:440:1,20603557:dib_diff_b:440:1', 4) 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-03-13 00:21:13', 739, 31, 'mask_rcnn_840_0310_filter', Decimal('9.0000'), '21343524:pet_clair_:970:0', 1) ('2025-03-13 00:21:13', 3385, 1539, 'split_time_score_JRM_Arc_En_Ciel_peu_dense', Decimal('0.0000'), '21332168:arc_en_cie:739:1', 1) ('2025-03-13 00:21:13', 3993, 151, 'RUBBIA_Carton_131221_add_surclassifier_rapport', Decimal('8.0000'), '21354390:pcnc_diff_:739:0,21354394:emr_diff_b:739:0,21354395:pcnc_diff_:739:0', 3) ('2025-03-13 00:21:13', 4219, 14280, 'detection_plaque_valcor_010622', Decimal('372.4307'), '20625708:plaque_val:1064:0,20675558:plaque_val:1064:0,20699287:plaque_val:1064:0,20739642:plaque_val:1064:0,20753913:plaque_val:1064:0,20760543:plaque_val:1064:0,20785913:plaque_val:1064:0,20821622:plaque_val:1064:0,20860771:plaque_val:1064:0,20901341:plaque_val:1064:0,20944761:plaque_val:1064:0,20954168:plaque_val:1064:0,20958095:plaque_val:1064:0,20999208:plaque_val:1064:0,21035886:plaque_val:1064:0', 15) ('2025-03-13 00:21:13', 4346, 1052, 'split_time_score_cedre', Decimal('0.0000'), '21320317:cedre_arge:1080:1', 1) ('2025-03-13 00:21:13', 4742, 7, 'entrant_consolidate', Decimal('8.0000'), '19451568:entrant_di:440:1', 1) ('2025-03-13 00:21:13', 4876, 1, 'split_time_score_JRM_Arc_En_Ciel_test_load', Decimal('0.0000'), '21370538:arc_en_cie:979:0', 1) ('2025-03-13 00:21:13', 4883, 1, 'split_time_score_JRM_Arc_En_Ciel', Decimal('0.0000'), '21370538:arc_en_cie:979:0', 1) ('2025-03-13 00:21:13', 4887, 6132, 'split_time_score_Sevran_test', Decimal('0.0000'), '21332145:sevran_122:739:1', 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-03-13 00:21:13', 4742, 7, 'entrant_consolidate') ('2025-03-13 00:21:13', 4866, 13, 'dib_crop_merge_2486_2499_classifiy_2547_extract_RYM_with_sam') ('2025-03-13 00:21:13', 4489, 4804, 'multi_classification_tapis_dechet') ('2025-03-13 00:21:13', 4918, 4610, 'learn_mask_acier_110325') ('2025-03-13 00:21:13', 4921, 60, 'learn_mask_bonbonne_120325') ('2025-03-13 00:21:13', 4219, 1330, 'detection_plaque_valcor_010622') ('2025-03-13 00:21:13', 3993, 2620, 'RUBBIA_Carton_131221_add_surclassifier_rapport') ('2025-03-13 00:21:13', 4748, 640, 'RUBBIA_PET_Fonce_add_surclassifier_rapport') ('2025-03-13 00:21:13', 4871, 3191, 'blur_rubbia_live') ('2025-03-13 00:21:13', 533, 19870, 'multi_classification_tapis_dechet') ('2025-03-13 00:21:13', 4346, 100, 'split_time_score_cedre') ('2025-03-13 00:21:13', 4310, 16290, 'classifieur_2camions_valcor_021122_v1') ('2025-03-13 00:21:13', 4892, 16790, 'multi_classification_tapis_dechet') ('2025-03-13 00:21:13', 4887, 100, 'split_time_score_Sevran_test') ('2025-03-13 00:21:13', 3385, 20, 'split_time_score_JRM_Arc_En_Ciel_peu_dense') ('2025-03-13 00:21:13', 3991, 480, 'RUBBIA_ELA_131221_add_surclassifier_rapport') ('2025-03-13 00:21:13', 4433, 1665, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_weights') ('2025-03-13 00:21:13', 4234, 1502, 'refus_rym_velours_valcor') ('2025-03-13 00:21:13', 3804, 590, 'Rubbia_crop_merge_2486_2499_classifiy_2547_extract_RYM') ('2025-03-13 00:21:13', 3994, 117, 'RUBBIA_proportion_papier_add_surclassifier_rapport') ('2025-03-13 00:21:13', 3995, 60, 'RUBBIA_PEHD_131221_add_surclassifier_rapport') Nombre de datous demandés par statut ('statut', 'nombre de datous') (1, 25) (-5, 21) (0, 81) 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-03-13 00:22:42', 4234, 235481, 'refus_rym_velours_valcor') ('2025-03-13 00:22:42', 4883, 67596, 'split_time_score_JRM_Arc_En_Ciel') ('2025-03-13 00:22:42', 4876, 64407, 'split_time_score_JRM_Arc_En_Ciel_test_load') ('2025-03-13 00:22:42', 4877, 40551, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_rubbia_live') ('2025-03-13 00:22:42', 4892, 39382, 'multi_classification_tapis_dechet') ('2025-03-13 00:22:42', 533, 38389, 'multi_classification_tapis_dechet') ('2025-03-13 00:22:42', 4322, 37740, 'RUBBIA_filmPE_151122') ('2025-03-13 00:22:42', 4302, 37003, 'RUBBIA_JRM_consolidate') ('2025-03-13 00:22:42', 3804, 30161, 'Rubbia_crop_merge_2486_2499_classifiy_2547_extract_RYM') ('2025-03-13 00:22:42', 3993, 28329, 'RUBBIA_Carton_131221_add_surclassifier_rapport') ('2025-03-13 00:22:42', 4748, 20304, 'RUBBIA_PET_Fonce_add_surclassifier_rapport') ('2025-03-13 00:22:42', 3318, 18453, 'RUBBIA_Refus_mask_simple_non_aussi_rle') ('2025-03-13 00:22:42', 3995, 18395, 'RUBBIA_PEHD_131221_add_surclassifier_rapport') ('2025-03-13 00:22:42', 3994, 17080, 'RUBBIA_proportion_papier_add_surclassifier_rapport') ('2025-03-13 00:22:42', 4310, 16965, 'classifieur_2camions_valcor_021122_v1') ('2025-03-13 00:22:42', 3459, 14653, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_weights') ('2025-03-13 00:22:42', 4866, 13639, 'dib_crop_merge_2486_2499_classifiy_2547_extract_RYM_with_sam') ('2025-03-13 00:22:42', 4920, 9462, 'detection_bonbonne_aec_110325_1000iter1') ('2025-03-13 00:22:42', 4919, 9462, 'detection_bonbonne_aec_110325') ('2025-03-13 00:22:42', 3385, 8718, 'split_time_score_JRM_Arc_En_Ciel_peu_dense') ('2025-03-13 00:22:42', 4433, 7746, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_weights') ('2025-03-13 00:22:42', 3991, 7732, 'RUBBIA_ELA_131221_add_surclassifier_rapport') ('2025-03-13 00:22:42', 4489, 6693, 'multi_classification_tapis_dechet') ('2025-03-13 00:22:42', 4918, 4630, 'learn_mask_acier_110325') ('2025-03-13 00:22:42', 4153, 4590, 'RUBBIA_PET_Fonce_add_surclassifier_rapport') ('2025-03-13 00:22:42', 4311, 4100, 'sts_dechet_valcor_matching_v2_2022Q3') ('2025-03-13 00:22:42', 4891, 3900, 'split_time_score_angers_montee_convoyeur') ('2025-03-13 00:22:42', 4323, 3860, 'split_time_score_arc_en_ciel_mm') ('2025-03-13 00:22:42', 4871, 3191, 'blur_rubbia_live') ('2025-03-13 00:22:42', 3992, 3072, 'RUBBIA_Alu_131221_add_surclassifier_rapport') ('2025-03-13 00:22:42', 4219, 2650, 'detection_plaque_valcor_010622') ('2025-03-13 00:22:42', 3789, 1856, 'split_time_score_test_multi_matiere') ('2025-03-13 00:22:42', 4887, 1660, 'split_time_score_Sevran_test') ('2025-03-13 00:22:42', 4346, 1454, 'split_time_score_cedre') ('2025-03-13 00:22:42', 4189, 1300, 'split_time_score_JRM_Perlen_convoyeur') ('2025-03-13 00:22:42', 4916, 1200, 'split_time_score_Acier_Arc_En_Ciel') ('2025-03-13 00:22:42', 4878, 1000, 'split_time_score_JRM_Arc_En_Ciel_test_load') ('2025-03-13 00:22:42', 4849, 935, 'split_time_score_SCCU_6') ('2025-03-13 00:22:42', 4851, 859, 'split_time_score_SCCU_8') ('2025-03-13 00:22:42', 4220, 800, 'split_time_score_plaque_Valcor') ('2025-03-13 00:22:42', 4850, 525, 'split_time_score_SCCU_7') ('2025-03-13 00:22:42', 3787, 448, 'split_time_score_urban_fest') ('2025-03-13 00:22:42', 4510, 396, 'entrant_rym_velours_sans_suffix_nouveaux_cont') ('2025-03-13 00:22:42', 3181, 231, 'split_time_score_JRM_Arc_En_Ciel') ('2025-03-13 00:22:42', 243, 183, 'prepare_varroa_ellipse_tile_rotate_whiten') ('2025-03-13 00:22:42', 3164, 98, 'debug_sans_detect_pipeline_qualipapia_detect_crop_classify_rle_unique_nms_040321') ('2025-03-13 00:22:42', 370, 94, 'proportion_papier_qualite_dechets_tri') ('2025-03-13 00:22:42', 4212, 80, 'ACP_from_port_5709050_type_5619_size_9') ('2025-03-13 00:22:42', 4209, 80, 'test_acp') ('2025-03-13 00:22:42', 4208, 80, 'test_acp_fit_transform_20') ('2025-03-13 00:22:42', 686, 72, 'copy_argmax_crop') ('2025-03-13 00:22:42', 4921, 60, 'learn_mask_bonbonne_120325') ('2025-03-13 00:22:42', 4742, 56, 'entrant_consolidate') ('2025-03-13 00:22:42', 4567, 51, 'tfhub_19_06_2023') ('2025-03-13 00:22:42', 4621, 51, 'tfhub_18_7_2023') ('2025-03-13 00:22:42', 3781, 49, 'cod_pipeline_Perlen_manuel_sts_test') ('2025-03-13 00:22:42', 1848, 40, 'Pipeline_upm_photos_blanches') ('2025-03-13 00:22:42', 230, 37, 'datou_test_rotate') ('2025-03-13 00:22:42', 3990, 35, 'test_crop_condition_blur') ('2025-03-13 00:22:42', 3070, 35, 'test_ventilate_hashtag_type_3326') ('2025-03-13 00:22:42', 2896, 32, 'test_radom_deformation') ('2025-03-13 00:22:42', 3856, 28, 'RUBBIA_Carton_050821_extract_RYM') ('2025-03-13 00:22:42', 2719, 20, 'pipeline_rubbia_detect_crop_classify_rle_unique_nms_080920_only_final') ('2025-03-13 00:22:42', 40, 19, 'mask_coco_origin') ('2025-03-13 00:22:42', 4184, 19, 'detection_plaque_valcor_010622') ('2025-03-13 00:22:42', 233, 15, 'datou_test_rotate_conditionnel') ('2025-03-13 00:22:42', 4553, 14, 'copie_4387_test_replace') ('2025-03-13 00:22:42', 4492, 14, 'copie_4387_test_replace') ('2025-03-13 00:22:42', 4573, 10, 'test_sam_h') ('2025-03-13 00:22:42', 2, 10, 'classification_model') ('2025-03-13 00:22:42', 1026, 8, 'mask_coco_for_test') ('2025-03-13 00:22:42', 571, 8, 'datou_test_flip') ('2025-03-13 00:22:42', 2041, 7, 'test_data_aug') ('2025-03-13 00:22:42', 2085, 7, 'train_points_upm_darker') ('2025-03-13 00:22:42', 1818, 7, 'blanchir') ('2025-03-13 00:22:42', 2665, 2, 'pipeline_rubbia_detect_crop_classify_rle_unique_nms_080920') 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') Catched exception ! Connect or reconnect ! Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 68, in select cursor.execute(query, args) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 209, in execute res = self._query(query) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 316, in _query self._do_get_result(db) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 147, in _do_get_result self._result = result = self._get_result() File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 349, in _get_result return self._get_db().store_result() MySQLdb._exceptions.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 43, in connect self.db = MySQLdb.connect(host=self.host, db=self.dbname, user=self.user, passwd=self.password) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/__init__.py", line 84, in Connect return Connection(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/connections.py", line 179, in __init__ super(Connection, self).__init__(*args, **kwargs2) MySQLdb._exceptions.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 77, in select self.connect() File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 46, 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.26user 0.14system 7:08:37elapsed 0%CPU (0avgtext+0avgdata 33844maxresident)k 40528inputs+40outputs (2959major+8131minor)pagefaults 0swaps