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: 27/02/2025, 07:00:25 Nombre de datou current ('date', 'nombre de datou current') ('2025-02-27 07:00:25', 158) Nombre total de photos traitees dans les dernieres 24 heures ('date', 'total de photos traitees') ('2025-02-27 07:00:25', 493879) Nombre total de photos restant a traiter non commence ('date', 'Nombre total de photos restant a traiter non commence') ('2025-02-27 07:01:53', 25579) Nombre total de photos restant a traiter ('date', 'Nombre total de photos restant a traiter') ('2025-02-27 07:01:53', 253) 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-27 07:01:58', 4322, 474, 360, 114, 'RUBBIA_filmPE_151122', 21.333333333333332, '20832993:film_pedb_:1017:0,20833033:film_pedb_:1017:0,20832928:film_pedb_:1017:0,20832922:film_pedb_:1017:0,20822070:film_pedb_:739:1,20837133:film_pedb_:739:0,20837134:film_pedb_:739:0,20837135:film_pedb_:739:0,20840119:film_pedb_:1017:0,20845540:film_pedb_:1017:0,20821563:film_pedb_:739:0,20821071:film_pedb_:739:0', 12) ('2025-02-27 07:01:58', 4892, 2173, 2095, 78, 'multi_classification_tapis_dechet', 6.0, '20860611:angers_mon:1017:1', 1) ('2025-02-27 07:01:58', 3991, 103, 80, 23, 'RUBBIA_ELA_131221_add_surclassifier_rapport', 18.75, '20845542:ela_diff_b:1017:0,20836981:ela_diff_b:1017:0,20833038:ela_diff_b:1017:0,20832985:ela_diff_b:1017:0', 4) ('2025-02-27 07:01:58', 4877, 84, 69, 15, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_rubbia_live', 0.0, '20873972:JRM_diff_b:979:1,20873973:JRM_diff_b:979:1,20873894:JRM_diff_b:979:1,20873842:JRM_diff_b:979:1,20873720:JRM_diff_b:979:1,20873597:JRM_diff_b:979:1,20873479:JRM_diff_b:979:1,20873282:JRM_diff_b:979:1,20873199:JRM_diff_b:979:1,20873123:JRM_diff_b:979:1,20872976:JRM_diff_b:979:1,20872923:JRM_diff_b:979:1,20872841:JRM_diff_b:979:1,20872790:JRM_diff_b:979:1,20872691:JRM_diff_b:979:1,20872353:JRM_diff_b:979:1', 16) ('2025-02-27 07:01:58', 4310, 1092, 1080, 12, 'classifieur_2camions_valcor_021122_v1', 3.0, '20868611:dechet_val:991:0', 1) ('2025-02-27 07:01:58', 4871, 1498, 1488, 10, 'blur_rubbia_live', 7.0, '20860610:arc_en_cie:979:0', 1) ('2025-02-27 07:01:58', 533, 1560, 1559, 1, 'multi_classification_tapis_dechet', 23.0, '20826496:arc_en_cie:739:1', 1) ('2025-02-27 07:01:58', 3994, 20, 20, 0, 'RUBBIA_proportion_papier_add_surclassifier_rapport', 20.0, '20835306:pcm_diff_b:739:0', 1) ('2025-02-27 07:01:58', 4234, 6, 6, 0, 'refus_rym_velours_valcor', 0.5, '20873895:incinerati:1103:1,20871698:incinerati:1103:1', 2) ('2025-02-27 07:01:58', 4489, 876, 876, 0, 'multi_classification_tapis_dechet', 29.0, '20821124:cedre_arge:1080: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-02-27 07:01:58', 370, 25, 'proportion_papier_qualite_dechets_tri', Decimal('9.0000'), '13545772:papier_dif:739:0,13545779:papier_dif:739:0,13545783:papier_dif:739:0,13545787:papier_dif:739:0', 4) ('2025-02-27 07:01:58', 3991, 30, 'RUBBIA_ELA_131221_add_surclassifier_rapport', Decimal('5.0000'), '20862731:ela_diff_b:1017:0', 1) ('2025-02-27 07:01:58', 4219, 9987, 'detection_plaque_valcor_010622', Decimal('112.4907'), '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,20860771:plaque_val:1064:0', 10) ('2025-02-27 07:01:58', 4220, 2316, 'split_time_score_plaque_Valcor', Decimal('6.9866'), '20785913:plaque_val:1064:0,20821622:plaque_val:1064:0,20860771:plaque_val:1064:0', 3) ('2025-02-27 07:01:58', 4234, 4, 'refus_rym_velours_valcor', Decimal('0.0000'), '20873867:incinerati:1103:0,20873868:incinerati:1103:0', 2) ('2025-02-27 07:01:58', 4322, 65, 'RUBBIA_filmPE_151122', Decimal('9.8308'), '20851778:film_pedb_:1017:0,20851780:film_pedb_:1017:0,20854906:film_pedb_:1017:0', 3) ('2025-02-27 07:01:58', 4346, 1091, 'split_time_score_cedre', Decimal('5.6205'), '20821124:cedre_arge:1080:0,20860613:cedre_arge:1080:0', 2) ('2025-02-27 07:01:58', 4489, 215, 'multi_classification_tapis_dechet', Decimal('6.0000'), '20860613:cedre_arge:1080:0', 1) ('2025-02-27 07:01:58', 4876, 1498, 'split_time_score_JRM_Arc_En_Ciel_test_load', Decimal('0.0000'), '20860610:arc_en_cie:979:0', 1) ('2025-02-27 07:01:58', 4887, 8105, 'split_time_score_Sevran_test', Decimal('0.0000'), '20826447:sevran_122:739:1', 1) ('2025-02-27 07:01:58', 4891, 2173, 'split_time_score_angers_montee_convoyeur', Decimal('0.0000'), '20860611:angers_mon:1017:0', 1) ('2025-02-27 07:01:58', 4892, 6, 'multi_classification_tapis_dechet', Decimal('0.0000'), '20873978:sevran_122:739:0', 1) ('2025-02-27 07:01:58', 4893, 70, 'split_time_score_Sevran_test2', Decimal('0.0000'), '20820379:sevran_122:739:0,20873172: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-27 07:01:58', 4322, 2640, 'RUBBIA_filmPE_151122') ('2025-02-27 07:01:58', 4489, 2070, 'multi_classification_tapis_dechet') ('2025-02-27 07:01:58', 533, 4677, 'multi_classification_tapis_dechet') ('2025-02-27 07:01:58', 3991, 640, 'RUBBIA_ELA_131221_add_surclassifier_rapport') ('2025-02-27 07:01:58', 3994, 160, 'RUBBIA_proportion_papier_add_surclassifier_rapport') ('2025-02-27 07:01:58', 4871, 1488, 'blur_rubbia_live') ('2025-02-27 07:01:58', 4892, 5500, 'multi_classification_tapis_dechet') ('2025-02-27 07:01:58', 4310, 3240, 'classifieur_2camions_valcor_021122_v1') ('2025-02-27 07:01:58', 4234, 9, 'refus_rym_velours_valcor') ('2025-02-27 07:01:58', 4877, 343, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_rubbia_live') Nombre de datous demandés par statut ('statut', 'nombre de datous') (1, 25) (-5, 19) (0, 135) 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-27 07:02:11', 4234, 88945, 'refus_rym_velours_valcor') ('2025-02-27 07:02:11', 4883, 65198, 'split_time_score_JRM_Arc_En_Ciel') ('2025-02-27 07:02:11', 4877, 55478, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_rubbia_live') ('2025-02-27 07:02:11', 4892, 44964, 'multi_classification_tapis_dechet') ('2025-02-27 07:02:11', 4876, 41919, 'split_time_score_JRM_Arc_En_Ciel_test_load') ('2025-02-27 07:02:11', 4302, 33089, 'RUBBIA_JRM_consolidate') ('2025-02-27 07:02:11', 3459, 19857, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_weights') ('2025-02-27 07:02:11', 4310, 19598, 'classifieur_2camions_valcor_021122_v1') ('2025-02-27 07:02:11', 3993, 18537, 'RUBBIA_Carton_131221_add_surclassifier_rapport') ('2025-02-27 07:02:11', 3804, 18118, 'Rubbia_crop_merge_2486_2499_classifiy_2547_extract_RYM') ('2025-02-27 07:02:11', 3995, 15088, 'RUBBIA_PEHD_131221_add_surclassifier_rapport') ('2025-02-27 07:02:11', 4322, 11878, 'RUBBIA_filmPE_151122') ('2025-02-27 07:02:11', 4866, 8519, 'dib_crop_merge_2486_2499_classifiy_2547_extract_RYM_with_sam') ('2025-02-27 07:02:11', 4433, 7483, 'RUBBIA_JRM_detail_conts_mask2896_sc2868_weights') ('2025-02-27 07:02:11', 533, 6597, 'multi_classification_tapis_dechet') ('2025-02-27 07:02:11', 4153, 6047, 'RUBBIA_PET_Fonce_add_surclassifier_rapport') ('2025-02-27 07:02:11', 4871, 4689, 'blur_rubbia_live') ('2025-02-27 07:02:11', 4311, 4000, 'sts_dechet_valcor_matching_v2_2022Q3') ('2025-02-27 07:02:11', 4891, 3900, 'split_time_score_angers_montee_convoyeur') ('2025-02-27 07:02:11', 3318, 3342, 'RUBBIA_Refus_mask_simple_non_aussi_rle') ('2025-02-27 07:02:11', 3994, 2235, 'RUBBIA_proportion_papier_add_surclassifier_rapport') ('2025-02-27 07:02:11', 4489, 2070, 'multi_classification_tapis_dechet') ('2025-02-27 07:02:11', 4893, 1825, 'split_time_score_Sevran_test2') ('2025-02-27 07:02:11', 3991, 1374, 'RUBBIA_ELA_131221_add_surclassifier_rapport') ('2025-02-27 07:02:11', 4189, 1338, 'split_time_score_JRM_Perlen_convoyeur') ('2025-02-27 07:02:11', 3385, 966, 'split_time_score_JRM_Arc_En_Ciel_peu_dense') ('2025-02-27 07:02:11', 3789, 928, 'split_time_score_test_multi_matiere') ('2025-02-27 07:02:11', 4849, 894, 'split_time_score_SCCU_6') ('2025-02-27 07:02:11', 4887, 840, 'split_time_score_Sevran_test') ('2025-02-27 07:02:11', 3992, 828, 'RUBBIA_Alu_131221_add_surclassifier_rapport') ('2025-02-27 07:02:11', 4850, 787, 'split_time_score_SCCU_7') ('2025-02-27 07:02:11', 4851, 780, 'split_time_score_SCCU_8') ('2025-02-27 07:02:11', 4878, 500, 'split_time_score_JRM_Arc_En_Ciel_test_load') ('2025-02-27 07:02:11', 3787, 256, 'split_time_score_urban_fest') ('2025-02-27 07:02:11', 4346, 200, 'split_time_score_cedre') ('2025-02-27 07:02:11', 4220, 151, 'split_time_score_plaque_Valcor') ('2025-02-27 07:02:11', 3181, 132, 'split_time_score_JRM_Arc_En_Ciel') ('2025-02-27 07:02:11', 243, 104, 'prepare_varroa_ellipse_tile_rotate_whiten') ('2025-02-27 07:02:11', 3164, 56, 'debug_sans_detect_pipeline_qualipapia_detect_crop_classify_rle_unique_nms_040321') ('2025-02-27 07:02:11', 4208, 40, 'test_acp_fit_transform_20') ('2025-02-27 07:02:11', 4209, 40, 'test_acp') ('2025-02-27 07:02:11', 4212, 40, 'ACP_from_port_5709050_type_5619_size_9') ('2025-02-27 07:02:11', 686, 28, 'copy_argmax_crop') ('2025-02-27 07:02:11', 3781, 28, 'cod_pipeline_Perlen_manuel_sts_test') ('2025-02-27 07:02:11', 4621, 27, 'tfhub_18_7_2023') ('2025-02-27 07:02:11', 370, 25, 'proportion_papier_qualite_dechets_tri') ('2025-02-27 07:02:11', 4567, 24, 'tfhub_19_06_2023') ('2025-02-27 07:02:11', 230, 20, 'datou_test_rotate') ('2025-02-27 07:02:11', 1848, 20, 'Pipeline_upm_photos_blanches') ('2025-02-27 07:02:11', 3990, 20, 'test_crop_condition_blur') ('2025-02-27 07:02:11', 2896, 20, 'test_radom_deformation') ('2025-02-27 07:02:11', 3070, 20, 'test_ventilate_hashtag_type_3326') ('2025-02-27 07:02:11', 3856, 16, 'RUBBIA_Carton_050821_extract_RYM') ('2025-02-27 07:02:11', 2719, 14, 'pipeline_rubbia_detect_crop_classify_rle_unique_nms_080920_only_final') ('2025-02-27 07:02:11', 40, 12, 'mask_coco_origin') ('2025-02-27 07:02:11', 4184, 10, 'detection_plaque_valcor_010622') ('2025-02-27 07:02:11', 4553, 8, 'copie_4387_test_replace') ('2025-02-27 07:02:11', 4492, 8, 'copie_4387_test_replace') ('2025-02-27 07:02:11', 233, 8, 'datou_test_rotate_conditionnel') ('2025-02-27 07:02:11', 4573, 7, 'test_sam_h') ('2025-02-27 07:02:11', 1026, 6, 'mask_coco_for_test') ('2025-02-27 07:02:11', 2, 5, 'classification_model') ('2025-02-27 07:02:11', 571, 4, 'datou_test_flip') ('2025-02-27 07:02:11', 2085, 4, 'train_points_upm_darker') ('2025-02-27 07:02:11', 2041, 4, 'test_data_aug') ('2025-02-27 07:02:11', 1818, 4, 'blanchir') ('2025-02-27 07:02:11', 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.18user 0.12system 9:37.41elapsed 0%CPU (0avgtext+0avgdata 35636maxresident)k 32664inputs+40outputs (1285major+9032minor)pagefaults 0swaps