returned map {'environnement': {'main_port_id': 21699089, 'sub_port_id': 21699127, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14229286, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 34, 59)}, 'kraft': {'main_port_id': 21699089, 'sub_port_id': 21699128, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14229287, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 34, 59)}, 'Carton_gris': {'main_port_id': 21699089, 'sub_port_id': 21699129, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14229288, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 34, 59)}, 'Carton_brun': {'main_port_id': 21699089, 'sub_port_id': 21699130, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14229289, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 34, 59)}, 'papier': {'main_port_id': 21699089, 'sub_port_id': 21699131, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14229290, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 34, 59)}, 'plastique': {'main_port_id': 21699089, 'sub_port_id': 21699132, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14229291, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 34, 59)}, 'mal_croppe': {'main_port_id': 21699089, 'sub_port_id': 21699133, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14229292, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 34, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 21699089, 'sub_port_id': 21699134, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14229293, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 34, 59)}, 'metal': {'main_port_id': 21699089, 'sub_port_id': 21699135, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14229294, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 34, 59)}, 'autre_refus': {'main_port_id': 21699089, 'sub_port_id': 21699136, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14229295, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 34, 59)}, 'cartonnette': {'main_port_id': 21699089, 'sub_port_id': 21699137, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14229296, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 34, 59)}, 'flou': {'main_port_id': 21699089, 'sub_port_id': 21699138, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14229297, 'last_updated_at': datetime.datetime(2025, 3, 25, 16, 46, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 25, 16, 46, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 25, 16, 34, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21699127,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21699115 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21699128,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21699116 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21699129,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21699117 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21699130,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21699118 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21699131,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21699119 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21699132,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21699120 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21699133,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21699121 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21699134,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21699122 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21699135,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21699123 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21699136,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21699124 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21699137,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21699125 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21699138,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21699126 lien utilise dans velours : https://www.fotonower.com/velours/21699127,21699128,21699129,21699130,21699131,21699132,21699133,21699134,21699135,21699136,21699137,21699138?tags=environnement,kraft,Carton_gris,Carton_brun,papier,plastique,mal_croppe,Teint_Dans_La_Masse,metal,autre_refus,cartonnette,flou After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21699089]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1347234560, 1347234469, 1347234451, 1347234412, 1347234394, 1347234358, 1347234327] map_info['map_portfolio_photo'] : {21699089: [1347234560, 1347234469, 1347234451, 1347234412, 1347234394, 1347234358, 1347234327, 1347234109, 1347234106, 1347234096, 1347234093, 1347234085, 1347234038, 1347234031, 1347234027, 1347234024, 1347234023, 1347234019, 1347233910, 1347233878, 1347233850, 1347233826, 1347233783, 1347233719, 1347233682, 1347233665, 1347233656, 1347233651, 1347233647, 1347233581, 1347233577, 1347233572, 1347233569, 1347233529, 1347233526, 1347233522, 1347233517, 1347233513, 1347233504, 1347233470, 1347233467, 1347233463, 1347233461, 1347233348, 1347233340, 1347233325, 1347233294, 1347233290, 1347233276, 1347233272, 1347233268, 1347233231, 1347233162, 1347233127, 1347233122, 1347233113, 1347233013, 1347232993, 1347232961, 1347232945, 1347232884, 1347232802, 1347232713, 1347232708, 1347232703, 1347232699, 1347232696, 1347232644, 1347232640, 1347232634, 1347232616, 1347232571, 1347232409, 1347232405, 1347232400, 1347232396]} final : False mtd_id 4302 list_pids : [1347234560, 1347234469, 1347234451, 1347234412, 1347234394, 1347234358, 1347234327] Looping around the photos to save general results len do output : 1 /21699089. 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, '2689911') ('4302', '21699089', '1347234560', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234469', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234451', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234412', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234394', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234358', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234327', None, None, None, None, None, '2689911') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 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, '21699089', "{'environnement': 21699115, 'kraft': 21699116, 'Carton_gris': 21699117, 'Carton_brun': 21699118, 'papier': 21699119, 'plastique': 21699120, 'mal_croppe': 21699121, 'Teint_Dans_La_Masse': 21699122, 'metal': 21699123, 'autre_refus': 21699124, 'cartonnette': 21699125, 'flou': 21699126}", None, None, None, None, '2689911'), ('4302', '21699089', '1347234560', None, None, None, None, None, '2689911'), ('4302', '21699089', '1347234469', None, None, None, None, None, '2689911'), ('4302', '21699089', '1347234451', None, None, None, None, None, '2689911'), ('4302', '21699089', '1347234412', None, None, None, None, None, '2689911'), ('4302', '21699089', '1347234394', None, None, None, None, None, '2689911'), ('4302', '21699089', '1347234358', None, None, None, None, None, '2689911'), ('4302', '21699089', '1347234327', None, None, None, None, None, '2689911')] time used for this insertion : 0.013742923736572266 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5021607875823975 time spend to save output : 0.014042139053344727 total time spend for step 1 : 1.5162029266357422 step2:final Tue Mar 25 16:48:59 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 (21699089) 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 21699089 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1347232409,1347232405,1347232400,1347232396,1347232644,1347232640,1347232634,1347232616,1347232571,1347232713,1347232708,1347232703,1347232699,1347232696,1347233013,1347232993,1347232961,1347232945,1347232884,1347232802,1347233162,1347233127,1347233122,1347233113,1347233294,1347233290,1347233276,1347233272,1347233268,1347233231,1347233348,1347233340,1347233325,1347233470,1347233467,1347233463,1347233461,1347233529,1347233526,1347233522,1347233517,1347233513,1347233504,1347233581,1347233577,1347233572,1347233569,1347233719,1347233682,1347233665,1347233656,1347233651,1347233647,1347233910,1347233878,1347233850,1347233826,1347233783,1347234038,1347234031,1347234027,1347234024,1347234023,1347234019,1347234109,1347234106,1347234096,1347234093,1347234085,1347234469,1347234451,1347234412,1347234394,1347234358,1347234327,1347234560); 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([21699089]) Inside saveOutput : final : False verbose : True original output for save of step final : {1347234560: ('0.04860963579605444',), 1347234469: ('0.04860963579605444',), 1347234451: ('0.04860963579605444',), 1347234412: ('0.04860963579605444',), 1347234394: ('0.04860963579605444',), 1347234358: ('0.04860963579605444',), 1347234327: ('0.04860963579605444',)} new output for save of step final : {1347234560: ('0.04860963579605444',), 1347234469: ('0.04860963579605444',), 1347234451: ('0.04860963579605444',), 1347234412: ('0.04860963579605444',), 1347234394: ('0.04860963579605444',), 1347234358: ('0.04860963579605444',), 1347234327: ('0.04860963579605444',)} [1347234560, 1347234469, 1347234451, 1347234412, 1347234394, 1347234358, 1347234327] map_info['map_portfolio_photo'] : {21699089: [1347234560, 1347234469, 1347234451, 1347234412, 1347234394, 1347234358, 1347234327, 1347234109, 1347234106, 1347234096, 1347234093, 1347234085, 1347234038, 1347234031, 1347234027, 1347234024, 1347234023, 1347234019, 1347233910, 1347233878, 1347233850, 1347233826, 1347233783, 1347233719, 1347233682, 1347233665, 1347233656, 1347233651, 1347233647, 1347233581, 1347233577, 1347233572, 1347233569, 1347233529, 1347233526, 1347233522, 1347233517, 1347233513, 1347233504, 1347233470, 1347233467, 1347233463, 1347233461, 1347233348, 1347233340, 1347233325, 1347233294, 1347233290, 1347233276, 1347233272, 1347233268, 1347233231, 1347233162, 1347233127, 1347233122, 1347233113, 1347233013, 1347232993, 1347232961, 1347232945, 1347232884, 1347232802, 1347232713, 1347232708, 1347232703, 1347232699, 1347232696, 1347232644, 1347232640, 1347232634, 1347232616, 1347232571, 1347232409, 1347232405, 1347232400, 1347232396]} final : False mtd_id 4302 list_pids : [1347234560, 1347234469, 1347234451, 1347234412, 1347234394, 1347234358, 1347234327] Looping around the photos to save general results len do output : 7 /1347234560.Didn't retrieve data . /1347234469.Didn't retrieve data . /1347234451.Didn't retrieve data . /1347234412.Didn't retrieve data . /1347234394.Didn't retrieve data . /1347234358.Didn't retrieve data . /1347234327.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, '2689911') ('4302', '21699089', '1347234560', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234469', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234451', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234412', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234394', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234358', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234327', None, None, None, None, None, '2689911') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 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', '21699089', '1347234560', '0.04860963579605444', None, None, None, None, '2689911'), ('4302', '21699089', '1347234469', '0.04860963579605444', None, None, None, None, '2689911'), ('4302', '21699089', '1347234451', '0.04860963579605444', None, None, None, None, '2689911'), ('4302', '21699089', '1347234412', '0.04860963579605444', None, None, None, None, '2689911'), ('4302', '21699089', '1347234394', '0.04860963579605444', None, None, None, None, '2689911'), ('4302', '21699089', '1347234358', '0.04860963579605444', None, None, None, None, '2689911'), ('4302', '21699089', '1347234327', '0.04860963579605444', None, None, None, None, '2689911')] time used for this insertion : 0.012615680694580078 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07996344566345215 time spend to save output : 0.01303410530090332 total time spend for step 2 : 0.09299755096435547 step3:velours_tree Tue Mar 25 16:48:59 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 : {21699089: [{'environnement': 21699115, 'kraft': 21699116, 'Carton_gris': 21699117, 'Carton_brun': 21699118, 'papier': 21699119, 'plastique': 21699120, 'mal_croppe': 21699121, 'Teint_Dans_La_Masse': 21699122, 'metal': 21699123, 'autre_refus': 21699124, 'cartonnette': 21699125, 'flou': 21699126}]} input_args_next_step : {21699089: ()} output_args : {21699089: [{'environnement': 21699115, 'kraft': 21699116, 'Carton_gris': 21699117, 'Carton_brun': 21699118, 'papier': 21699119, 'plastique': 21699120, 'mal_croppe': 21699121, 'Teint_Dans_La_Masse': 21699122, 'metal': 21699123, 'autre_refus': 21699124, 'cartonnette': 21699125, 'flou': 21699126}]} args : 21699089 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'environnement': 21699115, 'kraft': 21699116, 'Carton_gris': 21699117, 'Carton_brun': 21699118, 'papier': 21699119, 'plastique': 21699120, 'mal_croppe': 21699121, 'Teint_Dans_La_Masse': 21699122, 'metal': 21699123, 'autre_refus': 21699124, 'cartonnette': 21699125, 'flou': 21699126},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21699089) 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([21699089]) 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.3028836250305176 time spend to save output : 5.5789947509765625e-05 total time spend for step 3 : 0.30293941497802734 step4:send_mail_cod Tue Mar 25 16:48:59 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 : {1347234560: ('0.04860963579605444',), 1347234469: ('0.04860963579605444',), 1347234451: ('0.04860963579605444',), 1347234412: ('0.04860963579605444',), 1347234394: ('0.04860963579605444',), 1347234358: ('0.04860963579605444',), 1347234327: ('0.04860963579605444',)} input_args_next_step : {1347234560: ()} output_args : {1347234560: ('0.04860963579605444',), 1347234469: ('0.04860963579605444',), 1347234451: ('0.04860963579605444',), 1347234412: ('0.04860963579605444',), 1347234394: ('0.04860963579605444',), 1347234358: ('0.04860963579605444',), 1347234327: ('0.04860963579605444',)} args : 1347234560 depend.output_id : 0 input_args_next_step : {1347234560: ('0.04860963579605444',), 1347234469: ()} output_args : {1347234560: ('0.04860963579605444',), 1347234469: ('0.04860963579605444',), 1347234451: ('0.04860963579605444',), 1347234412: ('0.04860963579605444',), 1347234394: ('0.04860963579605444',), 1347234358: ('0.04860963579605444',), 1347234327: ('0.04860963579605444',)} args : 1347234469 depend.output_id : 0 input_args_next_step : {1347234560: ('0.04860963579605444',), 1347234469: ('0.04860963579605444',), 1347234451: ()} output_args : {1347234560: ('0.04860963579605444',), 1347234469: ('0.04860963579605444',), 1347234451: ('0.04860963579605444',), 1347234412: ('0.04860963579605444',), 1347234394: ('0.04860963579605444',), 1347234358: ('0.04860963579605444',), 1347234327: ('0.04860963579605444',)} args : 1347234451 depend.output_id : 0 input_args_next_step : {1347234560: ('0.04860963579605444',), 1347234469: ('0.04860963579605444',), 1347234451: ('0.04860963579605444',), 1347234412: ()} output_args : {1347234560: ('0.04860963579605444',), 1347234469: ('0.04860963579605444',), 1347234451: ('0.04860963579605444',), 1347234412: ('0.04860963579605444',), 1347234394: ('0.04860963579605444',), 1347234358: ('0.04860963579605444',), 1347234327: ('0.04860963579605444',)} args : 1347234412 depend.output_id : 0 input_args_next_step : {1347234560: ('0.04860963579605444',), 1347234469: ('0.04860963579605444',), 1347234451: ('0.04860963579605444',), 1347234412: ('0.04860963579605444',), 1347234394: ()} output_args : {1347234560: ('0.04860963579605444',), 1347234469: ('0.04860963579605444',), 1347234451: ('0.04860963579605444',), 1347234412: ('0.04860963579605444',), 1347234394: ('0.04860963579605444',), 1347234358: ('0.04860963579605444',), 1347234327: ('0.04860963579605444',)} args : 1347234394 depend.output_id : 0 input_args_next_step : {1347234560: ('0.04860963579605444',), 1347234469: ('0.04860963579605444',), 1347234451: ('0.04860963579605444',), 1347234412: ('0.04860963579605444',), 1347234394: ('0.04860963579605444',), 1347234358: ()} output_args : {1347234560: ('0.04860963579605444',), 1347234469: ('0.04860963579605444',), 1347234451: ('0.04860963579605444',), 1347234412: ('0.04860963579605444',), 1347234394: ('0.04860963579605444',), 1347234358: ('0.04860963579605444',), 1347234327: ('0.04860963579605444',)} args : 1347234358 depend.output_id : 0 input_args_next_step : {1347234560: ('0.04860963579605444',), 1347234469: ('0.04860963579605444',), 1347234451: ('0.04860963579605444',), 1347234412: ('0.04860963579605444',), 1347234394: ('0.04860963579605444',), 1347234358: ('0.04860963579605444',), 1347234327: ()} output_args : {1347234560: ('0.04860963579605444',), 1347234469: ('0.04860963579605444',), 1347234451: ('0.04860963579605444',), 1347234412: ('0.04860963579605444',), 1347234394: ('0.04860963579605444',), 1347234358: ('0.04860963579605444',), 1347234327: ('0.04860963579605444',)} args : 1347234327 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 : {21699089: [{'environnement': 21699115, 'kraft': 21699116, 'Carton_gris': 21699117, 'Carton_brun': 21699118, 'papier': 21699119, 'plastique': 21699120, 'mal_croppe': 21699121, 'Teint_Dans_La_Masse': 21699122, 'metal': 21699123, 'autre_refus': 21699124, 'cartonnette': 21699125, 'flou': 21699126}]} input_args_next_step : {1347234560: ('0.04860963579605444',), 1347234469: ('0.04860963579605444',), 1347234451: ('0.04860963579605444',), 1347234412: ('0.04860963579605444',), 1347234394: ('0.04860963579605444',), 1347234358: ('0.04860963579605444',), 1347234327: ('0.04860963579605444',), 21699089: ()} output_args : {21699089: [{'environnement': 21699115, 'kraft': 21699116, 'Carton_gris': 21699117, 'Carton_brun': 21699118, 'papier': 21699119, 'plastique': 21699120, 'mal_croppe': 21699121, 'Teint_Dans_La_Masse': 21699122, 'metal': 21699123, 'autre_refus': 21699124, 'cartonnette': 21699125, 'flou': 21699126}]} args : 21699089 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 :8, first value : ('0.04860963579605444',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21699089) 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 (1347234560,1347234469,1347234451,1347234412,1347234394,1347234358,1347234327) Found this number of photos: 7 ##### Call download_photos : nb_thread : 5 begin to download photo : 1347234327 begin to download photo : 1347234394 begin to download photo : 1347234451 begin to download photo : 1347234560 download finish for photo 1347234327 begin to download photo : 1347234358 download finish for photo 1347234451 begin to download photo : 1347234469 download finish for photo 1347234560 download finish for photo 1347234394 begin to download photo : 1347234412 download finish for photo 1347234358 download finish for photo 1347234469 download finish for photo 1347234412 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 7 ; length of list_pids : 7 ; length of list_args : 7 results_Auto_P21699089_25-03-2025_16_48_59.pdf 21699116 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=21699116 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347233347: '1742917013_742296_1347232571_944ef991362d176bb86bde7286ae65ba_rle_crop_3729400470_0.png', 1347233506: '1742917151_744169_1347233162_13bbc6470f403206c33139ba531ab814_rle_crop_3729401191_0.png', 1347233507: '1742917151_744169_1347232945_bdd876d3edceb042665d2b79941b41d2_rle_crop_3729401227_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/5ad0e2ce929ee6df5f4d5fb0807a1e16_37972953.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/d57576b9f45c88b99f2cd47c80aa92a0_79997059.png change filename to text .imagette216991161742917739/ imagette216991161742917739/1742917151_744169_1347233162_13bbc6470f403206c33139ba531ab814_rle_crop_3729401191_0.png.png imagette216991161742917739/1742917151_744169_1347232945_bdd876d3edceb042665d2b79941b41d2_rle_crop_3729401227_0.png.png imagette216991161742917739/1742917013_742296_1347232571_944ef991362d176bb86bde7286ae65ba_rle_crop_3729400470_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/4b93b4944d4d2d7b299c7e858191064e_36689526.png imagette216991161742917739 21699120 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=21699120 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347233345: '1742917013_742296_1347232616_059a1811ce6bd33278baeb85c1505d7f_rle_crop_3729400431_0.png', 1347233346: '1742917013_742296_1347232571_944ef991362d176bb86bde7286ae65ba_rle_crop_3729400475_0.png', 1347233499: '1742917151_744169_1347232884_86513bd1cdf69eb74a7920553789e972_rle_crop_3729401258_0.png', 1347233553: '1742917211_745012_1347233340_f37480f4714b0067e36c537380c1a66e_rle_crop_3729401741_0.png', 1347233601: '1742917243_2469347_1347233276_30b49fb3d86747fe3955302f23dc176d_rle_crop_3729402246_0.png', 1347233602: '1742917243_2469347_1347233276_30b49fb3d86747fe3955302f23dc176d_rle_crop_3729402247_0.png', 1347233603: '1742917243_2469347_1347233272_29f7d94e0bb24de4751b3dadda1ba901_rle_crop_3729402268_0.png', 1347234063: '1742917451_747783_1347233719_582d6b0f8d6b6fafd3894864b189a8ba_rle_crop_3729404563_0.png', 1347234091: '1742917483_2474806_1347233656_0548c5fcbe2276442a29196f6e8e1478_rle_crop_3729404882_0.png', 1347234092: '1742917483_2474806_1347233647_1d41838e12bc5cd3696897d6dd11cc3a_rle_crop_3729404898_0.png', 1347234704: '1742917633_749620_1347234106_31801009bcefbdbc99263eb7c8067e8a_rle_crop_3729407238_0.png', 1347234723: '1742917654_749848_1347234031_627c2fe4143c8afa900b0417bbb333ba_rle_crop_3729407356_0.png', 1347234724: '1742917654_749848_1347234024_5e60c397efbea9da123ca7d1f013c4cc_rle_crop_3729407385_0.png', 1347234725: '1742917654_749848_1347234019_8d13ec4c3e41c8d73f4d996820b67929_rle_crop_3729407406_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/fd299dbd446aa073dfb67b33d7b97751_94725034.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/d7beb53e4b636d475cf173c1537f9cde_34529443.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/9a2835adc3cd22511e218a7faf2b1581_83944769.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/236e4a94084a2c1a12c10dfc35caabf3_31097366.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/1d363322d34955d6335255ee2d64e043_39156065.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/2606d5270be8af7e0e6fe7dbee7e8178_8885428.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/7941e6daf584f93cc8bd2be0cb0a38f5_83017114.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/0e1f25d85974af4c4c3013f49ea22e5f_50348259.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/94402af080ffcd9011eb0b8ed95bee19_4061591.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/f0508d3d3ff36be630be5f103af1e5a8_31521989.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/76f73e6892183ce62b2a6ba913fab9fd_40692109.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/c281b56d078d4f42b8f8c7250b43b070_79122076.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/163d9521c9b1ea991643667e710874d2_14665215.png change filename to text .imagette216991201742917740/ imagette216991201742917740/1742917243_2469347_1347233276_30b49fb3d86747fe3955302f23dc176d_rle_crop_3729402247_0.png.png imagette216991201742917740/1742917013_742296_1347232616_059a1811ce6bd33278baeb85c1505d7f_rle_crop_3729400431_0.png.png imagette216991201742917740/1742917654_749848_1347234019_8d13ec4c3e41c8d73f4d996820b67929_rle_crop_3729407406_0.png.png imagette216991201742917740/1742917013_742296_1347232571_944ef991362d176bb86bde7286ae65ba_rle_crop_3729400475_0.png.png imagette216991201742917740/1742917483_2474806_1347233647_1d41838e12bc5cd3696897d6dd11cc3a_rle_crop_3729404898_0.png.png imagette216991201742917740/1742917243_2469347_1347233272_29f7d94e0bb24de4751b3dadda1ba901_rle_crop_3729402268_0.png.png imagette216991201742917740/1742917654_749848_1347234031_627c2fe4143c8afa900b0417bbb333ba_rle_crop_3729407356_0.png.png imagette216991201742917740/1742917483_2474806_1347233656_0548c5fcbe2276442a29196f6e8e1478_rle_crop_3729404882_0.png.png imagette216991201742917740/1742917633_749620_1347234106_31801009bcefbdbc99263eb7c8067e8a_rle_crop_3729407238_0.png.png imagette216991201742917740/1742917211_745012_1347233340_f37480f4714b0067e36c537380c1a66e_rle_crop_3729401741_0.png.png imagette216991201742917740/1742917451_747783_1347233719_582d6b0f8d6b6fafd3894864b189a8ba_rle_crop_3729404563_0.png.png imagette216991201742917740/1742917654_749848_1347234024_5e60c397efbea9da123ca7d1f013c4cc_rle_crop_3729407385_0.png.png imagette216991201742917740/1742917151_744169_1347232884_86513bd1cdf69eb74a7920553789e972_rle_crop_3729401258_0.png.png imagette216991201742917740/1742917243_2469347_1347233276_30b49fb3d86747fe3955302f23dc176d_rle_crop_3729402246_0.png.png imagette216991211742917741/ wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/8352a2aad07af939c5dfd929316dab49_78642943.png imagette216991201742917740 21699121 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=21699121 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette216991211742917741 21699123 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=21699123 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347234728: '1742917654_749848_1347234024_5e60c397efbea9da123ca7d1f013c4cc_rle_crop_3729407378_0.png'} change filename to text .imagette216991231742917741/ imagette216991231742917741/1742917654_749848_1347234024_5e60c397efbea9da123ca7d1f013c4cc_rle_crop_3729407378_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/cb7997314a2c2dcebe2f44e007668ea6_81449913.png imagette216991231742917741 21699124 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=21699124 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347233354: '1742917033_742566_1347232699_83aa812fb068207cd7a93a2967b5396f_rle_crop_3729400495_0.png', 1347233472: '1742917132_743952_1347233127_8d7ec7f5d9b3af5c1603ecc9bf01edb1_rle_crop_3729400771_0.png', 1347233501: '1742917173_744487_1347232699_83aa812fb068207cd7a93a2967b5396f_rle_crop_3729400495_0.png', 1347233584: '1742917243_2469347_1347233272_29f7d94e0bb24de4751b3dadda1ba901_rle_crop_3729402271_0.png', 1347233774: '1742917361_2472129_1347233467_c5d13118bcd56ed7806a493f342c8564_rle_crop_3729403297_0.png', 1347233776: '1742917361_2472129_1347233463_b3851a54031a98208950d16e08b950f6_rle_crop_3729403325_0.png', 1347233805: '1742917338_746922_1347233513_c335c151c642f3fec22bbaf8d27210ec_rle_crop_3729403435_0.png', 1347234057: '1742917451_747783_1347233569_b3cde789f77f1844d68216c4a0a78995_rle_crop_3729404776_0.png', 1347234698: '1742917633_749620_1347234096_fbd6f47052cad8dc9f8e87306b556434_rle_crop_3729407254_0.png', 1347234713: '1742917654_749848_1347234023_ba49832f7ff3dc48d34fc2f228db777b_rle_crop_3729407394_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/8f291a870684575fadb48dd41c235b6d_91191633.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/fc7a6b7ce6fe48cceab83f9d7de9f003_78396731.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/8f291a870684575fadb48dd41c235b6d_45967928.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/db162021d2a82c930656ca8bafef8824_23794876.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/5313af97c8b9e332d11d66df425722e8_41546077.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/5a0b8003bd7cc73332c8d13d39503b28_27070761.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/bcd86431b4f25d7fdffb103cc9c91a9f_45717841.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/3d3194c829eb6a8a4b83813d82eb9e88_67997950.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/4abbd28ef30ad4c2ad513cf19c64cc01_60616792.png change filename to text .imagette216991241742917741/ imagette216991241742917741/1742917654_749848_1347234023_ba49832f7ff3dc48d34fc2f228db777b_rle_crop_3729407394_0.png.png imagette216991241742917741/1742917132_743952_1347233127_8d7ec7f5d9b3af5c1603ecc9bf01edb1_rle_crop_3729400771_0.png.png imagette216991241742917741/1742917633_749620_1347234096_fbd6f47052cad8dc9f8e87306b556434_rle_crop_3729407254_0.png.png imagette216991241742917741/1742917451_747783_1347233569_b3cde789f77f1844d68216c4a0a78995_rle_crop_3729404776_0.png.png imagette216991241742917741/1742917173_744487_1347232699_83aa812fb068207cd7a93a2967b5396f_rle_crop_3729400495_0.png.png imagette216991241742917741/1742917361_2472129_1347233463_b3851a54031a98208950d16e08b950f6_rle_crop_3729403325_0.png.png imagette216991241742917741/1742917243_2469347_1347233272_29f7d94e0bb24de4751b3dadda1ba901_rle_crop_3729402271_0.png.png imagette216991241742917741/1742917033_742566_1347232699_83aa812fb068207cd7a93a2967b5396f_rle_crop_3729400495_0.png.png imagette216991241742917741/1742917338_746922_1347233513_c335c151c642f3fec22bbaf8d27210ec_rle_crop_3729403435_0.png.png imagette216991241742917741/1742917361_2472129_1347233467_c5d13118bcd56ed7806a493f342c8564_rle_crop_3729403297_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/3b8defa518e0f7d37346896c13e96364_66495192.png imagette216991241742917741 21699125 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=21699125 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347233510: '1742917173_744487_1347232703_4829d14b5fb2643d5d7dfadce389e9d8_rle_crop_3729400484_0.png', 1347234720: '1742917654_749848_1347234031_627c2fe4143c8afa900b0417bbb333ba_rle_crop_3729407354_0.png', 1347234699: '1742917633_749620_1347234106_31801009bcefbdbc99263eb7c8067e8a_rle_crop_3729407241_0.png', 1347234088: '1742917483_2474806_1347233682_0b6ddda847a8e61066fe4205f62de4b0_rle_crop_3729404792_0.png', 1347233819: '1742917361_2472129_1347233467_c5d13118bcd56ed7806a493f342c8564_rle_crop_3729403296_0.png', 1347233817: '1742917361_2472129_1347233529_f1300922c04d0579f6f382864f18986b_rle_crop_3729403169_0.png', 1347233815: '1742917361_2472129_1347233529_f1300922c04d0579f6f382864f18986b_rle_crop_3729403171_0.png', 1347233594: '1742917243_2469347_1347233231_40ca765f1ccc297b27581b33567f646f_rle_crop_3729402327_0.png', 1347233593: '1742917243_2469347_1347233290_51e19977a30699d782174420be8d8cf2_rle_crop_3729402222_0.png', 1347233548: '1742917211_745012_1347233325_c28cca16c0f325aae6f6e8f6fe5f30ef_rle_crop_3729401748_0.png', 1347233017: '1742916873_738850_1347232409_313858347d09105bc7c00047296aba3b_rle_crop_3729397558_0.png', 1347233509: '1742917173_744487_1347232708_e63b741094d9fc4d6793134c396ececf_rle_crop_3729400441_0.png', 1347233508: '1742917173_744487_1347232708_e63b741094d9fc4d6793134c396ececf_rle_crop_3729400440_0.png', 1347233497: '1742917151_744169_1347232802_572f6174a728f60a402a4b5973ae7bda_rle_crop_3729401277_0.png', 1347233496: '1742917151_744169_1347233162_13bbc6470f403206c33139ba531ab814_rle_crop_3729401196_0.png', 1347233357: '1742917033_742566_1347232703_4829d14b5fb2643d5d7dfadce389e9d8_rle_crop_3729400484_0.png', 1347233356: '1742917033_742566_1347232708_e63b741094d9fc4d6793134c396ececf_rle_crop_3729400441_0.png', 1347233355: '1742917033_742566_1347232708_e63b741094d9fc4d6793134c396ececf_rle_crop_3729400440_0.png', 1347233342: '1742917013_742296_1347232713_cb93e4ce2d601c9ade7115e172c99cbf_rle_crop_3729399939_0.png', 1347233018: '1742916873_738850_1347232400_dda79d8c65255f555f112ed872d3d03d_rle_crop_3729397639_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/2ebe5f3b43753e756d1ba714b5f470b5_25231610.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/ee5fb557bbef545f650eec7f260fea6a_54860627.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/c6ebf1d6ef4efa41480c2a16c98444ea_71548533.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/eb4950ad8b93770ac5695acc875b7a87_67515735.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/e2ddb55eb86d6bbe38d55d7ad841ae0d_75047124.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/4b830a536c6aad46bdfa52089adbc0ea_66156870.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/3bc6e95cba4437f5210261294f53b94e_15914769.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/761c334af375d689763fa7f1291e7df3_4612252.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/195f417987cc2fb78785bf051a32ceb6_28149819.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/7396657f3f01bbc14454768699239e71_840791.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/737909a42d8ed1b093526754cc05eb49_34346470.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/e5eb04a2295c01795b98c490a4e0289a_32658936.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/7bf611cdf1a15ca0fb24e648c1e5d01e_89098901.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/4cde37b627907883886728887fc3b0cb_90778903.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/0f803f6ea92f416851b47e4d0a133b7e_26520164.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/2ebe5f3b43753e756d1ba714b5f470b5_79395437.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/e5eb04a2295c01795b98c490a4e0289a_21533529.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/7bf611cdf1a15ca0fb24e648c1e5d01e_97838375.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/4747d44541d6a28e99c31c4877a0d2d1_85389887.png change filename to text .imagette216991251742917741/ imagette216991251742917741/1742917654_749848_1347234031_627c2fe4143c8afa900b0417bbb333ba_rle_crop_3729407354_0.png.png imagette216991251742917741/1742917173_744487_1347232708_e63b741094d9fc4d6793134c396ececf_rle_crop_3729400441_0.png.png imagette216991251742917741/1742917173_744487_1347232708_e63b741094d9fc4d6793134c396ececf_rle_crop_3729400440_0.png.png imagette216991251742917741/1742917173_744487_1347232703_4829d14b5fb2643d5d7dfadce389e9d8_rle_crop_3729400484_0.png.png imagette216991251742917741/1742917633_749620_1347234106_31801009bcefbdbc99263eb7c8067e8a_rle_crop_3729407241_0.png.png imagette216991251742917741/1742917211_745012_1347233325_c28cca16c0f325aae6f6e8f6fe5f30ef_rle_crop_3729401748_0.png.png imagette216991251742917741/1742917361_2472129_1347233529_f1300922c04d0579f6f382864f18986b_rle_crop_3729403171_0.png.png imagette216991251742917741/1742916873_738850_1347232400_dda79d8c65255f555f112ed872d3d03d_rle_crop_3729397639_0.png.png imagette216991251742917741/1742917033_742566_1347232708_e63b741094d9fc4d6793134c396ececf_rle_crop_3729400441_0.png.png imagette216991251742917741/1742917483_2474806_1347233682_0b6ddda847a8e61066fe4205f62de4b0_rle_crop_3729404792_0.png.png imagette216991251742917741/1742917243_2469347_1347233290_51e19977a30699d782174420be8d8cf2_rle_crop_3729402222_0.png.png imagette216991251742917741/1742917151_744169_1347232802_572f6174a728f60a402a4b5973ae7bda_rle_crop_3729401277_0.png.png imagette216991251742917741/1742917033_742566_1347232703_4829d14b5fb2643d5d7dfadce389e9d8_rle_crop_3729400484_0.png.png imagette216991251742917741/1742916873_738850_1347232409_313858347d09105bc7c00047296aba3b_rle_crop_3729397558_0.png.png imagette216991251742917741/1742917361_2472129_1347233529_f1300922c04d0579f6f382864f18986b_rle_crop_3729403169_0.png.png imagette216991251742917741/1742917243_2469347_1347233231_40ca765f1ccc297b27581b33567f646f_rle_crop_3729402327_0.png.png imagette216991251742917741/1742917361_2472129_1347233467_c5d13118bcd56ed7806a493f342c8564_rle_crop_3729403296_0.png.png imagette216991251742917741/1742917033_742566_1347232708_e63b741094d9fc4d6793134c396ececf_rle_crop_3729400440_0.png.png imagette216991251742917741/1742917151_744169_1347233162_13bbc6470f403206c33139ba531ab814_rle_crop_3729401196_0.png.png imagette216991251742917741/1742917013_742296_1347232713_cb93e4ce2d601c9ade7115e172c99cbf_rle_crop_3729399939_0.png.png imagette216991261742917742/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/0d8f4fdc0bb6a2054a8b01c0d213d26d_3757194.png imagette216991251742917741 21699126 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=21699126 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette216991261742917742 21699117 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=21699117 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347233823: '1742917338_746922_1347233517_8147b51fff3aaa71877d32209385447b_rle_crop_3729403363_0.png', 1347234718: '1742917654_749848_1347234019_8d13ec4c3e41c8d73f4d996820b67929_rle_crop_3729407404_0.png', 1347234717: '1742917654_749848_1347234019_8d13ec4c3e41c8d73f4d996820b67929_rle_crop_3729407403_0.png', 1347234716: '1742917654_749848_1347234024_5e60c397efbea9da123ca7d1f013c4cc_rle_crop_3729407377_0.png', 1347234715: '1742917654_749848_1347234031_627c2fe4143c8afa900b0417bbb333ba_rle_crop_3729407360_0.png', 1347234084: '1742917483_2474806_1347233665_8dcb0c949930ddbaf1da0f818526a2a4_rle_crop_3729404867_0.png', 1347234083: '1742917483_2474806_1347233665_8dcb0c949930ddbaf1da0f818526a2a4_rle_crop_3729404871_0.png', 1347234061: '1742917451_747783_1347233719_582d6b0f8d6b6fafd3894864b189a8ba_rle_crop_3729404564_0.png', 1347234060: '1742917451_747783_1347233719_582d6b0f8d6b6fafd3894864b189a8ba_rle_crop_3729404560_0.png', 1347234059: '1742917451_747783_1347233719_582d6b0f8d6b6fafd3894864b189a8ba_rle_crop_3729404565_0.png', 1347233824: '1742917338_746922_1347233513_c335c151c642f3fec22bbaf8d27210ec_rle_crop_3729403429_0.png', 1347233016: '1742916873_738850_1347232400_dda79d8c65255f555f112ed872d3d03d_rle_crop_3729397634_0.png', 1347233822: '1742917338_746922_1347233517_8147b51fff3aaa71877d32209385447b_rle_crop_3729403356_0.png', 1347233821: '1742917338_746922_1347233517_8147b51fff3aaa71877d32209385447b_rle_crop_3729403353_0.png', 1347233807: '1742917361_2472129_1347233461_35656c5a20041db5a1ff182e4dd9c1f6_rle_crop_3729403339_0.png', 1347233804: '1742917361_2472129_1347233467_c5d13118bcd56ed7806a493f342c8564_rle_crop_3729403303_0.png', 1347233802: '1742917361_2472129_1347233529_f1300922c04d0579f6f382864f18986b_rle_crop_3729403173_0.png', 1347233800: '1742917361_2472129_1347233529_f1300922c04d0579f6f382864f18986b_rle_crop_3729403168_0.png', 1347233587: '1742917243_2469347_1347233268_e66a4ebe85d96f13cc5ccb5f2a39434a_rle_crop_3729402317_0.png', 1347233547: '1742917211_745012_1347233325_c28cca16c0f325aae6f6e8f6fe5f30ef_rle_crop_3729401750_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/dd98cbd422659120e6daf746ea908628_65375596.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/1c978f22cbea498cbfc307a18ace5c96_39961702.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/bd43e7c5facf3be1ab221e0b438f0321_36063865.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/fe89dbc4319f88aba48356d75757829a_67800320.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/f688d76ee05762a7e30defa61e0ebaf5_12513665.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/3919a587a8562a4c103cc5aa12e3caeb_5667534.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/f7014b07d33ec0cdb4d02bb98f500d07_92538780.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/cc37a793db88225f4d5a7d80c0269e73_93613784.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/c794c04cf87ae9963285ce9c83d0931f_23627587.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/d5ffdb434b07adf8c29427f7ea42d1c3_40104962.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/19ba9ba1f87007c1c89fc040b8855783_41545625.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/21f9a70ba275df1d5d2006a1e7255077_34391175.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/82440bf15227bc313493316bf85a015a_74809187.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/92ec32d76c699704bfb832ca5f919727_78113509.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/45427a7fa1b54f60b922e7652828dfda_69911554.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/06fd61d0b03c715cbc55e339d255c97b_7847443.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/008fa25f518624d548d4f616a3bd912b_41743177.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/da28f31188422ac5434ce287a25a98c7_38732714.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/2e7c530afebf57cb5c9a6959fad24fae_4972983.png change filename to text .imagette216991171742917742/ imagette216991171742917742/1742917451_747783_1347233719_582d6b0f8d6b6fafd3894864b189a8ba_rle_crop_3729404565_0.png.png imagette216991171742917742/1742917338_746922_1347233517_8147b51fff3aaa71877d32209385447b_rle_crop_3729403353_0.png.png imagette216991171742917742/1742917654_749848_1347234024_5e60c397efbea9da123ca7d1f013c4cc_rle_crop_3729407377_0.png.png imagette216991171742917742/1742917654_749848_1347234031_627c2fe4143c8afa900b0417bbb333ba_rle_crop_3729407360_0.png.png imagette216991171742917742/1742917451_747783_1347233719_582d6b0f8d6b6fafd3894864b189a8ba_rle_crop_3729404564_0.png.png imagette216991171742917742/1742917338_746922_1347233517_8147b51fff3aaa71877d32209385447b_rle_crop_3729403356_0.png.png imagette216991171742917742/1742917654_749848_1347234019_8d13ec4c3e41c8d73f4d996820b67929_rle_crop_3729407404_0.png.png imagette216991171742917742/1742917243_2469347_1347233268_e66a4ebe85d96f13cc5ccb5f2a39434a_rle_crop_3729402317_0.png.png imagette216991171742917742/1742917211_745012_1347233325_c28cca16c0f325aae6f6e8f6fe5f30ef_rle_crop_3729401750_0.png.png imagette216991171742917742/1742917361_2472129_1347233461_35656c5a20041db5a1ff182e4dd9c1f6_rle_crop_3729403339_0.png.png imagette216991171742917742/1742917361_2472129_1347233529_f1300922c04d0579f6f382864f18986b_rle_crop_3729403173_0.png.png imagette216991171742917742/1742917361_2472129_1347233467_c5d13118bcd56ed7806a493f342c8564_rle_crop_3729403303_0.png.png imagette216991171742917742/1742916873_738850_1347232400_dda79d8c65255f555f112ed872d3d03d_rle_crop_3729397634_0.png.png imagette216991171742917742/1742917338_746922_1347233513_c335c151c642f3fec22bbaf8d27210ec_rle_crop_3729403429_0.png.png imagette216991171742917742/1742917483_2474806_1347233665_8dcb0c949930ddbaf1da0f818526a2a4_rle_crop_3729404867_0.png.png imagette216991171742917742/1742917654_749848_1347234019_8d13ec4c3e41c8d73f4d996820b67929_rle_crop_3729407403_0.png.png imagette216991171742917742/1742917451_747783_1347233719_582d6b0f8d6b6fafd3894864b189a8ba_rle_crop_3729404560_0.png.png imagette216991171742917742/1742917361_2472129_1347233529_f1300922c04d0579f6f382864f18986b_rle_crop_3729403168_0.png.png imagette216991171742917742/1742917483_2474806_1347233665_8dcb0c949930ddbaf1da0f818526a2a4_rle_crop_3729404871_0.png.png imagette216991171742917742/1742917338_746922_1347233517_8147b51fff3aaa71877d32209385447b_rle_crop_3729403363_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/7ddde1ac4ac4563d80a0e0d0960bcad6_82708674.png imagette216991171742917742 21699118 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=21699118 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347233021: '1742916873_738850_1347232400_dda79d8c65255f555f112ed872d3d03d_rle_crop_3729397632_0.png', 1347233022: '1742916873_738850_1347232400_dda79d8c65255f555f112ed872d3d03d_rle_crop_3729397638_0.png', 1347233344: '1742917013_742296_1347232634_84e35d9784dddec781eca80c148335ba_rle_crop_3729400423_0.png', 1347233498: '1742917151_744169_1347232993_ed17dee3d1c708e4fea6090c5fdd491b_rle_crop_3729401215_0.png', 1347233552: '1742917211_745012_1347233340_f37480f4714b0067e36c537380c1a66e_rle_crop_3729401739_0.png', 1347233596: '1742917243_2469347_1347233272_29f7d94e0bb24de4751b3dadda1ba901_rle_crop_3729402270_0.png', 1347233597: '1742917243_2469347_1347233231_40ca765f1ccc297b27581b33567f646f_rle_crop_3729402328_0.png', 1347233598: '1742917243_2469347_1347233231_40ca765f1ccc297b27581b33567f646f_rle_crop_3729402330_0.png', 1347233832: '1742917361_2472129_1347233529_f1300922c04d0579f6f382864f18986b_rle_crop_3729403172_0.png', 1347234062: '1742917451_747783_1347233719_582d6b0f8d6b6fafd3894864b189a8ba_rle_crop_3729404569_0.png', 1347234089: '1742917483_2474806_1347233665_8dcb0c949930ddbaf1da0f818526a2a4_rle_crop_3729404868_0.png', 1347234703: '1742917633_749620_1347234096_fbd6f47052cad8dc9f8e87306b556434_rle_crop_3729407260_0.png', 1347234721: '1742917654_749848_1347234109_7e8e6f60fe3317fa2fb6953193a66f05_rle_crop_3729407345_0.png', 1347234722: '1742917654_749848_1347234024_5e60c397efbea9da123ca7d1f013c4cc_rle_crop_3729407381_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/ab67104bd788ca342e935d9791ec52a0_12420943.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/19593ec2df1e7a87957bb507e46ae32c_40380958.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/d9760f496f3065ee87cda738acc8051f_47992599.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/81e5ea2cf5d32921be48234fb76714a5_45148163.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/234cad8c4cef4ac2b1866925b307a921_19428767.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/5e6381708a0d244e546458abdc6d7243_45448605.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/687603f9783af66194d75848c237aac2_80797332.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/8b836f2606fe219326321d63c5ed1cb6_38200157.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/e1f3677555d8df52ceee1456dfad1867_89599053.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/60a9e1c32f7cabddb386c71fe3bf75b8_48845056.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/663aeb3c87eb977c26592cd8595edff4_18807964.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/528b77fc55107aae398f30be973a7b99_27094491.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/ebe18d39b14cc660ebe63f86684696ad_29140536.png change filename to text .imagette216991181742917744/ imagette216991181742917744/1742917633_749620_1347234096_fbd6f47052cad8dc9f8e87306b556434_rle_crop_3729407260_0.png.png imagette216991181742917744/1742917451_747783_1347233719_582d6b0f8d6b6fafd3894864b189a8ba_rle_crop_3729404569_0.png.png imagette216991181742917744/1742916873_738850_1347232400_dda79d8c65255f555f112ed872d3d03d_rle_crop_3729397638_0.png.png imagette216991181742917744/1742917151_744169_1347232993_ed17dee3d1c708e4fea6090c5fdd491b_rle_crop_3729401215_0.png.png imagette216991181742917744/1742917654_749848_1347234109_7e8e6f60fe3317fa2fb6953193a66f05_rle_crop_3729407345_0.png.png imagette216991181742917744/1742917654_749848_1347234024_5e60c397efbea9da123ca7d1f013c4cc_rle_crop_3729407381_0.png.png imagette216991181742917744/1742917211_745012_1347233340_f37480f4714b0067e36c537380c1a66e_rle_crop_3729401739_0.png.png imagette216991181742917744/1742917361_2472129_1347233529_f1300922c04d0579f6f382864f18986b_rle_crop_3729403172_0.png.png imagette216991181742917744/1742917013_742296_1347232634_84e35d9784dddec781eca80c148335ba_rle_crop_3729400423_0.png.png imagette216991181742917744/1742916873_738850_1347232400_dda79d8c65255f555f112ed872d3d03d_rle_crop_3729397632_0.png.png imagette216991181742917744/1742917243_2469347_1347233231_40ca765f1ccc297b27581b33567f646f_rle_crop_3729402328_0.png.png imagette216991181742917744/1742917243_2469347_1347233272_29f7d94e0bb24de4751b3dadda1ba901_rle_crop_3729402270_0.png.png imagette216991181742917744/1742917483_2474806_1347233665_8dcb0c949930ddbaf1da0f818526a2a4_rle_crop_3729404868_0.png.png imagette216991181742917744/1742917243_2469347_1347233231_40ca765f1ccc297b27581b33567f646f_rle_crop_3729402330_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/6c98f6895d1b95aa8e8575808a9e75c1_60231809.png imagette216991181742917744 21699122 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=21699122 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347233767: '1742917361_2472129_1347233461_35656c5a20041db5a1ff182e4dd9c1f6_rle_crop_3729403345_0.png', 1347234712: '1742917654_749848_1347234019_8d13ec4c3e41c8d73f4d996820b67929_rle_crop_3729407405_0.png', 1347234711: '1742917654_749848_1347234109_7e8e6f60fe3317fa2fb6953193a66f05_rle_crop_3729407349_0.png', 1347234605: '1742917633_749620_1347234106_31801009bcefbdbc99263eb7c8067e8a_rle_crop_3729407244_0.png', 1347233795: '1742917338_746922_1347233513_c335c151c642f3fec22bbaf8d27210ec_rle_crop_3729403437_0.png', 1347233794: '1742917338_746922_1347233522_52be06af2213fde1254a9a6ece1f7bf0_rle_crop_3729403316_0.png', 1347233793: '1742917338_746922_1347233526_64e9832a700f0e867752a84e387e65b0_rle_crop_3729403159_0.png', 1347233792: '1742917338_746922_1347233526_64e9832a700f0e867752a84e387e65b0_rle_crop_3729403157_0.png', 1347233791: '1742917338_746922_1347233526_64e9832a700f0e867752a84e387e65b0_rle_crop_3729403154_0.png', 1347233007: '1742916873_738850_1347232405_4c3eb42574d365bd916c43ea3065a39f_rle_crop_3729397574_0.png', 1347233765: '1742917361_2472129_1347233461_35656c5a20041db5a1ff182e4dd9c1f6_rle_crop_3729403338_0.png', 1347233763: '1742917361_2472129_1347233467_c5d13118bcd56ed7806a493f342c8564_rle_crop_3729403298_0.png', 1347233579: '1742917243_2469347_1347233272_29f7d94e0bb24de4751b3dadda1ba901_rle_crop_3729402275_0.png', 1347233546: '1742917211_745012_1347233340_f37480f4714b0067e36c537380c1a66e_rle_crop_3729401740_0.png', 1347233491: '1742917151_744169_1347232993_ed17dee3d1c708e4fea6090c5fdd491b_rle_crop_3729401214_0.png', 1347233490: '1742917151_744169_1347233162_13bbc6470f403206c33139ba531ab814_rle_crop_3729401194_0.png', 1347233011: '1742916873_738850_1347232400_dda79d8c65255f555f112ed872d3d03d_rle_crop_3729397642_0.png', 1347233009: '1742916873_738850_1347232405_4c3eb42574d365bd916c43ea3065a39f_rle_crop_3729397571_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/21324d973dd3fd5a8ad1cb73f1e03f61_16501169.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/4622a98c11f90dae9de4546ccbf75759_21298473.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/9208d98ae0c5837e946147a5324ab5a2_14385075.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/8254d92e67db9baf3a81412b75f89aee_52164264.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/64522b97226f1903cae679b8bed5039d_74514261.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/293424920819d5b5deac0e9e268a9609_23763384.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/4eedc3fd70e3682b716fe1bad2356e6e_43882504.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/9a49b6fc25858e9c95fa7ec5a7925f9c_71612892.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/7fe3e08b297c90e6f520dd3fc0194418_13204138.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/7e2ebe8008565511415f0244bf62fd8e_43439853.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/fae10340128059b470910f77fe05e775_66852526.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/fd0d75416c30b8b603eb7a46c6d1f88d_72785422.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/6673fd0dba81871bc76ee6c20f528719_68856083.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/dee292c21c1628552ee458109f74a38e_13227881.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/8a86a2854bb0417976c42f8a95084ffc_7522970.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/acee5db787ca7c389b8a22c5a46a9b57_83756423.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/5d7e50e8fc9c64dc2535c27d9a64b17d_34050936.png change filename to text .imagette216991221742917744/ imagette216991221742917744/1742917361_2472129_1347233467_c5d13118bcd56ed7806a493f342c8564_rle_crop_3729403298_0.png.png imagette216991221742917744/1742916873_738850_1347232400_dda79d8c65255f555f112ed872d3d03d_rle_crop_3729397642_0.png.png imagette216991221742917744/1742917338_746922_1347233526_64e9832a700f0e867752a84e387e65b0_rle_crop_3729403157_0.png.png imagette216991221742917744/1742917151_744169_1347233162_13bbc6470f403206c33139ba531ab814_rle_crop_3729401194_0.png.png imagette216991221742917744/1742917361_2472129_1347233461_35656c5a20041db5a1ff182e4dd9c1f6_rle_crop_3729403345_0.png.png imagette216991221742917744/1742917338_746922_1347233526_64e9832a700f0e867752a84e387e65b0_rle_crop_3729403154_0.png.png imagette216991221742917744/1742916873_738850_1347232405_4c3eb42574d365bd916c43ea3065a39f_rle_crop_3729397571_0.png.png imagette216991221742917744/1742917338_746922_1347233513_c335c151c642f3fec22bbaf8d27210ec_rle_crop_3729403437_0.png.png imagette216991221742917744/1742917211_745012_1347233340_f37480f4714b0067e36c537380c1a66e_rle_crop_3729401740_0.png.png imagette216991221742917744/1742917633_749620_1347234106_31801009bcefbdbc99263eb7c8067e8a_rle_crop_3729407244_0.png.png imagette216991221742917744/1742917654_749848_1347234109_7e8e6f60fe3317fa2fb6953193a66f05_rle_crop_3729407349_0.png.png imagette216991221742917744/1742916873_738850_1347232405_4c3eb42574d365bd916c43ea3065a39f_rle_crop_3729397574_0.png.png imagette216991221742917744/1742917338_746922_1347233522_52be06af2213fde1254a9a6ece1f7bf0_rle_crop_3729403316_0.png.png imagette216991221742917744/1742917654_749848_1347234019_8d13ec4c3e41c8d73f4d996820b67929_rle_crop_3729407405_0.png.png imagette216991221742917744/1742917243_2469347_1347233272_29f7d94e0bb24de4751b3dadda1ba901_rle_crop_3729402275_0.png.png imagette216991221742917744/1742917361_2472129_1347233461_35656c5a20041db5a1ff182e4dd9c1f6_rle_crop_3729403338_0.png.png imagette216991221742917744/1742917338_746922_1347233526_64e9832a700f0e867752a84e387e65b0_rle_crop_3729403159_0.png.png imagette216991221742917744/1742917151_744169_1347232993_ed17dee3d1c708e4fea6090c5fdd491b_rle_crop_3729401214_0.png.png wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/f14b496f57514ab06003809821ac171c_25725399.png imagette216991221742917744 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21699089 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21699127,21699128,21699129,21699130,21699131,21699132,21699133,21699134,21699135,21699136,21699137,21699138?tags=environnement,kraft,Carton_gris,Carton_brun,papier,plastique,mal_croppe,Teint_Dans_La_Masse,metal,autre_refus,cartonnette,flou your option no_mail is active, we will not send the real mail to your client args[1347234560] : ('0.04860963579605444',) no score found for photo 1347234560 We are sending mail with results at report@fotonower.com args[1347234469] : ('0.04860963579605444',) no score found for photo 1347234469 We are sending mail with results at report@fotonower.com args[1347234451] : ('0.04860963579605444',) no score found for photo 1347234451 We are sending mail with results at report@fotonower.com args[1347234412] : ('0.04860963579605444',) no score found for photo 1347234412 We are sending mail with results at report@fotonower.com args[1347234394] : ('0.04860963579605444',) no score found for photo 1347234394 We are sending mail with results at report@fotonower.com args[1347234358] : ('0.04860963579605444',) no score found for photo 1347234358 We are sending mail with results at report@fotonower.com args[1347234327] : ('0.04860963579605444',) no score found for photo 1347234327 We are sending mail with results at report@fotonower.com refus_total : 0.04860963579605444 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=21699089 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_P21699089_25-03-2025_16_48_59.pdf results_Auto_P21699089_25-03-2025_16_48_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21699089_25-03-2025_16_48_59.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','21699089','results_Auto_P21699089_25-03-2025_16_48_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21699089_25-03-2025_16_48_59.pdf','pdf','','0.35','0.04860963579605444') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21699089]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1347234560, 1347234469, 1347234451, 1347234412, 1347234394, 1347234358, 1347234327] map_info['map_portfolio_photo'] : {21699089: [1347234560, 1347234469, 1347234451, 1347234412, 1347234394, 1347234358, 1347234327, 1347234109, 1347234106, 1347234096, 1347234093, 1347234085, 1347234038, 1347234031, 1347234027, 1347234024, 1347234023, 1347234019, 1347233910, 1347233878, 1347233850, 1347233826, 1347233783, 1347233719, 1347233682, 1347233665, 1347233656, 1347233651, 1347233647, 1347233581, 1347233577, 1347233572, 1347233569, 1347233529, 1347233526, 1347233522, 1347233517, 1347233513, 1347233504, 1347233470, 1347233467, 1347233463, 1347233461, 1347233348, 1347233340, 1347233325, 1347233294, 1347233290, 1347233276, 1347233272, 1347233268, 1347233231, 1347233162, 1347233127, 1347233122, 1347233113, 1347233013, 1347232993, 1347232961, 1347232945, 1347232884, 1347232802, 1347232713, 1347232708, 1347232703, 1347232699, 1347232696, 1347232644, 1347232640, 1347232634, 1347232616, 1347232571, 1347232409, 1347232405, 1347232400, 1347232396]} final : False mtd_id 4302 list_pids : [1347234560, 1347234469, 1347234451, 1347234412, 1347234394, 1347234358, 1347234327] 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, '2689911') ('4302', '21699089', '1347234560', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234469', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234451', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234412', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234394', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234358', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234327', None, None, None, None, None, '2689911') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 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', '21699089', '1347234560', None, None, None, None, None, '2689911'), ('4302', '21699089', '1347234469', None, None, None, None, None, '2689911'), ('4302', '21699089', '1347234451', None, None, None, None, None, '2689911'), ('4302', '21699089', '1347234412', None, None, None, None, None, '2689911'), ('4302', '21699089', '1347234394', None, None, None, None, None, '2689911'), ('4302', '21699089', '1347234358', None, None, None, None, None, '2689911'), ('4302', '21699089', '1347234327', None, None, None, None, None, '2689911')] time used for this insertion : 0.015775680541992188 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.598169803619385 time spend to save output : 0.015948772430419922 total time spend for step 4 : 7.614118576049805 step5:split_time_score Tue Mar 25 16:49:07 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['21699089'] 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 : [('21699089',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21699089) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1347234560: {'path': 'temp/1742917739_2450509_1347234560_659fa62c364fbb12c29937a6c71e213e.jpg', 'extension': 'jpg'}, 1347234327: {'path': 'temp/1742917739_2450509_1347234327_e9d33bfa963cb148a9b85aea4265570b.jpg', 'extension': 'jpg'}, 1347234358: {'path': 'temp/1742917739_2450509_1347234358_7fe49a2f677b1da06308dc5c348af9cc.jpg', 'extension': 'jpg'}, 1347234451: {'path': 'temp/1742917739_2450509_1347234451_371442193be6484788d36b4a7ef987ca.jpg', 'extension': 'jpg'}, 1347234469: {'path': 'temp/1742917739_2450509_1347234469_9e4fac91318cbf59218b2dc5cff9677b.jpg', 'extension': 'jpg'}, 1347234394: {'path': 'temp/1742917739_2450509_1347234394_ef9f5caa4a922e16ac9f1b2344b708d4.jpg', 'extension': 'jpg'}, 1347234412: {'path': 'temp/1742917739_2450509_1347234412_80e70f9048a840143cc38d350bd79c9d.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 = 21699089; (('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 = 21699089 group by h (('16', 76),) 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=21699089 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 (21699089) 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 (21699089) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 25032025 21699089 Nombre de photos uploadées : 76 / 23040 (0%) 25032025 21699089 Nombre de photos taguées (types de déchets): 0 / 76 (0%) 25032025 21699089 Nombre de photos taguées (volume) : 0 / 76 (0%) [{'photo_id': 1347232409, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/313858347d09105bc7c00047296aba3b.jpg', 'username': None, 'uploaded_at': 1742916732, 'text': 'image_25032025_16_30_03_10146.jpg'}, {'photo_id': 1347232405, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/4c3eb42574d365bd916c43ea3065a39f.jpg', 'username': None, 'uploaded_at': 1742916732, 'text': 'image_25032025_16_30_14_10143.jpg'}, {'photo_id': 1347232400, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/dda79d8c65255f555f112ed872d3d03d.jpg', 'username': None, 'uploaded_at': 1742916732, 'text': 'image_25032025_16_30_24_10135.jpg'}, {'photo_id': 1347232396, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/25/082425d73144b45a8a383bb429dad75e.jpg', 'username': None, 'uploaded_at': 1742916732, 'text': 'image_25032025_16_30_34_10134.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 3.814697265625e-06 ???????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.00209808349609375 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21699089, '2025-03-25' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1685799,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.031114816665649414 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= 1685799 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1685799, 'dashboard_run_id': 1695618, 'mtr_portfolio_id': 21697624, 'dashboard_result_id': 9615598, '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_P21697624_25-03-2025_16_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21697655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21697656, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21697657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21697658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21697659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21697660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21697661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21697662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21697663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21697664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21697665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21697666, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1695618, 'mtr_portfolio_id': 21698231, 'dashboard_result_id': 9615599, '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_P21698231_25-03-2025_16_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21698253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21698254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21698255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21698256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21698257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21698258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21698259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21698260, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21698261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21698262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21698263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21698264, 'pht': 3726}}"}, {'dashboat_entry_day': 1685799, 'dashboard_run_id': 1695618, 'mtr_portfolio_id': 21699089, 'dashboard_result_id': 9615600, '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_P21699089_25-03-2025_16_46_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21699115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21699116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21699117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21699118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21699119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21699120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21699121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21699122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21699123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21699124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21699125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21699126, '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 = 21697624 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': 2689816, 'mtr_portfolio_id': 21697624, 'created_at': datetime.datetime(2025, 3, 25, 16, 18, 58), 'result': '0.023003178792020525', 'result_long': None, 'result_double': None}] Qualite : 0.023003178792020525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21697624 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21697624_25-03-2025_16_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21697624 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_P21697624_25-03-2025_16_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21697655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21697656, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21697657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21697658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21697659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21697660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21697661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21697662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21697663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21697664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21697665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21697666, 'pht': 3726}}" where mtr_portfolio_id = 21697624 and dashboard_run_id = 1695618 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`=21697624 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9615598, 0.023003178792020525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21697624_25-03-2025_16_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21697655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21697656, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21697657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21697658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21697659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21697660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21697661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21697662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21697663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21697664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21697665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21697666, '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 = 21698231 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': 2689845, 'mtr_portfolio_id': 21698231, 'created_at': datetime.datetime(2025, 3, 25, 16, 33), 'result': '0.03905241123885982', 'result_long': None, 'result_double': None}] Qualite : 0.03905241123885982 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21698231 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21698231_25-03-2025_16_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21698231 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_P21698231_25-03-2025_16_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21698253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21698254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21698255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21698256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21698257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21698258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21698259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21698260, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21698261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21698262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21698263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21698264, 'pht': 3726}}" where mtr_portfolio_id = 21698231 and dashboard_run_id = 1695618 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`=21698231 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9615599, 0.03905241123885982, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21698231_25-03-2025_16_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21698253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21698254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21698255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21698256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21698257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21698258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21698259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21698260, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21698261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21698262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21698263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21698264, '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 = 21699089 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': 2689911, 'mtr_portfolio_id': 21699089, 'created_at': datetime.datetime(2025, 3, 25, 16, 48, 59), 'result': '0.04860963579605444', 'result_long': None, 'result_double': None}] Qualite : 0.04860963579605444 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21699089 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21699089_25-03-2025_16_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21699089 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_P21699089_25-03-2025_16_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21699115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21699116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21699117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21699118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21699119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21699120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21699121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21699122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21699123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21699124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21699125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21699126, 'pht': 3726}}" where mtr_portfolio_id = 21699089 and dashboard_run_id = 1695618 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`=21699089 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9615600, 0.04860963579605444, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21699089_25-03-2025_16_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21699115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21699116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21699117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21699118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21699119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21699120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21699121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21699122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21699123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21699124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21699125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21699126, '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 (21697624,21698231,21699089) result : ((1347221965,), (1347222306,), (1347222331,), (1347222357,), (1347222469,), (1347222510,), (1347222977,), (1347223024,), (1347223042,), (1347223078,), (1347223112,), (1347223158,), (1347223354,), (1347223381,), (1347223404,), (1347223780,), (1347223819,), (1347223856,), (1347224135,), (1347224163,), (1347225762,), (1347225767,), (1347226400,), (1347226464,), (1347226524,), (1347226572,), (1347226589,), (1347226595,), (1347226675,), (1347226682,), (1347226688,), (1347226710,), (1347227141,), (1347226965,), (1347226990,), (1347226996,), (1347227027,), (1347227121,), (1347227234,), (1347227239,), (1347227242,), (1347227260,), (1347227537,), (1347227539,), (1347227546,), (1347227556,), (1347227561,), (1347227564,), (1347227824,), (1347227841,), (1347227878,), (1347228173,), (1347228202,), (1347228231,), (1347228265,), (1347228299,), (1347228338,), (1347228664,), (1347228698,), (1347228718,), (1347228726,), (1347228912,), (1347228966,), (1347229014,), (1347229044,), (1347229071,), (1347229100,), (1347229507,), (1347229548,), (1347229585,), (1347229620,), (1347229647,), (1347229720,), (1347229723,), (1347229729,), (1347229747,), (1347229767,), (1347229798,), (1347230438,), (1347230489,), (1347230537,), (1347230591,), (1347230912,), (1347230922,), (1347230932,), (1347230955,), (1347230986,), (1347231011,), (1347231356,), (1347231427,), (1347231461,), (1347231490,), (1347231811,), (1347231818,), (1347231824,), (1347231828,), (1347232060,), (1347232064,), (1347232067,), (1347232072,), (1347232076,), (1347232080,), (1347232254,), (1347232272,), (1347232279,), (1347232285,), (1347232310,), (1347232336,), (1347232416,), (1347232396,), (1347232400,), (1347232405,), (1347232409,), (1347232571,), (1347232616,), (1347232634,), (1347232640,), (1347232644,), (1347232696,), (1347232699,), (1347232703,), (1347232708,), (1347232713,), (1347232802,), (1347232884,), (1347232945,), (1347232961,), (1347232993,), (1347233013,), (1347233113,), (1347233122,), (1347233127,), (1347233162,), (1347233231,), (1347233268,), (1347233272,), (1347233276,), (1347233290,), (1347233294,), (1347233325,), (1347233340,), (1347233348,), (1347233461,), (1347233463,), (1347233467,), (1347233470,), (1347233504,), (1347233513,), (1347233517,), (1347233522,), (1347233526,), (1347233529,), (1347233569,), (1347233572,), (1347233577,), (1347233581,), (1347233647,), (1347233651,), (1347233656,), (1347233665,), (1347233682,), (1347233719,), (1347233783,), (1347233826,), (1347233850,), (1347233878,), (1347233910,), (1347234019,), (1347234023,), (1347234024,), (1347234027,), (1347234031,), (1347234038,), (1347234085,), (1347234093,), (1347234096,), (1347234106,), (1347234109,), (1347234327,), (1347234358,), (1347234394,), (1347234412,), (1347234451,), (1347234469,), (1347234560,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'25032025': {'nb_upload': 76, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21699089]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1347234560, 1347234469, 1347234451, 1347234412, 1347234394, 1347234358, 1347234327] map_info['map_portfolio_photo'] : {21699089: [1347234560, 1347234469, 1347234451, 1347234412, 1347234394, 1347234358, 1347234327, 1347234109, 1347234106, 1347234096, 1347234093, 1347234085, 1347234038, 1347234031, 1347234027, 1347234024, 1347234023, 1347234019, 1347233910, 1347233878, 1347233850, 1347233826, 1347233783, 1347233719, 1347233682, 1347233665, 1347233656, 1347233651, 1347233647, 1347233581, 1347233577, 1347233572, 1347233569, 1347233529, 1347233526, 1347233522, 1347233517, 1347233513, 1347233504, 1347233470, 1347233467, 1347233463, 1347233461, 1347233348, 1347233340, 1347233325, 1347233294, 1347233290, 1347233276, 1347233272, 1347233268, 1347233231, 1347233162, 1347233127, 1347233122, 1347233113, 1347233013, 1347232993, 1347232961, 1347232945, 1347232884, 1347232802, 1347232713, 1347232708, 1347232703, 1347232699, 1347232696, 1347232644, 1347232640, 1347232634, 1347232616, 1347232571, 1347232409, 1347232405, 1347232400, 1347232396]} final : True mtd_id 4302 list_pids : [1347234560, 1347234469, 1347234451, 1347234412, 1347234394, 1347234358, 1347234327] Looping around the photos to save general results len do output : 1 /21699089Didn'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, '2689911') ('4302', '21699089', '1347234560', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234469', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234451', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234412', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234394', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234358', None, None, None, None, None, '2689911') ('4302', None, None, None, None, None, None, None, '2689911') ('4302', '21699089', '1347234327', None, None, None, None, None, '2689911') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 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, '21699089', 'None', None, None, None, None, '2689911'), ('4302', '21699089', '1347234560', None, None, None, None, None, '2689911'), ('4302', '21699089', '1347234469', None, None, None, None, None, '2689911'), ('4302', '21699089', '1347234451', None, None, None, None, None, '2689911'), ('4302', '21699089', '1347234412', None, None, None, None, None, '2689911'), ('4302', '21699089', '1347234394', None, None, None, None, None, '2689911'), ('4302', '21699089', '1347234358', None, None, None, None, None, '2689911'), ('4302', '21699089', '1347234327', None, None, None, None, None, '2689911')] time used for this insertion : 0.012090921401977539 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.29796314239501953 time spend to save output : 0.012332677841186523 total time spend for step 5 : 0.31029582023620605 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 (2689911) 2.23user 2.38system 0:13.01elapsed 35%CPU (0avgtext+0avgdata 160332maxresident)k 128inputs+18592outputs (1major+74496minor)pagefaults 0swaps