returned map {'environnement': {'main_port_id': 22256877, 'sub_port_id': 22256892, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14725299, 'last_updated_at': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 7, 53, 1)}, 'mal_croppe': {'main_port_id': 22256877, 'sub_port_id': 22256893, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14725300, 'last_updated_at': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 7, 53, 1)}, 'cartonnette': {'main_port_id': 22256877, 'sub_port_id': 22256894, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14725301, 'last_updated_at': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 7, 53, 1)}, 'flou': {'main_port_id': 22256877, 'sub_port_id': 22256895, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14725302, 'last_updated_at': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 7, 53, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 22256877, 'sub_port_id': 22256896, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14725303, 'last_updated_at': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 7, 53, 1)}, 'kraft': {'main_port_id': 22256877, 'sub_port_id': 22256897, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14725304, 'last_updated_at': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 7, 53, 1)}, 'plastique': {'main_port_id': 22256877, 'sub_port_id': 22256898, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14725305, 'last_updated_at': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 7, 53, 1)}, 'metal': {'main_port_id': 22256877, 'sub_port_id': 22256899, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14725306, 'last_updated_at': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 7, 53, 1)}, 'autre_refus': {'main_port_id': 22256877, 'sub_port_id': 22256900, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14725307, 'last_updated_at': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 7, 53, 1)}, 'papier': {'main_port_id': 22256877, 'sub_port_id': 22256901, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14725308, 'last_updated_at': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 7, 53, 1)}, 'Carton_brun': {'main_port_id': 22256877, 'sub_port_id': 22256902, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14725309, 'last_updated_at': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 7, 53, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 7, 53, 1)}, 'Carton_gris': {'main_port_id': 22256877, 'sub_port_id': 22256903, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14725310, 'last_updated_at': datetime.datetime(2025, 4, 11, 7, 56, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 7, 56, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 7, 53, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22256892,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22256880 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22256893,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22256881 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22256894,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22256882 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22256895,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22256883 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22256896,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22256884 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22256897,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22256885 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22256898,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22256886 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22256899,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22256887 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22256900,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22256888 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22256901,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22256889 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22256902,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22256890 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22256903,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22256891 lien utilise dans velours : https://www.fotonower.com/velours/22256892,22256893,22256894,22256895,22256896,22256897,22256898,22256899,22256900,22256901,22256902,22256903?tags=environnement,mal_croppe,cartonnette,flou,Teint_Dans_La_Masse,kraft,plastique,metal,autre_refus,papier,Carton_brun,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22256877]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1351496635, 1351496617, 1351496600, 1351496583, 1351496511, 1351496508, 1351496502, 1351496490, 1351496486, 1351496481] map_info['map_portfolio_photo'] : {22256877: [1351496635, 1351496617, 1351496600, 1351496583, 1351496511, 1351496508, 1351496502, 1351496490, 1351496486, 1351496481, 1351496449, 1351496446, 1351496443, 1351496441, 1351496438, 1351496435, 1351496385, 1351496382, 1351496297, 1351496288, 1351496283, 1351496278, 1351496277, 1351496272, 1351496230, 1351496220, 1351496211, 1351496207, 1351496199, 1351495830, 1351495808, 1351495778, 1351495760, 1351495642, 1351495625, 1351495610, 1351495586, 1351495582, 1351495575, 1351495494, 1351495489, 1351495476, 1351495464, 1351495453]} final : False mtd_id 4302 list_pids : [1351496635, 1351496617, 1351496600, 1351496583, 1351496511, 1351496508, 1351496502, 1351496490, 1351496486, 1351496481] Looping around the photos to save general results len do output : 1 /22256877. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496635', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496617', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496600', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496583', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496511', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496508', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496502', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496490', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496486', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496481', None, None, None, None, None, '2742578') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22256877', "{'environnement': 22256880, 'mal_croppe': 22256881, 'cartonnette': 22256882, 'flou': 22256883, 'Teint_Dans_La_Masse': 22256884, 'kraft': 22256885, 'plastique': 22256886, 'metal': 22256887, 'autre_refus': 22256888, 'papier': 22256889, 'Carton_brun': 22256890, 'Carton_gris': 22256891}", None, None, None, None, '2742578'), ('4302', '22256877', '1351496635', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496617', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496600', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496583', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496511', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496508', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496502', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496490', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496486', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496481', None, None, None, None, None, '2742578')] time used for this insertion : 0.016844749450683594 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.30378794670105 time spend to save output : 0.01716303825378418 total time spend for step 1 : 2.320950984954834 step2:final Fri Apr 11 07:59:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22256877) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} Beginning of datou step final ! query to retrieve results for portfolio 22256877 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1351495494,1351495489,1351495476,1351495464,1351495453,1351495642,1351495625,1351495610,1351495586,1351495582,1351495575,1351495830,1351495808,1351495778,1351495760,1351496230,1351496220,1351496211,1351496207,1351496199,1351496297,1351496288,1351496283,1351496278,1351496277,1351496272,1351496385,1351496382,1351496449,1351496446,1351496443,1351496441,1351496438,1351496435,1351496511,1351496508,1351496502,1351496490,1351496486,1351496481,1351496635,1351496617,1351496600,1351496583); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22256877]) Inside saveOutput : final : False verbose : True original output for save of step final : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ('0.06015926576607006',), 1351496508: ('0.06015926576607006',), 1351496502: ('0.06015926576607006',), 1351496490: ('0.06015926576607006',), 1351496486: ('0.06015926576607006',), 1351496481: ('0.06015926576607006',)} new output for save of step final : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ('0.06015926576607006',), 1351496508: ('0.06015926576607006',), 1351496502: ('0.06015926576607006',), 1351496490: ('0.06015926576607006',), 1351496486: ('0.06015926576607006',), 1351496481: ('0.06015926576607006',)} [1351496635, 1351496617, 1351496600, 1351496583, 1351496511, 1351496508, 1351496502, 1351496490, 1351496486, 1351496481] map_info['map_portfolio_photo'] : {22256877: [1351496635, 1351496617, 1351496600, 1351496583, 1351496511, 1351496508, 1351496502, 1351496490, 1351496486, 1351496481, 1351496449, 1351496446, 1351496443, 1351496441, 1351496438, 1351496435, 1351496385, 1351496382, 1351496297, 1351496288, 1351496283, 1351496278, 1351496277, 1351496272, 1351496230, 1351496220, 1351496211, 1351496207, 1351496199, 1351495830, 1351495808, 1351495778, 1351495760, 1351495642, 1351495625, 1351495610, 1351495586, 1351495582, 1351495575, 1351495494, 1351495489, 1351495476, 1351495464, 1351495453]} final : False mtd_id 4302 list_pids : [1351496635, 1351496617, 1351496600, 1351496583, 1351496511, 1351496508, 1351496502, 1351496490, 1351496486, 1351496481] Looping around the photos to save general results len do output : 10 /1351496635.Didn't retrieve data . /1351496617.Didn't retrieve data . /1351496600.Didn't retrieve data . /1351496583.Didn't retrieve data . /1351496511.Didn't retrieve data . /1351496508.Didn't retrieve data . /1351496502.Didn't retrieve data . /1351496490.Didn't retrieve data . /1351496486.Didn't retrieve data . /1351496481.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496635', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496617', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496600', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496583', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496511', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496508', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496502', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496490', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496486', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496481', None, None, None, None, None, '2742578') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22256877', '1351496635', '0.06015926576607006', None, None, None, None, '2742578'), ('4302', '22256877', '1351496617', '0.06015926576607006', None, None, None, None, '2742578'), ('4302', '22256877', '1351496600', '0.06015926576607006', None, None, None, None, '2742578'), ('4302', '22256877', '1351496583', '0.06015926576607006', None, None, None, None, '2742578'), ('4302', '22256877', '1351496511', '0.06015926576607006', None, None, None, None, '2742578'), ('4302', '22256877', '1351496508', '0.06015926576607006', None, None, None, None, '2742578'), ('4302', '22256877', '1351496502', '0.06015926576607006', None, None, None, None, '2742578'), ('4302', '22256877', '1351496490', '0.06015926576607006', None, None, None, None, '2742578'), ('4302', '22256877', '1351496486', '0.06015926576607006', None, None, None, None, '2742578'), ('4302', '22256877', '1351496481', '0.06015926576607006', None, None, None, None, '2742578')] time used for this insertion : 0.01831650733947754 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0749814510345459 time spend to save output : 0.019317150115966797 total time spend for step 2 : 0.0942986011505127 step3:velours_tree Fri Apr 11 07:59:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {22256877: [{'environnement': 22256880, 'mal_croppe': 22256881, 'cartonnette': 22256882, 'flou': 22256883, 'Teint_Dans_La_Masse': 22256884, 'kraft': 22256885, 'plastique': 22256886, 'metal': 22256887, 'autre_refus': 22256888, 'papier': 22256889, 'Carton_brun': 22256890, 'Carton_gris': 22256891}]} input_args_next_step : {22256877: ()} output_args : {22256877: [{'environnement': 22256880, 'mal_croppe': 22256881, 'cartonnette': 22256882, 'flou': 22256883, 'Teint_Dans_La_Masse': 22256884, 'kraft': 22256885, 'plastique': 22256886, 'metal': 22256887, 'autre_refus': 22256888, 'papier': 22256889, 'Carton_brun': 22256890, 'Carton_gris': 22256891}]} args : 22256877 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'environnement': 22256880, 'mal_croppe': 22256881, 'cartonnette': 22256882, 'flou': 22256883, 'Teint_Dans_La_Masse': 22256884, 'kraft': 22256885, 'plastique': 22256886, 'metal': 22256887, 'autre_refus': 22256888, 'papier': 22256889, 'Carton_brun': 22256890, 'Carton_gris': 22256891},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22256877) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} can't find the photo_desc_type After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22256877]) Inside saveOutput : final : False verbose : True ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.335024356842041 time spend to save output : 5.459785461425781e-05 total time spend for step 3 : 0.3350789546966553 step4:send_mail_cod Fri Apr 11 07:59:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ('0.06015926576607006',), 1351496508: ('0.06015926576607006',), 1351496502: ('0.06015926576607006',), 1351496490: ('0.06015926576607006',), 1351496486: ('0.06015926576607006',), 1351496481: ('0.06015926576607006',)} input_args_next_step : {1351496635: ()} output_args : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ('0.06015926576607006',), 1351496508: ('0.06015926576607006',), 1351496502: ('0.06015926576607006',), 1351496490: ('0.06015926576607006',), 1351496486: ('0.06015926576607006',), 1351496481: ('0.06015926576607006',)} args : 1351496635 depend.output_id : 0 input_args_next_step : {1351496635: ('0.06015926576607006',), 1351496617: ()} output_args : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ('0.06015926576607006',), 1351496508: ('0.06015926576607006',), 1351496502: ('0.06015926576607006',), 1351496490: ('0.06015926576607006',), 1351496486: ('0.06015926576607006',), 1351496481: ('0.06015926576607006',)} args : 1351496617 depend.output_id : 0 input_args_next_step : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ()} output_args : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ('0.06015926576607006',), 1351496508: ('0.06015926576607006',), 1351496502: ('0.06015926576607006',), 1351496490: ('0.06015926576607006',), 1351496486: ('0.06015926576607006',), 1351496481: ('0.06015926576607006',)} args : 1351496600 depend.output_id : 0 input_args_next_step : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ()} output_args : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ('0.06015926576607006',), 1351496508: ('0.06015926576607006',), 1351496502: ('0.06015926576607006',), 1351496490: ('0.06015926576607006',), 1351496486: ('0.06015926576607006',), 1351496481: ('0.06015926576607006',)} args : 1351496583 depend.output_id : 0 input_args_next_step : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ()} output_args : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ('0.06015926576607006',), 1351496508: ('0.06015926576607006',), 1351496502: ('0.06015926576607006',), 1351496490: ('0.06015926576607006',), 1351496486: ('0.06015926576607006',), 1351496481: ('0.06015926576607006',)} args : 1351496511 depend.output_id : 0 input_args_next_step : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ('0.06015926576607006',), 1351496508: ()} output_args : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ('0.06015926576607006',), 1351496508: ('0.06015926576607006',), 1351496502: ('0.06015926576607006',), 1351496490: ('0.06015926576607006',), 1351496486: ('0.06015926576607006',), 1351496481: ('0.06015926576607006',)} args : 1351496508 depend.output_id : 0 input_args_next_step : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ('0.06015926576607006',), 1351496508: ('0.06015926576607006',), 1351496502: ()} output_args : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ('0.06015926576607006',), 1351496508: ('0.06015926576607006',), 1351496502: ('0.06015926576607006',), 1351496490: ('0.06015926576607006',), 1351496486: ('0.06015926576607006',), 1351496481: ('0.06015926576607006',)} args : 1351496502 depend.output_id : 0 input_args_next_step : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ('0.06015926576607006',), 1351496508: ('0.06015926576607006',), 1351496502: ('0.06015926576607006',), 1351496490: ()} output_args : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ('0.06015926576607006',), 1351496508: ('0.06015926576607006',), 1351496502: ('0.06015926576607006',), 1351496490: ('0.06015926576607006',), 1351496486: ('0.06015926576607006',), 1351496481: ('0.06015926576607006',)} args : 1351496490 depend.output_id : 0 input_args_next_step : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ('0.06015926576607006',), 1351496508: ('0.06015926576607006',), 1351496502: ('0.06015926576607006',), 1351496490: ('0.06015926576607006',), 1351496486: ()} output_args : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ('0.06015926576607006',), 1351496508: ('0.06015926576607006',), 1351496502: ('0.06015926576607006',), 1351496490: ('0.06015926576607006',), 1351496486: ('0.06015926576607006',), 1351496481: ('0.06015926576607006',)} args : 1351496486 depend.output_id : 0 input_args_next_step : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ('0.06015926576607006',), 1351496508: ('0.06015926576607006',), 1351496502: ('0.06015926576607006',), 1351496490: ('0.06015926576607006',), 1351496486: ('0.06015926576607006',), 1351496481: ()} output_args : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ('0.06015926576607006',), 1351496508: ('0.06015926576607006',), 1351496502: ('0.06015926576607006',), 1351496490: ('0.06015926576607006',), 1351496486: ('0.06015926576607006',), 1351496481: ('0.06015926576607006',)} args : 1351496481 depend.output_id : 0 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 : {22256877: [{'environnement': 22256880, 'mal_croppe': 22256881, 'cartonnette': 22256882, 'flou': 22256883, 'Teint_Dans_La_Masse': 22256884, 'kraft': 22256885, 'plastique': 22256886, 'metal': 22256887, 'autre_refus': 22256888, 'papier': 22256889, 'Carton_brun': 22256890, 'Carton_gris': 22256891}]} input_args_next_step : {1351496635: ('0.06015926576607006',), 1351496617: ('0.06015926576607006',), 1351496600: ('0.06015926576607006',), 1351496583: ('0.06015926576607006',), 1351496511: ('0.06015926576607006',), 1351496508: ('0.06015926576607006',), 1351496502: ('0.06015926576607006',), 1351496490: ('0.06015926576607006',), 1351496486: ('0.06015926576607006',), 1351496481: ('0.06015926576607006',), 22256877: ()} output_args : {22256877: [{'environnement': 22256880, 'mal_croppe': 22256881, 'cartonnette': 22256882, 'flou': 22256883, 'Teint_Dans_La_Masse': 22256884, 'kraft': 22256885, 'plastique': 22256886, 'metal': 22256887, 'autre_refus': 22256888, 'papier': 22256889, 'Carton_brun': 22256890, 'Carton_gris': 22256891}]} args : 22256877 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :11, first value : ('0.06015926576607006',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22256877) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1351496635,1351496617,1351496600,1351496583,1351496511,1351496508,1351496502,1351496490,1351496486,1351496481) Found this number of photos: 10 ##### Call download_photos : nb_thread : 5 begin to download photo : 1351496481 begin to download photo : 1351496502 begin to download photo : 1351496583 begin to download photo : 1351496635 download finish for photo 1351496635 download finish for photo 1351496583 begin to download photo : 1351496600 download finish for photo 1351496481 begin to download photo : 1351496486 download finish for photo 1351496600 begin to download photo : 1351496617 download finish for photo 1351496486 begin to download photo : 1351496490 download finish for photo 1351496502 begin to download photo : 1351496508 download finish for photo 1351496617 download finish for photo 1351496508 begin to download photo : 1351496511 download finish for photo 1351496490 download finish for photo 1351496511 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette222568811744351141/ length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 results_Auto_P22256877_11-04-2025_07_59_01.pdf 22256881 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22256881 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222568811744351141 22256882 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22256882 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351496227: '1744350691_1127455_1351495489_5ec43f421241f0983ee61835543a4bd2_rle_crop_3756191707_0.png', 1351496394: '1744350793_1128524_1351495625_d87aaa33e3d7060819406385da6854c9_rle_crop_3756193537_0.png', 1351496395: '1744350793_1128524_1351495610_55f9157b13ee75a7a150bc2a0b498360_rle_crop_3756193551_0.png', 1351496396: '1744350793_1128524_1351495586_e9768dfdcef89515e5cf6f4177e70d09_rle_crop_3756193568_0.png', 1351496397: '1744350793_1128524_1351495575_f6d56fb166d2a6e7789fd7260cbf8c35_rle_crop_3756193601_0.png', 1351496494: '1744350913_1129665_1351496288_622d1c29266603313069c4f3768fc19c_rle_crop_3756199915_0.png', 1351496754: '1744351032_1131283_1351496446_7ae886b5d9816b10ab19d2fd32668c09_rle_crop_3756215446_0.png', 1351496756: '1744351032_1131283_1351496441_71e650a34561caf7f928387c54da6612_rle_crop_3756215509_0.png', 1351496757: '1744351032_1131283_1351496438_dfe1ae2b1e2f467ca6aea41d741f15af_rle_crop_3756215644_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d751e4023d76fb3268b9306cf5566f36_66458954.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b71713fd28cc085e5f9743abc51c849d_55104789.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d4b01cd6b5a2576b87273baa6fcbe90f_11550503.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b9b980fa5024b653e74a008fa48afac8_34487264.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e58ffac9d477f3ed415278b366906c92_9158921.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d0ac10540430872d1d076db8e0c2761a_24893818.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/20a5f1d0889aa8b10431331f0bb27353_89304057.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9aa489bde05b38087323dfe877c9ff50_53794771.png change filename to text .imagette222568821744351141/ imagette222568821744351141/1744351032_1131283_1351496438_dfe1ae2b1e2f467ca6aea41d741f15af_rle_crop_3756215644_0.png.png imagette222568821744351141/1744350793_1128524_1351495610_55f9157b13ee75a7a150bc2a0b498360_rle_crop_3756193551_0.png.png imagette222568821744351141/1744350793_1128524_1351495625_d87aaa33e3d7060819406385da6854c9_rle_crop_3756193537_0.png.png imagette222568821744351141/1744350793_1128524_1351495575_f6d56fb166d2a6e7789fd7260cbf8c35_rle_crop_3756193601_0.png.png imagette222568821744351141/1744351032_1131283_1351496446_7ae886b5d9816b10ab19d2fd32668c09_rle_crop_3756215446_0.png.png imagette222568821744351141/1744350691_1127455_1351495489_5ec43f421241f0983ee61835543a4bd2_rle_crop_3756191707_0.png.png imagette222568821744351141/1744350913_1129665_1351496288_622d1c29266603313069c4f3768fc19c_rle_crop_3756199915_0.png.png imagette222568821744351141/1744350793_1128524_1351495586_e9768dfdcef89515e5cf6f4177e70d09_rle_crop_3756193568_0.png.png imagette222568821744351141/1744351032_1131283_1351496441_71e650a34561caf7f928387c54da6612_rle_crop_3756215509_0.png.png imagette222568831744351142/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8bca2657274ec27ecbafe664238cff00_41611687.png imagette222568821744351141 22256883 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22256883 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222568831744351142 22256885 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22256885 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351496504: '1744350913_1129665_1351496283_8d4f66594ef5e90b198c601e7f38272e_rle_crop_3756202533_0.png', 1351496505: '1744350913_1129665_1351496278_0d82be0ff0000c034595e0bf63489423_rle_crop_3756202719_0.png', 1351496632: '1744350953_1130154_1351496207_528c54b491466f378f87038b8c5f5196_rle_crop_3756212301_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3273b60b814f3277b579d6182acb8a41_87447046.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a783cffab359e3539ff5f669d66fd6f0_44105152.png change filename to text .imagette222568851744351142/ imagette222568851744351142/1744350913_1129665_1351496283_8d4f66594ef5e90b198c601e7f38272e_rle_crop_3756202533_0.png.png imagette222568851744351142/1744350913_1129665_1351496278_0d82be0ff0000c034595e0bf63489423_rle_crop_3756202719_0.png.png imagette222568851744351142/1744350953_1130154_1351496207_528c54b491466f378f87038b8c5f5196_rle_crop_3756212301_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bc58ec650123bb2e9e9fd47c1a4ff7e6_19897379.png imagette222568851744351142 22256886 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22256886 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351496232: '1744350691_1127455_1351495494_afc360260ee2c69239331be8e91c15a2_rle_crop_3756191701_0.png', 1351496233: '1744350691_1127455_1351495464_860f47fca6ea4205705696f095b87579_rle_crop_3756191729_0.png', 1351496234: '1744350691_1127455_1351495453_27e520513075cadee72cc5dff3cacb05_rle_crop_3756191742_0.png', 1351496311: '1744350807_1409549_1351495760_b319edfb392018df805e1678bbea0a49_rle_crop_3756193514_0.png', 1351496312: '1744350807_1409549_1351495760_b319edfb392018df805e1678bbea0a49_rle_crop_3756193521_0.png', 1351496398: '1744350793_1128524_1351495830_d4cd2187af6db75170d6e0cf2755ceea_rle_crop_3756193530_0.png', 1351496480: '1744350932_1129882_1351496230_89d444201fc4d737c9fa5c2cd88ead10_rle_crop_3756202757_0.png', 1351496500: '1744350913_1129665_1351496288_622d1c29266603313069c4f3768fc19c_rle_crop_3756199916_0.png', 1351496501: '1744350913_1129665_1351496272_543795d50280e9b77be702326580aad9_rle_crop_3756202807_0.png', 1351496619: '1744350953_1130154_1351496297_90cfe8d8d3af410e66af70990bc47e3c_rle_crop_3756208454_0.png', 1351496621: '1744350953_1130154_1351496207_528c54b491466f378f87038b8c5f5196_rle_crop_3756212307_0.png', 1351496622: '1744350953_1130154_1351496207_528c54b491466f378f87038b8c5f5196_rle_crop_3756212309_0.png', 1351496623: '1744350953_1130154_1351496207_528c54b491466f378f87038b8c5f5196_rle_crop_3756212305_0.png', 1351496766: '1744351032_1131283_1351496441_71e650a34561caf7f928387c54da6612_rle_crop_3756215516_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b4368c49d12fe889236a61bdc6c9731d_38536427.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d6b4453a5d21acc6f05f9711471b4332_20723130.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e6be1c1574aca845145cb8af30a74db7_7669189.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ca9f4e5511e7ae7c8f8b49732b264511_46400105.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5a85d24d424ce8eed6ca98ee1334d119_41204568.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/45fabc2f81e138a39cdc9b76843132c8_27770833.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0106a550d3c915ae1de51eabe973461b_52342488.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/84fe9cecaeeeae878cedd39b9821cbf7_73265461.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4bd9947e6c7c55eb73935d2a11857b48_33034486.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6b341f899f2dbddde0bd099913e5e990_35209758.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e244c662c3c179e3b20a6656441a34f1_46759423.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8acc178a66c3784178933c5f55a041e1_45143000.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4947a4cd0b242a0314377471de171262_49217161.png change filename to text .imagette222568861744351142/ imagette222568861744351142/1744350953_1130154_1351496297_90cfe8d8d3af410e66af70990bc47e3c_rle_crop_3756208454_0.png.png imagette222568861744351142/1744350807_1409549_1351495760_b319edfb392018df805e1678bbea0a49_rle_crop_3756193521_0.png.png imagette222568861744351142/1744350913_1129665_1351496288_622d1c29266603313069c4f3768fc19c_rle_crop_3756199916_0.png.png imagette222568861744351142/1744350953_1130154_1351496207_528c54b491466f378f87038b8c5f5196_rle_crop_3756212309_0.png.png imagette222568861744351142/1744350913_1129665_1351496272_543795d50280e9b77be702326580aad9_rle_crop_3756202807_0.png.png imagette222568861744351142/1744350691_1127455_1351495464_860f47fca6ea4205705696f095b87579_rle_crop_3756191729_0.png.png imagette222568861744351142/1744350691_1127455_1351495494_afc360260ee2c69239331be8e91c15a2_rle_crop_3756191701_0.png.png imagette222568861744351142/1744350793_1128524_1351495830_d4cd2187af6db75170d6e0cf2755ceea_rle_crop_3756193530_0.png.png imagette222568861744351142/1744350953_1130154_1351496207_528c54b491466f378f87038b8c5f5196_rle_crop_3756212305_0.png.png imagette222568861744351142/1744350953_1130154_1351496207_528c54b491466f378f87038b8c5f5196_rle_crop_3756212307_0.png.png imagette222568861744351142/1744350807_1409549_1351495760_b319edfb392018df805e1678bbea0a49_rle_crop_3756193514_0.png.png imagette222568861744351142/1744350932_1129882_1351496230_89d444201fc4d737c9fa5c2cd88ead10_rle_crop_3756202757_0.png.png imagette222568861744351142/1744350691_1127455_1351495453_27e520513075cadee72cc5dff3cacb05_rle_crop_3756191742_0.png.png imagette222568861744351142/1744351032_1131283_1351496441_71e650a34561caf7f928387c54da6612_rle_crop_3756215516_0.png.png imagette222568871744351143/ wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/844b374b1cd6950fc90d2bb0aa81211a_51744784.png imagette222568861744351142 22256887 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22256887 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222568871744351143 22256888 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22256888 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351496609: '1744350953_1130154_1351496297_90cfe8d8d3af410e66af70990bc47e3c_rle_crop_3756208460_0.png', 1351496721: '1744351032_1131283_1351496441_71e650a34561caf7f928387c54da6612_rle_crop_3756215510_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/22cc7d2a5a141ea11be1b4522759ee7e_10165642.png change filename to text .imagette222568881744351143/ imagette222568881744351143/1744351032_1131283_1351496441_71e650a34561caf7f928387c54da6612_rle_crop_3756215510_0.png.png imagette222568881744351143/1744350953_1130154_1351496297_90cfe8d8d3af410e66af70990bc47e3c_rle_crop_3756208460_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a95a66c4a62ce5b7a6b874a6e03bc689_4672144.png imagette222568881744351143 22256884 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22256884 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351496222: '1744350691_1127455_1351495494_afc360260ee2c69239331be8e91c15a2_rle_crop_3756191702_0.png', 1351496223: '1744350691_1127455_1351495489_5ec43f421241f0983ee61835543a4bd2_rle_crop_3756191715_0.png', 1351496224: '1744350691_1127455_1351495464_860f47fca6ea4205705696f095b87579_rle_crop_3756191733_0.png', 1351496225: '1744350691_1127455_1351495453_27e520513075cadee72cc5dff3cacb05_rle_crop_3756191744_0.png', 1351496387: '1744350793_1128524_1351495625_d87aaa33e3d7060819406385da6854c9_rle_crop_3756193543_0.png', 1351496388: '1744350793_1128524_1351495625_d87aaa33e3d7060819406385da6854c9_rle_crop_3756193539_0.png', 1351496389: '1744350793_1128524_1351495610_55f9157b13ee75a7a150bc2a0b498360_rle_crop_3756193553_0.png', 1351496390: '1744350793_1128524_1351495586_e9768dfdcef89515e5cf6f4177e70d09_rle_crop_3756193571_0.png', 1351496488: '1744350913_1129665_1351496283_8d4f66594ef5e90b198c601e7f38272e_rle_crop_3756202528_0.png', 1351496606: '1744350953_1130154_1351496297_90cfe8d8d3af410e66af70990bc47e3c_rle_crop_3756208456_0.png', 1351496607: '1744350953_1130154_1351496207_528c54b491466f378f87038b8c5f5196_rle_crop_3756212308_0.png', 1351496608: '1744350953_1130154_1351496199_976f536a6cffef5d061efc8fcb6eac0b_rle_crop_3756212323_0.png', 1351496715: '1744351032_1131283_1351496435_68c813416f7f2b884095fff7df4e2eb0_rle_crop_3756218319_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/34637a61b6b0abc4feb106850c43cdfe_95245260.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/065a43b2f05291f6e8b63a1ff2c24cd6_33738951.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6aec0d8e3ad56d2ffc170766febec422_82439783.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/653a0d24eb2fea04c4d186e3742a66a0_27189678.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c1514b9108ec49c80a9d3677db138c7e_49929169.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0d441907c794a0a757f012239daf98c2_89453736.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/59055374d14b4eb2f0ab6e0e2add5fcc_95530337.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f2f8a598b324863e5ed665f96835d2b2_39523246.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d289163e9c79fa77bd509ce6c81f219f_91997810.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f9dda68c212f71d26264a013c3581be5_50553046.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/652d71c43b8095a50401ce70526cbb53_48411188.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3512df5fbaa08faa0e5546079e58a194_42302142.png change filename to text .imagette222568841744351143/ imagette222568841744351143/1744350691_1127455_1351495464_860f47fca6ea4205705696f095b87579_rle_crop_3756191733_0.png.png imagette222568841744351143/1744350953_1130154_1351496297_90cfe8d8d3af410e66af70990bc47e3c_rle_crop_3756208456_0.png.png imagette222568841744351143/1744350953_1130154_1351496207_528c54b491466f378f87038b8c5f5196_rle_crop_3756212308_0.png.png imagette222568841744351143/1744350793_1128524_1351495610_55f9157b13ee75a7a150bc2a0b498360_rle_crop_3756193553_0.png.png imagette222568841744351143/1744350691_1127455_1351495494_afc360260ee2c69239331be8e91c15a2_rle_crop_3756191702_0.png.png imagette222568841744351143/1744351032_1131283_1351496435_68c813416f7f2b884095fff7df4e2eb0_rle_crop_3756218319_0.png.png imagette222568841744351143/1744350953_1130154_1351496199_976f536a6cffef5d061efc8fcb6eac0b_rle_crop_3756212323_0.png.png imagette222568841744351143/1744350793_1128524_1351495625_d87aaa33e3d7060819406385da6854c9_rle_crop_3756193539_0.png.png imagette222568841744351143/1744350691_1127455_1351495453_27e520513075cadee72cc5dff3cacb05_rle_crop_3756191744_0.png.png imagette222568841744351143/1744350913_1129665_1351496283_8d4f66594ef5e90b198c601e7f38272e_rle_crop_3756202528_0.png.png imagette222568841744351143/1744350793_1128524_1351495586_e9768dfdcef89515e5cf6f4177e70d09_rle_crop_3756193571_0.png.png imagette222568841744351143/1744350793_1128524_1351495625_d87aaa33e3d7060819406385da6854c9_rle_crop_3756193543_0.png.png imagette222568841744351143/1744350691_1127455_1351495489_5ec43f421241f0983ee61835543a4bd2_rle_crop_3756191715_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/acd60fb0f18f53f40ce09d268b5ab7b5_52594605.png imagette222568841744351143 22256890 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22256890 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351496310: '1744350807_1409549_1351495760_b319edfb392018df805e1678bbea0a49_rle_crop_3756193512_0.png', 1351496496: '1744350913_1129665_1351496283_8d4f66594ef5e90b198c601e7f38272e_rle_crop_3756202529_0.png', 1351496497: '1744350913_1129665_1351496278_0d82be0ff0000c034595e0bf63489423_rle_crop_3756202715_0.png', 1351496498: '1744350913_1129665_1351496277_04fbaf681c71a6307b48fab51e6b57c8_rle_crop_3756202799_0.png', 1351496613: '1744350953_1130154_1351496211_74962f5e697b75f1ceaa22e02a2228b8_rle_crop_3756211806_0.png', 1351496614: '1744350953_1130154_1351496207_528c54b491466f378f87038b8c5f5196_rle_crop_3756212312_0.png', 1351496615: '1744350953_1130154_1351496207_528c54b491466f378f87038b8c5f5196_rle_crop_3756212303_0.png', 1351496675: '1744351046_1415717_1351496382_6658f5c55b927ec5df6af15049d27812_rle_crop_3756215388_0.png', 1351496759: '1744351032_1131283_1351496441_71e650a34561caf7f928387c54da6612_rle_crop_3756215515_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/013c1e2027679a2c4a3183c2cb751bea_44482593.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d24da7aff24515304ff24bfe1941a3a1_80573416.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2d33d27b3847f6d892812dc89a6e7b9e_23154683.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c3edb88e4d25716b3941e03346c3ea58_78280689.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/77787a55d704fe8cb57a42e293b6295c_85387230.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cc9e8bac1dd665a6cd4e0759f2a18c32_45543447.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e25af94d73b3bdc8d6ac12a0f7322d0d_37692149.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bb929f42e6ee3e297cd517f577e2e757_43356794.png change filename to text .imagette222568901744351144/ imagette222568901744351144/1744350953_1130154_1351496211_74962f5e697b75f1ceaa22e02a2228b8_rle_crop_3756211806_0.png.png imagette222568901744351144/1744350913_1129665_1351496277_04fbaf681c71a6307b48fab51e6b57c8_rle_crop_3756202799_0.png.png imagette222568901744351144/1744350807_1409549_1351495760_b319edfb392018df805e1678bbea0a49_rle_crop_3756193512_0.png.png imagette222568901744351144/1744351046_1415717_1351496382_6658f5c55b927ec5df6af15049d27812_rle_crop_3756215388_0.png.png imagette222568901744351144/1744351032_1131283_1351496441_71e650a34561caf7f928387c54da6612_rle_crop_3756215515_0.png.png imagette222568901744351144/1744350953_1130154_1351496207_528c54b491466f378f87038b8c5f5196_rle_crop_3756212312_0.png.png imagette222568901744351144/1744350913_1129665_1351496278_0d82be0ff0000c034595e0bf63489423_rle_crop_3756202715_0.png.png imagette222568901744351144/1744350913_1129665_1351496283_8d4f66594ef5e90b198c601e7f38272e_rle_crop_3756202529_0.png.png imagette222568901744351144/1744350953_1130154_1351496207_528c54b491466f378f87038b8c5f5196_rle_crop_3756212303_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1649adbe0d43942371505938f906bea4_12508220.png imagette222568901744351144 22256891 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22256891 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351496226: '1744350691_1127455_1351495489_5ec43f421241f0983ee61835543a4bd2_rle_crop_3756191705_0.png', 1351496392: '1744350793_1128524_1351495830_d4cd2187af6db75170d6e0cf2755ceea_rle_crop_3756193528_0.png', 1351496393: '1744350793_1128524_1351495582_0f5b47e681f43701b745332a52f0c144_rle_crop_3756193585_0.png', 1351496491: '1744350913_1129665_1351496288_622d1c29266603313069c4f3768fc19c_rle_crop_3756199914_0.png', 1351496492: '1744350913_1129665_1351496283_8d4f66594ef5e90b198c601e7f38272e_rle_crop_3756202530_0.png', 1351496493: '1744350913_1129665_1351496278_0d82be0ff0000c034595e0bf63489423_rle_crop_3756202717_0.png', 1351496610: '1744350953_1130154_1351496211_74962f5e697b75f1ceaa22e02a2228b8_rle_crop_3756211800_0.png', 1351496736: '1744351032_1131283_1351496446_7ae886b5d9816b10ab19d2fd32668c09_rle_crop_3756215444_0.png', 1351496737: '1744351032_1131283_1351496446_7ae886b5d9816b10ab19d2fd32668c09_rle_crop_3756215445_0.png', 1351496738: '1744351032_1131283_1351496443_c451a750a2a2fbe9aadefffdd64f68c2_rle_crop_3756215500_0.png', 1351496739: '1744351032_1131283_1351496441_71e650a34561caf7f928387c54da6612_rle_crop_3756215512_0.png', 1351496740: '1744351032_1131283_1351496435_68c813416f7f2b884095fff7df4e2eb0_rle_crop_3756218322_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b181e2d4a8e561ec88ca66015407d2fb_53012341.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/60abcb9d54ab8ccf689874d71cf3d59f_71879963.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d18f1869e472f0dd6402a0b7082a987e_41561195.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cdb3d13e1e280ed97f1e6b59eb15c932_86279301.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/005081f6de6dad41fcf5ab9e55f6d167_11843944.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2554aefd53e4881240acc6ce0882d4af_74140819.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8125a474d9ba332179a51e3e48608f77_10657047.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f7aa7aa8adc192d034e3a8755968b6ec_75995658.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8a0f641e6d2881f74a6123aa7bf25ea6_32652731.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5545705ee1bd8eab6f97df8713a9a611_39207179.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/19f2fd8503f4358e5cb3fcd6afd7c642_51849414.png change filename to text .imagette222568911744351146/ imagette222568911744351146/1744351032_1131283_1351496443_c451a750a2a2fbe9aadefffdd64f68c2_rle_crop_3756215500_0.png.png imagette222568911744351146/1744350793_1128524_1351495582_0f5b47e681f43701b745332a52f0c144_rle_crop_3756193585_0.png.png imagette222568911744351146/1744350793_1128524_1351495830_d4cd2187af6db75170d6e0cf2755ceea_rle_crop_3756193528_0.png.png imagette222568911744351146/1744351032_1131283_1351496441_71e650a34561caf7f928387c54da6612_rle_crop_3756215512_0.png.png imagette222568911744351146/1744351032_1131283_1351496446_7ae886b5d9816b10ab19d2fd32668c09_rle_crop_3756215445_0.png.png imagette222568911744351146/1744350913_1129665_1351496278_0d82be0ff0000c034595e0bf63489423_rle_crop_3756202717_0.png.png imagette222568911744351146/1744351032_1131283_1351496435_68c813416f7f2b884095fff7df4e2eb0_rle_crop_3756218322_0.png.png imagette222568911744351146/1744351032_1131283_1351496446_7ae886b5d9816b10ab19d2fd32668c09_rle_crop_3756215444_0.png.png imagette222568911744351146/1744350691_1127455_1351495489_5ec43f421241f0983ee61835543a4bd2_rle_crop_3756191705_0.png.png imagette222568911744351146/1744350913_1129665_1351496283_8d4f66594ef5e90b198c601e7f38272e_rle_crop_3756202530_0.png.png imagette222568911744351146/1744350953_1130154_1351496211_74962f5e697b75f1ceaa22e02a2228b8_rle_crop_3756211800_0.png.png imagette222568911744351146/1744350913_1129665_1351496288_622d1c29266603313069c4f3768fc19c_rle_crop_3756199914_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/104a4b6aa620235ee2ef7ed36bd6df7d_37482539.png imagette222568911744351146 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22256877 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22256892,22256893,22256894,22256895,22256896,22256897,22256898,22256899,22256900,22256901,22256902,22256903?tags=environnement,mal_croppe,cartonnette,flou,Teint_Dans_La_Masse,kraft,plastique,metal,autre_refus,papier,Carton_brun,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1351496635] : ('0.06015926576607006',) no score found for photo 1351496635 We are sending mail with results at report@fotonower.com args[1351496617] : ('0.06015926576607006',) no score found for photo 1351496617 We are sending mail with results at report@fotonower.com args[1351496600] : ('0.06015926576607006',) no score found for photo 1351496600 We are sending mail with results at report@fotonower.com args[1351496583] : ('0.06015926576607006',) no score found for photo 1351496583 We are sending mail with results at report@fotonower.com args[1351496511] : ('0.06015926576607006',) no score found for photo 1351496511 We are sending mail with results at report@fotonower.com args[1351496508] : ('0.06015926576607006',) no score found for photo 1351496508 We are sending mail with results at report@fotonower.com args[1351496502] : ('0.06015926576607006',) no score found for photo 1351496502 We are sending mail with results at report@fotonower.com args[1351496490] : ('0.06015926576607006',) no score found for photo 1351496490 We are sending mail with results at report@fotonower.com args[1351496486] : ('0.06015926576607006',) no score found for photo 1351496486 We are sending mail with results at report@fotonower.com args[1351496481] : ('0.06015926576607006',) no score found for photo 1351496481 We are sending mail with results at report@fotonower.com refus_total : 0.06015926576607006 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22256877 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22256877_11-04-2025_07_59_01.pdf results_Auto_P22256877_11-04-2025_07_59_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22256877_11-04-2025_07_59_01.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','22256877','results_Auto_P22256877_11-04-2025_07_59_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22256877_11-04-2025_07_59_01.pdf','pdf','','0.27','0.06015926576607006') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22256877]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1351496635, 1351496617, 1351496600, 1351496583, 1351496511, 1351496508, 1351496502, 1351496490, 1351496486, 1351496481] map_info['map_portfolio_photo'] : {22256877: [1351496635, 1351496617, 1351496600, 1351496583, 1351496511, 1351496508, 1351496502, 1351496490, 1351496486, 1351496481, 1351496449, 1351496446, 1351496443, 1351496441, 1351496438, 1351496435, 1351496385, 1351496382, 1351496297, 1351496288, 1351496283, 1351496278, 1351496277, 1351496272, 1351496230, 1351496220, 1351496211, 1351496207, 1351496199, 1351495830, 1351495808, 1351495778, 1351495760, 1351495642, 1351495625, 1351495610, 1351495586, 1351495582, 1351495575, 1351495494, 1351495489, 1351495476, 1351495464, 1351495453]} final : False mtd_id 4302 list_pids : [1351496635, 1351496617, 1351496600, 1351496583, 1351496511, 1351496508, 1351496502, 1351496490, 1351496486, 1351496481] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496635', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496617', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496600', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496583', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496511', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496508', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496502', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496490', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496486', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496481', None, None, None, None, None, '2742578') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22256877', '1351496635', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496617', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496600', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496583', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496511', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496508', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496502', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496490', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496486', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496481', None, None, None, None, None, '2742578')] time used for this insertion : 0.016909122467041016 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.29444694519043 time spend to save output : 0.017230749130249023 total time spend for step 4 : 9.311677694320679 step5:split_time_score Fri Apr 11 07:59:10 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['22256877'] We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 : VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : [('22256877',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22256877) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1351496635: {'path': 'temp/1744351141_2417035_1351496635_6486b94628c55ccaf7599d47cbcbf8e8.jpg', 'extension': 'jpg'}, 1351496583: {'path': 'temp/1744351141_2417035_1351496583_2c43092c107165752d49169516cfefc9.jpg', 'extension': 'jpg'}, 1351496600: {'path': 'temp/1744351141_2417035_1351496600_73b2fcb9eac49f70e4780f64dfdd77c2.jpg', 'extension': 'jpg'}, 1351496617: {'path': 'temp/1744351141_2417035_1351496617_6b94a876cd89a9f0f7489961540d6fd4.jpg', 'extension': 'jpg'}, 1351496481: {'path': 'temp/1744351141_2417035_1351496481_233a1d2392d85e279a5461d622b71462.jpg', 'extension': 'jpg'}, 1351496486: {'path': 'temp/1744351141_2417035_1351496486_34ee1221c44d0b0d0d24910123fcd7af.jpg', 'extension': 'jpg'}, 1351496490: {'path': 'temp/1744351141_2417035_1351496490_89155ada5d1deec0b2452394fc45c0a4.jpg', 'extension': 'jpg'}, 1351496502: {'path': 'temp/1744351141_2417035_1351496502_fa802614185d3ad804533ceaf4c45373.jpg', 'extension': 'jpg'}, 1351496508: {'path': 'temp/1744351141_2417035_1351496508_06a9216ca99aa0dc90c65c827b8451bb.jpg', 'extension': 'jpg'}, 1351496511: {'path': 'temp/1744351141_2417035_1351496511_f8e6217fbedc44c1983d9677b5c10b44.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} begin split time score SELECT app_name, token FROM MTRUser.mtr_app_api_token WHERE mtr_user_id=979 AND app_name="token_split_time_score" AND expire_at > NOW() select distinct dp.name from MTRPhoto.dashboard_entry_day ded, MTRPhoto.dashboard_places dp, MTRPhoto.dashboard_results dr where ded.dashboard_place_id = dp.id and ded.last_run_id = dr.dashboard_run_id and dp.id = ded.dashboard_place_id and dr.mtr_portfolio_id = 22256877; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 22256877 group by h (('07', 44),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22256877 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (22256877) AND cps.thcl in (861) order by cps.score desc LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (22256877) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 11042025 22256877 Nombre de photos uploadées : 44 / 23040 (0%) 11042025 22256877 Nombre de photos taguées (types de déchets): 0 / 44 (0%) 11042025 22256877 Nombre de photos taguées (volume) : 0 / 44 (0%) [{'photo_id': 1351495494, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/afc360260ee2c69239331be8e91c15a2.jpg', 'username': None, 'uploaded_at': 1744350547, 'text': 'image_11042025_07_48_04_10145.jpg'}, {'photo_id': 1351495489, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5ec43f421241f0983ee61835543a4bd2.jpg', 'username': None, 'uploaded_at': 1744350547, 'text': 'image_11042025_07_48_14_10138.jpg'}, {'photo_id': 1351495476, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/04f734ea4714af9fed1b6fbb9bb7dcd0.jpg', 'username': None, 'uploaded_at': 1744350547, 'text': 'image_11042025_07_48_24_10135.jpg'}, {'photo_id': 1351495464, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/860f47fca6ea4205705696f095b87579.jpg', 'username': None, 'uploaded_at': 1744350547, 'text': 'image_11042025_07_48_33_9127.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 5.9604644775390625e-06 ???????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001523733139038086 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22256877, '2025-04-11' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1733453,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.026641130447387695 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 1733453 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1733453, 'dashboard_run_id': 1742208, 'mtr_portfolio_id': 22254301, 'dashboard_result_id': 10012988, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22254301_11-04-2025_07_17_14.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22254342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22254343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22254344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22254345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22254346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22254347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22254348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22254349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22254350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22254351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22254352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22254353, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1742208, 'mtr_portfolio_id': 22255333, 'dashboard_result_id': 10012989, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22255333_11-04-2025_07_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22255336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22255337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22255338, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22255339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22255340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22255341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22255342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22255343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22255344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22255345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22255346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22255347, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1742208, 'mtr_portfolio_id': 22255996, 'dashboard_result_id': 10012990, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22255996_11-04-2025_07_50_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22256053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22256054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22256055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22256056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22256057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22256058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22256059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22256060, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22256061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22256062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22256063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22256064, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1742208, 'mtr_portfolio_id': 22256877, 'dashboard_result_id': 10012991, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22256877_11-04-2025_07_57_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22256880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22256881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22256882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22256883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22256884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22256885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22256886, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22256887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22256888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22256889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22256890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22256891, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22254301 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2742411, 'mtr_portfolio_id': 22254301, 'created_at': datetime.datetime(2025, 4, 11, 7, 17, 13), 'result': '0.05593091374692898', 'result_long': None, 'result_double': None}] Qualite : 0.05593091374692898 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22254301 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22254301_11-04-2025_07_17_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22254301 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22254301_11-04-2025_07_17_14.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22254342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22254343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22254344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22254345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22254346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22254347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22254348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22254349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22254350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22254351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22254352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22254353, 'pht': 3726}}" where mtr_portfolio_id = 22254301 and dashboard_run_id = 1742208 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22254301 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10012988, 0.05593091374692898, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22254301_11-04-2025_07_17_14.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22254342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22254343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22254344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22254345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22254346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22254347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22254348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22254349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22254350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22254351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22254352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22254353, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22255333 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2742462, 'mtr_portfolio_id': 22255333, 'created_at': datetime.datetime(2025, 4, 11, 7, 33), 'result': '0.060143392302330116', 'result_long': None, 'result_double': None}] Qualite : 0.060143392302330116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22255333 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22255333_11-04-2025_07_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22255333 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22255333_11-04-2025_07_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22255336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22255337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22255338, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22255339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22255340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22255341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22255342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22255343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22255344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22255345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22255346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22255347, 'pht': 3726}}" where mtr_portfolio_id = 22255333 and dashboard_run_id = 1742208 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22255333 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10012989, 0.060143392302330116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22255333_11-04-2025_07_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22255336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22255337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22255338, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22255339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22255340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22255341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22255342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22255343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22255344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22255345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22255346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22255347, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22255996 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2742518, 'mtr_portfolio_id': 22255996, 'created_at': datetime.datetime(2025, 4, 11, 7, 50, 59), 'result': '0.056899860998053525', 'result_long': None, 'result_double': None}] Qualite : 0.056899860998053525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22255996 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22255996_11-04-2025_07_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22255996 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22255996_11-04-2025_07_50_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22256053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22256054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22256055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22256056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22256057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22256058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22256059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22256060, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22256061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22256062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22256063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22256064, 'pht': 3726}}" where mtr_portfolio_id = 22255996 and dashboard_run_id = 1742208 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22255996 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10012990, 0.056899860998053525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22255996_11-04-2025_07_50_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22256053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22256054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22256055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22256056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22256057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22256058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22256059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22256060, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22256061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22256062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22256063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22256064, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22256877 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2742578, 'mtr_portfolio_id': 22256877, 'created_at': datetime.datetime(2025, 4, 11, 7, 59), 'result': '0.06015926576607006', 'result_long': None, 'result_double': None}] Qualite : 0.06015926576607006 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22256877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22256877_11-04-2025_07_59_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22256877 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22256877_11-04-2025_07_59_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22256880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22256881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22256882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22256883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22256884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22256885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22256886, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22256887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22256888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22256889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22256890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22256891, 'pht': 3726}}" where mtr_portfolio_id = 22256877 and dashboard_run_id = 1742208 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22256877 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10012991, 0.06015926576607006, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22256877_11-04-2025_07_59_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22256880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22256881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22256882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22256883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22256884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22256885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22256886, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22256887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22256888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22256889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22256890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22256891, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22254301,22255333,22255996,22256877) result : ((1351480943,), (1351480948,), (1351480999,), (1351481005,), (1351481011,), (1351481016,), (1351481086,), (1351481093,), (1351481098,), (1351481105,), (1351481110,), (1351481115,), (1351481153,), (1351481159,), (1351481165,), (1351481175,), (1351481183,), (1351482053,), (1351482140,), (1351482166,), (1351482208,), (1351482210,), (1351482214,), (1351482221,), (1351482259,), (1351482365,), (1351482716,), (1351482753,), (1351482797,), (1351482832,), (1351482870,), (1351483151,), (1351483180,), (1351483223,), (1351483268,), (1351483315,), (1351483628,), (1351483654,), (1351483675,), (1351484345,), (1351485486,), (1351485558,), (1351486311,), (1351486347,), (1351486712,), (1351486736,), (1351486753,), (1351487917,), (1351488319,), (1351488373,), (1351488413,), (1351488716,), (1351488732,), (1351488993,), (1351489031,), (1351489439,), (1351489488,), (1351489791,), (1351490157,), (1351490176,), (1351490276,), (1351490294,), (1351490301,), (1351490308,), (1351490312,), (1351490367,), (1351490373,), (1351490407,), (1351490417,), (1351490603,), (1351490628,), (1351490650,), (1351490681,), (1351490690,), (1351490708,), (1351491049,), (1351491065,), (1351491073,), (1351491092,), (1351491111,), (1351491278,), (1351491331,), (1351491353,), (1351491375,), (1351491390,), (1351491526,), (1351491530,), (1351491575,), (1351491606,), (1351491640,), (1351491725,), (1351491740,), (1351492099,), (1351492119,), (1351492184,), (1351492430,), (1351492425,), (1351492562,), (1351492571,), (1351492575,), (1351492582,), (1351492586,), (1351492612,), (1351492615,), (1351492630,), (1351492634,), (1351492638,), (1351492751,), (1351492779,), (1351492782,), (1351492785,), (1351492921,), (1351492934,), (1351492957,), (1351493001,), (1351493032,), (1351493040,), (1351493200,), (1351493234,), (1351493307,), (1351493331,), (1351493431,), (1351493445,), (1351493451,), (1351493471,), (1351493474,), (1351493480,), (1351493536,), (1351493554,), (1351493560,), (1351493564,), (1351493722,), (1351493746,), (1351493755,), (1351493775,), (1351493793,), (1351493804,), (1351493857,), (1351493860,), (1351493863,), (1351493884,), (1351493920,), (1351493946,), (1351494136,), (1351494138,), (1351494210,), (1351494215,), (1351494255,), (1351494342,), (1351494347,), (1351494351,), (1351494354,), (1351494359,), (1351494374,), (1351494533,), (1351494546,), (1351494562,), (1351494605,), (1351494612,), (1351494838,), (1351494876,), (1351494956,), (1351495499,), (1351495453,), (1351495464,), (1351495476,), (1351495489,), (1351495494,), (1351495575,), (1351495582,), (1351495586,), (1351495610,), (1351495625,), (1351495642,), (1351495760,), (1351495778,), (1351495808,), (1351495830,), (1351496199,), (1351496207,), (1351496211,), (1351496220,), (1351496230,), (1351496272,), (1351496277,), (1351496278,), (1351496283,), (1351496288,), (1351496297,), (1351496382,), (1351496385,), (1351496435,), (1351496438,), (1351496441,), (1351496443,), (1351496446,), (1351496449,), (1351496481,), (1351496486,), (1351496490,), (1351496502,), (1351496508,), (1351496511,), (1351496583,), (1351496600,), (1351496617,), (1351496635,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'11042025': {'nb_upload': 44, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22256877]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1351496635, 1351496617, 1351496600, 1351496583, 1351496511, 1351496508, 1351496502, 1351496490, 1351496486, 1351496481] map_info['map_portfolio_photo'] : {22256877: [1351496635, 1351496617, 1351496600, 1351496583, 1351496511, 1351496508, 1351496502, 1351496490, 1351496486, 1351496481, 1351496449, 1351496446, 1351496443, 1351496441, 1351496438, 1351496435, 1351496385, 1351496382, 1351496297, 1351496288, 1351496283, 1351496278, 1351496277, 1351496272, 1351496230, 1351496220, 1351496211, 1351496207, 1351496199, 1351495830, 1351495808, 1351495778, 1351495760, 1351495642, 1351495625, 1351495610, 1351495586, 1351495582, 1351495575, 1351495494, 1351495489, 1351495476, 1351495464, 1351495453]} final : True mtd_id 4302 list_pids : [1351496635, 1351496617, 1351496600, 1351496583, 1351496511, 1351496508, 1351496502, 1351496490, 1351496486, 1351496481] Looping around the photos to save general results len do output : 1 /22256877Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496635', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496617', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496600', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496583', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496511', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496508', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496502', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496490', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496486', None, None, None, None, None, '2742578') ('4302', None, None, None, None, None, None, None, '2742578') ('4302', '22256877', '1351496481', None, None, None, None, None, '2742578') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22256877', 'None', None, None, None, None, '2742578'), ('4302', '22256877', '1351496635', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496617', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496600', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496583', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496511', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496508', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496502', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496490', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496486', None, None, None, None, None, '2742578'), ('4302', '22256877', '1351496481', None, None, None, None, None, '2742578')] time used for this insertion : 0.01766681671142578 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5174276828765869 time spend to save output : 0.017867565155029297 total time spend for step 5 : 0.5352952480316162 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment DELETE from MTRPhoto.mtr_datou_current where id in (2742578) 2.22user 2.47system 0:15.76elapsed 29%CPU (0avgtext+0avgdata 158568maxresident)k 64inputs+14480outputs (0major+74586minor)pagefaults 0swaps