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: 26/02/2025, 07:00:25 Nombre de datou current ('date', 'nombre de datou current') ('2025-02-26 07:00:25', 122) Nombre total de photos traitees dans les dernieres 24 heures ('date', 'total de photos traitees') ('2025-02-26 07:00:25', 440900) Nombre total de photos restant a traiter non commence ('date', 'Nombre total de photos restant a traiter non commence') ('2025-02-26 07:02:08', 30327) Nombre total de photos restant a traiter ('date', 'Nombre total de photos restant a traiter') ('2025-02-26 07:02:08', 8057) 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-02-26 07:02:13', 4891, 7540, 100, 7440, 'split_time_score_angers_montee_convoyeur', 0.0, '20784310:angers_mon:1017:1', 1) ('2025-02-26 07:02:13', 4892, 2113, 1891, 222, 'multi_classification_tapis_dechet', 7.0, '20820339:angers_mon:1017:1', 1) ('2025-02-26 07:02:13', 4322, 215, 80, 135, 'RUBBIA_filmPE_151122', 4.0, '20822070:film_pedb_:739:1,20821563:film_pedb_:739:1,20821555:film_pedb_:739:1,20821071:film_pedb_:739:0', 4) ('2025-02-26 07:02:13', 3993, 195, 80, 115, 'RUBBIA_Carton_131221_add_surclassifier_rapport', 4.5, '20821564:emr_diff_b:739:1,20821070:emr_diff_b:739:1', 2) ('2025-02-26 07:02:13', 4489, 110, 6, 104, 'multi_classification_tapis_dechet', 5.0, '20821124:cedre_arge:1080:1', 1) ('2025-02-26 07:02:13', 4310, 1080, 1062, 18, 'classifieur_2camions_valcor_021122_v1', 3.0, '20822434:dechet_val:991:0', 1) ('2025-02-26 07:02:13', 4877, 91, 76, 15, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_rubbia_live', 0.0, '20826436:JRM_diff_b:979:1,20826438:JRM_diff_b:979:1,20826433:JRM_diff_b:979:1,20826432:JRM_diff_b:979:1,20826354:JRM_diff_b:979:1,20826303:JRM_diff_b:979:1,20826252:JRM_diff_b:979:1,20826130:JRM_diff_b:979:1,20826101:JRM_diff_b:979:1,20825975:JRM_diff_b:979:1,20825946:JRM_diff_b:979:1,20825769:JRM_diff_b:979:1,20825633:JRM_diff_b:979:1,20825511:JRM_diff_b:979:1,20825483:JRM_diff_b:979:1,20825229:JRM_diff_b:979:1,20825064:JRM_diff_b:979:1,20824882:JRM_diff_b:979:1,20824776:JRM_diff_b:979:1', 19) ('2025-02-26 07:02:13', 4871, 567, 554, 13, 'blur_rubbia_live', 6.0, '20820380:arc_en_cie:979:0', 1) ('2025-02-26 07:02:13', 533, 1650, 1649, 1, 'multi_classification_tapis_dechet', 24.0, '20791116:arc_en_cie:739:1', 1) ('2025-02-26 07:02:13', 4866, 17, 17, 0, 'dib_crop_merge_2486_2499_classifiy_2547_extract_RYM_with_sam', 205.5, '20603413:dib_diff_b:440:1,20610139:excoffier_:1117:1,20610135:excoffier_:1117:1,20608798:excoffier_:1117:1,20603410:dib_diff_b:440:1,20603414:dib_diff_b:440:1,20603415:dib_diff_b:440:1,20603559:dib_diff_b:440:1,20603562:dib_diff_b:440:1,20603580:dib_diff_b:440:1,20603587:dib_diff_b:440:1,20608796:excoffier_:1117:1,20610133:excoffier_:1117:1,20608797:excoffier_:1117:1', 14) 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-02-26 07:02:14', 3459, 45, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_weights', Decimal('0.0000'), '20826446:jrm_diff_b:1017:0', 1) ('2025-02-26 07:02:14', 4219, 9145, 'detection_plaque_valcor_010622', Decimal('96.4119'), '20625708:plaque_val:1064:0,20658354: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', 9) ('2025-02-26 07:02:14', 4220, 1474, 'split_time_score_plaque_Valcor', Decimal('0.0000'), '20785913:plaque_val:1064:0,20821622:plaque_val:1064:0', 2) ('2025-02-26 07:02:14', 4234, 8, 'refus_rym_velours_valcor', Decimal('0.0000'), '20826304:incinerati:1103:0,20826355:incinerati:1103:0', 2) ('2025-02-26 07:02:14', 4346, 110, 'split_time_score_cedre', Decimal('0.0000'), '20821124:cedre_arge:1080:0', 1) ('2025-02-26 07:02:14', 4876, 567, 'split_time_score_JRM_Arc_En_Ciel_test_load', Decimal('0.0000'), '20820380:arc_en_cie:979:0', 1) ('2025-02-26 07:02:14', 4878, 3369, 'split_time_score_JRM_Arc_En_Ciel_test_load', Decimal('0.0000'), '20784437:arc_en_cie:979:0', 1) ('2025-02-26 07:02:14', 4887, 7952, 'split_time_score_Sevran_test', Decimal('0.0000'), '20791115:sevran_122:739:0', 1) ('2025-02-26 07:02:14', 4891, 7540, 'split_time_score_angers_montee_convoyeur', Decimal('0.0000'), '20784310:angers_mon:1017:1', 1) ('2025-02-26 07:02:14', 4892, 8, 'multi_classification_tapis_dechet', Decimal('0.0000'), '20826447:sevran_122:739:0', 1) ('2025-02-26 07:02:14', 4893, 111, 'split_time_score_Sevran_test2', Decimal('0.0000'), '20793150:sevran_122:739:0,20820379:sevran_122:739:0', 2) 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-02-26 07:02:14', 4866, 35, 'dib_crop_merge_2486_2499_classifiy_2547_extract_RYM_with_sam') ('2025-02-26 07:02:14', 4891, 100, 'split_time_score_angers_montee_convoyeur') ('2025-02-26 07:02:14', 533, 4947, 'multi_classification_tapis_dechet') ('2025-02-26 07:02:14', 4892, 5260, 'multi_classification_tapis_dechet') ('2025-02-26 07:02:14', 4871, 554, 'blur_rubbia_live') ('2025-02-26 07:02:14', 3993, 500, 'RUBBIA_Carton_131221_add_surclassifier_rapport') ('2025-02-26 07:02:14', 4322, 360, 'RUBBIA_filmPE_151122') ('2025-02-26 07:02:14', 4489, 18, 'multi_classification_tapis_dechet') ('2025-02-26 07:02:14', 4310, 3186, 'classifieur_2camions_valcor_021122_v1') ('2025-02-26 07:02:14', 4877, 372, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_rubbia_live') Nombre de datous demandés par statut ('statut', 'nombre de datous') (1, 45) (-5, 19) (0, 84) 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-02-26 07:02:32', 4234, 79313, 'refus_rym_velours_valcor') ('2025-02-26 07:02:32', 4883, 58226, 'split_time_score_JRM_Arc_En_Ciel') ('2025-02-26 07:02:32', 4892, 44091, 'multi_classification_tapis_dechet') ('2025-02-26 07:02:32', 4877, 43266, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_rubbia_live') ('2025-02-26 07:02:32', 4876, 41246, 'split_time_score_JRM_Arc_En_Ciel_test_load') ('2025-02-26 07:02:32', 4302, 28632, 'RUBBIA_JRM_consolidate') ('2025-02-26 07:02:32', 4310, 20541, 'classifieur_2camions_valcor_021122_v1') ('2025-02-26 07:02:32', 3993, 17739, 'RUBBIA_Carton_131221_add_surclassifier_rapport') ('2025-02-26 07:02:32', 4866, 14351, 'dib_crop_merge_2486_2499_classifiy_2547_extract_RYM_with_sam') ('2025-02-26 07:02:32', 3804, 11373, 'Rubbia_crop_merge_2486_2499_classifiy_2547_extract_RYM') ('2025-02-26 07:02:32', 4322, 11366, 'RUBBIA_filmPE_151122') ('2025-02-26 07:02:32', 3459, 11050, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_weights') ('2025-02-26 07:02:32', 533, 7495, 'multi_classification_tapis_dechet') ('2025-02-26 07:02:32', 3318, 7365, 'RUBBIA_Refus_mask_simple_non_aussi_rle') ('2025-02-26 07:02:32', 4433, 6878, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_weights') ('2025-02-26 07:02:32', 3994, 6400, 'RUBBIA_proportion_papier_add_surclassifier_rapport') ('2025-02-26 07:02:32', 4489, 4239, 'multi_classification_tapis_dechet') ('2025-02-26 07:02:32', 4311, 4100, 'sts_dechet_valcor_matching_v2_2022Q3') ('2025-02-26 07:02:32', 4893, 3673, 'split_time_score_Sevran_test2') ('2025-02-26 07:02:32', 4871, 3371, 'blur_rubbia_live') ('2025-02-26 07:02:32', 3995, 2817, 'RUBBIA_PEHD_131221_add_surclassifier_rapport') ('2025-02-26 07:02:32', 4252, 2002, 'pehd_prod_consolidate') ('2025-02-26 07:02:32', 4189, 1340, 'split_time_score_JRM_Perlen_convoyeur') ('2025-02-26 07:02:32', 3789, 1160, 'split_time_score_test_multi_matiere') ('2025-02-26 07:02:32', 4851, 935, 'split_time_score_SCCU_8') ('2025-02-26 07:02:32', 4346, 771, 'split_time_score_cedre') ('2025-02-26 07:02:32', 4849, 771, 'split_time_score_SCCU_6') ('2025-02-26 07:02:32', 3991, 757, 'RUBBIA_ELA_131221_add_surclassifier_rapport') ('2025-02-26 07:02:32', 4850, 720, 'split_time_score_SCCU_7') ('2025-02-26 07:02:32', 4510, 623, 'entrant_rym_velours_sans_suffix_nouveaux_cont') ('2025-02-26 07:02:32', 4220, 600, 'split_time_score_plaque_Valcor') ('2025-02-26 07:02:32', 3385, 566, 'split_time_score_JRM_Arc_En_Ciel_peu_dense') ('2025-02-26 07:02:32', 4891, 500, 'split_time_score_angers_montee_convoyeur') ('2025-02-26 07:02:32', 4249, 462, 'pcm_prod_consolidate') ('2025-02-26 07:02:32', 4887, 402, 'split_time_score_Sevran_test') ('2025-02-26 07:02:32', 4878, 400, 'split_time_score_JRM_Arc_En_Ciel_test_load') ('2025-02-26 07:02:32', 3787, 320, 'split_time_score_urban_fest') ('2025-02-26 07:02:32', 3181, 165, 'split_time_score_JRM_Arc_En_Ciel') ('2025-02-26 07:02:32', 4153, 152, 'RUBBIA_PET_Fonce_add_surclassifier_rapport') ('2025-02-26 07:02:32', 243, 130, 'prepare_varroa_ellipse_tile_rotate_whiten') ('2025-02-26 07:02:32', 370, 120, 'proportion_papier_qualite_dechets_tri') ('2025-02-26 07:02:32', 3164, 70, 'debug_sans_detect_pipeline_qualipapia_detect_crop_classify_rle_unique_nms_040321') ('2025-02-26 07:02:32', 4212, 50, 'ACP_from_port_5709050_type_5619_size_9') ('2025-02-26 07:02:32', 4209, 50, 'test_acp') ('2025-02-26 07:02:32', 4208, 50, 'test_acp_fit_transform_20') ('2025-02-26 07:02:32', 686, 37, 'copy_argmax_crop') ('2025-02-26 07:02:32', 3781, 35, 'cod_pipeline_Perlen_manuel_sts_test') ('2025-02-26 07:02:32', 4567, 33, 'tfhub_19_06_2023') ('2025-02-26 07:02:32', 4621, 33, 'tfhub_18_7_2023') ('2025-02-26 07:02:32', 3990, 25, 'test_crop_condition_blur') ('2025-02-26 07:02:32', 3070, 25, 'test_ventilate_hashtag_type_3326') ('2025-02-26 07:02:32', 2896, 25, 'test_radom_deformation') ('2025-02-26 07:02:32', 1848, 25, 'Pipeline_upm_photos_blanches') ('2025-02-26 07:02:32', 230, 24, 'datou_test_rotate') ('2025-02-26 07:02:32', 3856, 20, 'RUBBIA_Carton_050821_extract_RYM') ('2025-02-26 07:02:32', 40, 19, 'mask_coco_origin') ('2025-02-26 07:02:32', 2719, 16, 'pipeline_rubbia_detect_crop_classify_rle_unique_nms_080920_only_final') ('2025-02-26 07:02:32', 4184, 12, 'detection_plaque_valcor_010622') ('2025-02-26 07:02:32', 4573, 10, 'test_sam_h') ('2025-02-26 07:02:32', 4553, 10, 'copie_4387_test_replace') ('2025-02-26 07:02:32', 4492, 10, 'copie_4387_test_replace') ('2025-02-26 07:02:32', 233, 10, 'datou_test_rotate_conditionnel') ('2025-02-26 07:02:32', 1026, 9, 'mask_coco_for_test') ('2025-02-26 07:02:32', 2, 6, 'classification_model') ('2025-02-26 07:02:32', 2085, 5, 'train_points_upm_darker') ('2025-02-26 07:02:32', 2041, 5, 'test_data_aug') ('2025-02-26 07:02:32', 1818, 5, 'blanchir') ('2025-02-26 07:02:32', 571, 5, 'datou_test_flip') ('2025-02-26 07:02:32', 2665, 4, '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.22user 0.11system 9:37.31elapsed 0%CPU (0avgtext+0avgdata 35920maxresident)k 38704inputs+40outputs (2490major+8348minor)pagefaults 0swaps