select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21666391 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21666344 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='environnement' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21666391) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21666344) result : ((1346918157,), (1346918164,), (1346918169,), (1346918361,), (1346918479,), (1346918594,), (1346918629,), (1346918671,), (1346918763,), (1346918917,), (1346918937,), (1346918947,), (1346918951,), (1346918956,), (1346919116,), (1346919135,), (1346919174,), (1346919186,), (1346919199,), (1346919210,), (1346919401,), (1346919437,), (1346919449,), (1346919470,), (1346919516,), (1346919521,), (1346919526,), (1346919547,), (1346919558,), (1346919565,), (1346919655,), (1346919659,), (1346919665,), (1346919671,), (1346919744,), (1346919757,), (1346919761,), (1346919764,), (1346919773,), (1346919788,), (1346919858,), (1346919878,), (1346919886,), (1346919890,), (1346919893,), (1346919987,), (1346920012,), (1346920031,), (1346920058,), (1346920078,), (1346920102,), (1346920281,), (1346920308,), (1346920376,), (1346920520,), (1346921037,), (1346921057,), (1346921310,), (1346921314,), (1346921317,), (1346921320,), (1346921447,), (1346921480,), (1346921807,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21666392 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21666344 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='kraft' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21666392) result : ((1346920398,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21666344) result : ((1346918157,), (1346918164,), (1346918169,), (1346918361,), (1346918479,), (1346918594,), (1346918629,), (1346918671,), (1346918763,), (1346918917,), (1346918937,), (1346918947,), (1346918951,), (1346918956,), (1346919116,), (1346919135,), (1346919174,), (1346919186,), (1346919199,), (1346919210,), (1346919401,), (1346919437,), (1346919449,), (1346919470,), (1346919516,), (1346919521,), (1346919526,), (1346919547,), (1346919558,), (1346919565,), (1346919655,), (1346919659,), (1346919665,), (1346919671,), (1346919744,), (1346919757,), (1346919761,), (1346919764,), (1346919773,), (1346919788,), (1346919858,), (1346919878,), (1346919886,), (1346919890,), (1346919893,), (1346919987,), (1346920012,), (1346920031,), (1346920058,), (1346920078,), (1346920102,), (1346920281,), (1346920308,), (1346920376,), (1346920520,), (1346921037,), (1346921057,), (1346921310,), (1346921314,), (1346921317,), (1346921320,), (1346921447,), (1346921480,), (1346921807,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! 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`=21666344 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','kraft','environnement','autre_refus','Teint_Dans_La_Masse','metal','papier','plastique','Carton_brun','flou','Carton_gris','mal_croppe')) AND mptpi.`min_score`=0.5 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`=21666344 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','kraft','environnement','autre_refus','Teint_Dans_La_Masse','metal','papier','plastique','Carton_brun','flou','Carton_gris','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 21666344, 'sub_port_id': 21666393, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14201215, 'last_updated_at': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 20, 4, 32)}, 'autre_refus': {'main_port_id': 21666344, 'sub_port_id': 21666394, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14201216, 'last_updated_at': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 20, 4, 32)}, 'mal_croppe': {'main_port_id': 21666344, 'sub_port_id': 21666395, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14201217, 'last_updated_at': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 20, 4, 32)}, 'papier': {'main_port_id': 21666344, 'sub_port_id': 21666396, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14201218, 'last_updated_at': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 20, 4, 32)}, 'cartonnette': {'main_port_id': 21666344, 'sub_port_id': 21666397, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14201219, 'last_updated_at': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 20, 4, 32)}, 'Teint_Dans_La_Masse': {'main_port_id': 21666344, 'sub_port_id': 21666398, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14201220, 'last_updated_at': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 20, 4, 32)}, 'Carton_brun': {'main_port_id': 21666344, 'sub_port_id': 21666399, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14201221, 'last_updated_at': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 20, 4, 32)}, 'metal': {'main_port_id': 21666344, 'sub_port_id': 21666400, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14201222, 'last_updated_at': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 20, 4, 32)}, 'plastique': {'main_port_id': 21666344, 'sub_port_id': 21666401, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14201223, 'last_updated_at': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 20, 4, 32)}, 'flou': {'main_port_id': 21666344, 'sub_port_id': 21666402, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14201224, 'last_updated_at': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 20, 4, 32)}, 'environnement': {'main_port_id': 21666344, 'sub_port_id': 21666403, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14201225, 'last_updated_at': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 20, 4, 32), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 20, 4, 32)}, 'kraft': {'main_port_id': 21666344, 'sub_port_id': 21666404, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14201226, 'last_updated_at': datetime.datetime(2025, 3, 24, 20, 17, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 20, 17, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 20, 4, 32)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21666393,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21666379 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21666394,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21666381 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21666395,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21666382 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21666396,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21666384 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21666397,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21666385 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21666398,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21666386 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21666399,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21666387 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21666400,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21666388 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21666401,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21666389 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21666402,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21666390 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21666403,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21666391 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21666404,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21666392 lien utilise dans velours : https://www.fotonower.com/velours/21666393,21666394,21666395,21666396,21666397,21666398,21666399,21666400,21666401,21666402,21666403,21666404?tags=Carton_gris,autre_refus,mal_croppe,papier,cartonnette,Teint_Dans_La_Masse,Carton_brun,metal,plastique,flou,environnement,kraft After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21666344]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1346921807, 1346921480, 1346921447, 1346921320, 1346921317, 1346921314, 1346921310] map_info['map_portfolio_photo'] : {21666344: [1346921807, 1346921480, 1346921447, 1346921320, 1346921317, 1346921314, 1346921310, 1346921057, 1346921037, 1346920520, 1346920376, 1346920308, 1346920281, 1346920102, 1346920078, 1346920058, 1346920031, 1346920012, 1346919987, 1346919893, 1346919890, 1346919886, 1346919878, 1346919858, 1346919788, 1346919773, 1346919764, 1346919761, 1346919757, 1346919744, 1346919671, 1346919665, 1346919659, 1346919655, 1346919565, 1346919558, 1346919547, 1346919526, 1346919521, 1346919516, 1346919470, 1346919449, 1346919437, 1346919401, 1346919210, 1346919199, 1346919186, 1346919174, 1346919135, 1346919116, 1346918956, 1346918951, 1346918947, 1346918937, 1346918917, 1346918763, 1346918671, 1346918629, 1346918594, 1346918479, 1346918361, 1346918169, 1346918164, 1346918157]} final : False mtd_id 4302 list_pids : [1346921807, 1346921480, 1346921447, 1346921320, 1346921317, 1346921314, 1346921310] Looping around the photos to save general results len do output : 1 /21666344. 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, '2686894') ('4302', '21666344', '1346921807', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921480', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921447', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921320', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921317', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921314', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921310', None, None, None, None, None, '2686894') 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, '21666344', "{'Carton_gris': 21666379, 'autre_refus': 21666381, 'mal_croppe': 21666382, 'papier': 21666384, 'cartonnette': 21666385, 'Teint_Dans_La_Masse': 21666386, 'Carton_brun': 21666387, 'metal': 21666388, 'plastique': 21666389, 'flou': 21666390, 'environnement': 21666391, 'kraft': 21666392}", None, None, None, None, '2686894'), ('4302', '21666344', '1346921807', None, None, None, None, None, '2686894'), ('4302', '21666344', '1346921480', None, None, None, None, None, '2686894'), ('4302', '21666344', '1346921447', None, None, None, None, None, '2686894'), ('4302', '21666344', '1346921320', None, None, None, None, None, '2686894'), ('4302', '21666344', '1346921317', None, None, None, None, None, '2686894'), ('4302', '21666344', '1346921314', None, None, None, None, None, '2686894'), ('4302', '21666344', '1346921310', None, None, None, None, None, '2686894')] time used for this insertion : 0.013760089874267578 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.752080678939819 time spend to save output : 0.013928413391113281 total time spend for step 1 : 5.766009092330933 step2:final Mon Mar 24 20:18:04 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 (21666344) 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 21666344 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1346918169,1346918164,1346918157,1346918763,1346918671,1346918629,1346918594,1346918479,1346918361,1346918956,1346918951,1346918947,1346918937,1346918917,1346919210,1346919199,1346919186,1346919174,1346919135,1346919116,1346919470,1346919449,1346919437,1346919401,1346919565,1346919558,1346919547,1346919526,1346919521,1346919516,1346919671,1346919665,1346919659,1346919655,1346919788,1346919773,1346919764,1346919761,1346919757,1346919744,1346919893,1346919890,1346919886,1346919878,1346919858,1346920102,1346920078,1346920058,1346920031,1346920012,1346919987,1346920376,1346920308,1346920281,1346921057,1346920520,1346921037,1346921480,1346921447,1346921320,1346921317,1346921314,1346921310,1346921807); 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([21666344]) Inside saveOutput : final : False verbose : True original output for save of step final : {1346921807: ('0.07308427186597424',), 1346921480: ('0.07308427186597424',), 1346921447: ('0.07308427186597424',), 1346921320: ('0.07308427186597424',), 1346921317: ('0.07308427186597424',), 1346921314: ('0.07308427186597424',), 1346921310: ('0.07308427186597424',)} new output for save of step final : {1346921807: ('0.07308427186597424',), 1346921480: ('0.07308427186597424',), 1346921447: ('0.07308427186597424',), 1346921320: ('0.07308427186597424',), 1346921317: ('0.07308427186597424',), 1346921314: ('0.07308427186597424',), 1346921310: ('0.07308427186597424',)} [1346921807, 1346921480, 1346921447, 1346921320, 1346921317, 1346921314, 1346921310] map_info['map_portfolio_photo'] : {21666344: [1346921807, 1346921480, 1346921447, 1346921320, 1346921317, 1346921314, 1346921310, 1346921057, 1346921037, 1346920520, 1346920376, 1346920308, 1346920281, 1346920102, 1346920078, 1346920058, 1346920031, 1346920012, 1346919987, 1346919893, 1346919890, 1346919886, 1346919878, 1346919858, 1346919788, 1346919773, 1346919764, 1346919761, 1346919757, 1346919744, 1346919671, 1346919665, 1346919659, 1346919655, 1346919565, 1346919558, 1346919547, 1346919526, 1346919521, 1346919516, 1346919470, 1346919449, 1346919437, 1346919401, 1346919210, 1346919199, 1346919186, 1346919174, 1346919135, 1346919116, 1346918956, 1346918951, 1346918947, 1346918937, 1346918917, 1346918763, 1346918671, 1346918629, 1346918594, 1346918479, 1346918361, 1346918169, 1346918164, 1346918157]} final : False mtd_id 4302 list_pids : [1346921807, 1346921480, 1346921447, 1346921320, 1346921317, 1346921314, 1346921310] Looping around the photos to save general results len do output : 7 /1346921807.Didn't retrieve data . /1346921480.Didn't retrieve data . /1346921447.Didn't retrieve data . /1346921320.Didn't retrieve data . /1346921317.Didn't retrieve data . /1346921314.Didn't retrieve data . /1346921310.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, '2686894') ('4302', '21666344', '1346921807', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921480', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921447', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921320', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921317', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921314', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921310', None, None, None, None, None, '2686894') 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', '21666344', '1346921807', '0.07308427186597424', None, None, None, None, '2686894'), ('4302', '21666344', '1346921480', '0.07308427186597424', None, None, None, None, '2686894'), ('4302', '21666344', '1346921447', '0.07308427186597424', None, None, None, None, '2686894'), ('4302', '21666344', '1346921320', '0.07308427186597424', None, None, None, None, '2686894'), ('4302', '21666344', '1346921317', '0.07308427186597424', None, None, None, None, '2686894'), ('4302', '21666344', '1346921314', '0.07308427186597424', None, None, None, None, '2686894'), ('4302', '21666344', '1346921310', '0.07308427186597424', None, None, None, None, '2686894')] time used for this insertion : 0.012642860412597656 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07284975051879883 time spend to save output : 0.013145685195922852 total time spend for step 2 : 0.08599543571472168 step3:velours_tree Mon Mar 24 20:18:04 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 : {21666344: [{'Carton_gris': 21666379, 'autre_refus': 21666381, 'mal_croppe': 21666382, 'papier': 21666384, 'cartonnette': 21666385, 'Teint_Dans_La_Masse': 21666386, 'Carton_brun': 21666387, 'metal': 21666388, 'plastique': 21666389, 'flou': 21666390, 'environnement': 21666391, 'kraft': 21666392}]} input_args_next_step : {21666344: ()} output_args : {21666344: [{'Carton_gris': 21666379, 'autre_refus': 21666381, 'mal_croppe': 21666382, 'papier': 21666384, 'cartonnette': 21666385, 'Teint_Dans_La_Masse': 21666386, 'Carton_brun': 21666387, 'metal': 21666388, 'plastique': 21666389, 'flou': 21666390, 'environnement': 21666391, 'kraft': 21666392}]} args : 21666344 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 : ({'Carton_gris': 21666379, 'autre_refus': 21666381, 'mal_croppe': 21666382, 'papier': 21666384, 'cartonnette': 21666385, 'Teint_Dans_La_Masse': 21666386, 'Carton_brun': 21666387, 'metal': 21666388, 'plastique': 21666389, 'flou': 21666390, 'environnement': 21666391, 'kraft': 21666392},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21666344) 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([21666344]) 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.43519115447998047 time spend to save output : 4.887580871582031e-05 total time spend for step 3 : 0.4352400302886963 step4:send_mail_cod Mon Mar 24 20:18:04 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 : {1346921807: ('0.07308427186597424',), 1346921480: ('0.07308427186597424',), 1346921447: ('0.07308427186597424',), 1346921320: ('0.07308427186597424',), 1346921317: ('0.07308427186597424',), 1346921314: ('0.07308427186597424',), 1346921310: ('0.07308427186597424',)} input_args_next_step : {1346921807: ()} output_args : {1346921807: ('0.07308427186597424',), 1346921480: ('0.07308427186597424',), 1346921447: ('0.07308427186597424',), 1346921320: ('0.07308427186597424',), 1346921317: ('0.07308427186597424',), 1346921314: ('0.07308427186597424',), 1346921310: ('0.07308427186597424',)} args : 1346921807 depend.output_id : 0 input_args_next_step : {1346921807: ('0.07308427186597424',), 1346921480: ()} output_args : {1346921807: ('0.07308427186597424',), 1346921480: ('0.07308427186597424',), 1346921447: ('0.07308427186597424',), 1346921320: ('0.07308427186597424',), 1346921317: ('0.07308427186597424',), 1346921314: ('0.07308427186597424',), 1346921310: ('0.07308427186597424',)} args : 1346921480 depend.output_id : 0 input_args_next_step : {1346921807: ('0.07308427186597424',), 1346921480: ('0.07308427186597424',), 1346921447: ()} output_args : {1346921807: ('0.07308427186597424',), 1346921480: ('0.07308427186597424',), 1346921447: ('0.07308427186597424',), 1346921320: ('0.07308427186597424',), 1346921317: ('0.07308427186597424',), 1346921314: ('0.07308427186597424',), 1346921310: ('0.07308427186597424',)} args : 1346921447 depend.output_id : 0 input_args_next_step : {1346921807: ('0.07308427186597424',), 1346921480: ('0.07308427186597424',), 1346921447: ('0.07308427186597424',), 1346921320: ()} output_args : {1346921807: ('0.07308427186597424',), 1346921480: ('0.07308427186597424',), 1346921447: ('0.07308427186597424',), 1346921320: ('0.07308427186597424',), 1346921317: ('0.07308427186597424',), 1346921314: ('0.07308427186597424',), 1346921310: ('0.07308427186597424',)} args : 1346921320 depend.output_id : 0 input_args_next_step : {1346921807: ('0.07308427186597424',), 1346921480: ('0.07308427186597424',), 1346921447: ('0.07308427186597424',), 1346921320: ('0.07308427186597424',), 1346921317: ()} output_args : {1346921807: ('0.07308427186597424',), 1346921480: ('0.07308427186597424',), 1346921447: ('0.07308427186597424',), 1346921320: ('0.07308427186597424',), 1346921317: ('0.07308427186597424',), 1346921314: ('0.07308427186597424',), 1346921310: ('0.07308427186597424',)} args : 1346921317 depend.output_id : 0 input_args_next_step : {1346921807: ('0.07308427186597424',), 1346921480: ('0.07308427186597424',), 1346921447: ('0.07308427186597424',), 1346921320: ('0.07308427186597424',), 1346921317: ('0.07308427186597424',), 1346921314: ()} output_args : {1346921807: ('0.07308427186597424',), 1346921480: ('0.07308427186597424',), 1346921447: ('0.07308427186597424',), 1346921320: ('0.07308427186597424',), 1346921317: ('0.07308427186597424',), 1346921314: ('0.07308427186597424',), 1346921310: ('0.07308427186597424',)} args : 1346921314 depend.output_id : 0 input_args_next_step : {1346921807: ('0.07308427186597424',), 1346921480: ('0.07308427186597424',), 1346921447: ('0.07308427186597424',), 1346921320: ('0.07308427186597424',), 1346921317: ('0.07308427186597424',), 1346921314: ('0.07308427186597424',), 1346921310: ()} output_args : {1346921807: ('0.07308427186597424',), 1346921480: ('0.07308427186597424',), 1346921447: ('0.07308427186597424',), 1346921320: ('0.07308427186597424',), 1346921317: ('0.07308427186597424',), 1346921314: ('0.07308427186597424',), 1346921310: ('0.07308427186597424',)} args : 1346921310 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 : {21666344: [{'Carton_gris': 21666379, 'autre_refus': 21666381, 'mal_croppe': 21666382, 'papier': 21666384, 'cartonnette': 21666385, 'Teint_Dans_La_Masse': 21666386, 'Carton_brun': 21666387, 'metal': 21666388, 'plastique': 21666389, 'flou': 21666390, 'environnement': 21666391, 'kraft': 21666392}]} input_args_next_step : {1346921807: ('0.07308427186597424',), 1346921480: ('0.07308427186597424',), 1346921447: ('0.07308427186597424',), 1346921320: ('0.07308427186597424',), 1346921317: ('0.07308427186597424',), 1346921314: ('0.07308427186597424',), 1346921310: ('0.07308427186597424',), 21666344: ()} output_args : {21666344: [{'Carton_gris': 21666379, 'autre_refus': 21666381, 'mal_croppe': 21666382, 'papier': 21666384, 'cartonnette': 21666385, 'Teint_Dans_La_Masse': 21666386, 'Carton_brun': 21666387, 'metal': 21666388, 'plastique': 21666389, 'flou': 21666390, 'environnement': 21666391, 'kraft': 21666392}]} args : 21666344 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.07308427186597424',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21666344) 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 (1346921807,1346921480,1346921447,1346921320,1346921317,1346921314,1346921310) Found this number of photos: 7 ##### Call download_photos : nb_thread : 5 begin to download photo : 1346921310 begin to download photo : 1346921317 begin to download photo : 1346921447 begin to download photo : 1346921807 download finish for photo 1346921447 begin to download photo : 1346921480 download finish for photo 1346921317 begin to download photo : 1346921320 download finish for photo 1346921310 begin to download photo : 1346921314 download finish for photo 1346921807 download finish for photo 1346921480 download finish for photo 1346921320 download finish for photo 1346921314 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_P21666344_24-03-2025_20_18_05.pdf 21666381 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=21666381 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346921204: '1742843635_3767736_1346919547_7af8db0584fdc504dcfd339110a443ee_rle_crop_3727539341_0.png', 1346920743: '1742843574_3766647_1346920102_6580e31225bc82702065c0e8abdf4930_rle_crop_3727540373_0.png', 1346920744: '1742843574_3766647_1346919890_457820264a40df0c92ddeb654dad5499_rle_crop_3727540453_0.png', 1346920745: '1742843574_3766647_1346919878_88543aaf42ad812b59cdf69a617718c2_rle_crop_3727540854_0.png', 1346920983: '1742843596_3766948_1346920078_4d2f63bb007e69fc9267363f173b1f78_rle_crop_3727541453_0.png', 1346920984: '1742843596_3766948_1346920031_b2c459cbacf5e7ce0a0eb665e8a79847_rle_crop_3727542107_0.png', 1346920985: '1742843596_3766948_1346920012_e805d9a551795882740b36025dfa459c_rle_crop_3727542133_0.png', 1346920986: '1742843596_3766948_1346919987_60855b45a669a99baa162da59616ce90_rle_crop_3727542172_0.png', 1346921202: '1742843635_3767736_1346919671_f705592125dd647106b30e588974e95b_rle_crop_3727539319_0.png', 1346921203: '1742843635_3767736_1346919558_52691562232b888f5623a31a394fe2f6_rle_crop_3727539327_0.png', 1346920613: '1742843511_3765549_1346919521_fbb765c9a9d0979a18466c32c5ec5af3_rle_crop_3727539612_0.png', 1346921206: '1742843635_3767736_1346919526_ad79a66910e67da01a41bb222adea3f0_rle_crop_3727539415_0.png', 1346921207: '1742843635_3767736_1346919526_ad79a66910e67da01a41bb222adea3f0_rle_crop_3727539421_0.png', 1346921208: '1742843635_3767736_1346919521_fbb765c9a9d0979a18466c32c5ec5af3_rle_crop_3727539612_0.png', 1346921698: '1742843715_3769227_1346920376_77f0b29a1e1691d9f4dcef8069dc8af9_bib_crop_3727543225_0.jpg', 1346921700: '1742843715_3769227_1346920078_4d2f63bb007e69fc9267363f173b1f78_rle_crop_3727541453_0.png', 1346921701: '1742843715_3769227_1346920031_b2c459cbacf5e7ce0a0eb665e8a79847_rle_crop_3727542107_0.png', 1346921702: '1742843715_3769227_1346920012_e805d9a551795882740b36025dfa459c_rle_crop_3727542133_0.png', 1346921703: '1742843715_3769227_1346919987_60855b45a669a99baa162da59616ce90_rle_crop_3727542172_0.png', 1346919843: '1742843331_3761892_1346919470_1bd6e22ac2b4654af9f6872e4358f35b_rle_crop_3727536846_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/16779b7bb23f4fbeec41c787d8e6e1d3_10408059.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/9b9c804c7137c6100ec50999948b33e0_22074875.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/63c06e3e7bad402033d7c52fefbd65c7_18686963.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/b4803f6827970c63d5c926fe70e4ff7f_90643044.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/a29dd5f2d8ed29d85ccd6c08c6d686f4_1183340.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/46334a5a2dce725c05f5c31469f95bcb_49924163.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/105e49988d3e78fa3d8f90e3e26a7c8f_48618384.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/3e1a51409f10fdf6d931c59c3ef73110_62976998.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/e0a9ee5aea4bce78f07be4bfa27f9dfc_91026990.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/b556e1d17614a00f733eddbfa6c6ea0e_10979414.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/2609b015c8d2b3e8db52941972dd0066_82040864.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/b780bf3a0babb81e625e669ab28944b0_47709393.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/6df2c92140edd9164de3f5cc3df734e6_87794832.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/2609b015c8d2b3e8db52941972dd0066_38601799.png change filename to text .wget -O 15.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/6494c65da131e662c617e4c113df4845_45083419.jpg change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/a29dd5f2d8ed29d85ccd6c08c6d686f4_51516358.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/46334a5a2dce725c05f5c31469f95bcb_51674447.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/105e49988d3e78fa3d8f90e3e26a7c8f_45527835.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/3e1a51409f10fdf6d931c59c3ef73110_72932863.png change filename to text .imagette216663811742843885/ imagette216663811742843885/1742843715_3769227_1346920031_b2c459cbacf5e7ce0a0eb665e8a79847_rle_crop_3727542107_0.png.png imagette216663811742843885/1742843635_3767736_1346919521_fbb765c9a9d0979a18466c32c5ec5af3_rle_crop_3727539612_0.png.png imagette216663811742843885/1742843715_3769227_1346919987_60855b45a669a99baa162da59616ce90_rle_crop_3727542172_0.png.png imagette216663811742843885/1742843511_3765549_1346919521_fbb765c9a9d0979a18466c32c5ec5af3_rle_crop_3727539612_0.png.png imagette216663811742843885/1742843635_3767736_1346919526_ad79a66910e67da01a41bb222adea3f0_rle_crop_3727539415_0.png.png imagette216663811742843885/1742843715_3769227_1346920376_77f0b29a1e1691d9f4dcef8069dc8af9_bib_crop_3727543225_0.jpg.jpg imagette216663811742843885/1742843715_3769227_1346920012_e805d9a551795882740b36025dfa459c_rle_crop_3727542133_0.png.png imagette216663811742843885/1742843574_3766647_1346920102_6580e31225bc82702065c0e8abdf4930_rle_crop_3727540373_0.png.png imagette216663811742843885/1742843331_3761892_1346919470_1bd6e22ac2b4654af9f6872e4358f35b_rle_crop_3727536846_0.png.png imagette216663811742843885/1742843574_3766647_1346919890_457820264a40df0c92ddeb654dad5499_rle_crop_3727540453_0.png.png imagette216663811742843885/1742843596_3766948_1346919987_60855b45a669a99baa162da59616ce90_rle_crop_3727542172_0.png.png imagette216663811742843885/1742843635_3767736_1346919558_52691562232b888f5623a31a394fe2f6_rle_crop_3727539327_0.png.png imagette216663811742843885/1742843596_3766948_1346920031_b2c459cbacf5e7ce0a0eb665e8a79847_rle_crop_3727542107_0.png.png imagette216663811742843885/1742843635_3767736_1346919547_7af8db0584fdc504dcfd339110a443ee_rle_crop_3727539341_0.png.png imagette216663811742843885/1742843574_3766647_1346919878_88543aaf42ad812b59cdf69a617718c2_rle_crop_3727540854_0.png.png imagette216663811742843885/1742843715_3769227_1346920078_4d2f63bb007e69fc9267363f173b1f78_rle_crop_3727541453_0.png.png imagette216663811742843885/1742843635_3767736_1346919526_ad79a66910e67da01a41bb222adea3f0_rle_crop_3727539421_0.png.png imagette216663811742843885/1742843635_3767736_1346919671_f705592125dd647106b30e588974e95b_rle_crop_3727539319_0.png.png imagette216663811742843885/1742843596_3766948_1346920012_e805d9a551795882740b36025dfa459c_rle_crop_3727542133_0.png.png imagette216663811742843885/1742843596_3766948_1346920078_4d2f63bb007e69fc9267363f173b1f78_rle_crop_3727541453_0.png.png imagette216663821742843886/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/1c3314b572bc69ea97b55a44d89e7d9a_93632830.png imagette216663811742843885 21666382 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=21666382 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette216663821742843886 21666385 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=21666385 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346919781: '1742843322_1472484_1346918956_7519aa56c0c1e63c45e7be99b4ba0ac8_bib_crop_3727535609_0.jpg', 1346919782: '1742843322_1472484_1346918956_7519aa56c0c1e63c45e7be99b4ba0ac8_rle_crop_3727536424_0.png', 1346919783: '1742843322_1472484_1346918479_6f292315eadf5da51c8f059c5785f914_rle_crop_3727535705_0.png', 1346919785: '1742843322_1472484_1346918361_6d8390f88e5bae3dd05b2b7993730ac7_rle_crop_3727535722_0.png', 1346919848: '1742843331_3761892_1346919174_54d56f34a4696278687edd25b97ae4e0_rle_crop_3727537698_0.png', 1346919849: '1742843331_3761892_1346919174_54d56f34a4696278687edd25b97ae4e0_rle_crop_3727537700_0.png', 1346920632: '1742843511_3765549_1346919558_52691562232b888f5623a31a394fe2f6_rle_crop_3727539330_0.png', 1346920633: '1742843511_3765549_1346919516_5d3109d324686716d9770f2c3dc6eefb_rle_crop_3727539687_0.png', 1346921014: '1742843596_3766948_1346920058_eff0d414613354236ee291ad8dc7e4f1_rle_crop_3727542062_0.png', 1346921015: '1742843596_3766948_1346920058_eff0d414613354236ee291ad8dc7e4f1_rle_crop_3727542057_0.png', 1346921016: '1742843596_3766948_1346920031_b2c459cbacf5e7ce0a0eb665e8a79847_rle_crop_3727542102_0.png', 1346921230: '1742843635_3767736_1346919558_52691562232b888f5623a31a394fe2f6_rle_crop_3727539330_0.png', 1346921231: '1742843635_3767736_1346919516_5d3109d324686716d9770f2c3dc6eefb_rle_crop_3727539687_0.png', 1346921730: '1742843715_3769227_1346920058_eff0d414613354236ee291ad8dc7e4f1_rle_crop_3727542062_0.png', 1346921731: '1742843715_3769227_1346920058_eff0d414613354236ee291ad8dc7e4f1_rle_crop_3727542057_0.png', 1346921732: '1742843715_3769227_1346920031_b2c459cbacf5e7ce0a0eb665e8a79847_rle_crop_3727542102_0.png'} change filename to text .wget -O 1.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/33f24e5da7cf05b6c07178909d76a6e5_24436730.jpg change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/472936c7e2599078319500e2b979050f_5668947.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/49146b21247aa0bc9ad9e7ae6ddb1c6d_68941728.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/86cebe697035d9d75e44759745416b03_24275874.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/438b57e19149635766d396c639630ace_39414697.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/fd370bc19de9ac612acaad6242d12cbe_99696574.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/658697c34aa62a2cd856b2e1022d5fbe_54665785.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/651a9fb9252dfb19b0446c58af5d0664_18885508.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/916612059ab25badd251e626f01e12ea_47376163.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/c1e69bb014b854376dfc62bddf9ec49c_44500150.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/a982c62e80a49063513d221ac14287a7_85943339.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/658697c34aa62a2cd856b2e1022d5fbe_90377117.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/651a9fb9252dfb19b0446c58af5d0664_52545785.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/916612059ab25badd251e626f01e12ea_47667342.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/c1e69bb014b854376dfc62bddf9ec49c_69265643.png change filename to text .imagette216663851742843886/ imagette216663851742843886/1742843511_3765549_1346919558_52691562232b888f5623a31a394fe2f6_rle_crop_3727539330_0.png.png imagette216663851742843886/1742843635_3767736_1346919558_52691562232b888f5623a31a394fe2f6_rle_crop_3727539330_0.png.png imagette216663851742843886/1742843715_3769227_1346920058_eff0d414613354236ee291ad8dc7e4f1_rle_crop_3727542057_0.png.png imagette216663851742843886/1742843596_3766948_1346920031_b2c459cbacf5e7ce0a0eb665e8a79847_rle_crop_3727542102_0.png.png imagette216663851742843886/1742843322_1472484_1346918956_7519aa56c0c1e63c45e7be99b4ba0ac8_rle_crop_3727536424_0.png.png imagette216663851742843886/1742843511_3765549_1346919516_5d3109d324686716d9770f2c3dc6eefb_rle_crop_3727539687_0.png.png imagette216663851742843886/1742843331_3761892_1346919174_54d56f34a4696278687edd25b97ae4e0_rle_crop_3727537700_0.png.png imagette216663851742843886/1742843596_3766948_1346920058_eff0d414613354236ee291ad8dc7e4f1_rle_crop_3727542062_0.png.png imagette216663851742843886/1742843322_1472484_1346918361_6d8390f88e5bae3dd05b2b7993730ac7_rle_crop_3727535722_0.png.png imagette216663851742843886/1742843596_3766948_1346920058_eff0d414613354236ee291ad8dc7e4f1_rle_crop_3727542057_0.png.png imagette216663851742843886/1742843322_1472484_1346918479_6f292315eadf5da51c8f059c5785f914_rle_crop_3727535705_0.png.png imagette216663851742843886/1742843331_3761892_1346919174_54d56f34a4696278687edd25b97ae4e0_rle_crop_3727537698_0.png.png imagette216663851742843886/1742843715_3769227_1346920058_eff0d414613354236ee291ad8dc7e4f1_rle_crop_3727542062_0.png.png imagette216663851742843886/1742843715_3769227_1346920031_b2c459cbacf5e7ce0a0eb665e8a79847_rle_crop_3727542102_0.png.png imagette216663851742843886/1742843322_1472484_1346918956_7519aa56c0c1e63c45e7be99b4ba0ac8_bib_crop_3727535609_0.jpg.jpg imagette216663851742843886/1742843635_3767736_1346919516_5d3109d324686716d9770f2c3dc6eefb_rle_crop_3727539687_0.png.png imagette216663881742843887/ wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/a982c62e80a49063513d221ac14287a7_28194878.png imagette216663851742843886 21666388 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=21666388 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette216663881742843887 21666389 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=21666389 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346919795: '1742843322_1472484_1346918594_ac49bc5c510ebdccd9cc109292f11d90_rle_crop_3727536492_0.png', 1346919796: '1742843322_1472484_1346918594_ac49bc5c510ebdccd9cc109292f11d90_rle_crop_3727535696_0.png', 1346919798: '1742843322_1472484_1346918361_6d8390f88e5bae3dd05b2b7993730ac7_rle_crop_3727535723_0.png', 1346919853: '1742843331_3761892_1346919135_afd200cbb9bba02c704672166891cc0b_rle_crop_3727537716_0.png', 1346919855: '1742843331_3761892_1346919116_7246f6b2b2af0a57ec54c90a2c3b08bd_rle_crop_3727537729_0.png', 1346920383: '1742843491_3765152_1346919659_ca1b077a14415eeee6b42228bfbdef21_rle_crop_3727538812_0.png', 1346920649: '1742843511_3765549_1346919516_5d3109d324686716d9770f2c3dc6eefb_rle_crop_3727539699_0.png', 1346920650: '1742843511_3765549_1346919516_5d3109d324686716d9770f2c3dc6eefb_rle_crop_3727539686_0.png', 1346921045: '1742843596_3766948_1346920078_4d2f63bb007e69fc9267363f173b1f78_rle_crop_3727541447_0.png', 1346921046: '1742843596_3766948_1346920058_eff0d414613354236ee291ad8dc7e4f1_rle_crop_3727542059_0.png', 1346921047: '1742843596_3766948_1346919987_60855b45a669a99baa162da59616ce90_rle_crop_3727542165_0.png', 1346921255: '1742843635_3767736_1346919516_5d3109d324686716d9770f2c3dc6eefb_rle_crop_3727539699_0.png', 1346921256: '1742843635_3767736_1346919516_5d3109d324686716d9770f2c3dc6eefb_rle_crop_3727539686_0.png', 1346921768: '1742843715_3769227_1346920078_4d2f63bb007e69fc9267363f173b1f78_bib_crop_3727541447_0.jpg', 1346921770: '1742843715_3769227_1346920058_eff0d414613354236ee291ad8dc7e4f1_rle_crop_3727542059_0.png', 1346921771: '1742843715_3769227_1346919987_60855b45a669a99baa162da59616ce90_rle_crop_3727542165_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/c59fdffcaf08df3330dcf9934dac79ec_51767017.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/f4493dff1f0b5ed9dde116189d27915d_67287735.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/1764e8d7a9f7b1d4eaa9cd03277ef294_47128316.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/a5ada8c8026abccb1479997141fc1db2_27783900.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/5806650e6489b66b74da150738660ff8_19869628.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/b8d03097be70dcaa2c486f3133681d90_6332956.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/34d5fe7e8aa348502a01e70665c76c5c_39138488.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/748cf0031eb7d6ddecaa2a6f305ba6e2_71913744.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/d32b0084f08c8670f670d80382ae5c38_38936265.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/fbf6c1e38e92442987f94e8535769f23_5937995.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/8071ef4b5815d87a517546428f46748f_49758723.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/34d5fe7e8aa348502a01e70665c76c5c_47672692.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/748cf0031eb7d6ddecaa2a6f305ba6e2_65587958.png change filename to text .wget -O 14.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/bcc9ff7a7f4e7ff79c0735fe1c3d7923_93393017.jpg change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/fbf6c1e38e92442987f94e8535769f23_51203040.png change filename to text .imagette216663891742843887/ imagette216663891742843887/1742843635_3767736_1346919516_5d3109d324686716d9770f2c3dc6eefb_rle_crop_3727539686_0.png.png imagette216663891742843887/1742843322_1472484_1346918361_6d8390f88e5bae3dd05b2b7993730ac7_rle_crop_3727535723_0.png.png imagette216663891742843887/1742843322_1472484_1346918594_ac49bc5c510ebdccd9cc109292f11d90_rle_crop_3727535696_0.png.png imagette216663891742843887/1742843596_3766948_1346920058_eff0d414613354236ee291ad8dc7e4f1_rle_crop_3727542059_0.png.png imagette216663891742843887/1742843511_3765549_1346919516_5d3109d324686716d9770f2c3dc6eefb_rle_crop_3727539699_0.png.png imagette216663891742843887/1742843715_3769227_1346920078_4d2f63bb007e69fc9267363f173b1f78_bib_crop_3727541447_0.jpg.jpg imagette216663891742843887/1742843511_3765549_1346919516_5d3109d324686716d9770f2c3dc6eefb_rle_crop_3727539686_0.png.png imagette216663891742843887/1742843635_3767736_1346919516_5d3109d324686716d9770f2c3dc6eefb_rle_crop_3727539699_0.png.png imagette216663891742843887/1742843596_3766948_1346920078_4d2f63bb007e69fc9267363f173b1f78_rle_crop_3727541447_0.png.png imagette216663891742843887/1742843331_3761892_1346919116_7246f6b2b2af0a57ec54c90a2c3b08bd_rle_crop_3727537729_0.png.png imagette216663891742843887/1742843491_3765152_1346919659_ca1b077a14415eeee6b42228bfbdef21_rle_crop_3727538812_0.png.png imagette216663891742843887/1742843322_1472484_1346918594_ac49bc5c510ebdccd9cc109292f11d90_rle_crop_3727536492_0.png.png imagette216663891742843887/1742843715_3769227_1346919987_60855b45a669a99baa162da59616ce90_rle_crop_3727542165_0.png.png imagette216663891742843887/1742843331_3761892_1346919135_afd200cbb9bba02c704672166891cc0b_rle_crop_3727537716_0.png.png imagette216663891742843887/1742843596_3766948_1346919987_60855b45a669a99baa162da59616ce90_rle_crop_3727542165_0.png.png imagette216663891742843887/1742843715_3769227_1346920058_eff0d414613354236ee291ad8dc7e4f1_rle_crop_3727542059_0.png.png imagette216663901742843888/ wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/8071ef4b5815d87a517546428f46748f_14950985.png imagette216663891742843887 21666390 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=21666390 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette216663901742843888 21666392 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=21666392 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346920398: '1742843491_3765152_1346919665_9a63c09f80c0751d1687214b827180c6_rle_crop_3727538787_0.png'} change filename to text .imagette216663921742843888/ imagette216663921742843888/1742843491_3765152_1346919665_9a63c09f80c0751d1687214b827180c6_rle_crop_3727538787_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/7ee5d5f46d1072bec3c5e43f0c3a3a98_25690033.png imagette216663921742843888 21666379 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=21666379 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346920372: '1742843491_3765152_1346919655_3dcb8be6a02d92e27af5ac04135d7239_rle_crop_3727539106_0.png', 1346921717: '1742843715_3769227_1346920012_e805d9a551795882740b36025dfa459c_rle_crop_3727542131_0.png', 1346921716: '1742843715_3769227_1346920058_eff0d414613354236ee291ad8dc7e4f1_rle_crop_3727542058_0.png', 1346921715: '1742843715_3769227_1346920078_4d2f63bb007e69fc9267363f173b1f78_rle_crop_3727541448_0.png', 1346921712: '1742843715_3769227_1346920078_4d2f63bb007e69fc9267363f173b1f78_rle_crop_3727541440_0.png', 1346921217: '1742843635_3767736_1346919526_ad79a66910e67da01a41bb222adea3f0_rle_crop_3727539424_0.png', 1346921000: '1742843596_3766948_1346920012_e805d9a551795882740b36025dfa459c_rle_crop_3727542131_0.png', 1346920998: '1742843596_3766948_1346920058_eff0d414613354236ee291ad8dc7e4f1_rle_crop_3727542058_0.png', 1346920997: '1742843596_3766948_1346920078_4d2f63bb007e69fc9267363f173b1f78_rle_crop_3727541448_0.png', 1346920996: '1742843596_3766948_1346920078_4d2f63bb007e69fc9267363f173b1f78_rle_crop_3727541440_0.png', 1346920621: '1742843511_3765549_1346919526_ad79a66910e67da01a41bb222adea3f0_rle_crop_3727539424_0.png', 1346919772: '1742843322_1472484_1346918956_7519aa56c0c1e63c45e7be99b4ba0ac8_rle_crop_3727535608_0.png', 1346920371: '1742843491_3765152_1346919655_3dcb8be6a02d92e27af5ac04135d7239_rle_crop_3727539100_0.png', 1346920370: '1742843491_3765152_1346919665_9a63c09f80c0751d1687214b827180c6_rle_crop_3727538796_0.png', 1346920369: '1742843491_3765152_1346919665_9a63c09f80c0751d1687214b827180c6_rle_crop_3727538794_0.png', 1346919845: '1742843331_3761892_1346919174_54d56f34a4696278687edd25b97ae4e0_rle_crop_3727537705_0.png', 1346919779: '1742843322_1472484_1346918361_6d8390f88e5bae3dd05b2b7993730ac7_rle_crop_3727535719_0.png', 1346919778: '1742843322_1472484_1346918594_ac49bc5c510ebdccd9cc109292f11d90_rle_crop_3727535686_0.png', 1346919776: '1742843322_1472484_1346918594_ac49bc5c510ebdccd9cc109292f11d90_rle_crop_3727535682_0.png', 1346919775: '1742843322_1472484_1346918629_835867db4308296b53dbbca64f460512_rle_crop_3727535669_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/9cbe1e8054f3f5d2f0e99b6fe30a57ad_84449834.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/28507c5757438c8ec9fdfa7ad330a630_20127020.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/14b47b1f418e50bb15ec7aa5f2ac1cbc_75549781.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/b4a71c1d68dce8baf6b147370e004db2_30379692.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/a47c598387ac400ee9bc901fc1aa098e_86930361.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/3da3e47a088ef7c3cbd131201bb3e405_69302492.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/28507c5757438c8ec9fdfa7ad330a630_67909859.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/14b47b1f418e50bb15ec7aa5f2ac1cbc_83165609.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/b4a71c1d68dce8baf6b147370e004db2_20358324.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/a47c598387ac400ee9bc901fc1aa098e_45189107.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/3da3e47a088ef7c3cbd131201bb3e405_47350011.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/91abc9f1f737f91545c4eb445b583d5f_26060344.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/b50b956b2c2044744aa8fd4f4b956c7f_86447634.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/4d08be5d8a098d821a27315b3aa59103_92772274.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/821871acbb0f7418cc03cde750852b25_81064076.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/934ed06fef4c0a1332e6be391ff34649_36107931.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/8f7150e7858268375b097078c0de55e6_52573972.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/f4dfad0fd7e60bc13dea4dc4ab39cdff_49091301.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/d46d50e8046dc848659af71a84996c82_2700621.png change filename to text .imagette216663791742843888/ imagette216663791742843888/1742843322_1472484_1346918594_ac49bc5c510ebdccd9cc109292f11d90_rle_crop_3727535682_0.png.png imagette216663791742843888/1742843635_3767736_1346919526_ad79a66910e67da01a41bb222adea3f0_rle_crop_3727539424_0.png.png imagette216663791742843888/1742843715_3769227_1346920058_eff0d414613354236ee291ad8dc7e4f1_rle_crop_3727542058_0.png.png imagette216663791742843888/1742843511_3765549_1346919526_ad79a66910e67da01a41bb222adea3f0_rle_crop_3727539424_0.png.png imagette216663791742843888/1742843596_3766948_1346920078_4d2f63bb007e69fc9267363f173b1f78_rle_crop_3727541440_0.png.png imagette216663791742843888/1742843596_3766948_1346920012_e805d9a551795882740b36025dfa459c_rle_crop_3727542131_0.png.png imagette216663791742843888/1742843491_3765152_1346919665_9a63c09f80c0751d1687214b827180c6_rle_crop_3727538796_0.png.png imagette216663791742843888/1742843491_3765152_1346919665_9a63c09f80c0751d1687214b827180c6_rle_crop_3727538794_0.png.png imagette216663791742843888/1742843491_3765152_1346919655_3dcb8be6a02d92e27af5ac04135d7239_rle_crop_3727539100_0.png.png imagette216663791742843888/1742843322_1472484_1346918956_7519aa56c0c1e63c45e7be99b4ba0ac8_rle_crop_3727535608_0.png.png imagette216663791742843888/1742843331_3761892_1346919174_54d56f34a4696278687edd25b97ae4e0_rle_crop_3727537705_0.png.png imagette216663791742843888/1742843322_1472484_1346918361_6d8390f88e5bae3dd05b2b7993730ac7_rle_crop_3727535719_0.png.png imagette216663791742843888/1742843715_3769227_1346920078_4d2f63bb007e69fc9267363f173b1f78_rle_crop_3727541448_0.png.png imagette216663791742843888/1742843596_3766948_1346920078_4d2f63bb007e69fc9267363f173b1f78_rle_crop_3727541448_0.png.png imagette216663791742843888/1742843322_1472484_1346918629_835867db4308296b53dbbca64f460512_rle_crop_3727535669_0.png.png imagette216663791742843888/1742843322_1472484_1346918594_ac49bc5c510ebdccd9cc109292f11d90_rle_crop_3727535686_0.png.png imagette216663791742843888/1742843596_3766948_1346920058_eff0d414613354236ee291ad8dc7e4f1_rle_crop_3727542058_0.png.png imagette216663791742843888/1742843715_3769227_1346920078_4d2f63bb007e69fc9267363f173b1f78_rle_crop_3727541440_0.png.png imagette216663791742843888/1742843715_3769227_1346920012_e805d9a551795882740b36025dfa459c_rle_crop_3727542131_0.png.png imagette216663791742843888/1742843491_3765152_1346919655_3dcb8be6a02d92e27af5ac04135d7239_rle_crop_3727539106_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/8821ee8542f851b45b0d851ad847ca40_96897711.png imagette216663791742843888 21666386 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=21666386 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346919765: '1742843322_1472484_1346918629_835867db4308296b53dbbca64f460512_rle_crop_3727535665_0.png', 1346919784: '1742843311_3761540_1346919449_b26fd59eea04a7f5081fa359039b3ab4_rle_crop_3727536555_0.png', 1346919842: '1742843331_3761892_1346919174_54d56f34a4696278687edd25b97ae4e0_rle_crop_3727537707_0.png', 1346920596: '1742843511_3765549_1346919558_52691562232b888f5623a31a394fe2f6_rle_crop_3727539328_0.png', 1346920598: '1742843511_3765549_1346919547_7af8db0584fdc504dcfd339110a443ee_rle_crop_3727539348_0.png', 1346920969: '1742843596_3766948_1346920031_b2c459cbacf5e7ce0a0eb665e8a79847_rle_crop_3727542109_0.png', 1346921164: '1742843635_3767736_1346919558_52691562232b888f5623a31a394fe2f6_rle_crop_3727539328_0.png', 1346921165: '1742843635_3767736_1346919547_7af8db0584fdc504dcfd339110a443ee_rle_crop_3727539348_0.png', 1346921670: '1742843715_3769227_1346920031_b2c459cbacf5e7ce0a0eb665e8a79847_rle_crop_3727542109_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/5b481147698c2436ccef4861f60b174f_23115228.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/ef6343ed11b0bc7f40db42b562802ae2_725251.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/89b1210ba731eb0b3b3cdd6cdfb018db_16525638.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/39404747fe02d9e0cbdf59d9d8c6b194_26514188.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/e56a78a70c79df5ca67bf595370cbff3_83329132.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/d5461489e017a1464518c2d466f30bda_59910876.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/39404747fe02d9e0cbdf59d9d8c6b194_88587417.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/e56a78a70c79df5ca67bf595370cbff3_21258099.png change filename to text .imagette216663861742843889/ imagette216663861742843889/1742843596_3766948_1346920031_b2c459cbacf5e7ce0a0eb665e8a79847_rle_crop_3727542109_0.png.png imagette216663861742843889/1742843322_1472484_1346918629_835867db4308296b53dbbca64f460512_rle_crop_3727535665_0.png.png imagette216663861742843889/1742843511_3765549_1346919547_7af8db0584fdc504dcfd339110a443ee_rle_crop_3727539348_0.png.png imagette216663861742843889/1742843635_3767736_1346919547_7af8db0584fdc504dcfd339110a443ee_rle_crop_3727539348_0.png.png imagette216663861742843889/1742843331_3761892_1346919174_54d56f34a4696278687edd25b97ae4e0_rle_crop_3727537707_0.png.png imagette216663861742843889/1742843511_3765549_1346919558_52691562232b888f5623a31a394fe2f6_rle_crop_3727539328_0.png.png imagette216663861742843889/1742843635_3767736_1346919558_52691562232b888f5623a31a394fe2f6_rle_crop_3727539328_0.png.png imagette216663861742843889/1742843311_3761540_1346919449_b26fd59eea04a7f5081fa359039b3ab4_rle_crop_3727536555_0.png.png imagette216663861742843889/1742843715_3769227_1346920031_b2c459cbacf5e7ce0a0eb665e8a79847_rle_crop_3727542109_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/d5461489e017a1464518c2d466f30bda_25914043.png imagette216663861742843889 21666387 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=21666387 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346919786: '1742843322_1472484_1346918629_835867db4308296b53dbbca64f460512_rle_crop_3727535667_0.png', 1346919787: '1742843322_1472484_1346918361_6d8390f88e5bae3dd05b2b7993730ac7_rle_crop_3727535726_0.png', 1346919852: '1742843331_3761892_1346919470_1bd6e22ac2b4654af9f6872e4358f35b_rle_crop_3727536845_0.png', 1346920381: '1742843491_3765152_1346919665_9a63c09f80c0751d1687214b827180c6_rle_crop_3727538793_0.png', 1346920640: '1742843511_3765549_1346919671_f705592125dd647106b30e588974e95b_rle_crop_3727539315_0.png', 1346920755: '1742843574_3766647_1346919886_31cb3a64768c85e48b5f6f2354b35dcf_rle_crop_3727540771_0.png', 1346920757: '1742843574_3766647_1346919878_88543aaf42ad812b59cdf69a617718c2_rle_crop_3727540853_0.png', 1346921032: '1742843596_3766948_1346920078_4d2f63bb007e69fc9267363f173b1f78_rle_crop_3727541443_0.png', 1346921033: '1742843596_3766948_1346920031_b2c459cbacf5e7ce0a0eb665e8a79847_rle_crop_3727542104_0.png', 1346921242: '1742843635_3767736_1346919671_f705592125dd647106b30e588974e95b_rle_crop_3727539315_0.png', 1346921244: '1742843635_3767736_1346919516_5d3109d324686716d9770f2c3dc6eefb_rle_crop_3727542420_0.png', 1346921747: '1742843715_3769227_1346920078_4d2f63bb007e69fc9267363f173b1f78_rle_crop_3727541443_0.png', 1346921748: '1742843715_3769227_1346920031_b2c459cbacf5e7ce0a0eb665e8a79847_rle_crop_3727542104_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/15929efa2bc6043188a171d2640d24a3_90094282.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/942f6445859815f0edaced6212ef2c1d_5288834.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/3356e5691526c89cdeed20583694da4c_8072802.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/33656e0c4642291d1572e2f12740034d_8424906.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/3f4b2c206b3f4db024c42499371af831_85924643.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/63603c308ec0bfe89720a802c5f717c2_7375398.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/965b8a6917243019fb9e4456fdff5993_55921660.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/d67d8866cda9e853a7c0f3359ba45cc7_60052720.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/c8a25f5808a8a652d8ee89a4e104d5a6_51593672.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/3f4b2c206b3f4db024c42499371af831_89970676.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/7a1ae5096891a2ce626492420b569ad0_63164310.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/d67d8866cda9e853a7c0f3359ba45cc7_12369791.png change filename to text .imagette216663871742843890/ imagette216663871742843890/1742843322_1472484_1346918361_6d8390f88e5bae3dd05b2b7993730ac7_rle_crop_3727535726_0.png.png imagette216663871742843890/1742843635_3767736_1346919671_f705592125dd647106b30e588974e95b_rle_crop_3727539315_0.png.png imagette216663871742843890/1742843574_3766647_1346919878_88543aaf42ad812b59cdf69a617718c2_rle_crop_3727540853_0.png.png imagette216663871742843890/1742843491_3765152_1346919665_9a63c09f80c0751d1687214b827180c6_rle_crop_3727538793_0.png.png imagette216663871742843890/1742843511_3765549_1346919671_f705592125dd647106b30e588974e95b_rle_crop_3727539315_0.png.png imagette216663871742843890/1742843331_3761892_1346919470_1bd6e22ac2b4654af9f6872e4358f35b_rle_crop_3727536845_0.png.png imagette216663871742843890/1742843715_3769227_1346920031_b2c459cbacf5e7ce0a0eb665e8a79847_rle_crop_3727542104_0.png.png imagette216663871742843890/1742843322_1472484_1346918629_835867db4308296b53dbbca64f460512_rle_crop_3727535667_0.png.png imagette216663871742843890/1742843635_3767736_1346919516_5d3109d324686716d9770f2c3dc6eefb_rle_crop_3727542420_0.png.png imagette216663871742843890/1742843596_3766948_1346920031_b2c459cbacf5e7ce0a0eb665e8a79847_rle_crop_3727542104_0.png.png imagette216663871742843890/1742843574_3766647_1346919886_31cb3a64768c85e48b5f6f2354b35dcf_rle_crop_3727540771_0.png.png imagette216663871742843890/1742843596_3766948_1346920078_4d2f63bb007e69fc9267363f173b1f78_rle_crop_3727541443_0.png.png imagette216663871742843890/1742843715_3769227_1346920078_4d2f63bb007e69fc9267363f173b1f78_rle_crop_3727541443_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/c8a25f5808a8a652d8ee89a4e104d5a6_2286556.png imagette216663871742843890 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21666344 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21666393,21666394,21666395,21666396,21666397,21666398,21666399,21666400,21666401,21666402,21666403,21666404?tags=Carton_gris,autre_refus,mal_croppe,papier,cartonnette,Teint_Dans_La_Masse,Carton_brun,metal,plastique,flou,environnement,kraft your option no_mail is active, we will not send the real mail to your client args[1346921807] : ('0.07308427186597424',) no score found for photo 1346921807 We are sending mail with results at report@fotonower.com args[1346921480] : ('0.07308427186597424',) no score found for photo 1346921480 We are sending mail with results at report@fotonower.com args[1346921447] : ('0.07308427186597424',) no score found for photo 1346921447 We are sending mail with results at report@fotonower.com args[1346921320] : ('0.07308427186597424',) no score found for photo 1346921320 We are sending mail with results at report@fotonower.com args[1346921317] : ('0.07308427186597424',) no score found for photo 1346921317 We are sending mail with results at report@fotonower.com args[1346921314] : ('0.07308427186597424',) no score found for photo 1346921314 We are sending mail with results at report@fotonower.com args[1346921310] : ('0.07308427186597424',) no score found for photo 1346921310 We are sending mail with results at report@fotonower.com refus_total : 0.07308427186597424 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=21666344 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_P21666344_24-03-2025_20_18_05.pdf results_Auto_P21666344_24-03-2025_20_18_05.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21666344_24-03-2025_20_18_05.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','21666344','results_Auto_P21666344_24-03-2025_20_18_05.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21666344_24-03-2025_20_18_05.pdf','pdf','','0.29','0.07308427186597424') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21666344]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1346921807, 1346921480, 1346921447, 1346921320, 1346921317, 1346921314, 1346921310] map_info['map_portfolio_photo'] : {21666344: [1346921807, 1346921480, 1346921447, 1346921320, 1346921317, 1346921314, 1346921310, 1346921057, 1346921037, 1346920520, 1346920376, 1346920308, 1346920281, 1346920102, 1346920078, 1346920058, 1346920031, 1346920012, 1346919987, 1346919893, 1346919890, 1346919886, 1346919878, 1346919858, 1346919788, 1346919773, 1346919764, 1346919761, 1346919757, 1346919744, 1346919671, 1346919665, 1346919659, 1346919655, 1346919565, 1346919558, 1346919547, 1346919526, 1346919521, 1346919516, 1346919470, 1346919449, 1346919437, 1346919401, 1346919210, 1346919199, 1346919186, 1346919174, 1346919135, 1346919116, 1346918956, 1346918951, 1346918947, 1346918937, 1346918917, 1346918763, 1346918671, 1346918629, 1346918594, 1346918479, 1346918361, 1346918169, 1346918164, 1346918157]} final : False mtd_id 4302 list_pids : [1346921807, 1346921480, 1346921447, 1346921320, 1346921317, 1346921314, 1346921310] 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, '2686894') ('4302', '21666344', '1346921807', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921480', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921447', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921320', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921317', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921314', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921310', None, None, None, None, None, '2686894') 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', '21666344', '1346921807', None, None, None, None, None, '2686894'), ('4302', '21666344', '1346921480', None, None, None, None, None, '2686894'), ('4302', '21666344', '1346921447', None, None, None, None, None, '2686894'), ('4302', '21666344', '1346921320', None, None, None, None, None, '2686894'), ('4302', '21666344', '1346921317', None, None, None, None, None, '2686894'), ('4302', '21666344', '1346921314', None, None, None, None, None, '2686894'), ('4302', '21666344', '1346921310', None, None, None, None, None, '2686894')] time used for this insertion : 0.013231515884399414 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.199286937713623 time spend to save output : 0.013431072235107422 total time spend for step 4 : 7.2127180099487305 step5:split_time_score Mon Mar 24 20:18:12 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 : ['21666344'] 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 : [('21666344',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21666344) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1346921807: {'path': 'temp/1742843884_1831648_1346921807_532df6a57116213f19b94ef8011de6ec.jpg', 'extension': 'jpg'}, 1346921447: {'path': 'temp/1742843884_1831648_1346921447_51fc5f1cc5c5623a8aadce7b934625cc.jpg', 'extension': 'jpg'}, 1346921480: {'path': 'temp/1742843884_1831648_1346921480_4607f7209bfd51d95eff9e037cb78fc0.jpg', 'extension': 'jpg'}, 1346921317: {'path': 'temp/1742843884_1831648_1346921317_91194d030ae439cb140b71c2899f406d.jpg', 'extension': 'jpg'}, 1346921320: {'path': 'temp/1742843884_1831648_1346921320_15e33adcfecbefe49eed8bd1a7274b4d.jpg', 'extension': 'jpg'}, 1346921310: {'path': 'temp/1742843884_1831648_1346921310_e9c4b82e8836c2baf9051cfb9356bfcf.jpg', 'extension': 'jpg'}, 1346921314: {'path': 'temp/1742843884_1831648_1346921314_4c23b5339c53d6b301442fa53ac70ee2.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 = 21666344; (('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 = 21666344 group by h (('20', 64),) 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=21666344 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 (21666344) 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 (21666344) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 24032025 21666344 Nombre de photos uploadées : 64 / 23040 (0%) 24032025 21666344 Nombre de photos taguées (types de déchets): 0 / 64 (0%) 24032025 21666344 Nombre de photos taguées (volume) : 0 / 64 (0%) [{'photo_id': 1346918169, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/409a15dc73da8e830a26fd768f7569ea.jpg', 'username': None, 'uploaded_at': 1742842930, 'text': 'image_24032025_20_00_13_010189m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1346918164, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/466da9b15e27cdff2e35987b3a6a7d4e.jpg', 'username': None, 'uploaded_at': 1742842930, 'text': 'image_24032025_20_00_24_010139m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1346918157, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/62ae6703e19140ab0147dd5ce449088d.jpg', 'username': None, 'uploaded_at': 1742842930, 'text': 'image_24032025_20_00_44_010135m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1346918763, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/8a75da8aab3bdfd1b6abdb1f53771afc.jpg', 'username': None, 'uploaded_at': 1742842990, 'text': 'image_24032025_20_00_54_010135m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 9.5367431640625e-07 elapsed_time : order_list_meta_photo_and_scores 7.867813110351562e-06 ???????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002401590347290039 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21666344, '2025-03-24' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1682789,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02657294273376465 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= 1682789 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1682789, 'dashboard_run_id': 1692602, 'mtr_portfolio_id': 21664360, 'dashboard_result_id': 9591539, '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_P21664360_24-03-2025_19_49_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21664373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21664374, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21664375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21664377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21664383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21664389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21664391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21664392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21664393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21664394, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21664395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21664396, 'pht': 3726}}"}, {'dashboat_entry_day': 1682789, 'dashboard_run_id': 1692602, 'mtr_portfolio_id': 21665328, 'dashboard_result_id': 9591540, '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_P21665328_24-03-2025_20_04_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21665401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21665402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21665403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21665404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21665405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21665406, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21665407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21665408, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21665409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21665410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21665411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21665412, 'pht': 3726}}"}, {'dashboat_entry_day': 1682789, 'dashboard_run_id': 1692602, 'mtr_portfolio_id': 21666344, 'dashboard_result_id': 9591541, '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_P21666344_24-03-2025_20_17_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21666379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21666381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21666382, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21666384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21666385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21666386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21666387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21666388, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21666389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21666390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21666391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21666392, '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 = 21664360 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': 2686804, 'mtr_portfolio_id': 21664360, 'created_at': datetime.datetime(2025, 3, 24, 19, 49, 1), 'result': '0.07812672458375872', 'result_long': None, 'result_double': None}] Qualite : 0.07812672458375872 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21664360 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21664360_24-03-2025_19_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21664360 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_P21664360_24-03-2025_19_49_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21664373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21664374, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21664375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21664377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21664383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21664389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21664391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21664392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21664393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21664394, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21664395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21664396, 'pht': 3726}}" where mtr_portfolio_id = 21664360 and dashboard_run_id = 1692602 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`=21664360 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9591539, 0.07812672458375872, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21664360_24-03-2025_19_49_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21664373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21664374, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21664375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21664377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21664383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21664389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21664391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21664392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21664393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21664394, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21664395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21664396, '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 = 21665328 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': 2686836, 'mtr_portfolio_id': 21665328, 'created_at': datetime.datetime(2025, 3, 24, 20, 4, 1), 'result': '0.0749760019901851', 'result_long': None, 'result_double': None}] Qualite : 0.0749760019901851 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21665328 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21665328_24-03-2025_20_04_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21665328 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_P21665328_24-03-2025_20_04_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21665401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21665402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21665403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21665404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21665405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21665406, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21665407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21665408, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21665409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21665410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21665411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21665412, 'pht': 3726}}" where mtr_portfolio_id = 21665328 and dashboard_run_id = 1692602 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`=21665328 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9591540, 0.0749760019901851, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21665328_24-03-2025_20_04_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21665401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21665402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21665403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21665404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21665405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21665406, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21665407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21665408, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21665409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21665410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21665411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21665412, '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 = 21666344 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': 2686894, 'mtr_portfolio_id': 21666344, 'created_at': datetime.datetime(2025, 3, 24, 20, 18, 4), 'result': '0.07308427186597424', 'result_long': None, 'result_double': None}] Qualite : 0.07308427186597424 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21666344 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21666344_24-03-2025_20_18_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21666344 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_P21666344_24-03-2025_20_18_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21666379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21666381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21666382, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21666384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21666385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21666386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21666387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21666388, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21666389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21666390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21666391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21666392, 'pht': 3726}}" where mtr_portfolio_id = 21666344 and dashboard_run_id = 1692602 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`=21666344 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9591541, 0.07308427186597424, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21666344_24-03-2025_20_18_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21666379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21666381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21666382, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21666384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21666385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21666386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21666387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21666388, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21666389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21666390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21666391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21666392, '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 (21664360,21665328,21666344) result : ((1346901612,), (1346901631,), (1346901678,), (1346901707,), (1346901747,), (1346902102,), (1346902143,), (1346902194,), (1346902251,), (1346902279,), (1346902587,), (1346902676,), (1346902710,), (1346902737,), (1346902760,), (1346902781,), (1346903235,), (1346903334,), (1346903398,), (1346903407,), (1346903811,), (1346904028,), (1346904170,), (1346904236,), (1346904277,), (1346904372,), (1346904783,), (1346904867,), (1346904914,), (1346905021,), (1346905682,), (1346905778,), (1346905973,), (1346906048,), (1346906126,), (1346906192,), (1346906694,), (1346906731,), (1346906777,), (1346906842,), (1346906889,), (1346907353,), (1346907384,), (1346907465,), (1346907533,), (1346907584,), (1346908187,), (1346908299,), (1346908437,), (1346908523,), (1346908553,), (1346908577,), (1346909306,), (1346909328,), (1346909379,), (1346909448,), (1346909529,), (1346910148,), (1346910256,), (1346910364,), (1346910455,), (1346910542,), (1346910919,), (1346910966,), (1346910995,), (1346911024,), (1346911057,), (1346911081,), (1346911583,), (1346911645,), (1346911698,), (1346911790,), (1346912489,), (1346912547,), (1346912591,), (1346912642,), (1346912747,), (1346912774,), (1346913224,), (1346913098,), (1346913115,), (1346913142,), (1346913177,), (1346913815,), (1346913947,), (1346914004,), (1346914065,), (1346914095,), (1346914438,), (1346914445,), (1346914458,), (1346914467,), (1346914513,), (1346914709,), (1346914728,), (1346914866,), (1346914890,), (1346914904,), (1346914922,), (1346915151,), (1346915170,), (1346915203,), (1346915214,), (1346915226,), (1346915343,), (1346915371,), (1346915375,), (1346915380,), (1346915408,), (1346915433,), (1346915539,), (1346915556,), (1346915583,), (1346915797,), (1346915815,), (1346915821,), (1346915841,), (1346915857,), (1346915869,), (1346915941,), (1346915949,), (1346915956,), (1346915970,), (1346916028,), (1346916034,), (1346916053,), (1346916068,), (1346916081,), (1346916088,), (1346916127,), (1346916136,), (1346916152,), (1346916155,), (1346916431,), (1346916469,), (1346916480,), (1346916483,), (1346916487,), (1346916510,), (1346916731,), (1346916757,), (1346916783,), (1346916807,), (1346916832,), (1346917769,), (1346917813,), (1346917838,), (1346917880,), (1346917915,), (1346917943,), (1346918175,), (1346918157,), (1346918164,), (1346918169,), (1346918361,), (1346918479,), (1346918594,), (1346918629,), (1346918671,), (1346918763,), (1346918917,), (1346918937,), (1346918947,), (1346918951,), (1346918956,), (1346919116,), (1346919135,), (1346919174,), (1346919186,), (1346919199,), (1346919210,), (1346919401,), (1346919437,), (1346919449,), (1346919470,), (1346919516,), (1346919521,), (1346919526,), (1346919547,), (1346919558,), (1346919565,), (1346919655,), (1346919659,), (1346919665,), (1346919671,), (1346919744,), (1346919757,), (1346919761,), (1346919764,), (1346919773,), (1346919788,), (1346919858,), (1346919878,), (1346919886,), (1346919890,), (1346919893,), (1346919987,), (1346920012,), (1346920031,), (1346920058,), (1346920078,), (1346920102,), (1346920281,), (1346920308,), (1346920376,), (1346920520,), (1346921037,), (1346921057,), (1346921310,), (1346921314,), (1346921317,), (1346921320,), (1346921447,), (1346921480,), (1346921807,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'24032025': {'nb_upload': 64, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21666344]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1346921807, 1346921480, 1346921447, 1346921320, 1346921317, 1346921314, 1346921310] map_info['map_portfolio_photo'] : {21666344: [1346921807, 1346921480, 1346921447, 1346921320, 1346921317, 1346921314, 1346921310, 1346921057, 1346921037, 1346920520, 1346920376, 1346920308, 1346920281, 1346920102, 1346920078, 1346920058, 1346920031, 1346920012, 1346919987, 1346919893, 1346919890, 1346919886, 1346919878, 1346919858, 1346919788, 1346919773, 1346919764, 1346919761, 1346919757, 1346919744, 1346919671, 1346919665, 1346919659, 1346919655, 1346919565, 1346919558, 1346919547, 1346919526, 1346919521, 1346919516, 1346919470, 1346919449, 1346919437, 1346919401, 1346919210, 1346919199, 1346919186, 1346919174, 1346919135, 1346919116, 1346918956, 1346918951, 1346918947, 1346918937, 1346918917, 1346918763, 1346918671, 1346918629, 1346918594, 1346918479, 1346918361, 1346918169, 1346918164, 1346918157]} final : True mtd_id 4302 list_pids : [1346921807, 1346921480, 1346921447, 1346921320, 1346921317, 1346921314, 1346921310] Looping around the photos to save general results len do output : 1 /21666344Didn'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, '2686894') ('4302', '21666344', '1346921807', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921480', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921447', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921320', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921317', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921314', None, None, None, None, None, '2686894') ('4302', None, None, None, None, None, None, None, '2686894') ('4302', '21666344', '1346921310', None, None, None, None, None, '2686894') 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, '21666344', 'None', None, None, None, None, '2686894'), ('4302', '21666344', '1346921807', None, None, None, None, None, '2686894'), ('4302', '21666344', '1346921480', None, None, None, None, None, '2686894'), ('4302', '21666344', '1346921447', None, None, None, None, None, '2686894'), ('4302', '21666344', '1346921320', None, None, None, None, None, '2686894'), ('4302', '21666344', '1346921317', None, None, None, None, None, '2686894'), ('4302', '21666344', '1346921314', None, None, None, None, None, '2686894'), ('4302', '21666344', '1346921310', None, None, None, None, None, '2686894')] time used for this insertion : 0.013150453567504883 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.2994086742401123 time spend to save output : 0.013449907302856445 total time spend for step 5 : 0.31285858154296875 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 (2686894) 2.21user 2.55system 0:17.08elapsed 27%CPU (0avgtext+0avgdata 159872maxresident)k 63584inputs+17824outputs (303major+75284minor)pagefaults 0swaps