save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4609992504119873 time spend to save output : 0.014762401580810547 total time spend for step 1 : 0.47576165199279785 step2:final Wed Apr 9 21:30:58 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 (22180631) 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 22180631 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1350867098,1350867094,1350867090,1350867086,1350867352,1350867320,1350867290,1350867264,1350867243,1350868100,1350868074,1350868048,1350868011,1350867958,1350868405,1350868402,1350868396,1350868364,1350868719,1350868716,1350868701,1350868699,1350868665,1350868638,1350868854,1350868838,1350868815,1350868811,1350868777,1350868967,1350868963,1350868960,1350868955,1350869029,1350869025,1350869020,1350869016,1350869013,1350869094,1350869083,1350869077,1350869311,1350869301,1350869297,1350869292,1350869437,1350869429,1350869425,1350869740,1350869709,1350869688,1350869663,1350869954,1350869952,1350869949,1350869943,1350870113,1350870110,1350870107,1350870058,1350870274,1350870270,1350870258); 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([22180631]) Inside saveOutput : final : False verbose : True original output for save of step final : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ('0.06529877803700307',), 1350869954: ('0.06529877803700307',), 1350869952: ('0.06529877803700307',), 1350869949: ('0.06529877803700307',), 1350869943: ('0.06529877803700307',)} new output for save of step final : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ('0.06529877803700307',), 1350869954: ('0.06529877803700307',), 1350869952: ('0.06529877803700307',), 1350869949: ('0.06529877803700307',), 1350869943: ('0.06529877803700307',)} [1350870274, 1350870270, 1350870258, 1350870113, 1350870110, 1350870107, 1350870058, 1350869954, 1350869952, 1350869949, 1350869943] map_info['map_portfolio_photo'] : {22180631: [1350870274, 1350870270, 1350870258, 1350870113, 1350870110, 1350870107, 1350870058, 1350869954, 1350869952, 1350869949, 1350869943, 1350869740, 1350869709, 1350869688, 1350869663, 1350869437, 1350869429, 1350869425, 1350869311, 1350869301, 1350869297, 1350869292, 1350869094, 1350869083, 1350869077, 1350869029, 1350869025, 1350869020, 1350869016, 1350869013, 1350868967, 1350868963, 1350868960, 1350868955, 1350868854, 1350868838, 1350868815, 1350868811, 1350868777, 1350868719, 1350868716, 1350868701, 1350868699, 1350868665, 1350868638, 1350868405, 1350868402, 1350868396, 1350868364, 1350868100, 1350868074, 1350868048, 1350868011, 1350867958, 1350867352, 1350867320, 1350867290, 1350867264, 1350867243, 1350867098, 1350867094, 1350867090, 1350867086]} final : False mtd_id 4302 list_pids : [1350870274, 1350870270, 1350870258, 1350870113, 1350870110, 1350870107, 1350870058, 1350869954, 1350869952, 1350869949, 1350869943] Looping around the photos to save general results len do output : 11 /1350870274.Didn't retrieve data . /1350870270.Didn't retrieve data . /1350870258.Didn't retrieve data . /1350870113.Didn't retrieve data . /1350870110.Didn't retrieve data . /1350870107.Didn't retrieve data . /1350870058.Didn't retrieve data . /1350869954.Didn't retrieve data . /1350869952.Didn't retrieve data . /1350869949.Didn't retrieve data . /1350869943.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, '2736254') ('4302', '22180631', '1350870274', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350870270', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350870258', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350870113', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350870110', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350870107', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350870058', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350869954', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350869952', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350869949', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350869943', None, None, None, None, None, '2736254') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 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', '22180631', '1350870274', '0.06529877803700307', None, None, None, None, '2736254'), ('4302', '22180631', '1350870270', '0.06529877803700307', None, None, None, None, '2736254'), ('4302', '22180631', '1350870258', '0.06529877803700307', None, None, None, None, '2736254'), ('4302', '22180631', '1350870113', '0.06529877803700307', None, None, None, None, '2736254'), ('4302', '22180631', '1350870110', '0.06529877803700307', None, None, None, None, '2736254'), ('4302', '22180631', '1350870107', '0.06529877803700307', None, None, None, None, '2736254'), ('4302', '22180631', '1350870058', '0.06529877803700307', None, None, None, None, '2736254'), ('4302', '22180631', '1350869954', '0.06529877803700307', None, None, None, None, '2736254'), ('4302', '22180631', '1350869952', '0.06529877803700307', None, None, None, None, '2736254'), ('4302', '22180631', '1350869949', '0.06529877803700307', None, None, None, None, '2736254'), ('4302', '22180631', '1350869943', '0.06529877803700307', None, None, None, None, '2736254')] time used for this insertion : 0.015023231506347656 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.0599400997161865 time spend to save output : 0.015395402908325195 total time spend for step 2 : 2.0753355026245117 step3:velours_tree Wed Apr 9 21:31: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 : {22180631: [{'papier': 22180650, 'flou': 22180651, 'kraft': 22180652, 'cartonnette': 22180653, 'autre_refus': 22180654, 'mal_croppe': 22180655, 'metal': 22180656, 'Teint_Dans_La_Masse': 22180657, 'plastique': 22180658, 'Carton_gris': 22180659, 'Carton_brun': 22180660, 'environnement': 22180661}]} input_args_next_step : {22180631: ()} output_args : {22180631: [{'papier': 22180650, 'flou': 22180651, 'kraft': 22180652, 'cartonnette': 22180653, 'autre_refus': 22180654, 'mal_croppe': 22180655, 'metal': 22180656, 'Teint_Dans_La_Masse': 22180657, 'plastique': 22180658, 'Carton_gris': 22180659, 'Carton_brun': 22180660, 'environnement': 22180661}]} args : 22180631 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 : ({'papier': 22180650, 'flou': 22180651, 'kraft': 22180652, 'cartonnette': 22180653, 'autre_refus': 22180654, 'mal_croppe': 22180655, 'metal': 22180656, 'Teint_Dans_La_Masse': 22180657, 'plastique': 22180658, 'Carton_gris': 22180659, 'Carton_brun': 22180660, 'environnement': 22180661},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22180631) 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([22180631]) 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.34964513778686523 time spend to save output : 5.173683166503906e-05 total time spend for step 3 : 0.3496968746185303 step4:send_mail_cod Wed Apr 9 21:31: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 ! complete output_args for input 2 : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ('0.06529877803700307',), 1350869954: ('0.06529877803700307',), 1350869952: ('0.06529877803700307',), 1350869949: ('0.06529877803700307',), 1350869943: ('0.06529877803700307',)} input_args_next_step : {1350870274: ()} output_args : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ('0.06529877803700307',), 1350869954: ('0.06529877803700307',), 1350869952: ('0.06529877803700307',), 1350869949: ('0.06529877803700307',), 1350869943: ('0.06529877803700307',)} args : 1350870274 depend.output_id : 0 input_args_next_step : {1350870274: ('0.06529877803700307',), 1350870270: ()} output_args : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ('0.06529877803700307',), 1350869954: ('0.06529877803700307',), 1350869952: ('0.06529877803700307',), 1350869949: ('0.06529877803700307',), 1350869943: ('0.06529877803700307',)} args : 1350870270 depend.output_id : 0 input_args_next_step : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ()} output_args : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ('0.06529877803700307',), 1350869954: ('0.06529877803700307',), 1350869952: ('0.06529877803700307',), 1350869949: ('0.06529877803700307',), 1350869943: ('0.06529877803700307',)} args : 1350870258 depend.output_id : 0 input_args_next_step : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ()} output_args : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ('0.06529877803700307',), 1350869954: ('0.06529877803700307',), 1350869952: ('0.06529877803700307',), 1350869949: ('0.06529877803700307',), 1350869943: ('0.06529877803700307',)} args : 1350870113 depend.output_id : 0 input_args_next_step : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ()} output_args : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ('0.06529877803700307',), 1350869954: ('0.06529877803700307',), 1350869952: ('0.06529877803700307',), 1350869949: ('0.06529877803700307',), 1350869943: ('0.06529877803700307',)} args : 1350870110 depend.output_id : 0 input_args_next_step : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ()} output_args : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ('0.06529877803700307',), 1350869954: ('0.06529877803700307',), 1350869952: ('0.06529877803700307',), 1350869949: ('0.06529877803700307',), 1350869943: ('0.06529877803700307',)} args : 1350870107 depend.output_id : 0 input_args_next_step : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ()} output_args : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ('0.06529877803700307',), 1350869954: ('0.06529877803700307',), 1350869952: ('0.06529877803700307',), 1350869949: ('0.06529877803700307',), 1350869943: ('0.06529877803700307',)} args : 1350870058 depend.output_id : 0 input_args_next_step : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ('0.06529877803700307',), 1350869954: ()} output_args : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ('0.06529877803700307',), 1350869954: ('0.06529877803700307',), 1350869952: ('0.06529877803700307',), 1350869949: ('0.06529877803700307',), 1350869943: ('0.06529877803700307',)} args : 1350869954 depend.output_id : 0 input_args_next_step : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ('0.06529877803700307',), 1350869954: ('0.06529877803700307',), 1350869952: ()} output_args : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ('0.06529877803700307',), 1350869954: ('0.06529877803700307',), 1350869952: ('0.06529877803700307',), 1350869949: ('0.06529877803700307',), 1350869943: ('0.06529877803700307',)} args : 1350869952 depend.output_id : 0 input_args_next_step : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ('0.06529877803700307',), 1350869954: ('0.06529877803700307',), 1350869952: ('0.06529877803700307',), 1350869949: ()} output_args : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ('0.06529877803700307',), 1350869954: ('0.06529877803700307',), 1350869952: ('0.06529877803700307',), 1350869949: ('0.06529877803700307',), 1350869943: ('0.06529877803700307',)} args : 1350869949 depend.output_id : 0 input_args_next_step : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ('0.06529877803700307',), 1350869954: ('0.06529877803700307',), 1350869952: ('0.06529877803700307',), 1350869949: ('0.06529877803700307',), 1350869943: ()} output_args : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ('0.06529877803700307',), 1350869954: ('0.06529877803700307',), 1350869952: ('0.06529877803700307',), 1350869949: ('0.06529877803700307',), 1350869943: ('0.06529877803700307',)} args : 1350869943 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 : {22180631: [{'papier': 22180650, 'flou': 22180651, 'kraft': 22180652, 'cartonnette': 22180653, 'autre_refus': 22180654, 'mal_croppe': 22180655, 'metal': 22180656, 'Teint_Dans_La_Masse': 22180657, 'plastique': 22180658, 'Carton_gris': 22180659, 'Carton_brun': 22180660, 'environnement': 22180661}]} input_args_next_step : {1350870274: ('0.06529877803700307',), 1350870270: ('0.06529877803700307',), 1350870258: ('0.06529877803700307',), 1350870113: ('0.06529877803700307',), 1350870110: ('0.06529877803700307',), 1350870107: ('0.06529877803700307',), 1350870058: ('0.06529877803700307',), 1350869954: ('0.06529877803700307',), 1350869952: ('0.06529877803700307',), 1350869949: ('0.06529877803700307',), 1350869943: ('0.06529877803700307',), 22180631: ()} output_args : {22180631: [{'papier': 22180650, 'flou': 22180651, 'kraft': 22180652, 'cartonnette': 22180653, 'autre_refus': 22180654, 'mal_croppe': 22180655, 'metal': 22180656, 'Teint_Dans_La_Masse': 22180657, 'plastique': 22180658, 'Carton_gris': 22180659, 'Carton_brun': 22180660, 'environnement': 22180661}]} args : 22180631 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 :12, first value : ('0.06529877803700307',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22180631) 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 (1350870274,1350870270,1350870258,1350870113,1350870110,1350870107,1350870058,1350869954,1350869952,1350869949,1350869943) Found this number of photos: 11 ##### Call download_photos : nb_thread : 5 begin to download photo : 1350869943 begin to download photo : 1350869954 begin to download photo : 1350870110 begin to download photo : 1350870270 download finish for photo 1350870270 begin to download photo : 1350870274 download finish for photo 1350869943 begin to download photo : 1350869949 download finish for photo 1350870110 begin to download photo : 1350870113 download finish for photo 1350869954 begin to download photo : 1350870058 download finish for photo 1350870113 begin to download photo : 1350870258 download finish for photo 1350869949 begin to download photo : 1350869952 download finish for photo 1350870058 begin to download photo : 1350870107 download finish for photo 1350870274 download finish for photo 1350870107 download finish for photo 1350870258 download finish for photo 1350869952 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette221806511744227061/ length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 results_Auto_P22180631_09-04-2025_21_31_01.pdf 22180651 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=22180651 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette221806511744227061 22180652 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=22180652 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350868896: '1744226451_3175627_1350867958_6ed174ae0e7e27733c7eaaefed492221_rle_crop_3752074389_0.png', 1350869036: '1744226593_3177196_1350868960_afd282a83d85e07949c1c87c37d9d36c_rle_crop_3752076354_0.png', 1350869119: '1744226613_3177411_1350868838_6ae720072b4359bf2e3960b037d882c4_rle_crop_3752077350_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c8eeb014dc3fde0b8a25e8923389d5f3_11247564.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e00019034d688fdf23dda38222f5c1b6_77368259.png change filename to text .imagette221806521744227061/ imagette221806521744227061/1744226593_3177196_1350868960_afd282a83d85e07949c1c87c37d9d36c_rle_crop_3752076354_0.png.png imagette221806521744227061/1744226613_3177411_1350868838_6ae720072b4359bf2e3960b037d882c4_rle_crop_3752077350_0.png.png imagette221806521744227061/1744226451_3175627_1350867958_6ed174ae0e7e27733c7eaaefed492221_rle_crop_3752074389_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cfe41e5692a6828cd142eed383dae450_66654511.png imagette221806521744227061 22180653 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=22180653 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350868600: '1744226352_3174338_1350867290_188654bdfcd4790bf7b30ac8b3497fd0_rle_crop_3752071908_0.png', 1350868889: '1744226451_3175627_1350868074_3e7994eb585b6d75d58fb3a4fa540776_rle_crop_3752074353_0.png', 1350869033: '1744226593_3177196_1350868955_b69e8a1bfd17e624b79e0dfa603462c7_rle_crop_3752076361_0.png', 1350869034: '1744226593_3177196_1350868955_b69e8a1bfd17e624b79e0dfa603462c7_rle_crop_3752076367_0.png', 1350869115: '1744226608_2859780_1350868665_8fff5be5a555dc25cee8ea5d4504b45c_rle_crop_3752077331_0.png', 1350869117: '1744226608_2859780_1350868665_8fff5be5a555dc25cee8ea5d4504b45c_rle_crop_3752077328_0.png', 1350869118: '1744226608_2859780_1350868665_8fff5be5a555dc25cee8ea5d4504b45c_rle_crop_3752077336_0.png', 1350869416: '1744226712_3178739_1350869025_227cf5a9654e00b4211c4a65db2f8706_rle_crop_3752079047_0.png', 1350869417: '1744226712_3178739_1350869013_f25078ee154dff13a3a35f753796385c_rle_crop_3752079152_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3ef077659cbfa232542fc02c23ee5a50_2941116.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c11606efb7164f0f4f5df22bd931edb3_11027597.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/54d106758d41bd9fd405fb80fbb8576c_10613369.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c3d3aa610e55cfae08ea97f47220a576_49711775.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/091d780888f27e12a26cdacecdcea2f9_53721989.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/601141e2a63d480db8633ae0a546f358_12011110.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/65060dcb1bceb9b36d118c988587063d_25378845.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/0c0b442cdf0ab7e79edfb15781a19195_52747622.png change filename to text .imagette221806531744227061/ imagette221806531744227061/1744226608_2859780_1350868665_8fff5be5a555dc25cee8ea5d4504b45c_rle_crop_3752077331_0.png.png imagette221806531744227061/1744226712_3178739_1350869013_f25078ee154dff13a3a35f753796385c_rle_crop_3752079152_0.png.png imagette221806531744227061/1744226608_2859780_1350868665_8fff5be5a555dc25cee8ea5d4504b45c_rle_crop_3752077328_0.png.png imagette221806531744227061/1744226593_3177196_1350868955_b69e8a1bfd17e624b79e0dfa603462c7_rle_crop_3752076361_0.png.png imagette221806531744227061/1744226352_3174338_1350867290_188654bdfcd4790bf7b30ac8b3497fd0_rle_crop_3752071908_0.png.png imagette221806531744227061/1744226451_3175627_1350868074_3e7994eb585b6d75d58fb3a4fa540776_rle_crop_3752074353_0.png.png imagette221806531744227061/1744226593_3177196_1350868955_b69e8a1bfd17e624b79e0dfa603462c7_rle_crop_3752076367_0.png.png imagette221806531744227061/1744226608_2859780_1350868665_8fff5be5a555dc25cee8ea5d4504b45c_rle_crop_3752077336_0.png.png imagette221806531744227061/1744226712_3178739_1350869025_227cf5a9654e00b4211c4a65db2f8706_rle_crop_3752079047_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/badaaffb12dcfb7d0c90670f5be2707a_85143462.png imagette221806531744227061 22180654 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=22180654 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350868928: '1744226473_3175932_1350868364_e32d924adc9de5ee299e294d4a1eec01_rle_crop_3752074417_0.png', 1350869106: '1744226608_2859780_1350868716_d6a3c7e462d10b37b530e51c28aec8d0_rle_crop_3752077198_0.png', 1350869108: '1744226608_2859780_1350868638_3cbff2f82925c5257ed92bc374875c62_rle_crop_3752077361_0.png', 1350869110: '1744226613_3177411_1350868838_6ae720072b4359bf2e3960b037d882c4_rle_crop_3752077351_0.png', 1350869852: '1744226833_3180228_1350869292_c4bd6f4869c6b99aba0af0635d68246f_rle_crop_3752080858_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8e149f2ed80cf8276313942bc5de85a3_25229430.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3a91b7c8398b8390d594ed8d44efd892_62433415.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ce2bd8113d22b48686a214bd091fa29b_50783898.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7b49be0bc41e260a10aeeb5d09e00f19_66376373.png change filename to text .imagette221806541744227063/ imagette221806541744227063/1744226608_2859780_1350868638_3cbff2f82925c5257ed92bc374875c62_rle_crop_3752077361_0.png.png imagette221806541744227063/1744226613_3177411_1350868838_6ae720072b4359bf2e3960b037d882c4_rle_crop_3752077351_0.png.png imagette221806541744227063/1744226473_3175932_1350868364_e32d924adc9de5ee299e294d4a1eec01_rle_crop_3752074417_0.png.png imagette221806541744227063/1744226608_2859780_1350868716_d6a3c7e462d10b37b530e51c28aec8d0_rle_crop_3752077198_0.png.png imagette221806541744227063/1744226833_3180228_1350869292_c4bd6f4869c6b99aba0af0635d68246f_rle_crop_3752080858_0.png.png imagette221806551744227063/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/60854cf4865b06aa01c3b74d4c3fb2cd_51054247.png imagette221806541744227063 22180655 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=22180655 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette221806551744227063 22180656 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=22180656 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350869120: '1744226613_3177411_1350868811_d60eb01644b70c75f972e37fc893f452_rle_crop_3752077446_0.png'} change filename to text .imagette221806561744227063/ imagette221806561744227063/1744226613_3177411_1350868811_d60eb01644b70c75f972e37fc893f452_rle_crop_3752077446_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b92a10f8ac38ca1af6ac56c52cf5dd1f_29162547.png imagette221806561744227063 22180658 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=22180658 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350868604: '1744226352_3174338_1350867290_188654bdfcd4790bf7b30ac8b3497fd0_rle_crop_3752071911_0.png', 1350869114: '1744226613_3177411_1350868815_0b898973a896a8d7343765e64d7b3a23_rle_crop_3752077387_0.png', 1350869124: '1744226608_2859780_1350868701_8ad496815b99084e1405a93e3ec28209_rle_crop_3752077211_0.png', 1350869125: '1744226608_2859780_1350868699_50c273810a49ea7439531d6b03d14476_rle_crop_3752077276_0.png', 1350869126: '1744226608_2859780_1350868638_3cbff2f82925c5257ed92bc374875c62_rle_crop_3752077375_0.png', 1350869418: '1744226733_3179031_1350869083_147f6d4fecdd149b005f3a3c1ebcb629_rle_crop_3752079167_0.png', 1350869421: '1744226712_3178739_1350869020_98bd3fb1fe2bb9cac059199c1a99bb4e_rle_crop_3752079074_0.png', 1350869871: '1744226833_3180228_1350869437_27377e97fc7d6be4c3307ba0f3837135_rle_crop_3752080780_0.png', 1350869872: '1744226833_3180228_1350869437_27377e97fc7d6be4c3307ba0f3837135_rle_crop_3752080782_0.png', 1350869873: '1744226833_3180228_1350869437_27377e97fc7d6be4c3307ba0f3837135_rle_crop_3752080786_0.png', 1350869874: '1744226833_3180228_1350869301_28d8f6e3284426f757e7a517cd59cadf_rle_crop_3752080794_0.png', 1350869875: '1744226833_3180228_1350869297_b53eb48dbfbc4e1103eff865e285604f_rle_crop_3752080801_0.png', 1350869877: '1744226833_3180228_1350869292_c4bd6f4869c6b99aba0af0635d68246f_rle_crop_3752080863_0.png', 1350870119: '1744226932_3181231_1350869709_0179e716a046904646a7b4cd85570491_rle_crop_3752081642_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/409705e0a169120fa8c45156e3db7dc3_93168236.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2850a76f642dd04833e62cd05439295c_3245344.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/21d74c76ebd4ef1942be203026ccfc1f_22439885.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c4e9bd07294dfdd9b962cdaaf5bcd6e3_73691463.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/955fd568bca58c55e44155bd75446905_15610625.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/23dc8496bc59ad7df981bc0cddc0dd71_11890780.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/00c012759a502b816959a6cce13ae1c6_83239274.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6c8a1160864cfa536d9501235b6008d1_69115876.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/15ac70c64f88afe6a6754b8ea6663b02_64665136.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/311e46e335354f565d524bd061a47e22_54459159.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9a58f2091fa258f0fdd898539b2ddce9_23604452.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/628c2724c80930a7de3a75f441da961a_96850310.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1d6ae5a38ba6d088e7053550bcf166f5_63973682.png change filename to text .imagette221806581744227063/ imagette221806581744227063/1744226833_3180228_1350869437_27377e97fc7d6be4c3307ba0f3837135_rle_crop_3752080782_0.png.png imagette221806581744227063/1744226833_3180228_1350869437_27377e97fc7d6be4c3307ba0f3837135_rle_crop_3752080780_0.png.png imagette221806581744227063/1744226608_2859780_1350868701_8ad496815b99084e1405a93e3ec28209_rle_crop_3752077211_0.png.png imagette221806581744227063/1744226352_3174338_1350867290_188654bdfcd4790bf7b30ac8b3497fd0_rle_crop_3752071911_0.png.png imagette221806581744227063/1744226733_3179031_1350869083_147f6d4fecdd149b005f3a3c1ebcb629_rle_crop_3752079167_0.png.png imagette221806581744227063/1744226833_3180228_1350869437_27377e97fc7d6be4c3307ba0f3837135_rle_crop_3752080786_0.png.png imagette221806581744227063/1744226608_2859780_1350868699_50c273810a49ea7439531d6b03d14476_rle_crop_3752077276_0.png.png imagette221806581744227063/1744226712_3178739_1350869020_98bd3fb1fe2bb9cac059199c1a99bb4e_rle_crop_3752079074_0.png.png imagette221806581744227063/1744226833_3180228_1350869301_28d8f6e3284426f757e7a517cd59cadf_rle_crop_3752080794_0.png.png imagette221806581744227063/1744226833_3180228_1350869297_b53eb48dbfbc4e1103eff865e285604f_rle_crop_3752080801_0.png.png imagette221806581744227063/1744226613_3177411_1350868815_0b898973a896a8d7343765e64d7b3a23_rle_crop_3752077387_0.png.png imagette221806581744227063/1744226608_2859780_1350868638_3cbff2f82925c5257ed92bc374875c62_rle_crop_3752077375_0.png.png imagette221806581744227063/1744226932_3181231_1350869709_0179e716a046904646a7b4cd85570491_rle_crop_3752081642_0.png.png imagette221806581744227063/1744226833_3180228_1350869292_c4bd6f4869c6b99aba0af0635d68246f_rle_crop_3752080863_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/20723cf9d09f0cc4930eada805b174ae_84106599.png imagette221806581744227063 22180657 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=22180657 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350869099: '1744226613_3177411_1350868838_6ae720072b4359bf2e3960b037d882c4_rle_crop_3752077355_0.png', 1350870115: '1744226932_3181231_1350869663_57276a9ffad7223f01a89a94ae10cbc2_rle_crop_3752081674_0.png', 1350870114: '1744226932_3181231_1350869663_57276a9ffad7223f01a89a94ae10cbc2_rle_crop_3752081671_0.png', 1350869746: '1744226811_3179948_1350869425_a885beedc8edd7c74568c727f89801e4_rle_crop_3752080486_0.png', 1350869413: '1744226712_3178739_1350869013_f25078ee154dff13a3a35f753796385c_rle_crop_3752079151_0.png', 1350869412: '1744226712_3178739_1350869013_f25078ee154dff13a3a35f753796385c_rle_crop_3752079156_0.png', 1350869411: '1744226712_3178739_1350869013_f25078ee154dff13a3a35f753796385c_rle_crop_3752079154_0.png', 1350869101: '1744226613_3177411_1350868815_0b898973a896a8d7343765e64d7b3a23_rle_crop_3752077384_0.png', 1350869100: '1744226613_3177411_1350868838_6ae720072b4359bf2e3960b037d882c4_rle_crop_3752077354_0.png', 1350868591: '1744226352_3174338_1350867320_d4596d81f2d28615f58a3ccf77f89645_rle_crop_3752071879_0.png', 1350869093: '1744226608_2859780_1350868699_50c273810a49ea7439531d6b03d14476_rle_crop_3752077273_0.png', 1350869092: '1744226608_2859780_1350868701_8ad496815b99084e1405a93e3ec28209_rle_crop_3752077210_0.png', 1350869091: '1744226608_2859780_1350868701_8ad496815b99084e1405a93e3ec28209_rle_crop_3752077217_0.png', 1350869090: '1744226608_2859780_1350868716_d6a3c7e462d10b37b530e51c28aec8d0_rle_crop_3752077197_0.png', 1350869089: '1744226608_2859780_1350868854_f23986c0ce266a2c05644845bfb29e1a_rle_crop_3752076517_0.png', 1350868919: '1744226473_3175932_1350868364_e32d924adc9de5ee299e294d4a1eec01_rle_crop_3752074420_0.png', 1350868917: '1744226473_3175932_1350868396_f9fe4ea1272adb6b52c47f7ffb8934be_rle_crop_3752074412_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/de96d591a80c37c578af67bea1d7a369_57664089.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f0abd7f6d60cbc86daa2cd011b1babc6_887084.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4474d1cea4557ecac34a161c2e50bfa8_56201786.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2f95351192bf7280873f9a15a948c42e_55867489.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9aa587e85cea3a1cd1db183719928c52_49925403.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1157c186bda712c858ec08198bb233a3_98926229.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e6c1e30f2b2e3c9a8e72740891920f1c_13051588.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/10049d281bd8f30d1c6cdc71e1a9405c_55536580.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d61edf222354069cf7a1fefe11a03ad0_82090772.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/27c8aa3e9a6d3ef418253c116f00fc36_42689960.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6b9a5a8bcec78d01a4fc2063bd29edc8_74258122.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/07832d95d9f6bf196953f8eaf1058212_17525792.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/30cd21259784e224f63ea5f29cec17dd_20241775.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/44d453c46980cc99327575cf6e0fbe34_99305133.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/02f098c9665e6d8f8fdd0af976be5b0a_69785752.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2d8a2a569d7b97a95fba2f2265be5c7b_16540333.png change filename to text .imagette221806571744227065/ imagette221806571744227065/1744226811_3179948_1350869425_a885beedc8edd7c74568c727f89801e4_rle_crop_3752080486_0.png.png imagette221806571744227065/1744226712_3178739_1350869013_f25078ee154dff13a3a35f753796385c_rle_crop_3752079154_0.png.png imagette221806571744227065/1744226712_3178739_1350869013_f25078ee154dff13a3a35f753796385c_rle_crop_3752079156_0.png.png imagette221806571744227065/1744226613_3177411_1350868815_0b898973a896a8d7343765e64d7b3a23_rle_crop_3752077384_0.png.png imagette221806571744227065/1744226608_2859780_1350868699_50c273810a49ea7439531d6b03d14476_rle_crop_3752077273_0.png.png imagette221806571744227065/1744226608_2859780_1350868854_f23986c0ce266a2c05644845bfb29e1a_rle_crop_3752076517_0.png.png imagette221806571744227065/1744226608_2859780_1350868701_8ad496815b99084e1405a93e3ec28209_rle_crop_3752077210_0.png.png imagette221806571744227065/1744226473_3175932_1350868396_f9fe4ea1272adb6b52c47f7ffb8934be_rle_crop_3752074412_0.png.png imagette221806571744227065/1744226608_2859780_1350868716_d6a3c7e462d10b37b530e51c28aec8d0_rle_crop_3752077197_0.png.png imagette221806571744227065/1744226613_3177411_1350868838_6ae720072b4359bf2e3960b037d882c4_rle_crop_3752077355_0.png.png imagette221806571744227065/1744226712_3178739_1350869013_f25078ee154dff13a3a35f753796385c_rle_crop_3752079151_0.png.png imagette221806571744227065/1744226613_3177411_1350868838_6ae720072b4359bf2e3960b037d882c4_rle_crop_3752077354_0.png.png imagette221806571744227065/1744226473_3175932_1350868364_e32d924adc9de5ee299e294d4a1eec01_rle_crop_3752074420_0.png.png imagette221806571744227065/1744226608_2859780_1350868701_8ad496815b99084e1405a93e3ec28209_rle_crop_3752077217_0.png.png imagette221806571744227065/1744226932_3181231_1350869663_57276a9ffad7223f01a89a94ae10cbc2_rle_crop_3752081674_0.png.png imagette221806571744227065/1744226932_3181231_1350869663_57276a9ffad7223f01a89a94ae10cbc2_rle_crop_3752081671_0.png.png imagette221806571744227065/1744226352_3174338_1350867320_d4596d81f2d28615f58a3ccf77f89645_rle_crop_3752071879_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/12d44b9802fe3ea250b7b73ec7563476_66296896.png imagette221806571744227065 22180659 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=22180659 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350868596: '1744226352_3174338_1350867320_d4596d81f2d28615f58a3ccf77f89645_rle_crop_3752071878_0.png', 1350868598: '1744226352_3174338_1350867264_db0ca3c183d43ba052f53acbc93a2274_rle_crop_3752071925_0.png', 1350868599: '1744226352_3174338_1350867243_057c9708d3174cd75739e31aca1c2b29_rle_crop_3752071935_0.png', 1350868888: '1744226451_3175627_1350868011_ebb5bea6487f5ea04dfdd77c9c3ecef7_rle_crop_3752074374_0.png', 1350869111: '1744226608_2859780_1350868701_8ad496815b99084e1405a93e3ec28209_rle_crop_3752077212_0.png', 1350869112: '1744226608_2859780_1350868638_3cbff2f82925c5257ed92bc374875c62_rle_crop_3752077365_0.png', 1350869113: '1744226613_3177411_1350868811_d60eb01644b70c75f972e37fc893f452_rle_crop_3752077447_0.png', 1350869347: '1744226703_3178601_1350869029_a3803781f57fd9829d56aab001660c81_rle_crop_3752078676_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d71a740663d9ca1437ea407719bf516c_73395983.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/437016c31f064ad2e1e0de01be551220_29126624.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ea027ddc1515c67c224ab0d0d8829d97_55095882.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1d4f91564cf82c2692d02ae27958f15d_21962305.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/736caf6ee3be96b8ae783758d2b963e4_31283449.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8554c01fb214f578e25fa17e8bc5e4d2_42152097.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8d8d8f3085e45a39c0c4ccbfe6bea324_90276048.png change filename to text .imagette221806591744227066/ imagette221806591744227066/1744226352_3174338_1350867320_d4596d81f2d28615f58a3ccf77f89645_rle_crop_3752071878_0.png.png imagette221806591744227066/1744226608_2859780_1350868638_3cbff2f82925c5257ed92bc374875c62_rle_crop_3752077365_0.png.png imagette221806591744227066/1744226352_3174338_1350867264_db0ca3c183d43ba052f53acbc93a2274_rle_crop_3752071925_0.png.png imagette221806591744227066/1744226608_2859780_1350868701_8ad496815b99084e1405a93e3ec28209_rle_crop_3752077212_0.png.png imagette221806591744227066/1744226451_3175627_1350868011_ebb5bea6487f5ea04dfdd77c9c3ecef7_rle_crop_3752074374_0.png.png imagette221806591744227066/1744226613_3177411_1350868811_d60eb01644b70c75f972e37fc893f452_rle_crop_3752077447_0.png.png imagette221806591744227066/1744226703_3178601_1350869029_a3803781f57fd9829d56aab001660c81_rle_crop_3752078676_0.png.png imagette221806591744227066/1744226352_3174338_1350867243_057c9708d3174cd75739e31aca1c2b29_rle_crop_3752071935_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/379ce4213146317c9e3df955b3c572cd_46224026.png imagette221806591744227066 22180660 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=22180660 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350868891: '1744226451_3175627_1350868074_3e7994eb585b6d75d58fb3a4fa540776_rle_crop_3752074355_0.png', 1350868892: '1744226451_3175627_1350868048_0328602c59fe017bf62740e2b8caea79_rle_crop_3752074368_0.png', 1350868893: '1744226451_3175627_1350868011_ebb5bea6487f5ea04dfdd77c9c3ecef7_rle_crop_3752074377_0.png', 1350868894: '1744226451_3175627_1350867958_6ed174ae0e7e27733c7eaaefed492221_rle_crop_3752074393_0.png', 1350868944: '1744226473_3175932_1350868396_f9fe4ea1272adb6b52c47f7ffb8934be_rle_crop_3752074410_0.png', 1350868945: '1744226473_3175932_1350868364_e32d924adc9de5ee299e294d4a1eec01_rle_crop_3752074421_0.png', 1350869121: '1744226608_2859780_1350868854_f23986c0ce266a2c05644845bfb29e1a_rle_crop_3752076509_0.png', 1350869123: '1744226608_2859780_1350868638_3cbff2f82925c5257ed92bc374875c62_rle_crop_3752077368_0.png', 1350869414: '1744226733_3179031_1350869083_147f6d4fecdd149b005f3a3c1ebcb629_rle_crop_3752079169_0.png', 1350869419: '1744226712_3178739_1350869025_227cf5a9654e00b4211c4a65db2f8706_rle_crop_3752079055_0.png', 1350869420: '1744226712_3178739_1350869013_f25078ee154dff13a3a35f753796385c_rle_crop_3752079150_0.png', 1350869854: '1744226833_3180228_1350869301_28d8f6e3284426f757e7a517cd59cadf_rle_crop_3752080791_0.png', 1350869855: '1744226833_3180228_1350869297_b53eb48dbfbc4e1103eff865e285604f_rle_crop_3752080799_0.png', 1350869856: '1744226833_3180228_1350869292_c4bd6f4869c6b99aba0af0635d68246f_rle_crop_3752080861_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/84131ab8f58ded886f865a9c04189b98_21235738.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e9f884c1453054676cfeb3ed5e0606a6_55637003.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1f42d11915ab57f70a85d53db17f3b92_19091183.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/20199e0e0b3d64f92b8aa16f2646edb8_16793001.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/18992c7524d26ba9e0c153d15ad14a2c_20642174.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/26d6577c94ea81be8ee392f7d0cd8180_53404993.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6556cbbf1cdb65f6758581d1a5cc408e_652477.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f5703367c39a8c97190385c13100a1eb_17066922.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dd67e7a33005ae0c49378cd57391b5cf_74964518.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/46f065be468edc1edf11a5f8f93a7bab_40944500.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/417707367367ca8b23e06c5f2eff738a_40468501.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f672f262e450be6b553b34072ffa0159_4319773.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/38f481c899f478fc8892249d3e019cb8_29856142.png change filename to text .imagette221806601744227066/ imagette221806601744227066/1744226608_2859780_1350868638_3cbff2f82925c5257ed92bc374875c62_rle_crop_3752077368_0.png.png imagette221806601744227066/1744226473_3175932_1350868364_e32d924adc9de5ee299e294d4a1eec01_rle_crop_3752074421_0.png.png imagette221806601744227066/1744226451_3175627_1350868048_0328602c59fe017bf62740e2b8caea79_rle_crop_3752074368_0.png.png imagette221806601744227066/1744226451_3175627_1350868074_3e7994eb585b6d75d58fb3a4fa540776_rle_crop_3752074355_0.png.png imagette221806601744227066/1744226733_3179031_1350869083_147f6d4fecdd149b005f3a3c1ebcb629_rle_crop_3752079169_0.png.png imagette221806601744227066/1744226451_3175627_1350868011_ebb5bea6487f5ea04dfdd77c9c3ecef7_rle_crop_3752074377_0.png.png imagette221806601744227066/1744226712_3178739_1350869013_f25078ee154dff13a3a35f753796385c_rle_crop_3752079150_0.png.png imagette221806601744227066/1744226833_3180228_1350869297_b53eb48dbfbc4e1103eff865e285604f_rle_crop_3752080799_0.png.png imagette221806601744227066/1744226473_3175932_1350868396_f9fe4ea1272adb6b52c47f7ffb8934be_rle_crop_3752074410_0.png.png imagette221806601744227066/1744226608_2859780_1350868854_f23986c0ce266a2c05644845bfb29e1a_rle_crop_3752076509_0.png.png imagette221806601744227066/1744226833_3180228_1350869301_28d8f6e3284426f757e7a517cd59cadf_rle_crop_3752080791_0.png.png imagette221806601744227066/1744226833_3180228_1350869292_c4bd6f4869c6b99aba0af0635d68246f_rle_crop_3752080861_0.png.png imagette221806601744227066/1744226451_3175627_1350867958_6ed174ae0e7e27733c7eaaefed492221_rle_crop_3752074393_0.png.png imagette221806601744227066/1744226712_3178739_1350869025_227cf5a9654e00b4211c4a65db2f8706_rle_crop_3752079055_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/182692cd0303d4011e61abc7e35f9010_77812.png imagette221806601744227066 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22180631 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22180662,22180663,22180664,22180665,22180666,22180667,22180668,22180669,22180670,22180671,22180672,22180673?tags=papier,flou,kraft,cartonnette,autre_refus,mal_croppe,metal,Teint_Dans_La_Masse,plastique,Carton_gris,Carton_brun,environnement your option no_mail is active, we will not send the real mail to your client args[1350870274] : ('0.06529877803700307',) no score found for photo 1350870274 We are sending mail with results at report@fotonower.com args[1350870270] : ('0.06529877803700307',) no score found for photo 1350870270 We are sending mail with results at report@fotonower.com args[1350870258] : ('0.06529877803700307',) no score found for photo 1350870258 We are sending mail with results at report@fotonower.com args[1350870113] : ('0.06529877803700307',) no score found for photo 1350870113 We are sending mail with results at report@fotonower.com args[1350870110] : ('0.06529877803700307',) no score found for photo 1350870110 We are sending mail with results at report@fotonower.com args[1350870107] : ('0.06529877803700307',) no score found for photo 1350870107 We are sending mail with results at report@fotonower.com args[1350870058] : ('0.06529877803700307',) no score found for photo 1350870058 We are sending mail with results at report@fotonower.com args[1350869954] : ('0.06529877803700307',) no score found for photo 1350869954 We are sending mail with results at report@fotonower.com args[1350869952] : ('0.06529877803700307',) no score found for photo 1350869952 We are sending mail with results at report@fotonower.com args[1350869949] : ('0.06529877803700307',) no score found for photo 1350869949 We are sending mail with results at report@fotonower.com args[1350869943] : ('0.06529877803700307',) no score found for photo 1350869943 We are sending mail with results at report@fotonower.com refus_total : 0.06529877803700307 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=22180631 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_P22180631_09-04-2025_21_31_01.pdf results_Auto_P22180631_09-04-2025_21_31_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22180631_09-04-2025_21_31_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','22180631','results_Auto_P22180631_09-04-2025_21_31_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22180631_09-04-2025_21_31_01.pdf','pdf','','0.34','0.06529877803700307') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22180631]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1350870274, 1350870270, 1350870258, 1350870113, 1350870110, 1350870107, 1350870058, 1350869954, 1350869952, 1350869949, 1350869943] map_info['map_portfolio_photo'] : {22180631: [1350870274, 1350870270, 1350870258, 1350870113, 1350870110, 1350870107, 1350870058, 1350869954, 1350869952, 1350869949, 1350869943, 1350869740, 1350869709, 1350869688, 1350869663, 1350869437, 1350869429, 1350869425, 1350869311, 1350869301, 1350869297, 1350869292, 1350869094, 1350869083, 1350869077, 1350869029, 1350869025, 1350869020, 1350869016, 1350869013, 1350868967, 1350868963, 1350868960, 1350868955, 1350868854, 1350868838, 1350868815, 1350868811, 1350868777, 1350868719, 1350868716, 1350868701, 1350868699, 1350868665, 1350868638, 1350868405, 1350868402, 1350868396, 1350868364, 1350868100, 1350868074, 1350868048, 1350868011, 1350867958, 1350867352, 1350867320, 1350867290, 1350867264, 1350867243, 1350867098, 1350867094, 1350867090, 1350867086]} final : False mtd_id 4302 list_pids : [1350870274, 1350870270, 1350870258, 1350870113, 1350870110, 1350870107, 1350870058, 1350869954, 1350869952, 1350869949, 1350869943] 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, '2736254') ('4302', '22180631', '1350870274', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350870270', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350870258', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350870113', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350870110', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350870107', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350870058', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350869954', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350869952', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350869949', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350869943', None, None, None, None, None, '2736254') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22180631', '1350870274', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350870270', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350870258', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350870113', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350870110', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350870107', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350870058', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350869954', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350869952', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350869949', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350869943', None, None, None, None, None, '2736254')] time used for this insertion : 0.0164947509765625 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.724961280822754 time spend to save output : 0.016977310180664062 total time spend for step 4 : 12.741938591003418 step5:split_time_score Wed Apr 9 21:31:13 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 : ['22180631'] 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 : [('22180631',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22180631) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1350870270: {'path': 'temp/1744227060_3070264_1350870270_d1447f8c544810fa96d3cd6dbcb1051e.jpg', 'extension': 'jpg'}, 1350870274: {'path': 'temp/1744227060_3070264_1350870274_2b809fc176109f4baa8fd05c5a01b278.jpg', 'extension': 'jpg'}, 1350869954: {'path': 'temp/1744227060_3070264_1350869954_4bc1ca6cb3670250c622ae0afef076dc.jpg', 'extension': 'jpg'}, 1350870058: {'path': 'temp/1744227060_3070264_1350870058_c84f4df3d62875f57d52db646393833c.jpg', 'extension': 'jpg'}, 1350870107: {'path': 'temp/1744227060_3070264_1350870107_6f4ba84c8d275e8d2d2702b0a8fe2f7b.jpg', 'extension': 'jpg'}, 1350870110: {'path': 'temp/1744227060_3070264_1350870110_2d167599d1d8e2c3b4b6e369635f1e91.jpg', 'extension': 'jpg'}, 1350870113: {'path': 'temp/1744227060_3070264_1350870113_02d00cffec0717a3ddc169e07a73e46e.jpg', 'extension': 'jpg'}, 1350870258: {'path': 'temp/1744227060_3070264_1350870258_3d2d6aef8c8dd67b0e7235630b508fa8.jpg', 'extension': 'jpg'}, 1350869943: {'path': 'temp/1744227060_3070264_1350869943_e8d38fa05011d781d42c39d8e0716fc9.jpg', 'extension': 'jpg'}, 1350869949: {'path': 'temp/1744227060_3070264_1350869949_7e4be58d18787dc4f79f85a05f4bfd01.jpg', 'extension': 'jpg'}, 1350869952: {'path': 'temp/1744227060_3070264_1350869952_b03633456ea17e967a1bd0854cbc3c39.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 = 22180631; (('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 = 22180631 group by h (('21', 63),) 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=22180631 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 (22180631) 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 (22180631) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 09042025 22180631 Nombre de photos uploadées : 63 / 23040 (0%) 09042025 22180631 Nombre de photos taguées (types de déchets): 0 / 63 (0%) 09042025 22180631 Nombre de photos taguées (volume) : 0 / 63 (0%) [{'photo_id': 1350867098, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6c796b3ece783926453e731a12c03288.jpg', 'username': None, 'uploaded_at': 1744226167, 'text': 'image_09042025_21_15_04_10150.jpg'}, {'photo_id': 1350867094, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/933a65c012cd30e98ea7fcae799b837e.jpg', 'username': None, 'uploaded_at': 1744226167, 'text': 'image_09042025_21_15_14_10133.jpg'}, {'photo_id': 1350867090, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9c7665dee3354054d99c41d0363ac50e.jpg', 'username': None, 'uploaded_at': 1744226167, 'text': 'image_09042025_21_15_24_10136.jpg'}, {'photo_id': 1350867086, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ea93492133bb7112dd5dcab23e6e3106.jpg', 'username': None, 'uploaded_at': 1744226167, 'text': 'image_09042025_21_15_34_10143.jpg'}] 0 [] elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 8.821487426757812e-06 ??????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002483367919921875 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22180631, '2025-04-09' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1725367,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.03253006935119629 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= 1725367 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1725367, 'dashboard_run_id': 1735323, 'mtr_portfolio_id': 22180350, 'dashboard_result_id': 9958946, '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_P22180350_09-04-2025_21_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22180351, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22180352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22180353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22180354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22180355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22180356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22180357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22180358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22180359, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22180360, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22180361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22180362, 'pht': 3726}}"}, {'dashboat_entry_day': 1725367, 'dashboard_run_id': 1735323, 'mtr_portfolio_id': 22180631, 'dashboard_result_id': 9958947, '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_P22180631_09-04-2025_21_28_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22180650, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22180651, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22180652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22180653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22180654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22180655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22180656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22180657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22180658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22180659, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22180660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22180661, '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 = 22180350 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': 2736227, 'mtr_portfolio_id': 22180350, 'created_at': datetime.datetime(2025, 4, 9, 21, 16, 57), 'result': '0.04232932622262479', 'result_long': None, 'result_double': None}] Qualite : 0.04232932622262479 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22180350 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22180350_09-04-2025_21_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22180350 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_P22180350_09-04-2025_21_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22180351, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22180352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22180353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22180354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22180355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22180356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22180357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22180358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22180359, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22180360, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22180361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22180362, 'pht': 3726}}" where mtr_portfolio_id = 22180350 and dashboard_run_id = 1735323 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`=22180350 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9958946, 0.04232932622262479, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22180350_09-04-2025_21_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22180351, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22180352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22180353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22180354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22180355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22180356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22180357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22180358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22180359, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22180360, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22180361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22180362, '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 = 22180631 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': 2736254, 'mtr_portfolio_id': 22180631, 'created_at': datetime.datetime(2025, 4, 9, 21, 31), 'result': '0.06529877803700307', 'result_long': None, 'result_double': None}] Qualite : 0.06529877803700307 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22180631 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22180631_09-04-2025_21_31_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22180631 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_P22180631_09-04-2025_21_31_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22180650, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22180651, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22180652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22180653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22180654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22180655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22180656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22180657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22180658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22180659, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22180660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22180661, 'pht': 3726}}" where mtr_portfolio_id = 22180631 and dashboard_run_id = 1735323 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`=22180631 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9958947, 0.06529877803700307, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22180631_09-04-2025_21_31_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22180650, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22180651, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22180652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22180653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22180654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22180655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22180656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22180657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22180658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22180659, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22180660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22180661, '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 (22180350,22180631) result : ((1350863501,), (1350863534,), (1350864009,), (1350864050,), (1350864094,), (1350864947,), (1350865442,), (1350865504,), (1350865690,), (1350865696,), (1350865700,), (1350865706,), (1350865719,), (1350865867,), (1350865897,), (1350865920,), (1350866508,), (1350866525,), (1350866534,), (1350866536,), (1350866539,), (1350866552,), (1350866753,), (1350866780,), (1350866796,), (1350866800,), (1350866917,), (1350866938,), (1350866958,), (1350866966,), (1350867032,), (1350867037,), (1350867100,), (1350867086,), (1350867090,), (1350867094,), (1350867098,), (1350867243,), (1350867264,), (1350867290,), (1350867320,), (1350867352,), (1350867958,), (1350868011,), (1350868048,), (1350868074,), (1350868100,), (1350868364,), (1350868396,), (1350868402,), (1350868405,), (1350868638,), (1350868665,), (1350868699,), (1350868701,), (1350868716,), (1350868719,), (1350868777,), (1350868811,), (1350868815,), (1350868838,), (1350868854,), (1350868955,), (1350868960,), (1350868963,), (1350868967,), (1350869013,), (1350869016,), (1350869020,), (1350869025,), (1350869029,), (1350869077,), (1350869083,), (1350869094,), (1350869292,), (1350869297,), (1350869301,), (1350869311,), (1350869425,), (1350869429,), (1350869437,), (1350869663,), (1350869688,), (1350869709,), (1350869740,), (1350869943,), (1350869949,), (1350869952,), (1350869954,), (1350870058,), (1350870107,), (1350870110,), (1350870113,), (1350870258,), (1350870270,), (1350870274,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'09042025': {'nb_upload': 63, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22180631]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1350870274, 1350870270, 1350870258, 1350870113, 1350870110, 1350870107, 1350870058, 1350869954, 1350869952, 1350869949, 1350869943] map_info['map_portfolio_photo'] : {22180631: [1350870274, 1350870270, 1350870258, 1350870113, 1350870110, 1350870107, 1350870058, 1350869954, 1350869952, 1350869949, 1350869943, 1350869740, 1350869709, 1350869688, 1350869663, 1350869437, 1350869429, 1350869425, 1350869311, 1350869301, 1350869297, 1350869292, 1350869094, 1350869083, 1350869077, 1350869029, 1350869025, 1350869020, 1350869016, 1350869013, 1350868967, 1350868963, 1350868960, 1350868955, 1350868854, 1350868838, 1350868815, 1350868811, 1350868777, 1350868719, 1350868716, 1350868701, 1350868699, 1350868665, 1350868638, 1350868405, 1350868402, 1350868396, 1350868364, 1350868100, 1350868074, 1350868048, 1350868011, 1350867958, 1350867352, 1350867320, 1350867290, 1350867264, 1350867243, 1350867098, 1350867094, 1350867090, 1350867086]} final : True mtd_id 4302 list_pids : [1350870274, 1350870270, 1350870258, 1350870113, 1350870110, 1350870107, 1350870058, 1350869954, 1350869952, 1350869949, 1350869943] Looping around the photos to save general results len do output : 1 /22180631Didn'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, '2736254') ('4302', '22180631', '1350870274', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350870270', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350870258', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350870113', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350870110', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350870107', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350870058', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350869954', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350869952', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350869949', None, None, None, None, None, '2736254') ('4302', None, None, None, None, None, None, None, '2736254') ('4302', '22180631', '1350869943', None, None, None, None, None, '2736254') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 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, '22180631', 'None', None, None, None, None, '2736254'), ('4302', '22180631', '1350870274', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350870270', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350870258', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350870113', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350870110', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350870107', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350870058', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350869954', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350869952', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350869949', None, None, None, None, None, '2736254'), ('4302', '22180631', '1350869943', None, None, None, None, None, '2736254')] time used for this insertion : 0.013041496276855469 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.26745033264160156 time spend to save output : 0.013455390930175781 total time spend for step 5 : 0.28090572357177734 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 (2736254) 2.45user 1.91system 0:17.92elapsed 24%CPU (0avgtext+0avgdata 158784maxresident)k 264inputs+17920outputs (10major+75164minor)pagefaults 0swaps