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: 25/02/2025, 07:00:25 Nombre de datou current ('date', 'nombre de datou current') ('2025-02-25 07:00:25', 130) Nombre total de photos traitees dans les dernieres 24 heures ('date', 'total de photos traitees') ('2025-02-25 07:00:25', 399079) Nombre total de photos restant a traiter non commence ('date', 'Nombre total de photos restant a traiter non commence') ('2025-02-25 07:01:38', 23983) Nombre total de photos restant a traiter ('date', 'Nombre total de photos restant a traiter') ('2025-02-25 07:01:38', 1085) 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-25 07:01:40', 4489, 915, 301, 614, 'multi_classification_tapis_dechet', 13.5, '20766928:cedre_arge:1080:0,20785765:cedre_arge:1080:1', 2) ('2025-02-25 07:01:40', 4322, 409, 216, 193, 'RUBBIA_filmPE_151122', 7.2727272727272725, '20780598:film_pedb_:1017:0,20780603:film_pedb_:1017:0,20782291:film_pedb_:1017:0,20785579:film_pedb_:739:0,20783011:film_pedb_:739:0,20785573:film_pedb_:739:0,20785804:film_pedb_:739:0,20785562:film_pedb_:739:0,20785563:film_pedb_:739:0,20785570:film_pedb_:739:0,20785572:film_pedb_:739:1', 11) ('2025-02-25 07:01:40', 4892, 2251, 2083, 168, 'multi_classification_tapis_dechet', 7.0, '20784310:angers_mon:1017:1', 1) ('2025-02-25 07:01:40', 3993, 135, 60, 75, 'RUBBIA_Carton_131221_add_surclassifier_rapport', 7.0, '20785556:emr_diff_b:739:1,20782994:emr_diff_b:739:0', 2) ('2025-02-25 07:01:40', 4877, 81, 67, 14, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_rubbia_live', 0.0, '20790375:JRM_diff_b:979:1,20791063:JRM_diff_b:979:1,20791062:JRM_diff_b:979:1,20790959:JRM_diff_b:979:1,20790909:JRM_diff_b:979:1,20790859:JRM_diff_b:979:1,20790712:JRM_diff_b:979:1,20790683:JRM_diff_b:979:1,20790604:JRM_diff_b:979:1,20790578:JRM_diff_b:979:1,20790425:JRM_diff_b:979:1,20790226:JRM_diff_b:979:1,20790198:JRM_diff_b:979:1,20790100:JRM_diff_b:979:1,20789978:JRM_diff_b:979:1,20789572:JRM_diff_b:979:1', 16) ('2025-02-25 07:01:40', 4310, 1086, 1074, 12, 'classifieur_2camions_valcor_021122_v1', 3.0, '20787044:dechet_val:991:0', 1) ('2025-02-25 07:01:40', 4871, 558, 552, 6, 'blur_rubbia_live', 6.0, '20784437:arc_en_cie:979:0', 1) ('2025-02-25 07:01:40', 3991, 22, 20, 2, 'RUBBIA_ELA_131221_add_surclassifier_rapport', 6.0, '20785554:ela_diff_b:739:0', 1) ('2025-02-25 07:01:40', 533, 1542, 1541, 1, 'multi_classification_tapis_dechet', 23.0, '20763444:arc_en_cie:739:1', 1) ('2025-02-25 07:01:40', 3994, 20, 20, 0, 'RUBBIA_proportion_papier_add_surclassifier_rapport', 6.0, '20785574:pcm_diff_b:739:1', 1) ('2025-02-25 07:01:40', 4866, 6, 6, 0, 'dib_crop_merge_2486_2499_classifiy_2547_extract_RYM_with_sam', 179.2, '20608798:excoffier_:1117:1,20610139:excoffier_:1117:1,20610135:excoffier_:1117:1,20610133:excoffier_:1117:1,20608797:excoffier_:1117:1', 5) 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-25 07:01:40', 370, 15, 'proportion_papier_qualite_dechets_tri', Decimal('3.0000'), '13545772:papier_dif:739:0,13545779:papier_dif:739:0', 2) ('2025-02-25 07:01:40', 4219, 7715, 'detection_plaque_valcor_010622', Decimal('84.9167'), '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', 8) ('2025-02-25 07:01:40', 4220, 1940, 'split_time_score_plaque_Valcor', Decimal('0.0000'), '20760543:plaque_val:1064:0,20785913:plaque_val:1064:0', 2) ('2025-02-25 07:01:40', 4234, 4, 'refus_rym_velours_valcor', Decimal('0.0000'), '20790960:incinerati:1103:0,20790961:incinerati:1103:0', 2) ('2025-02-25 07:01:40', 4311, 1086, 'sts_dechet_valcor_matching_v2_2022Q3', Decimal('0.0000'), '20787044:dechet_val:991:0', 1) ('2025-02-25 07:01:40', 4346, 215, 'split_time_score_cedre', Decimal('0.0000'), '20785765:cedre_arge:1080:0', 1) ('2025-02-25 07:01:40', 4877, 5, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_rubbia_live', Decimal('0.0000'), '20790683:JRM_diff_b:979:1', 1) ('2025-02-25 07:01:40', 4878, 2463, 'split_time_score_JRM_Arc_En_Ciel_test_load', Decimal('0.0000'), '20762130:arc_en_cie:979:0', 1) ('2025-02-25 07:01:40', 4887, 8289, 'split_time_score_Sevran_test', Decimal('0.0000'), '20763370:sevran_122:739:0', 1) ('2025-02-25 07:01:40', 4891, 2251, 'split_time_score_angers_montee_convoyeur', Decimal('0.0000'), '20784310: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-02-25 07:01:40', 4866, 10, 'dib_crop_merge_2486_2499_classifiy_2547_extract_RYM_with_sam') ('2025-02-25 07:01:40', 533, 4131, 'multi_classification_tapis_dechet') ('2025-02-25 07:01:40', 4489, 903, 'multi_classification_tapis_dechet') ('2025-02-25 07:01:40', 4322, 1616, 'RUBBIA_filmPE_151122') ('2025-02-25 07:01:40', 3993, 480, 'RUBBIA_Carton_131221_add_surclassifier_rapport') ('2025-02-25 07:01:40', 4892, 5476, 'multi_classification_tapis_dechet') ('2025-02-25 07:01:40', 4871, 552, 'blur_rubbia_live') ('2025-02-25 07:01:40', 3991, 160, 'RUBBIA_ELA_131221_add_surclassifier_rapport') ('2025-02-25 07:01:40', 3994, 20, 'RUBBIA_proportion_papier_add_surclassifier_rapport') ('2025-02-25 07:01:40', 4310, 3222, 'classifieur_2camions_valcor_021122_v1') ('2025-02-25 07:01:40', 4877, 384, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_rubbia_live') Nombre de datous demandés par statut ('statut', 'nombre de datous') (1, 32) (-5, 19) (0, 101) 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-25 07:01:52', 4234, 99021, 'refus_rym_velours_valcor') ('2025-02-25 07:01:52', 4892, 40674, 'multi_classification_tapis_dechet') ('2025-02-25 07:01:52', 4883, 36782, 'split_time_score_JRM_Arc_En_Ciel') ('2025-02-25 07:01:52', 4876, 35243, 'split_time_score_JRM_Arc_En_Ciel_test_load') ('2025-02-25 07:01:52', 4877, 27917, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_rubbia_live') ('2025-02-25 07:01:52', 4302, 21304, 'RUBBIA_JRM_consolidate') ('2025-02-25 07:01:52', 4310, 20786, 'classifieur_2camions_valcor_021122_v1') ('2025-02-25 07:01:52', 3804, 19478, 'Rubbia_crop_merge_2486_2499_classifiy_2547_extract_RYM') ('2025-02-25 07:01:52', 3993, 17341, 'RUBBIA_Carton_131221_add_surclassifier_rapport') ('2025-02-25 07:01:52', 3459, 11679, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_weights') ('2025-02-25 07:01:52', 3995, 9976, 'RUBBIA_PEHD_131221_add_surclassifier_rapport') ('2025-02-25 07:01:52', 3318, 9857, 'RUBBIA_Refus_mask_simple_non_aussi_rle') ('2025-02-25 07:01:52', 533, 6555, 'multi_classification_tapis_dechet') ('2025-02-25 07:01:52', 4322, 5812, 'RUBBIA_filmPE_151122') ('2025-02-25 07:01:52', 4153, 4786, 'RUBBIA_PET_Fonce_add_surclassifier_rapport') ('2025-02-25 07:01:52', 4433, 4345, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_weights') ('2025-02-25 07:01:52', 3994, 3149, 'RUBBIA_proportion_papier_add_surclassifier_rapport') ('2025-02-25 07:01:52', 4866, 2716, 'dib_crop_merge_2486_2499_classifiy_2547_extract_RYM_with_sam') ('2025-02-25 07:01:52', 4871, 2555, 'blur_rubbia_live') ('2025-02-25 07:01:52', 4311, 2460, 'sts_dechet_valcor_matching_v2_2022Q3') ('2025-02-25 07:01:52', 4891, 2200, 'split_time_score_angers_montee_convoyeur') ('2025-02-25 07:01:52', 3385, 2086, 'split_time_score_JRM_Arc_En_Ciel_peu_dense') ('2025-02-25 07:01:52', 3991, 1772, 'RUBBIA_ELA_131221_add_surclassifier_rapport') ('2025-02-25 07:01:52', 4255, 1680, 'pet_clair_prod_consolidate') ('2025-02-25 07:01:52', 4893, 1593, 'split_time_score_Sevran_test2') ('2025-02-25 07:01:52', 4851, 975, 'split_time_score_SCCU_8') ('2025-02-25 07:01:52', 4489, 906, 'multi_classification_tapis_dechet') ('2025-02-25 07:01:52', 4850, 749, 'split_time_score_SCCU_7') ('2025-02-25 07:01:52', 4849, 704, 'split_time_score_SCCU_6') ('2025-02-25 07:01:52', 3789, 696, 'split_time_score_test_multi_matiere') ('2025-02-25 07:01:52', 4878, 600, 'split_time_score_JRM_Arc_En_Ciel_test_load') ('2025-02-25 07:01:52', 4251, 546, 'ela_prod_consolidate') ('2025-02-25 07:01:52', 3992, 354, 'RUBBIA_Alu_131221_add_surclassifier_rapport') ('2025-02-25 07:01:52', 4346, 324, 'split_time_score_cedre') ('2025-02-25 07:01:52', 4189, 320, 'split_time_score_JRM_Perlen_convoyeur') ('2025-02-25 07:01:52', 4887, 240, 'split_time_score_Sevran_test') ('2025-02-25 07:01:52', 4220, 200, 'split_time_score_plaque_Valcor') ('2025-02-25 07:01:52', 3787, 192, 'split_time_score_urban_fest') ('2025-02-25 07:01:52', 3181, 99, 'split_time_score_JRM_Arc_En_Ciel') ('2025-02-25 07:01:52', 243, 78, 'prepare_varroa_ellipse_tile_rotate_whiten') ('2025-02-25 07:01:52', 3164, 42, 'debug_sans_detect_pipeline_qualipapia_detect_crop_classify_rle_unique_nms_040321') ('2025-02-25 07:01:52', 370, 35, 'proportion_papier_qualite_dechets_tri') ('2025-02-25 07:01:52', 4209, 30, 'test_acp') ('2025-02-25 07:01:52', 4208, 30, 'test_acp_fit_transform_20') ('2025-02-25 07:01:52', 4212, 30, 'ACP_from_port_5709050_type_5619_size_9') ('2025-02-25 07:01:52', 686, 27, 'copy_argmax_crop') ('2025-02-25 07:01:52', 4621, 24, 'tfhub_18_7_2023') ('2025-02-25 07:01:52', 4567, 24, 'tfhub_19_06_2023') ('2025-02-25 07:01:52', 3781, 21, 'cod_pipeline_Perlen_manuel_sts_test') ('2025-02-25 07:01:52', 230, 20, 'datou_test_rotate') ('2025-02-25 07:01:52', 3070, 15, 'test_ventilate_hashtag_type_3326') ('2025-02-25 07:01:52', 3990, 15, 'test_crop_condition_blur') ('2025-02-25 07:01:52', 2896, 15, 'test_radom_deformation') ('2025-02-25 07:01:52', 1848, 15, 'Pipeline_upm_photos_blanches') ('2025-02-25 07:01:52', 3856, 12, 'RUBBIA_Carton_050821_extract_RYM') ('2025-02-25 07:01:52', 2719, 12, 'pipeline_rubbia_detect_crop_classify_rle_unique_nms_080920_only_final') ('2025-02-25 07:01:52', 4184, 10, 'detection_plaque_valcor_010622') ('2025-02-25 07:01:52', 40, 9, 'mask_coco_origin') ('2025-02-25 07:01:52', 4573, 7, 'test_sam_h') ('2025-02-25 07:01:52', 4492, 6, 'copie_4387_test_replace') ('2025-02-25 07:01:52', 4553, 6, 'copie_4387_test_replace') ('2025-02-25 07:01:52', 233, 6, 'datou_test_rotate_conditionnel') ('2025-02-25 07:01:52', 2, 5, 'classification_model') ('2025-02-25 07:01:52', 1026, 4, 'mask_coco_for_test') ('2025-02-25 07:01:52', 2665, 4, 'pipeline_rubbia_detect_crop_classify_rle_unique_nms_080920') ('2025-02-25 07:01:52', 571, 3, 'datou_test_flip') ('2025-02-25 07:01:52', 1818, 3, 'blanchir') ('2025-02-25 07:01:52', 2041, 3, 'test_data_aug') ('2025-02-25 07:01:52', 2085, 3, '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') 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.24user 0.10system 9:36.91elapsed 0%CPU (0avgtext+0avgdata 35740maxresident)k 33984inputs+40outputs (1995major+8797minor)pagefaults 0swaps