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: 31/03/2025, 07:00:25 Nombre de datou current ('date', 'nombre de datou current') ('2025-03-31 07:00:25', 69) Nombre total de photos traitees dans les dernieres 24 heures ('date', 'total de photos traitees') ('2025-03-31 07:00:25', 286780) Nombre total de photos restant a traiter non commence ('date', 'Nombre total de photos restant a traiter non commence') ('2025-03-31 07:03:01', 12994) Nombre total de photos restant a traiter ('date', 'Nombre total de photos restant a traiter') ('2025-03-31 07:03:01', 2644) 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-31 07:03:04', 4219, 3971, 2170, 1801, 'detection_plaque_valcor_010622', 845.3333333333334, '20821622:plaque_val:1064:0,20860771:plaque_val:1064:0,20658354:plaque_val:1064:0', 3) ('2025-03-31 07:03:04', 4310, 1098, 606, 492, 'classifieur_2camions_valcor_021122_v1', 3.0, '21894409:dechet_val:991:0', 1) ('2025-03-31 07:03:04', 4489, 216, 13, 203, 'multi_classification_tapis_dechet', 6.0, '21892475:cedre_arge:1080:1', 1) ('2025-03-31 07:03:04', 4892, 1243, 1138, 105, 'multi_classification_tapis_dechet', 27.0, '21867968:sevran_122:739:0,21895404:angers_mon:1017:1', 2) ('2025-03-31 07:03:04', 533, 1357, 1320, 37, 'multi_classification_tapis_dechet', 10.0, '21894947:jetson_tes:739:0,21892363:aec_metal_:739:0,21883232:arc_en_cie:739:0', 3) ('2025-03-31 07:03:04', 4877, 32, 26, 6, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_rubbia_live', 0.0, '21896039:JRM_diff_b:979:1,21896141:JRM_diff_b:979:1,21896395:JRM_diff_b:979:1,21896649:JRM_diff_b:979:1,21896855:JRM_diff_b:979:1,21897011:JRM_diff_b:979:1', 6) ('2025-03-31 07:03:04', 3994, 3, 3, 0, 'RUBBIA_proportion_papier_add_surclassifier_rapport', 0.0, '21897114:gm_diff_ba:739:1', 1) ('2025-03-31 07:03:04', 4234, 4, 4, 0, 'refus_rym_velours_valcor', 0.0, '21896908:incinerati:1103:1,21896933:incinerati:1103:1,21896934:incinerati:1103:1', 3) ('2025-03-31 07:03:04', 4302, 75, 75, 0, 'RUBBIA_JRM_consolidate', 0.0, '21896727: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-03-31 07:03:04', 3142, 409, 'STS_refus_Amiens', Decimal('0.0000'), '21892360:jetson_new:983:0', 1) ('2025-03-31 07:03:04', 3804, 26, 'Rubbia_crop_merge_2486_2499_classifiy_2547_extract_RYM', Decimal('0.0000'), '21897118:pet_clair_:739:0', 1) ('2025-03-31 07:03:04', 3991, 24, 'RUBBIA_ELA_131221_add_surclassifier_rapport', Decimal('0.0000'), '21897121:ela_diff_b:739:0', 1) ('2025-03-31 07:03:04', 3992, 9, 'RUBBIA_Alu_131221_add_surclassifier_rapport', Decimal('0.0000'), '21897113:aluminium_:739:0', 1) ('2025-03-31 07:03:04', 3993, 100, 'RUBBIA_Carton_131221_add_surclassifier_rapport', Decimal('0.0000'), '21897110:emr_diff_b:739:0,21897112:gros_carto:739:0,21897116:emr_diff_b:739:0,21897120:emr_diff_b:739:0', 4) ('2025-03-31 07:03:04', 3994, 3, 'RUBBIA_proportion_papier_add_surclassifier_rapport', Decimal('0.0000'), '21897114:gm_diff_ba:739:1', 1) ('2025-03-31 07:03:04', 3995, 47, 'RUBBIA_PEHD_131221_add_surclassifier_rapport', Decimal('0.0000'), '21897109:pehd_pp_di:739:1,21897119:pehd_pp_di:739:0', 2) ('2025-03-31 07:03:04', 4219, 7837, 'detection_plaque_valcor_010622', Decimal('875.5275'), '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', 7) ('2025-03-31 07:03:04', 4220, 738, 'split_time_score_plaque_Valcor', Decimal('0.0000'), '21878669:plaque_val:1064:0,21892382:plaque_val:1064:0', 2) ('2025-03-31 07:03:04', 4302, 9, 'RUBBIA_JRM_consolidate', Decimal('0.0000'), '21897245:JRM_diff_b:979:0', 1) ('2025-03-31 07:03:04', 4322, 47, 'RUBBIA_filmPE_151122', Decimal('0.0000'), '21897117:film_pedb_:739:0', 1) ('2025-03-31 07:03:04', 4346, 216, 'split_time_score_cedre', Decimal('0.0000'), '21892475:cedre_arge:1080:0', 1) ('2025-03-31 07:03:04', 4748, 30, 'RUBBIA_PET_Fonce_add_surclassifier_rapport', Decimal('0.0000'), '21897111:flux_dev_r:739:0', 1) ('2025-03-31 07:03:04', 4891, 3499, 'split_time_score_angers_montee_convoyeur', Decimal('0.0000'), '21878590:angers_mon:1017: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-03-31 07:03:04', 4219, 3240, 'detection_plaque_valcor_010622') ('2025-03-31 07:03:04', 533, 3963, 'multi_classification_tapis_dechet') ('2025-03-31 07:03:04', 4489, 39, 'multi_classification_tapis_dechet') ('2025-03-31 07:03:04', 4310, 1818, 'classifieur_2camions_valcor_021122_v1') ('2025-03-31 07:03:04', 4892, 204, 'multi_classification_tapis_dechet') ('2025-03-31 07:03:04', 4877, 156, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_rubbia_live') ('2025-03-31 07:03:04', 4302, 290, 'RUBBIA_JRM_consolidate') ('2025-03-31 07:03:04', 4234, 16, 'refus_rym_velours_valcor') ('2025-03-31 07:03:04', 3994, 12, 'RUBBIA_proportion_papier_add_surclassifier_rapport') Nombre de datous demandés par statut ('statut', 'nombre de datous') (1, 13) (0, 67) (-5, 9) 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-31 07:03:10', 4234, 172697, 'refus_rym_velours_valcor') ('2025-03-31 07:03:10', 533, 47508, 'multi_classification_tapis_dechet') ('2025-03-31 07:03:10', 4310, 21122, 'classifieur_2camions_valcor_021122_v1') ('2025-03-31 07:03:10', 4219, 8008, 'detection_plaque_valcor_010622') ('2025-03-31 07:03:10', 4892, 7886, 'multi_classification_tapis_dechet') ('2025-03-31 07:03:10', 3996, 4321, 'RUBBIA_Refus_add_surclassifier_rapport') ('2025-03-31 07:03:10', 4883, 3963, 'split_time_score_JRM_Arc_En_Ciel') ('2025-03-31 07:03:10', 4876, 3952, 'split_time_score_JRM_Arc_En_Ciel_test_load') ('2025-03-31 07:03:10', 4877, 3645, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_rubbia_live') ('2025-03-31 07:03:10', 3789, 1624, 'split_time_score_test_multi_matiere') ('2025-03-31 07:03:10', 4302, 1592, 'RUBBIA_JRM_consolidate') ('2025-03-31 07:03:10', 4311, 1000, 'sts_dechet_valcor_matching_v2_2022Q3') ('2025-03-31 07:03:10', 4851, 829, 'split_time_score_SCCU_8') ('2025-03-31 07:03:10', 4916, 800, 'split_time_score_Acier_Arc_En_Ciel') ('2025-03-31 07:03:10', 4891, 800, 'split_time_score_angers_montee_convoyeur') ('2025-03-31 07:03:10', 4489, 684, 'multi_classification_tapis_dechet') ('2025-03-31 07:03:10', 4849, 649, 'split_time_score_SCCU_6') ('2025-03-31 07:03:10', 4850, 648, 'split_time_score_SCCU_7') ('2025-03-31 07:03:10', 4323, 640, 'split_time_score_arc_en_ciel_mm') ('2025-03-31 07:03:10', 3787, 448, 'split_time_score_urban_fest') ('2025-03-31 07:03:10', 3142, 420, 'STS_refus_Amiens') ('2025-03-31 07:03:10', 4871, 415, 'blur_rubbia_live') ('2025-03-31 07:03:10', 4220, 400, 'split_time_score_plaque_Valcor') ('2025-03-31 07:03:10', 4893, 375, 'split_time_score_Sevran_test2') ('2025-03-31 07:03:10', 4346, 344, 'split_time_score_cedre') ('2025-03-31 07:03:10', 3181, 231, 'split_time_score_JRM_Arc_En_Ciel') ('2025-03-31 07:03:10', 243, 182, 'prepare_varroa_ellipse_tile_rotate_whiten') ('2025-03-31 07:03:10', 370, 175, 'proportion_papier_qualite_dechets_tri') ('2025-03-31 07:03:10', 4887, 100, 'split_time_score_Sevran_test') ('2025-03-31 07:03:10', 3164, 98, 'debug_sans_detect_pipeline_qualipapia_detect_crop_classify_rle_unique_nms_040321') ('2025-03-31 07:03:10', 3994, 80, 'RUBBIA_proportion_papier_add_surclassifier_rapport') ('2025-03-31 07:03:10', 4208, 70, 'test_acp_fit_transform_20') ('2025-03-31 07:03:10', 4212, 70, 'ACP_from_port_5709050_type_5619_size_9') ('2025-03-31 07:03:10', 4209, 70, 'test_acp') ('2025-03-31 07:03:10', 686, 63, 'copy_argmax_crop') ('2025-03-31 07:03:10', 4878, 52, 'split_time_score_JRM_Arc_En_Ciel_test_load') ('2025-03-31 07:03:10', 3781, 49, 'cod_pipeline_Perlen_manuel_sts_test') ('2025-03-31 07:03:10', 4621, 42, 'tfhub_18_7_2023') ('2025-03-31 07:03:10', 4567, 39, 'tfhub_19_06_2023') ('2025-03-31 07:03:10', 3990, 35, 'test_crop_condition_blur') ('2025-03-31 07:03:10', 1848, 35, 'Pipeline_upm_photos_blanches') ('2025-03-31 07:03:10', 3070, 35, 'test_ventilate_hashtag_type_3326') ('2025-03-31 07:03:10', 2896, 35, 'test_radom_deformation') ('2025-03-31 07:03:10', 3856, 28, 'RUBBIA_Carton_050821_extract_RYM') ('2025-03-31 07:03:10', 230, 28, 'datou_test_rotate') ('2025-03-31 07:03:10', 2719, 22, 'pipeline_rubbia_detect_crop_classify_rle_unique_nms_080920_only_final') ('2025-03-31 07:03:10', 3995, 20, 'RUBBIA_PEHD_131221_add_surclassifier_rapport') ('2025-03-31 07:03:10', 3385, 20, 'split_time_score_JRM_Arc_En_Ciel_peu_dense') ('2025-03-31 07:03:10', 40, 19, 'mask_coco_origin') ('2025-03-31 07:03:10', 4553, 14, 'copie_4387_test_replace') ('2025-03-31 07:03:10', 4492, 14, 'copie_4387_test_replace') ('2025-03-31 07:03:10', 4184, 14, 'detection_plaque_valcor_010622') ('2025-03-31 07:03:10', 233, 14, 'datou_test_rotate_conditionnel') ('2025-03-31 07:03:10', 4573, 10, 'test_sam_h') ('2025-03-31 07:03:10', 1026, 9, 'mask_coco_for_test') ('2025-03-31 07:03:10', 2085, 7, 'train_points_upm_darker') ('2025-03-31 07:03:10', 2041, 7, 'test_data_aug') ('2025-03-31 07:03:10', 1818, 7, 'blanchir') ('2025-03-31 07:03:10', 571, 7, 'datou_test_flip') ('2025-03-31 07:03:10', 2, 7, 'classification_model') ('2025-03-31 07:03:10', 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.20user 0.05system 9:36.64elapsed 0%CPU (0avgtext+0avgdata 39384maxresident)k 1240inputs+32outputs (11major+5881minor)pagefaults 0swaps