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, '2699104') ('4302', '21813434', '1348006152', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348006146', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348006141', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348006113', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348006002', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348005979', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348005959', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348005955', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348005951', None, None, None, None, None, '2699104') 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', None, '21813434', "{'cartonnette': 21813459, 'metal': 21813460, 'papier': 21813461, 'environnement': 21813462, 'Carton_brun': 21813463, 'autre_refus': 21813464, 'kraft': 21813465, 'plastique': 21813466, 'flou': 21813467, 'Carton_gris': 21813468, 'mal_croppe': 21813469, 'Teint_Dans_La_Masse': 21813470}", None, None, None, None, '2699104'), ('4302', '21813434', '1348006152', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348006146', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348006141', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348006113', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348006002', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348005979', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348005959', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348005955', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348005951', None, None, None, None, None, '2699104')] time used for this insertion : 2.693229913711548 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5889954566955566 time spend to save output : 2.693657636642456 total time spend for step 1 : 3.2826530933380127 step2:final Thu Mar 27 20:32: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 (21813434) 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 21813434 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1348001625,1348001549,1348001468,1348001414,1348001358,1348002024,1348002000,1348001974,1348001951,1348002540,1348002496,1348002440,1348002380,1348002246,1348002891,1348002887,1348002881,1348002872,1348002847,1348002837,1348003821,1348003618,1348003529,1348003399,1348004124,1348004100,1348004093,1348004090,1348004059,1348004054,1348004475,1348004448,1348004423,1348004396,1348004369,1348004768,1348004745,1348004723,1348005163,1348005157,1348005151,1348005141,1348005108,1348005372,1348005364,1348005346,1348005318,1348005274,1348005251,1348005480,1348005455,1348005875,1348005863,1348005847,1348005818,1348005794,1348005762,1348006002,1348005979,1348005959,1348005955,1348005951,1348006152,1348006146,1348006141,1348006113); 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([21813434]) Inside saveOutput : final : False verbose : True original output for save of step final : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ('0.035339937500257074',), 1348006113: ('0.035339937500257074',), 1348006002: ('0.035339937500257074',), 1348005979: ('0.035339937500257074',), 1348005959: ('0.035339937500257074',), 1348005955: ('0.035339937500257074',), 1348005951: ('0.035339937500257074',)} new output for save of step final : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ('0.035339937500257074',), 1348006113: ('0.035339937500257074',), 1348006002: ('0.035339937500257074',), 1348005979: ('0.035339937500257074',), 1348005959: ('0.035339937500257074',), 1348005955: ('0.035339937500257074',), 1348005951: ('0.035339937500257074',)} [1348006152, 1348006146, 1348006141, 1348006113, 1348006002, 1348005979, 1348005959, 1348005955, 1348005951] map_info['map_portfolio_photo'] : {21813434: [1348006152, 1348006146, 1348006141, 1348006113, 1348006002, 1348005979, 1348005959, 1348005955, 1348005951, 1348005875, 1348005863, 1348005847, 1348005818, 1348005794, 1348005762, 1348005480, 1348005455, 1348005372, 1348005364, 1348005346, 1348005318, 1348005274, 1348005251, 1348005163, 1348005157, 1348005151, 1348005141, 1348005108, 1348004768, 1348004745, 1348004723, 1348004475, 1348004448, 1348004423, 1348004396, 1348004369, 1348004124, 1348004100, 1348004093, 1348004090, 1348004059, 1348004054, 1348003821, 1348003618, 1348003529, 1348003399, 1348002891, 1348002887, 1348002881, 1348002872, 1348002847, 1348002837, 1348002540, 1348002496, 1348002440, 1348002380, 1348002246, 1348002024, 1348002000, 1348001974, 1348001951, 1348001625, 1348001549, 1348001468, 1348001414, 1348001358]} final : False mtd_id 4302 list_pids : [1348006152, 1348006146, 1348006141, 1348006113, 1348006002, 1348005979, 1348005959, 1348005955, 1348005951] Looping around the photos to save general results len do output : 9 /1348006152.Didn't retrieve data . /1348006146.Didn't retrieve data . /1348006141.Didn't retrieve data . /1348006113.Didn't retrieve data . /1348006002.Didn't retrieve data . /1348005979.Didn't retrieve data . /1348005959.Didn't retrieve data . /1348005955.Didn't retrieve data . /1348005951.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, '2699104') ('4302', '21813434', '1348006152', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348006146', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348006141', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348006113', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348006002', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348005979', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348005959', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348005955', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348005951', None, None, None, None, None, '2699104') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 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', '21813434', '1348006152', '0.035339937500257074', None, None, None, None, '2699104'), ('4302', '21813434', '1348006146', '0.035339937500257074', None, None, None, None, '2699104'), ('4302', '21813434', '1348006141', '0.035339937500257074', None, None, None, None, '2699104'), ('4302', '21813434', '1348006113', '0.035339937500257074', None, None, None, None, '2699104'), ('4302', '21813434', '1348006002', '0.035339937500257074', None, None, None, None, '2699104'), ('4302', '21813434', '1348005979', '0.035339937500257074', None, None, None, None, '2699104'), ('4302', '21813434', '1348005959', '0.035339937500257074', None, None, None, None, '2699104'), ('4302', '21813434', '1348005955', '0.035339937500257074', None, None, None, None, '2699104'), ('4302', '21813434', '1348005951', '0.035339937500257074', None, None, None, None, '2699104')] time used for this insertion : 0.014334917068481445 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07195782661437988 time spend to save output : 0.014861822128295898 total time spend for step 2 : 0.08681964874267578 step3:velours_tree Thu Mar 27 20:32: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 : {21813434: [{'cartonnette': 21813459, 'metal': 21813460, 'papier': 21813461, 'environnement': 21813462, 'Carton_brun': 21813463, 'autre_refus': 21813464, 'kraft': 21813465, 'plastique': 21813466, 'flou': 21813467, 'Carton_gris': 21813468, 'mal_croppe': 21813469, 'Teint_Dans_La_Masse': 21813470}]} input_args_next_step : {21813434: ()} output_args : {21813434: [{'cartonnette': 21813459, 'metal': 21813460, 'papier': 21813461, 'environnement': 21813462, 'Carton_brun': 21813463, 'autre_refus': 21813464, 'kraft': 21813465, 'plastique': 21813466, 'flou': 21813467, 'Carton_gris': 21813468, 'mal_croppe': 21813469, 'Teint_Dans_La_Masse': 21813470}]} args : 21813434 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 : ({'cartonnette': 21813459, 'metal': 21813460, 'papier': 21813461, 'environnement': 21813462, 'Carton_brun': 21813463, 'autre_refus': 21813464, 'kraft': 21813465, 'plastique': 21813466, 'flou': 21813467, 'Carton_gris': 21813468, 'mal_croppe': 21813469, 'Teint_Dans_La_Masse': 21813470},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21813434) 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([21813434]) 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.3977632522583008 time spend to save output : 5.793571472167969e-05 total time spend for step 3 : 0.39782118797302246 step4:send_mail_cod Thu Mar 27 20:32: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 : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ('0.035339937500257074',), 1348006113: ('0.035339937500257074',), 1348006002: ('0.035339937500257074',), 1348005979: ('0.035339937500257074',), 1348005959: ('0.035339937500257074',), 1348005955: ('0.035339937500257074',), 1348005951: ('0.035339937500257074',)} input_args_next_step : {1348006152: ()} output_args : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ('0.035339937500257074',), 1348006113: ('0.035339937500257074',), 1348006002: ('0.035339937500257074',), 1348005979: ('0.035339937500257074',), 1348005959: ('0.035339937500257074',), 1348005955: ('0.035339937500257074',), 1348005951: ('0.035339937500257074',)} args : 1348006152 depend.output_id : 0 input_args_next_step : {1348006152: ('0.035339937500257074',), 1348006146: ()} output_args : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ('0.035339937500257074',), 1348006113: ('0.035339937500257074',), 1348006002: ('0.035339937500257074',), 1348005979: ('0.035339937500257074',), 1348005959: ('0.035339937500257074',), 1348005955: ('0.035339937500257074',), 1348005951: ('0.035339937500257074',)} args : 1348006146 depend.output_id : 0 input_args_next_step : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ()} output_args : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ('0.035339937500257074',), 1348006113: ('0.035339937500257074',), 1348006002: ('0.035339937500257074',), 1348005979: ('0.035339937500257074',), 1348005959: ('0.035339937500257074',), 1348005955: ('0.035339937500257074',), 1348005951: ('0.035339937500257074',)} args : 1348006141 depend.output_id : 0 input_args_next_step : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ('0.035339937500257074',), 1348006113: ()} output_args : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ('0.035339937500257074',), 1348006113: ('0.035339937500257074',), 1348006002: ('0.035339937500257074',), 1348005979: ('0.035339937500257074',), 1348005959: ('0.035339937500257074',), 1348005955: ('0.035339937500257074',), 1348005951: ('0.035339937500257074',)} args : 1348006113 depend.output_id : 0 input_args_next_step : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ('0.035339937500257074',), 1348006113: ('0.035339937500257074',), 1348006002: ()} output_args : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ('0.035339937500257074',), 1348006113: ('0.035339937500257074',), 1348006002: ('0.035339937500257074',), 1348005979: ('0.035339937500257074',), 1348005959: ('0.035339937500257074',), 1348005955: ('0.035339937500257074',), 1348005951: ('0.035339937500257074',)} args : 1348006002 depend.output_id : 0 input_args_next_step : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ('0.035339937500257074',), 1348006113: ('0.035339937500257074',), 1348006002: ('0.035339937500257074',), 1348005979: ()} output_args : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ('0.035339937500257074',), 1348006113: ('0.035339937500257074',), 1348006002: ('0.035339937500257074',), 1348005979: ('0.035339937500257074',), 1348005959: ('0.035339937500257074',), 1348005955: ('0.035339937500257074',), 1348005951: ('0.035339937500257074',)} args : 1348005979 depend.output_id : 0 input_args_next_step : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ('0.035339937500257074',), 1348006113: ('0.035339937500257074',), 1348006002: ('0.035339937500257074',), 1348005979: ('0.035339937500257074',), 1348005959: ()} output_args : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ('0.035339937500257074',), 1348006113: ('0.035339937500257074',), 1348006002: ('0.035339937500257074',), 1348005979: ('0.035339937500257074',), 1348005959: ('0.035339937500257074',), 1348005955: ('0.035339937500257074',), 1348005951: ('0.035339937500257074',)} args : 1348005959 depend.output_id : 0 input_args_next_step : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ('0.035339937500257074',), 1348006113: ('0.035339937500257074',), 1348006002: ('0.035339937500257074',), 1348005979: ('0.035339937500257074',), 1348005959: ('0.035339937500257074',), 1348005955: ()} output_args : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ('0.035339937500257074',), 1348006113: ('0.035339937500257074',), 1348006002: ('0.035339937500257074',), 1348005979: ('0.035339937500257074',), 1348005959: ('0.035339937500257074',), 1348005955: ('0.035339937500257074',), 1348005951: ('0.035339937500257074',)} args : 1348005955 depend.output_id : 0 input_args_next_step : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ('0.035339937500257074',), 1348006113: ('0.035339937500257074',), 1348006002: ('0.035339937500257074',), 1348005979: ('0.035339937500257074',), 1348005959: ('0.035339937500257074',), 1348005955: ('0.035339937500257074',), 1348005951: ()} output_args : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ('0.035339937500257074',), 1348006113: ('0.035339937500257074',), 1348006002: ('0.035339937500257074',), 1348005979: ('0.035339937500257074',), 1348005959: ('0.035339937500257074',), 1348005955: ('0.035339937500257074',), 1348005951: ('0.035339937500257074',)} args : 1348005951 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 : {21813434: [{'cartonnette': 21813459, 'metal': 21813460, 'papier': 21813461, 'environnement': 21813462, 'Carton_brun': 21813463, 'autre_refus': 21813464, 'kraft': 21813465, 'plastique': 21813466, 'flou': 21813467, 'Carton_gris': 21813468, 'mal_croppe': 21813469, 'Teint_Dans_La_Masse': 21813470}]} input_args_next_step : {1348006152: ('0.035339937500257074',), 1348006146: ('0.035339937500257074',), 1348006141: ('0.035339937500257074',), 1348006113: ('0.035339937500257074',), 1348006002: ('0.035339937500257074',), 1348005979: ('0.035339937500257074',), 1348005959: ('0.035339937500257074',), 1348005955: ('0.035339937500257074',), 1348005951: ('0.035339937500257074',), 21813434: ()} output_args : {21813434: [{'cartonnette': 21813459, 'metal': 21813460, 'papier': 21813461, 'environnement': 21813462, 'Carton_brun': 21813463, 'autre_refus': 21813464, 'kraft': 21813465, 'plastique': 21813466, 'flou': 21813467, 'Carton_gris': 21813468, 'mal_croppe': 21813469, 'Teint_Dans_La_Masse': 21813470}]} args : 21813434 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 :10, first value : ('0.035339937500257074',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21813434) 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 (1348006152,1348006146,1348006141,1348006113,1348006002,1348005979,1348005959,1348005955,1348005951) Found this number of photos: 9 ##### Call download_photos : nb_thread : 5 begin to download photo : 1348005951 begin to download photo : 1348005959 begin to download photo : 1348006002 begin to download photo : 1348006141 begin to download photo : 1348006152 download finish for photo 1348006141 begin to download photo : 1348006146 download finish for photo 1348006152 download finish for photo 1348005959 begin to download photo : 1348005979 download finish for photo 1348006002 begin to download photo : 1348006113 download finish for photo 1348005951 begin to download photo : 1348005955 download finish for photo 1348006146 download finish for photo 1348006113 download finish for photo 1348005979 download finish for photo 1348005955 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 results_Auto_P21813434_27-03-2025_20_32_01.pdf 21813459 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=21813459 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348005246: '1743103500_27636_1348004100_0114f991ac04c669c75050f9ccd0c844_rle_crop_3734615719_0.png', 1348005247: '1743103500_27636_1348004090_c522e6f3f0d5b095d217101cc9b2c1d4_rle_crop_3734616213_0.png', 1348005370: '1743103534_28339_1348002847_653a608b75ec946bfe0a33d23a332be2_rle_crop_3734616876_0.png', 1348005838: '1743103638_30368_1348004768_154c6ca32a12d9f5506e663ae53d674b_rle_crop_3734617488_0.png', 1348005839: '1743103638_30368_1348004768_154c6ca32a12d9f5506e663ae53d674b_rle_crop_3734617487_0.png', 1348006104: '1743103713_31469_1348004768_154c6ca32a12d9f5506e663ae53d674b_rle_crop_3734617488_0.png', 1348006105: '1743103713_31469_1348004768_154c6ca32a12d9f5506e663ae53d674b_rle_crop_3734617487_0.png', 1348006176: '1743103754_32058_1348002024_285d3986f790af477a6e70c330252d22_rle_crop_3734628564_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/02058d6345208bb4c3d36eac50cb736e_85189441.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/04d871899a8670a59b7cc3901ccc7970_2292865.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/39c095b763e242738f891b266e23a043_28060300.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/5ea71ca8825a574a3f1790d2592928ee_37893964.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/4aae04744d7d2ed1f2cee1550b65a1be_41690686.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/5ea71ca8825a574a3f1790d2592928ee_29393140.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/4aae04744d7d2ed1f2cee1550b65a1be_53627665.png change filename to text .imagette218134591743103921/ imagette218134591743103921/1743103500_27636_1348004090_c522e6f3f0d5b095d217101cc9b2c1d4_rle_crop_3734616213_0.png.png imagette218134591743103921/1743103754_32058_1348002024_285d3986f790af477a6e70c330252d22_rle_crop_3734628564_0.png.png imagette218134591743103921/1743103534_28339_1348002847_653a608b75ec946bfe0a33d23a332be2_rle_crop_3734616876_0.png.png imagette218134591743103921/1743103713_31469_1348004768_154c6ca32a12d9f5506e663ae53d674b_rle_crop_3734617487_0.png.png imagette218134591743103921/1743103638_30368_1348004768_154c6ca32a12d9f5506e663ae53d674b_rle_crop_3734617488_0.png.png imagette218134591743103921/1743103500_27636_1348004100_0114f991ac04c669c75050f9ccd0c844_rle_crop_3734615719_0.png.png imagette218134591743103921/1743103713_31469_1348004768_154c6ca32a12d9f5506e663ae53d674b_rle_crop_3734617488_0.png.png imagette218134591743103921/1743103638_30368_1348004768_154c6ca32a12d9f5506e663ae53d674b_rle_crop_3734617487_0.png.png imagette218134601743103921/ wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/83796ea7bdec19268c067262a0165406_66873990.png imagette218134591743103921 21813460 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=21813460 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette218134601743103921 21813464 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=21813464 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348005404: '1743103552_28656_1348002496_6bf04946674ab7f735c4ff531e9f3765_rle_crop_3734616913_0.png', 1348005405: '1743103552_28656_1348002496_6bf04946674ab7f735c4ff531e9f3765_rle_crop_3734616915_0.png', 1348005406: '1743103552_28656_1348002380_c00cf2ef0998ab86c64b38a29b0628a1_rle_crop_3734616949_0.png', 1348005930: '1743103674_30920_1348002496_6bf04946674ab7f735c4ff531e9f3765_rle_crop_3734616913_0.png', 1348005931: '1743103674_30920_1348002496_6bf04946674ab7f735c4ff531e9f3765_rle_crop_3734616915_0.png', 1348005932: '1743103674_30920_1348002380_c00cf2ef0998ab86c64b38a29b0628a1_rle_crop_3734616949_0.png', 1348006119: '1743103732_31767_1348005141_848e2099fc0a25585906824ccfdd32df_rle_crop_3734627186_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/f364fe49a068e602e3d98613716e8cc2_85170908.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/3481c43d777137512f961a9ddc2e4321_65802539.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/90ef00d630fec4a9275fae9152d88dcf_36306717.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/f364fe49a068e602e3d98613716e8cc2_49172706.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/3481c43d777137512f961a9ddc2e4321_59122738.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/90ef00d630fec4a9275fae9152d88dcf_83789269.png change filename to text .imagette218134641743103921/ imagette218134641743103921/1743103552_28656_1348002380_c00cf2ef0998ab86c64b38a29b0628a1_rle_crop_3734616949_0.png.png imagette218134641743103921/1743103732_31767_1348005141_848e2099fc0a25585906824ccfdd32df_rle_crop_3734627186_0.png.png imagette218134641743103921/1743103552_28656_1348002496_6bf04946674ab7f735c4ff531e9f3765_rle_crop_3734616915_0.png.png imagette218134641743103921/1743103674_30920_1348002496_6bf04946674ab7f735c4ff531e9f3765_rle_crop_3734616915_0.png.png imagette218134641743103921/1743103674_30920_1348002496_6bf04946674ab7f735c4ff531e9f3765_rle_crop_3734616913_0.png.png imagette218134641743103921/1743103674_30920_1348002380_c00cf2ef0998ab86c64b38a29b0628a1_rle_crop_3734616949_0.png.png imagette218134641743103921/1743103552_28656_1348002496_6bf04946674ab7f735c4ff531e9f3765_rle_crop_3734616913_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/d06018af57986b1af0b63a23f232756e_82257589.png imagette218134641743103921 21813465 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=21813465 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348005852: '1743103638_30368_1348004768_154c6ca32a12d9f5506e663ae53d674b_rle_crop_3734617490_0.png', 1348006107: '1743103713_31469_1348004768_154c6ca32a12d9f5506e663ae53d674b_rle_crop_3734617490_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/915e8bdbb7d05542d68b850ce6766535_34883776.png change filename to text .imagette218134651743103922/ imagette218134651743103922/1743103713_31469_1348004768_154c6ca32a12d9f5506e663ae53d674b_rle_crop_3734617490_0.png.png imagette218134651743103922/1743103638_30368_1348004768_154c6ca32a12d9f5506e663ae53d674b_rle_crop_3734617490_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/915e8bdbb7d05542d68b850ce6766535_9710990.png imagette218134651743103922 21813466 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=21813466 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348005373: '1743103534_28339_1348002872_58ba4b55c7d4641a5ba0b8fb43807916_rle_crop_3734616852_0.png', 1348005374: '1743103534_28339_1348002872_58ba4b55c7d4641a5ba0b8fb43807916_rle_crop_3734616862_0.png', 1348005424: '1743103552_28656_1348002440_1ae6f11d01e724c288560a0a4077a79c_rle_crop_3734616944_0.png', 1348005425: '1743103552_28656_1348002380_c00cf2ef0998ab86c64b38a29b0628a1_rle_crop_3734616951_0.png', 1348005942: '1743103674_30920_1348002440_1ae6f11d01e724c288560a0a4077a79c_rle_crop_3734616944_0.png', 1348005943: '1743103674_30920_1348002380_c00cf2ef0998ab86c64b38a29b0628a1_rle_crop_3734616951_0.png', 1348006195: '1743103754_32058_1348001414_300fb1ffc68bdfed52f8e6840a6c0ef3_rle_crop_3734628646_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/570a7b114d259f1ca95385762e87cef7_29856056.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/6425943c7c293af775d40a9032ed2290_72460473.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/a125d788e3aa189b97e0564395c03ed7_26959430.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/3bd54d5822a0040280161dac76e6f5a6_33555947.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/a125d788e3aa189b97e0564395c03ed7_97445235.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/3bd54d5822a0040280161dac76e6f5a6_8639339.png change filename to text .imagette218134661743103922/ imagette218134661743103922/1743103674_30920_1348002440_1ae6f11d01e724c288560a0a4077a79c_rle_crop_3734616944_0.png.png imagette218134661743103922/1743103534_28339_1348002872_58ba4b55c7d4641a5ba0b8fb43807916_rle_crop_3734616852_0.png.png imagette218134661743103922/1743103552_28656_1348002440_1ae6f11d01e724c288560a0a4077a79c_rle_crop_3734616944_0.png.png imagette218134661743103922/1743103552_28656_1348002380_c00cf2ef0998ab86c64b38a29b0628a1_rle_crop_3734616951_0.png.png imagette218134661743103922/1743103754_32058_1348001414_300fb1ffc68bdfed52f8e6840a6c0ef3_rle_crop_3734628646_0.png.png imagette218134661743103922/1743103534_28339_1348002872_58ba4b55c7d4641a5ba0b8fb43807916_rle_crop_3734616862_0.png.png imagette218134661743103922/1743103674_30920_1348002380_c00cf2ef0998ab86c64b38a29b0628a1_rle_crop_3734616951_0.png.png imagette218134671743103922/ imagette218134691743103922/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/b1fc719da38625c108aff9d5783ac012_77671498.png imagette218134661743103922 21813467 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=21813467 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette218134671743103922 21813469 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=21813469 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette218134691743103922 21813463 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=21813463 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348004226: '1743103275_14339_1348001974_4bc960b13da1f12d717f32baf4936771_rle_crop_3734610197_0.png', 1348005248: '1743103500_27636_1348004100_0114f991ac04c669c75050f9ccd0c844_rle_crop_3734615721_0.png', 1348005249: '1743103500_27636_1348004090_c522e6f3f0d5b095d217101cc9b2c1d4_rle_crop_3734616212_0.png', 1348005412: '1743103552_28656_1348002440_1ae6f11d01e724c288560a0a4077a79c_rle_crop_3734616936_0.png', 1348005845: '1743103638_30368_1348004396_4c67fc6395f0fb04c18a7cdc06ff6731_rle_crop_3734617524_0.png', 1348005940: '1743103674_30920_1348002440_1ae6f11d01e724c288560a0a4077a79c_rle_crop_3734616936_0.png', 1348006106: '1743103713_31469_1348004396_4c67fc6395f0fb04c18a7cdc06ff6731_rle_crop_3734617524_0.png', 1348006123: '1743103732_31767_1348005141_848e2099fc0a25585906824ccfdd32df_rle_crop_3734627189_0.png', 1348006124: '1743103732_31767_1348005108_36831de85ce3fbd0b3538d37399a050c_rle_crop_3734627417_0.png', 1348006188: '1743103754_32058_1348001625_19f326b84aa68059279237515db33aae_rle_crop_3734628594_0.png', 1348006189: '1743103754_32058_1348001625_19f326b84aa68059279237515db33aae_rle_crop_3734628593_0.png', 1348006190: '1743103754_32058_1348001549_07cb19a3400c1a283a3b47f62daf4a20_rle_crop_3734628606_0.png', 1348006191: '1743103754_32058_1348001549_07cb19a3400c1a283a3b47f62daf4a20_rle_crop_3734628603_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/aa2b13fc46e65bff65320e9fb867c011_33497950.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/150898c413121214b0ba267fcbbeb5b6_94412635.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/b62ffc7326e97b32873ee9d2cf23302e_28860573.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/ad0efdcf422cf37931b9fba1c2c17b7e_20960773.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/f52ee97dad44d8ca7c69dff62589837c_89205490.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/ad0efdcf422cf37931b9fba1c2c17b7e_91526082.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/f52ee97dad44d8ca7c69dff62589837c_86785193.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/aeb3876da9aa1ab75a1cd00c6ec908d2_87664045.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/863724681beb6e472d3d8c8f12923adb_66574931.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/ef1bab6f4baa43762715da45c555acb8_81609954.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/b57ea80244b74bbb6e66f9c7d09d16cf_27633978.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/9cd4f1ca262c9a5eda85612680d48c46_5951165.png change filename to text .imagette218134631743103922/ imagette218134631743103922/1743103552_28656_1348002440_1ae6f11d01e724c288560a0a4077a79c_rle_crop_3734616936_0.png.png imagette218134631743103922/1743103754_32058_1348001625_19f326b84aa68059279237515db33aae_rle_crop_3734628594_0.png.png imagette218134631743103922/1743103500_27636_1348004090_c522e6f3f0d5b095d217101cc9b2c1d4_rle_crop_3734616212_0.png.png imagette218134631743103922/1743103638_30368_1348004396_4c67fc6395f0fb04c18a7cdc06ff6731_rle_crop_3734617524_0.png.png imagette218134631743103922/1743103732_31767_1348005141_848e2099fc0a25585906824ccfdd32df_rle_crop_3734627189_0.png.png imagette218134631743103922/1743103754_32058_1348001625_19f326b84aa68059279237515db33aae_rle_crop_3734628593_0.png.png imagette218134631743103922/1743103713_31469_1348004396_4c67fc6395f0fb04c18a7cdc06ff6731_rle_crop_3734617524_0.png.png imagette218134631743103922/1743103754_32058_1348001549_07cb19a3400c1a283a3b47f62daf4a20_rle_crop_3734628603_0.png.png imagette218134631743103922/1743103754_32058_1348001549_07cb19a3400c1a283a3b47f62daf4a20_rle_crop_3734628606_0.png.png imagette218134631743103922/1743103275_14339_1348001974_4bc960b13da1f12d717f32baf4936771_rle_crop_3734610197_0.png.png imagette218134631743103922/1743103732_31767_1348005108_36831de85ce3fbd0b3538d37399a050c_rle_crop_3734627417_0.png.png imagette218134631743103922/1743103500_27636_1348004100_0114f991ac04c669c75050f9ccd0c844_rle_crop_3734615721_0.png.png imagette218134631743103922/1743103674_30920_1348002440_1ae6f11d01e724c288560a0a4077a79c_rle_crop_3734616936_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/0b280cc5baefae8e40d6a5c8702fe168_5671751.png imagette218134631743103922 21813468 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=21813468 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348004190: '1743103275_14339_1348002000_1db0be2763cec64d3b4e8feb04885207_rle_crop_3734608736_0.png', 1348005237: '1743103513_28025_1348004124_ff3f4a795a877fc2adc8fae2d5b2318d_rle_crop_3734616202_0.png', 1348005238: '1743103513_28025_1348003618_7fed912065392980b04d3bc4dcb862af_rle_crop_3734616241_0.png', 1348005240: '1743103500_27636_1348004100_0114f991ac04c669c75050f9ccd0c844_rle_crop_3734615722_0.png', 1348005241: '1743103500_27636_1348004093_f82dd3c8e48d46d751848859e2dc9f6a_rle_crop_3734615954_0.png', 1348005242: '1743103500_27636_1348004093_f82dd3c8e48d46d751848859e2dc9f6a_rle_crop_3734615952_0.png', 1348005243: '1743103500_27636_1348004054_a726276806af41ac99520a625c2be480_rle_crop_3734616258_0.png', 1348005244: '1743103500_27636_1348004054_a726276806af41ac99520a625c2be480_rle_crop_3734616257_0.png', 1348006121: '1743103732_31767_1348005141_848e2099fc0a25585906824ccfdd32df_rle_crop_3734627187_0.png', 1348006122: '1743103732_31767_1348005108_36831de85ce3fbd0b3538d37399a050c_rle_crop_3734627416_0.png', 1348006171: '1743103754_32058_1348001625_19f326b84aa68059279237515db33aae_rle_crop_3734628589_0.png', 1348006172: '1743103754_32058_1348001549_07cb19a3400c1a283a3b47f62daf4a20_rle_crop_3734628602_0.png', 1348006173: '1743103754_32058_1348001468_46fcf4c0ad54f32eb41dabad6bc5dfd6_rle_crop_3734628613_0.png', 1348006174: '1743103754_32058_1348001358_7fbe2e73174fcd4fcc6342518484d378_rle_crop_3734629036_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/1e90870d6c7b49d31ab3b03b9e8099a8_98533460.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/064348bf9937736f549d19ab6dbd0e75_16880769.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/6f2e9f021318cfd80423a14c10bbd48f_93743791.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/02014cd91bd062bb901c9b3a64d75f9f_21341072.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/d3d4fd970c8e5926b575af5813e760a6_69642387.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/c36cd48c9363fc504cec96674b7d667d_49277604.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/b7db55011bccc4cfe8a028c1e1de7169_52522679.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/6150218247cac46756da0b2c7d3842eb_46106626.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/3c31a7c79b3857f82cd4e7ed00ce5fbb_3553450.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/c9de995b06719d9f2d3824a45f5b6cce_27132580.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/b8bba89a12413d0f00f0362f7043b671_13025292.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/01b49a49fd5589535f25321578844f8e_2960913.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/6c2ee00a1c6cd72c22a38912690f2f7a_78046832.png change filename to text .imagette218134681743103923/ imagette218134681743103923/1743103500_27636_1348004093_f82dd3c8e48d46d751848859e2dc9f6a_rle_crop_3734615952_0.png.png imagette218134681743103923/1743103275_14339_1348002000_1db0be2763cec64d3b4e8feb04885207_rle_crop_3734608736_0.png.png imagette218134681743103923/1743103754_32058_1348001358_7fbe2e73174fcd4fcc6342518484d378_rle_crop_3734629036_0.png.png imagette218134681743103923/1743103500_27636_1348004093_f82dd3c8e48d46d751848859e2dc9f6a_rle_crop_3734615954_0.png.png imagette218134681743103923/1743103500_27636_1348004054_a726276806af41ac99520a625c2be480_rle_crop_3734616257_0.png.png imagette218134681743103923/1743103754_32058_1348001625_19f326b84aa68059279237515db33aae_rle_crop_3734628589_0.png.png imagette218134681743103923/1743103513_28025_1348004124_ff3f4a795a877fc2adc8fae2d5b2318d_rle_crop_3734616202_0.png.png imagette218134681743103923/1743103513_28025_1348003618_7fed912065392980b04d3bc4dcb862af_rle_crop_3734616241_0.png.png imagette218134681743103923/1743103754_32058_1348001468_46fcf4c0ad54f32eb41dabad6bc5dfd6_rle_crop_3734628613_0.png.png imagette218134681743103923/1743103732_31767_1348005108_36831de85ce3fbd0b3538d37399a050c_rle_crop_3734627416_0.png.png imagette218134681743103923/1743103500_27636_1348004100_0114f991ac04c669c75050f9ccd0c844_rle_crop_3734615722_0.png.png imagette218134681743103923/1743103754_32058_1348001549_07cb19a3400c1a283a3b47f62daf4a20_rle_crop_3734628602_0.png.png imagette218134681743103923/1743103732_31767_1348005141_848e2099fc0a25585906824ccfdd32df_rle_crop_3734627187_0.png.png imagette218134681743103923/1743103500_27636_1348004054_a726276806af41ac99520a625c2be480_rle_crop_3734616258_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/a3032a1b8a1f5849ff0ab04605c03666_3496984.png imagette218134681743103923 21813470 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=21813470 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348005928: '1743103674_30920_1348002496_6bf04946674ab7f735c4ff531e9f3765_rle_crop_3734616910_0.png', 1348006170: '1743103754_32058_1348001358_7fbe2e73174fcd4fcc6342518484d378_rle_crop_3734629037_0.png', 1348006169: '1743103754_32058_1348001414_300fb1ffc68bdfed52f8e6840a6c0ef3_rle_crop_3734628650_0.png', 1348006168: '1743103754_32058_1348001468_46fcf4c0ad54f32eb41dabad6bc5dfd6_rle_crop_3734628618_0.png', 1348006167: '1743103754_32058_1348001549_07cb19a3400c1a283a3b47f62daf4a20_rle_crop_3734628607_0.png', 1348006166: '1743103754_32058_1348001625_19f326b84aa68059279237515db33aae_rle_crop_3734628590_0.png', 1348006165: '1743103754_32058_1348002024_285d3986f790af477a6e70c330252d22_rle_crop_3734628568_0.png', 1348006164: '1743103754_32058_1348002024_285d3986f790af477a6e70c330252d22_rle_crop_3734628570_0.png', 1348006142: '1743103824_295536_1348005455_bd785bba565a099efab41bca5ca22a1c_rle_crop_3734628555_0.png', 1348006118: '1743103732_31767_1348005372_11c4fcd593125b74ef9d0fb8e9099563_rle_crop_3734625911_0.png', 1348006100: '1743103713_31469_1348004448_2e18ee26ce33fd4d7b444837ec27c68e_rle_crop_3734617503_0.png', 1348004160: '1743103275_14339_1348002000_1db0be2763cec64d3b4e8feb04885207_rle_crop_3734608738_0.png', 1348005927: '1743103674_30920_1348002496_6bf04946674ab7f735c4ff531e9f3765_rle_crop_3734616912_0.png', 1348005827: '1743103638_30368_1348004448_2e18ee26ce33fd4d7b444837ec27c68e_rle_crop_3734617503_0.png', 1348005395: '1743103552_28656_1348002496_6bf04946674ab7f735c4ff531e9f3765_rle_crop_3734616910_0.png', 1348005394: '1743103552_28656_1348002496_6bf04946674ab7f735c4ff531e9f3765_rle_crop_3734616912_0.png', 1348005368: '1743103534_28339_1348002837_c52c7633c0b74c6ab058b10c125ff16c_rle_crop_3734616894_0.png', 1348005367: '1743103534_28339_1348003821_339fd2d9456c19ba0ff8524152b69960_rle_crop_3734616826_0.png', 1348005236: '1743103500_27636_1348004054_a726276806af41ac99520a625c2be480_rle_crop_3734616261_0.png', 1348005235: '1743103500_27636_1348004059_0dc489d136914c21beee94a542a3b0eb_rle_crop_3734616232_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/932758e8177997fe8444359db63f2aa1_53274391.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/91ea22798cab368c72b0ed21b50366a0_86077668.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/97f93383f6098be5e9c6c914ed7cd16f_50722516.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/2ff96eb22cef53fdcedfa44038a540f6_41588055.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/792d21d0a7f9ef25447c626a90a89c92_4378597.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/9b283c4e712527fc9eab42ac291fcfde_70084431.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/dba0a382d70017e072ac5b1ff6efc9fa_8378475.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/6b04edab1acf335eb97699cc76befabb_47966307.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/77a7856766a643b690644758de19ff37_35946741.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/50073094076e4a7802bd79345f197042_25126687.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/74e65be7a189bfd14807291c6aecec92_31914311.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/0de4cef50c049bd5512c4f587687f5d8_95335663.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/e2ef8d5c13133f0171b246e4dcb72a27_91058746.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/74e65be7a189bfd14807291c6aecec92_77133575.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/932758e8177997fe8444359db63f2aa1_62071464.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/e2ef8d5c13133f0171b246e4dcb72a27_59805793.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/8e51940212b65a57cbd15558d943efd2_54992973.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/cb91e78cae168947fbaadcd3785ef4dc_58275413.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/c826b4d923b4589da822a0bb05e91751_97547367.png change filename to text .imagette218134701743103924/ imagette218134701743103924/1743103534_28339_1348002837_c52c7633c0b74c6ab058b10c125ff16c_rle_crop_3734616894_0.png.png imagette218134701743103924/1743103754_32058_1348001358_7fbe2e73174fcd4fcc6342518484d378_rle_crop_3734629037_0.png.png imagette218134701743103924/1743103500_27636_1348004054_a726276806af41ac99520a625c2be480_rle_crop_3734616261_0.png.png imagette218134701743103924/1743103754_32058_1348001414_300fb1ffc68bdfed52f8e6840a6c0ef3_rle_crop_3734628650_0.png.png imagette218134701743103924/1743103754_32058_1348001468_46fcf4c0ad54f32eb41dabad6bc5dfd6_rle_crop_3734628618_0.png.png imagette218134701743103924/1743103500_27636_1348004059_0dc489d136914c21beee94a542a3b0eb_rle_crop_3734616232_0.png.png imagette218134701743103924/1743103754_32058_1348001625_19f326b84aa68059279237515db33aae_rle_crop_3734628590_0.png.png imagette218134701743103924/1743103824_295536_1348005455_bd785bba565a099efab41bca5ca22a1c_rle_crop_3734628555_0.png.png imagette218134701743103924/1743103552_28656_1348002496_6bf04946674ab7f735c4ff531e9f3765_rle_crop_3734616910_0.png.png imagette218134701743103924/1743103732_31767_1348005372_11c4fcd593125b74ef9d0fb8e9099563_rle_crop_3734625911_0.png.png imagette218134701743103924/1743103638_30368_1348004448_2e18ee26ce33fd4d7b444837ec27c68e_rle_crop_3734617503_0.png.png imagette218134701743103924/1743103534_28339_1348003821_339fd2d9456c19ba0ff8524152b69960_rle_crop_3734616826_0.png.png imagette218134701743103924/1743103674_30920_1348002496_6bf04946674ab7f735c4ff531e9f3765_rle_crop_3734616910_0.png.png imagette218134701743103924/1743103275_14339_1348002000_1db0be2763cec64d3b4e8feb04885207_rle_crop_3734608738_0.png.png imagette218134701743103924/1743103754_32058_1348002024_285d3986f790af477a6e70c330252d22_rle_crop_3734628568_0.png.png imagette218134701743103924/1743103754_32058_1348001549_07cb19a3400c1a283a3b47f62daf4a20_rle_crop_3734628607_0.png.png imagette218134701743103924/1743103552_28656_1348002496_6bf04946674ab7f735c4ff531e9f3765_rle_crop_3734616912_0.png.png imagette218134701743103924/1743103713_31469_1348004448_2e18ee26ce33fd4d7b444837ec27c68e_rle_crop_3734617503_0.png.png imagette218134701743103924/1743103674_30920_1348002496_6bf04946674ab7f735c4ff531e9f3765_rle_crop_3734616912_0.png.png imagette218134701743103924/1743103754_32058_1348002024_285d3986f790af477a6e70c330252d22_rle_crop_3734628570_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/053ba519dd08888ba5a54c7be80a9d3e_35688238.png imagette218134701743103924 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21813434 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21813471,21813472,21813473,21813474,21813475,21813476,21813477,21813478,21813479,21813480,21813481,21813482?tags=cartonnette,metal,papier,environnement,Carton_brun,autre_refus,kraft,plastique,flou,Carton_gris,mal_croppe,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1348006152] : ('0.035339937500257074',) no score found for photo 1348006152 We are sending mail with results at report@fotonower.com args[1348006146] : ('0.035339937500257074',) no score found for photo 1348006146 We are sending mail with results at report@fotonower.com args[1348006141] : ('0.035339937500257074',) no score found for photo 1348006141 We are sending mail with results at report@fotonower.com args[1348006113] : ('0.035339937500257074',) no score found for photo 1348006113 We are sending mail with results at report@fotonower.com args[1348006002] : ('0.035339937500257074',) no score found for photo 1348006002 We are sending mail with results at report@fotonower.com args[1348005979] : ('0.035339937500257074',) no score found for photo 1348005979 We are sending mail with results at report@fotonower.com args[1348005959] : ('0.035339937500257074',) no score found for photo 1348005959 We are sending mail with results at report@fotonower.com args[1348005955] : ('0.035339937500257074',) no score found for photo 1348005955 We are sending mail with results at report@fotonower.com args[1348005951] : ('0.035339937500257074',) no score found for photo 1348005951 We are sending mail with results at report@fotonower.com refus_total : 0.035339937500257074 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=21813434 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_P21813434_27-03-2025_20_32_01.pdf results_Auto_P21813434_27-03-2025_20_32_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21813434_27-03-2025_20_32_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','21813434','results_Auto_P21813434_27-03-2025_20_32_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21813434_27-03-2025_20_32_01.pdf','pdf','','0.23','0.035339937500257074') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21813434]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1348006152, 1348006146, 1348006141, 1348006113, 1348006002, 1348005979, 1348005959, 1348005955, 1348005951] map_info['map_portfolio_photo'] : {21813434: [1348006152, 1348006146, 1348006141, 1348006113, 1348006002, 1348005979, 1348005959, 1348005955, 1348005951, 1348005875, 1348005863, 1348005847, 1348005818, 1348005794, 1348005762, 1348005480, 1348005455, 1348005372, 1348005364, 1348005346, 1348005318, 1348005274, 1348005251, 1348005163, 1348005157, 1348005151, 1348005141, 1348005108, 1348004768, 1348004745, 1348004723, 1348004475, 1348004448, 1348004423, 1348004396, 1348004369, 1348004124, 1348004100, 1348004093, 1348004090, 1348004059, 1348004054, 1348003821, 1348003618, 1348003529, 1348003399, 1348002891, 1348002887, 1348002881, 1348002872, 1348002847, 1348002837, 1348002540, 1348002496, 1348002440, 1348002380, 1348002246, 1348002024, 1348002000, 1348001974, 1348001951, 1348001625, 1348001549, 1348001468, 1348001414, 1348001358]} final : False mtd_id 4302 list_pids : [1348006152, 1348006146, 1348006141, 1348006113, 1348006002, 1348005979, 1348005959, 1348005955, 1348005951] 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, '2699104') ('4302', '21813434', '1348006152', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348006146', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348006141', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348006113', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348006002', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348005979', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348005959', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348005955', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348005951', None, None, None, None, None, '2699104') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 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', '21813434', '1348006152', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348006146', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348006141', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348006113', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348006002', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348005979', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348005959', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348005955', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348005951', None, None, None, None, None, '2699104')] time used for this insertion : 0.013638496398925781 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.938433408737183 time spend to save output : 0.013895273208618164 total time spend for step 4 : 5.952328681945801 step5:split_time_score Thu Mar 27 20:32:07 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 : ['21813434'] 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 : [('21813434',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21813434) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1348006152: {'path': 'temp/1743103921_2121105_1348006152_abcdcd8461a4112a104b2efb6e53c216.jpg', 'extension': 'jpg'}, 1348006141: {'path': 'temp/1743103921_2121105_1348006141_fa6f05a4493020465549037abcf015c1.jpg', 'extension': 'jpg'}, 1348006146: {'path': 'temp/1743103921_2121105_1348006146_05ffd01e4a399b072f4516f18dda6cb8.jpg', 'extension': 'jpg'}, 1348006002: {'path': 'temp/1743103921_2121105_1348006002_5e9aeec5c056cceaa89a8b94ca6ecc46.jpg', 'extension': 'jpg'}, 1348006113: {'path': 'temp/1743103921_2121105_1348006113_d763491b51e6eb8fd97eb7ca6eb298be.jpg', 'extension': 'jpg'}, 1348005959: {'path': 'temp/1743103921_2121105_1348005959_ae8956d00468e232de2b98b342fb284c.jpg', 'extension': 'jpg'}, 1348005979: {'path': 'temp/1743103921_2121105_1348005979_30d11ee34b6418beb52d2ecde0380173.jpg', 'extension': 'jpg'}, 1348005951: {'path': 'temp/1743103921_2121105_1348005951_d31c5e8edcaca50b58e3972ae431a7f7.jpg', 'extension': 'jpg'}, 1348005955: {'path': 'temp/1743103921_2121105_1348005955_9bc29bac8b1fa10c10f81be9e791054d.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 = 21813434; (('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 = 21813434 group by h (('20', 66),) 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=21813434 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 (21813434) 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 (21813434) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 27032025 21813434 Nombre de photos uploadées : 66 / 23040 (0%) 27032025 21813434 Nombre de photos taguées (types de déchets): 0 / 66 (0%) 27032025 21813434 Nombre de photos taguées (volume) : 0 / 66 (0%) [{'photo_id': 1348001625, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/19f326b84aa68059279237515db33aae.jpg', 'username': None, 'uploaded_at': 1743103038, 'text': 'image_27032025_20_15_04_10197.jpg'}, {'photo_id': 1348001549, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/07cb19a3400c1a283a3b47f62daf4a20.jpg', 'username': None, 'uploaded_at': 1743103038, 'text': 'image_27032025_20_15_14_10138.jpg'}, {'photo_id': 1348001468, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/46fcf4c0ad54f32eb41dabad6bc5dfd6.jpg', 'username': None, 'uploaded_at': 1743103038, 'text': 'image_27032025_20_15_24_10141.jpg'}, {'photo_id': 1348001414, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/300fb1ffc68bdfed52f8e6840a6c0ef3.jpg', 'username': None, 'uploaded_at': 1743103038, 'text': 'image_27032025_20_15_34_10135.jpg'}] 0 [] elapsed_time : load_data_split_time_score 6.9141387939453125e-06 elapsed_time : order_list_meta_photo_and_scores 1.9550323486328125e-05 ?????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002664327621459961 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21813434, '2025-03-27' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1692045,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.023960351943969727 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= 1692045 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1692045, 'dashboard_run_id': 1702870, 'mtr_portfolio_id': 21812172, 'dashboard_result_id': 9693972, '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_P21812172_27-03-2025_20_05_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21812211, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21812212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21812213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21812214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21812215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21812216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21812217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21812218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21812219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21812220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21812221, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21812222, 'pht': 3726}}"}, {'dashboat_entry_day': 1692045, 'dashboard_run_id': 1702870, 'mtr_portfolio_id': 21812469, 'dashboard_result_id': 9693976, '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_P21812469_27-03-2025_20_22_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21812526, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21812527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21812528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21812529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21812530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21812531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21812532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21812533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21812534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21812535, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21812536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21812537, 'pht': 3726}}"}, {'dashboat_entry_day': 1692045, 'dashboard_run_id': 1702870, 'mtr_portfolio_id': 21813434, 'dashboard_result_id': 9693978, '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_P21813434_27-03-2025_20_30_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21813459, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21813460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21813461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21813462, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21813463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21813464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21813465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21813466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21813467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21813468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21813469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21813470, '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 = 21812172 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': 2698972, 'mtr_portfolio_id': 21812172, 'created_at': datetime.datetime(2025, 3, 27, 20, 5, 1), 'result': '0.034693621649958054', 'result_long': None, 'result_double': None}] Qualite : 0.034693621649958054 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21812172 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21812172_27-03-2025_20_05_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21812172 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_P21812172_27-03-2025_20_05_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21812211, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21812212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21812213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21812214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21812215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21812216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21812217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21812218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21812219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21812220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21812221, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21812222, 'pht': 3726}}" where mtr_portfolio_id = 21812172 and dashboard_run_id = 1702870 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`=21812172 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9693972, 0.034693621649958054, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21812172_27-03-2025_20_05_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21812211, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21812212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21812213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21812214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21812215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21812216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21812217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21812218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21812219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21812220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21812221, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21812222, '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 = 21812469 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': 2699011, 'mtr_portfolio_id': 21812469, 'created_at': datetime.datetime(2025, 3, 27, 20, 22, 33), 'result': '0.04176897390567922', 'result_long': None, 'result_double': None}] Qualite : 0.04176897390567922 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21812469 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21812469_27-03-2025_20_22_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21812469 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_P21812469_27-03-2025_20_22_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21812526, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21812527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21812528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21812529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21812530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21812531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21812532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21812533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21812534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21812535, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21812536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21812537, 'pht': 3726}}" where mtr_portfolio_id = 21812469 and dashboard_run_id = 1702870 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`=21812469 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9693976, 0.04176897390567922, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21812469_27-03-2025_20_22_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21812526, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21812527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21812528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21812529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21812530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21812531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21812532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21812533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21812534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21812535, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21812536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21812537, '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 = 21813434 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': 2699104, 'mtr_portfolio_id': 21813434, 'created_at': datetime.datetime(2025, 3, 27, 20, 32), 'result': '0.035339937500257074', 'result_long': None, 'result_double': None}] Qualite : 0.035339937500257074 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21813434 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21813434_27-03-2025_20_32_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21813434 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_P21813434_27-03-2025_20_32_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21813459, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21813460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21813461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21813462, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21813463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21813464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21813465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21813466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21813467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21813468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21813469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21813470, 'pht': 3726}}" where mtr_portfolio_id = 21813434 and dashboard_run_id = 1702870 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`=21813434 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9693978, 0.035339937500257074, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21813434_27-03-2025_20_32_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21813459, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21813460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21813461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21813462, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21813463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21813464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21813465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21813466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21813467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21813468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21813469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21813470, '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 (21812172,21812469,21813434) result : ((1347989990,), (1347990005,), (1347990274,), (1347990315,), (1347990326,), (1347993043,), (1347993046,), (1347993048,), (1347993049,), (1347993083,), (1347993087,), (1347993091,), (1347993095,), (1347993188,), (1347993212,), (1347993239,), (1347993267,), (1347993296,), (1347993326,), (1347993489,), (1347993490,), (1347993493,), (1347993519,), (1347993728,), (1347993759,), (1347993778,), (1347993798,), (1347993824,), (1347993860,), (1347994216,), (1347994249,), (1347994275,), (1347994299,), (1347994327,), (1347994434,), (1347994463,), (1347994493,), (1347994548,), (1347995040,), (1347994694,), (1347994859,), (1347994909,), (1347994945,), (1347995004,), (1347995255,), (1347995297,), (1347995319,), (1347995345,), (1347995358,), (1347995666,), (1347995794,), (1347995941,), (1347996069,), (1347996207,), (1347996364,), (1347996646,), (1347996681,), (1347996728,), (1347996765,), (1347996804,), (1347996843,), (1347997268,), (1347997350,), (1347997387,), (1347997425,), (1347997947,), (1347997963,), (1347998005,), (1347998033,), (1347998043,), (1347998059,), (1347998529,), (1347998534,), (1347998538,), (1347998544,), (1347998855,), (1347998859,), (1347998875,), (1347998890,), (1347998947,), (1347998965,), (1347999167,), (1347999178,), (1347999189,), (1347999196,), (1347999203,), (1347999474,), (1347999486,), (1347999503,), (1347999523,), (1347999544,), (1347999640,), (1347999651,), (1347999656,), (1347999659,), (1347999663,), (1347999776,), (1347999781,), (1347999797,), (1347999968,), (1348000004,), (1348000036,), (1348000064,), (1348000091,), (1348000112,), (1348000322,), (1348000352,), (1348000381,), (1348000412,), (1348000441,), (1348000699,), (1348000729,), (1348000757,), (1348000791,), (1348001681,), (1348001358,), (1348001414,), (1348001468,), (1348001549,), (1348001625,), (1348001951,), (1348001974,), (1348002000,), (1348002024,), (1348002246,), (1348002380,), (1348002440,), (1348002496,), (1348002540,), (1348002837,), (1348002847,), (1348002872,), (1348002881,), (1348002887,), (1348002891,), (1348003399,), (1348003529,), (1348003618,), (1348003821,), (1348004054,), (1348004059,), (1348004090,), (1348004093,), (1348004100,), (1348004124,), (1348004369,), (1348004396,), (1348004423,), (1348004448,), (1348004475,), (1348004723,), (1348004745,), (1348004768,), (1348005108,), (1348005141,), (1348005151,), (1348005157,), (1348005163,), (1348005251,), (1348005274,), (1348005318,), (1348005346,), (1348005364,), (1348005372,), (1348005455,), (1348005480,), (1348005762,), (1348005794,), (1348005818,), (1348005847,), (1348005863,), (1348005875,), (1348005951,), (1348005955,), (1348005959,), (1348005979,), (1348006002,), (1348006113,), (1348006141,), (1348006146,), (1348006152,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'27032025': {'nb_upload': 66, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21813434]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1348006152, 1348006146, 1348006141, 1348006113, 1348006002, 1348005979, 1348005959, 1348005955, 1348005951] map_info['map_portfolio_photo'] : {21813434: [1348006152, 1348006146, 1348006141, 1348006113, 1348006002, 1348005979, 1348005959, 1348005955, 1348005951, 1348005875, 1348005863, 1348005847, 1348005818, 1348005794, 1348005762, 1348005480, 1348005455, 1348005372, 1348005364, 1348005346, 1348005318, 1348005274, 1348005251, 1348005163, 1348005157, 1348005151, 1348005141, 1348005108, 1348004768, 1348004745, 1348004723, 1348004475, 1348004448, 1348004423, 1348004396, 1348004369, 1348004124, 1348004100, 1348004093, 1348004090, 1348004059, 1348004054, 1348003821, 1348003618, 1348003529, 1348003399, 1348002891, 1348002887, 1348002881, 1348002872, 1348002847, 1348002837, 1348002540, 1348002496, 1348002440, 1348002380, 1348002246, 1348002024, 1348002000, 1348001974, 1348001951, 1348001625, 1348001549, 1348001468, 1348001414, 1348001358]} final : True mtd_id 4302 list_pids : [1348006152, 1348006146, 1348006141, 1348006113, 1348006002, 1348005979, 1348005959, 1348005955, 1348005951] Looping around the photos to save general results len do output : 1 /21813434Didn'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, '2699104') ('4302', '21813434', '1348006152', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348006146', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348006141', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348006113', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348006002', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348005979', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348005959', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348005955', None, None, None, None, None, '2699104') ('4302', None, None, None, None, None, None, None, '2699104') ('4302', '21813434', '1348005951', None, None, None, None, None, '2699104') 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', None, '21813434', 'None', None, None, None, None, '2699104'), ('4302', '21813434', '1348006152', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348006146', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348006141', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348006113', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348006002', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348005979', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348005959', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348005955', None, None, None, None, None, '2699104'), ('4302', '21813434', '1348005951', None, None, None, None, None, '2699104')] time used for this insertion : 0.015200614929199219 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.30506110191345215 time spend to save output : 0.015442848205566406 total time spend for step 5 : 0.32050395011901855 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 (2699104) 2.39user 2.02system 0:11.97elapsed 36%CPU (0avgtext+0avgdata 159072maxresident)k 776inputs+13584outputs (30major+74908minor)pagefaults 0swaps