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 22008694 , 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=22008684 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 (22008694) result : ((1349732466,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22008684) result : ((1349731329,), (1349731336,), (1349731342,), (1349731409,), (1349731413,), (1349731425,), (1349731445,), (1349731477,), (1349731480,), (1349731560,), (1349731564,), (1349731566,), (1349731568,), (1349731632,), (1349731661,), (1349731663,), (1349731665,), (1349731678,), (1349731697,), (1349731787,), (1349731840,), (1349731842,), (1349731849,), (1349731955,), (1349731958,), (1349731968,), (1349731970,), (1349731983,), (1349731989,), (1349732040,), (1349732093,), (1349732110,), (1349732114,), (1349732116,), (1349732155,), (1349732212,), (1349732246,), (1349732254,), (1349732284,), (1349732286,), (1349732287,), (1349732289,), (1349732291,), (1349732314,), (1349732326,), (1349732339,), (1349732342,), (1349732345,), (1349732381,), (1349732384,), (1349732386,), (1349732388,), (1349732435,), (1349732442,), (1349732444,), (1349732445,), (1349732448,), (1349732459,), (1349732495,), (1349732498,), (1349732502,), (1349732505,)) 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 22008695 , 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=22008684 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='mal_croppe' 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 (22008695) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22008684) result : ((1349731329,), (1349731336,), (1349731342,), (1349731409,), (1349731413,), (1349731425,), (1349731445,), (1349731477,), (1349731480,), (1349731560,), (1349731564,), (1349731566,), (1349731568,), (1349731632,), (1349731661,), (1349731663,), (1349731665,), (1349731678,), (1349731697,), (1349731787,), (1349731840,), (1349731842,), (1349731849,), (1349731955,), (1349731958,), (1349731968,), (1349731970,), (1349731983,), (1349731989,), (1349732040,), (1349732093,), (1349732110,), (1349732114,), (1349732116,), (1349732155,), (1349732212,), (1349732246,), (1349732254,), (1349732284,), (1349732286,), (1349732287,), (1349732289,), (1349732291,), (1349732314,), (1349732326,), (1349732339,), (1349732342,), (1349732345,), (1349732381,), (1349732384,), (1349732386,), (1349732388,), (1349732435,), (1349732442,), (1349732444,), (1349732445,), (1349732448,), (1349732459,), (1349732495,), (1349732498,), (1349732502,), (1349732505,)) 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 22008696 , 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=22008684 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='Carton_brun' 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 (22008696) result : ((1349731860,), (1349731917,), (1349731985,), (1349731986,), (1349731987,), (1349731988,), (1349732134,), (1349732255,), (1349732256,), (1349732257,), (1349732258,), (1349732259,), (1349732439,), (1349732440,), (1349732460,), (1349732461,), (1349732462,), (1349732533,), (1349732534,), (1349732547,), (1349732548,), (1349732549,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22008684) result : ((1349731329,), (1349731336,), (1349731342,), (1349731409,), (1349731413,), (1349731425,), (1349731445,), (1349731477,), (1349731480,), (1349731560,), (1349731564,), (1349731566,), (1349731568,), (1349731632,), (1349731661,), (1349731663,), (1349731665,), (1349731678,), (1349731697,), (1349731787,), (1349731840,), (1349731842,), (1349731849,), (1349731955,), (1349731958,), (1349731968,), (1349731970,), (1349731983,), (1349731989,), (1349732040,), (1349732093,), (1349732110,), (1349732114,), (1349732116,), (1349732155,), (1349732212,), (1349732246,), (1349732254,), (1349732284,), (1349732286,), (1349732287,), (1349732289,), (1349732291,), (1349732314,), (1349732326,), (1349732339,), (1349732342,), (1349732345,), (1349732381,), (1349732384,), (1349732386,), (1349732388,), (1349732435,), (1349732442,), (1349732444,), (1349732445,), (1349732448,), (1349732459,), (1349732495,), (1349732498,), (1349732502,), (1349732505,)) 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 22008697 , 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=22008684 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='plastique' 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 (22008697) result : ((1349732132,), (1349732441,), (1349732443,), (1349732464,), (1349732537,), (1349732550,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22008684) result : ((1349731329,), (1349731336,), (1349731342,), (1349731409,), (1349731413,), (1349731425,), (1349731445,), (1349731477,), (1349731480,), (1349731560,), (1349731564,), (1349731566,), (1349731568,), (1349731632,), (1349731661,), (1349731663,), (1349731665,), (1349731678,), (1349731697,), (1349731787,), (1349731840,), (1349731842,), (1349731849,), (1349731955,), (1349731958,), (1349731968,), (1349731970,), (1349731983,), (1349731989,), (1349732040,), (1349732093,), (1349732110,), (1349732114,), (1349732116,), (1349732155,), (1349732212,), (1349732246,), (1349732254,), (1349732284,), (1349732286,), (1349732287,), (1349732289,), (1349732291,), (1349732314,), (1349732326,), (1349732339,), (1349732342,), (1349732345,), (1349732381,), (1349732384,), (1349732386,), (1349732388,), (1349732435,), (1349732442,), (1349732444,), (1349732445,), (1349732448,), (1349732459,), (1349732495,), (1349732498,), (1349732502,), (1349732505,)) 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 22008698 , 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=22008684 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 (22008698) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22008684) result : ((1349731329,), (1349731336,), (1349731342,), (1349731409,), (1349731413,), (1349731425,), (1349731445,), (1349731477,), (1349731480,), (1349731560,), (1349731564,), (1349731566,), (1349731568,), (1349731632,), (1349731661,), (1349731663,), (1349731665,), (1349731678,), (1349731697,), (1349731787,), (1349731840,), (1349731842,), (1349731849,), (1349731955,), (1349731958,), (1349731968,), (1349731970,), (1349731983,), (1349731989,), (1349732040,), (1349732093,), (1349732110,), (1349732114,), (1349732116,), (1349732155,), (1349732212,), (1349732246,), (1349732254,), (1349732284,), (1349732286,), (1349732287,), (1349732289,), (1349732291,), (1349732314,), (1349732326,), (1349732339,), (1349732342,), (1349732345,), (1349732381,), (1349732384,), (1349732386,), (1349732388,), (1349732435,), (1349732442,), (1349732444,), (1349732445,), (1349732448,), (1349732459,), (1349732495,), (1349732498,), (1349732502,), (1349732505,)) 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`=22008684 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','kraft','autre_refus','Carton_gris','papier','metal','mal_croppe','flou','environnement','Carton_brun','Teint_Dans_La_Masse','plastique')) 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`=22008684 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','kraft','autre_refus','Carton_gris','papier','metal','mal_croppe','flou','environnement','Carton_brun','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 22008684, 'sub_port_id': 22008699, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14504187, 'last_updated_at': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 6, 34, 59)}, 'flou': {'main_port_id': 22008684, 'sub_port_id': 22008700, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14504188, 'last_updated_at': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 6, 34, 59)}, 'cartonnette': {'main_port_id': 22008684, 'sub_port_id': 22008701, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14504189, 'last_updated_at': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 6, 34, 59)}, 'autre_refus': {'main_port_id': 22008684, 'sub_port_id': 22008702, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14504190, 'last_updated_at': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 6, 34, 59)}, 'papier': {'main_port_id': 22008684, 'sub_port_id': 22008703, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14504191, 'last_updated_at': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 6, 34, 59)}, 'Carton_gris': {'main_port_id': 22008684, 'sub_port_id': 22008704, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14504192, 'last_updated_at': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 6, 34, 59)}, 'metal': {'main_port_id': 22008684, 'sub_port_id': 22008705, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14504193, 'last_updated_at': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 6, 34, 59)}, 'kraft': {'main_port_id': 22008684, 'sub_port_id': 22008706, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14504194, 'last_updated_at': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 6, 34, 59)}, 'mal_croppe': {'main_port_id': 22008684, 'sub_port_id': 22008707, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14504195, 'last_updated_at': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 6, 34, 59)}, 'Carton_brun': {'main_port_id': 22008684, 'sub_port_id': 22008708, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14504196, 'last_updated_at': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 6, 34, 59)}, 'plastique': {'main_port_id': 22008684, 'sub_port_id': 22008709, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14504197, 'last_updated_at': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 6, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 6, 34, 59)}, 'environnement': {'main_port_id': 22008684, 'sub_port_id': 22008710, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14504198, 'last_updated_at': datetime.datetime(2025, 4, 3, 6, 42, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 6, 42, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 6, 34, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22008699,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22008687 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22008700,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22008688 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22008701,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22008689 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22008702,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22008690 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22008703,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22008691 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22008704,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22008692 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22008705,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22008693 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22008706,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22008694 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22008707,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22008695 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22008708,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22008696 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22008709,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22008697 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22008710,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22008698 lien utilise dans velours : https://www.fotonower.com/velours/22008699,22008700,22008701,22008702,22008703,22008704,22008705,22008706,22008707,22008708,22008709,22008710?tags=Teint_Dans_La_Masse,flou,cartonnette,autre_refus,papier,Carton_gris,metal,kraft,mal_croppe,Carton_brun,plastique,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22008684]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1349732505, 1349732502, 1349732498, 1349732495, 1349732459, 1349732448, 1349732445, 1349732444, 1349732442, 1349732435] map_info['map_portfolio_photo'] : {22008684: [1349732505, 1349732502, 1349732498, 1349732495, 1349732459, 1349732448, 1349732445, 1349732444, 1349732442, 1349732435, 1349732388, 1349732386, 1349732384, 1349732381, 1349732345, 1349732342, 1349732339, 1349732326, 1349732314, 1349732291, 1349732289, 1349732287, 1349732286, 1349732284, 1349732254, 1349732246, 1349732212, 1349732155, 1349732116, 1349732114, 1349732110, 1349732093, 1349732040, 1349731989, 1349731983, 1349731970, 1349731968, 1349731958, 1349731955, 1349731849, 1349731842, 1349731840, 1349731787, 1349731697, 1349731678, 1349731665, 1349731663, 1349731661, 1349731632, 1349731568, 1349731566, 1349731564, 1349731560, 1349731480, 1349731477, 1349731445, 1349731425, 1349731413, 1349731409, 1349731342, 1349731336, 1349731329]} final : False mtd_id 4302 list_pids : [1349732505, 1349732502, 1349732498, 1349732495, 1349732459, 1349732448, 1349732445, 1349732444, 1349732442, 1349732435] Looping around the photos to save general results len do output : 1 /22008684. 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, '2719266') ('4302', '22008684', '1349732505', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732502', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732498', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732495', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732459', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732448', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732445', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732444', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732442', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732435', None, None, None, None, None, '2719266') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22008684', "{'Teint_Dans_La_Masse': 22008687, 'flou': 22008688, 'cartonnette': 22008689, 'autre_refus': 22008690, 'papier': 22008691, 'Carton_gris': 22008692, 'metal': 22008693, 'kraft': 22008694, 'mal_croppe': 22008695, 'Carton_brun': 22008696, 'plastique': 22008697, 'environnement': 22008698}", None, None, None, None, '2719266'), ('4302', '22008684', '1349732505', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732502', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732498', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732495', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732459', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732448', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732445', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732444', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732442', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732435', None, None, None, None, None, '2719266')] time used for this insertion : 0.032258033752441406 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7128610610961914 time spend to save output : 0.03260159492492676 total time spend for step 1 : 1.7454626560211182 step2:final Thu Apr 3 06:44:29 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 (22008684) 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 22008684 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1349731329,1349731342,1349731336,1349731480,1349731477,1349731445,1349731425,1349731413,1349731409,1349731568,1349731566,1349731564,1349731560,1349731697,1349731678,1349731665,1349731663,1349731661,1349731632,1349731849,1349731842,1349731840,1349731787,1349731989,1349731983,1349731970,1349731968,1349731958,1349731955,1349732116,1349732114,1349732110,1349732093,1349732040,1349732254,1349732246,1349732212,1349732155,1349732291,1349732289,1349732287,1349732286,1349732284,1349732345,1349732342,1349732314,1349732339,1349732326,1349732388,1349732386,1349732384,1349732381,1349732459,1349732448,1349732445,1349732444,1349732442,1349732435,1349732505,1349732502,1349732498,1349732495); 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([22008684]) Inside saveOutput : final : False verbose : True original output for save of step final : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ('0.05134261201732702',), 1349732448: ('0.05134261201732702',), 1349732445: ('0.05134261201732702',), 1349732444: ('0.05134261201732702',), 1349732442: ('0.05134261201732702',), 1349732435: ('0.05134261201732702',)} new output for save of step final : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ('0.05134261201732702',), 1349732448: ('0.05134261201732702',), 1349732445: ('0.05134261201732702',), 1349732444: ('0.05134261201732702',), 1349732442: ('0.05134261201732702',), 1349732435: ('0.05134261201732702',)} [1349732505, 1349732502, 1349732498, 1349732495, 1349732459, 1349732448, 1349732445, 1349732444, 1349732442, 1349732435] map_info['map_portfolio_photo'] : {22008684: [1349732505, 1349732502, 1349732498, 1349732495, 1349732459, 1349732448, 1349732445, 1349732444, 1349732442, 1349732435, 1349732388, 1349732386, 1349732384, 1349732381, 1349732345, 1349732342, 1349732339, 1349732326, 1349732314, 1349732291, 1349732289, 1349732287, 1349732286, 1349732284, 1349732254, 1349732246, 1349732212, 1349732155, 1349732116, 1349732114, 1349732110, 1349732093, 1349732040, 1349731989, 1349731983, 1349731970, 1349731968, 1349731958, 1349731955, 1349731849, 1349731842, 1349731840, 1349731787, 1349731697, 1349731678, 1349731665, 1349731663, 1349731661, 1349731632, 1349731568, 1349731566, 1349731564, 1349731560, 1349731480, 1349731477, 1349731445, 1349731425, 1349731413, 1349731409, 1349731342, 1349731336, 1349731329]} final : False mtd_id 4302 list_pids : [1349732505, 1349732502, 1349732498, 1349732495, 1349732459, 1349732448, 1349732445, 1349732444, 1349732442, 1349732435] Looping around the photos to save general results len do output : 10 /1349732505.Didn't retrieve data . /1349732502.Didn't retrieve data . /1349732498.Didn't retrieve data . /1349732495.Didn't retrieve data . /1349732459.Didn't retrieve data . /1349732448.Didn't retrieve data . /1349732445.Didn't retrieve data . /1349732444.Didn't retrieve data . /1349732442.Didn't retrieve data . /1349732435.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, '2719266') ('4302', '22008684', '1349732505', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732502', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732498', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732495', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732459', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732448', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732445', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732444', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732442', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732435', None, None, None, None, None, '2719266') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22008684', '1349732505', '0.05134261201732702', None, None, None, None, '2719266'), ('4302', '22008684', '1349732502', '0.05134261201732702', None, None, None, None, '2719266'), ('4302', '22008684', '1349732498', '0.05134261201732702', None, None, None, None, '2719266'), ('4302', '22008684', '1349732495', '0.05134261201732702', None, None, None, None, '2719266'), ('4302', '22008684', '1349732459', '0.05134261201732702', None, None, None, None, '2719266'), ('4302', '22008684', '1349732448', '0.05134261201732702', None, None, None, None, '2719266'), ('4302', '22008684', '1349732445', '0.05134261201732702', None, None, None, None, '2719266'), ('4302', '22008684', '1349732444', '0.05134261201732702', None, None, None, None, '2719266'), ('4302', '22008684', '1349732442', '0.05134261201732702', None, None, None, None, '2719266'), ('4302', '22008684', '1349732435', '0.05134261201732702', None, None, None, None, '2719266')] time used for this insertion : 0.028963088989257812 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.09667348861694336 time spend to save output : 0.029500484466552734 total time spend for step 2 : 0.1261739730834961 step3:velours_tree Thu Apr 3 06:44:29 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 : {22008684: [{'Teint_Dans_La_Masse': 22008687, 'flou': 22008688, 'cartonnette': 22008689, 'autre_refus': 22008690, 'papier': 22008691, 'Carton_gris': 22008692, 'metal': 22008693, 'kraft': 22008694, 'mal_croppe': 22008695, 'Carton_brun': 22008696, 'plastique': 22008697, 'environnement': 22008698}]} input_args_next_step : {22008684: ()} output_args : {22008684: [{'Teint_Dans_La_Masse': 22008687, 'flou': 22008688, 'cartonnette': 22008689, 'autre_refus': 22008690, 'papier': 22008691, 'Carton_gris': 22008692, 'metal': 22008693, 'kraft': 22008694, 'mal_croppe': 22008695, 'Carton_brun': 22008696, 'plastique': 22008697, 'environnement': 22008698}]} args : 22008684 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 : ({'Teint_Dans_La_Masse': 22008687, 'flou': 22008688, 'cartonnette': 22008689, 'autre_refus': 22008690, 'papier': 22008691, 'Carton_gris': 22008692, 'metal': 22008693, 'kraft': 22008694, 'mal_croppe': 22008695, 'Carton_brun': 22008696, 'plastique': 22008697, 'environnement': 22008698},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22008684) 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([22008684]) 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.32422542572021484 time spend to save output : 5.555152893066406e-05 total time spend for step 3 : 0.3242809772491455 step4:send_mail_cod Thu Apr 3 06:44:29 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 : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ('0.05134261201732702',), 1349732448: ('0.05134261201732702',), 1349732445: ('0.05134261201732702',), 1349732444: ('0.05134261201732702',), 1349732442: ('0.05134261201732702',), 1349732435: ('0.05134261201732702',)} input_args_next_step : {1349732505: ()} output_args : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ('0.05134261201732702',), 1349732448: ('0.05134261201732702',), 1349732445: ('0.05134261201732702',), 1349732444: ('0.05134261201732702',), 1349732442: ('0.05134261201732702',), 1349732435: ('0.05134261201732702',)} args : 1349732505 depend.output_id : 0 input_args_next_step : {1349732505: ('0.05134261201732702',), 1349732502: ()} output_args : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ('0.05134261201732702',), 1349732448: ('0.05134261201732702',), 1349732445: ('0.05134261201732702',), 1349732444: ('0.05134261201732702',), 1349732442: ('0.05134261201732702',), 1349732435: ('0.05134261201732702',)} args : 1349732502 depend.output_id : 0 input_args_next_step : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ()} output_args : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ('0.05134261201732702',), 1349732448: ('0.05134261201732702',), 1349732445: ('0.05134261201732702',), 1349732444: ('0.05134261201732702',), 1349732442: ('0.05134261201732702',), 1349732435: ('0.05134261201732702',)} args : 1349732498 depend.output_id : 0 input_args_next_step : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ()} output_args : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ('0.05134261201732702',), 1349732448: ('0.05134261201732702',), 1349732445: ('0.05134261201732702',), 1349732444: ('0.05134261201732702',), 1349732442: ('0.05134261201732702',), 1349732435: ('0.05134261201732702',)} args : 1349732495 depend.output_id : 0 input_args_next_step : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ()} output_args : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ('0.05134261201732702',), 1349732448: ('0.05134261201732702',), 1349732445: ('0.05134261201732702',), 1349732444: ('0.05134261201732702',), 1349732442: ('0.05134261201732702',), 1349732435: ('0.05134261201732702',)} args : 1349732459 depend.output_id : 0 input_args_next_step : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ('0.05134261201732702',), 1349732448: ()} output_args : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ('0.05134261201732702',), 1349732448: ('0.05134261201732702',), 1349732445: ('0.05134261201732702',), 1349732444: ('0.05134261201732702',), 1349732442: ('0.05134261201732702',), 1349732435: ('0.05134261201732702',)} args : 1349732448 depend.output_id : 0 input_args_next_step : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ('0.05134261201732702',), 1349732448: ('0.05134261201732702',), 1349732445: ()} output_args : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ('0.05134261201732702',), 1349732448: ('0.05134261201732702',), 1349732445: ('0.05134261201732702',), 1349732444: ('0.05134261201732702',), 1349732442: ('0.05134261201732702',), 1349732435: ('0.05134261201732702',)} args : 1349732445 depend.output_id : 0 input_args_next_step : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ('0.05134261201732702',), 1349732448: ('0.05134261201732702',), 1349732445: ('0.05134261201732702',), 1349732444: ()} output_args : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ('0.05134261201732702',), 1349732448: ('0.05134261201732702',), 1349732445: ('0.05134261201732702',), 1349732444: ('0.05134261201732702',), 1349732442: ('0.05134261201732702',), 1349732435: ('0.05134261201732702',)} args : 1349732444 depend.output_id : 0 input_args_next_step : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ('0.05134261201732702',), 1349732448: ('0.05134261201732702',), 1349732445: ('0.05134261201732702',), 1349732444: ('0.05134261201732702',), 1349732442: ()} output_args : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ('0.05134261201732702',), 1349732448: ('0.05134261201732702',), 1349732445: ('0.05134261201732702',), 1349732444: ('0.05134261201732702',), 1349732442: ('0.05134261201732702',), 1349732435: ('0.05134261201732702',)} args : 1349732442 depend.output_id : 0 input_args_next_step : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ('0.05134261201732702',), 1349732448: ('0.05134261201732702',), 1349732445: ('0.05134261201732702',), 1349732444: ('0.05134261201732702',), 1349732442: ('0.05134261201732702',), 1349732435: ()} output_args : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ('0.05134261201732702',), 1349732448: ('0.05134261201732702',), 1349732445: ('0.05134261201732702',), 1349732444: ('0.05134261201732702',), 1349732442: ('0.05134261201732702',), 1349732435: ('0.05134261201732702',)} args : 1349732435 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 : {22008684: [{'Teint_Dans_La_Masse': 22008687, 'flou': 22008688, 'cartonnette': 22008689, 'autre_refus': 22008690, 'papier': 22008691, 'Carton_gris': 22008692, 'metal': 22008693, 'kraft': 22008694, 'mal_croppe': 22008695, 'Carton_brun': 22008696, 'plastique': 22008697, 'environnement': 22008698}]} input_args_next_step : {1349732505: ('0.05134261201732702',), 1349732502: ('0.05134261201732702',), 1349732498: ('0.05134261201732702',), 1349732495: ('0.05134261201732702',), 1349732459: ('0.05134261201732702',), 1349732448: ('0.05134261201732702',), 1349732445: ('0.05134261201732702',), 1349732444: ('0.05134261201732702',), 1349732442: ('0.05134261201732702',), 1349732435: ('0.05134261201732702',), 22008684: ()} output_args : {22008684: [{'Teint_Dans_La_Masse': 22008687, 'flou': 22008688, 'cartonnette': 22008689, 'autre_refus': 22008690, 'papier': 22008691, 'Carton_gris': 22008692, 'metal': 22008693, 'kraft': 22008694, 'mal_croppe': 22008695, 'Carton_brun': 22008696, 'plastique': 22008697, 'environnement': 22008698}]} args : 22008684 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :11, first value : ('0.05134261201732702',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22008684) 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 (1349732505,1349732502,1349732498,1349732495,1349732459,1349732448,1349732445,1349732444,1349732442,1349732435) Found this number of photos: 10 ##### Call download_photos : nb_thread : 5 begin to download photo : 1349732435 begin to download photo : 1349732445 begin to download photo : 1349732495 begin to download photo : 1349732505 download finish for photo 1349732495 begin to download photo : 1349732498 download finish for photo 1349732505 download finish for photo 1349732445 begin to download photo : 1349732448 download finish for photo 1349732435 begin to download photo : 1349732442 download finish for photo 1349732448 begin to download photo : 1349732459 download finish for photo 1349732498 begin to download photo : 1349732502 download finish for photo 1349732442 begin to download photo : 1349732444 download finish for photo 1349732459 download finish for photo 1349732502 download finish for photo 1349732444 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette220086881743655470/ length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 results_Auto_P22008684_03-04-2025_06_44_30.pdf 22008688 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=22008688 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220086881743655470 22008689 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=22008689 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349731980: '1743654927_289383_1349731425_9f0e9f0aa917e552e9dc5a8377ecf8fa_rle_crop_3745733965_0.png', 1349731981: '1743654927_289383_1349731413_50cbe84ffe01176877a040d7c30dd3e5_rle_crop_3745733991_0.png', 1349731982: '1743654927_289383_1349731409_ff81b16905fb528e8e6a85a01b26bcf2_rle_crop_3745734010_0.png', 1349732334: '1743655172_1952980_1349732254_76781c8eb2ae07c12450af7192b6b415_rle_crop_3745735990_0.png', 1349732335: '1743655172_1952980_1349732110_3306f3dbb26702932c39f085b155afab_rle_crop_3745736119_0.png', 1349732336: '1743655172_1952980_1349732110_3306f3dbb26702932c39f085b155afab_rle_crop_3745736113_0.png', 1349732436: '1743655286_299113_1349732289_8b88a93f78633f1f8c4df454746d59d1_rle_crop_3745737607_0.png', 1349732437: '1743655286_299113_1349732289_8b88a93f78633f1f8c4df454746d59d1_rle_crop_3745737592_0.png', 1349732438: '1743655286_299113_1349732284_82a013b1df83f7d5c2514f0dfea6ac39_rle_crop_3745737704_0.png', 1349732458: '1743655293_1954702_1349731958_a46524156bac10a371efd91501d92ef7_rle_crop_3745736917_0.png', 1349732532: '1743655410_1955684_1349732384_9a7cf151a871b056e9eb9e4f3fb04cbb_rle_crop_3745738161_0.png', 1349732545: '1743655405_301871_1349732326_b78cf8f08e26c7932e3a1e025b66f9b1_rle_crop_3745738208_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/3d2cb94fd81b98a282686d70b7e51678_36951763.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/d16433cb9ee3e6055a748a94118eab9c_40460488.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/3e9ebe497acfde8af52205071d26309a_52682006.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/1dc0e8523cd0db32ee7d94c73e36a444_35381833.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/ef397b8a1424897dfd1597437f7e5945_58232230.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/2521ee819100be9e4c1390335564617f_12128553.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/264e599dfe61ac62e8c528fa6897c05b_79893981.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/81518d3751c19f9ef77ae8eb4f0b62b2_52568182.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/62dfd0382caefcd2d96fb8f6836c6f8d_86786563.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/5c25b79c47eb47142b9452b14c4276bb_91729718.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/50959487858f8b905cf35a3f290ad234_44568296.png change filename to text .imagette220086891743655470/ imagette220086891743655470/1743655293_1954702_1349731958_a46524156bac10a371efd91501d92ef7_rle_crop_3745736917_0.png.png imagette220086891743655470/1743655405_301871_1349732326_b78cf8f08e26c7932e3a1e025b66f9b1_rle_crop_3745738208_0.png.png imagette220086891743655470/1743655286_299113_1349732289_8b88a93f78633f1f8c4df454746d59d1_rle_crop_3745737592_0.png.png imagette220086891743655470/1743654927_289383_1349731425_9f0e9f0aa917e552e9dc5a8377ecf8fa_rle_crop_3745733965_0.png.png imagette220086891743655470/1743655172_1952980_1349732110_3306f3dbb26702932c39f085b155afab_rle_crop_3745736119_0.png.png imagette220086891743655470/1743655286_299113_1349732284_82a013b1df83f7d5c2514f0dfea6ac39_rle_crop_3745737704_0.png.png imagette220086891743655470/1743655172_1952980_1349732110_3306f3dbb26702932c39f085b155afab_rle_crop_3745736113_0.png.png imagette220086891743655470/1743654927_289383_1349731409_ff81b16905fb528e8e6a85a01b26bcf2_rle_crop_3745734010_0.png.png imagette220086891743655470/1743655410_1955684_1349732384_9a7cf151a871b056e9eb9e4f3fb04cbb_rle_crop_3745738161_0.png.png imagette220086891743655470/1743655286_299113_1349732289_8b88a93f78633f1f8c4df454746d59d1_rle_crop_3745737607_0.png.png imagette220086891743655470/1743655172_1952980_1349732254_76781c8eb2ae07c12450af7192b6b415_rle_crop_3745735990_0.png.png imagette220086891743655470/1743654927_289383_1349731413_50cbe84ffe01176877a040d7c30dd3e5_rle_crop_3745733991_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/d1432bbda1523fcbac572152d8e616d0_30053075.png imagette220086891743655470 22008690 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=22008690 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349731908: '1743654931_1951120_1349731480_73154896cc3d24bcc3dc88175685aafe_rle_crop_3745733906_0.png', 1349731965: '1743654927_289383_1349731425_9f0e9f0aa917e552e9dc5a8377ecf8fa_rle_crop_3745733974_0.png', 1349731966: '1743654927_289383_1349731409_ff81b16905fb528e8e6a85a01b26bcf2_rle_crop_3745734003_0.png', 1349731967: '1743654927_289383_1349731409_ff81b16905fb528e8e6a85a01b26bcf2_rle_crop_3745733998_0.png', 1349732130: '1743655050_1952147_1349731697_3215a9d98f0570241626af139bb096fd_rle_crop_3745734933_0.png', 1349732247: '1743655048_293600_1349731663_071c39a585b177f3baba77c8d262f466_rle_crop_3745735081_0.png', 1349732325: '1743655172_1952980_1349732093_d4ecb11999adabf0eda429c76dadbe61_rle_crop_3745736127_0.png', 1349732432: '1743655286_299113_1349732287_dab926efe3a540891795487d428d2952_rle_crop_3745737617_0.png', 1349732453: '1743655293_1954702_1349731983_045c4784e2ab356c64a3f3fbc9efa965_rle_crop_3745736793_0.png', 1349732531: '1743655410_1955684_1349732386_e47644464771ec3d467a8d77e35c1b94_rle_crop_3745738142_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/7bb15121c2c903ece37ee55f01c29620_74353046.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/377889dfaff2d4caf83c1a06d72bfe5e_6619103.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/fb18125394384d38606a8ccb5d1630b1_83173405.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/3332884f5a1d9a5d7533cb91301224df_53491749.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/d659ca089d3fce697c006564975d8025_19237314.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/47940ab81d115944dc019aba9d353914_34031251.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/c72c038916fe24f2c37332f3e8c09b32_26271517.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/00b6fb9fe11b60aa344e2f067e285828_42483221.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/0c1f82f3851148336fe7ca86be0af218_17965551.png change filename to text .imagette220086901743655471/ imagette220086901743655471/1743655410_1955684_1349732386_e47644464771ec3d467a8d77e35c1b94_rle_crop_3745738142_0.png.png imagette220086901743655471/1743654931_1951120_1349731480_73154896cc3d24bcc3dc88175685aafe_rle_crop_3745733906_0.png.png imagette220086901743655471/1743655048_293600_1349731663_071c39a585b177f3baba77c8d262f466_rle_crop_3745735081_0.png.png imagette220086901743655471/1743654927_289383_1349731409_ff81b16905fb528e8e6a85a01b26bcf2_rle_crop_3745733998_0.png.png imagette220086901743655471/1743655293_1954702_1349731983_045c4784e2ab356c64a3f3fbc9efa965_rle_crop_3745736793_0.png.png imagette220086901743655471/1743654927_289383_1349731425_9f0e9f0aa917e552e9dc5a8377ecf8fa_rle_crop_3745733974_0.png.png imagette220086901743655471/1743655286_299113_1349732287_dab926efe3a540891795487d428d2952_rle_crop_3745737617_0.png.png imagette220086901743655471/1743655172_1952980_1349732093_d4ecb11999adabf0eda429c76dadbe61_rle_crop_3745736127_0.png.png imagette220086901743655471/1743654927_289383_1349731409_ff81b16905fb528e8e6a85a01b26bcf2_rle_crop_3745734003_0.png.png imagette220086901743655471/1743655050_1952147_1349731697_3215a9d98f0570241626af139bb096fd_rle_crop_3745734933_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/f4ce05998756191db53d70ff555f3aea_69853001.png imagette220086901743655471 22008693 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=22008693 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349732338: '1743655172_1952980_1349732093_d4ecb11999adabf0eda429c76dadbe61_rle_crop_3745736136_0.png'} change filename to text .imagette220086931743655471/ imagette220086931743655471/1743655172_1952980_1349732093_d4ecb11999adabf0eda429c76dadbe61_rle_crop_3745736136_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/71635ac72a8d2a7ce823cbf678c6f75e_21117749.png imagette220086931743655471 22008694 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=22008694 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349732466: '1743655293_1954702_1349731968_fd2d7c1ab20226b04a60385bf3dc62cf_rle_crop_3745736899_0.png'} change filename to text .imagette220086941743655471/ imagette220086941743655471/1743655293_1954702_1349731968_fd2d7c1ab20226b04a60385bf3dc62cf_rle_crop_3745736899_0.png.png imagette220086951743655471/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/d408734c817922acc1e8bf47aa0b3e1e_32967663.png imagette220086941743655471 22008695 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=22008695 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220086951743655471 22008697 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=22008697 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349732132: '1743655050_1952147_1349731697_3215a9d98f0570241626af139bb096fd_rle_crop_3745734928_0.png', 1349732441: '1743655286_299113_1349732287_dab926efe3a540891795487d428d2952_rle_crop_3745737620_0.png', 1349732443: '1743655286_299113_1349732286_cc5f6cc5f9f5b81ec953d96b6d0a478b_rle_crop_3745737639_0.png', 1349732464: '1743655293_1954702_1349731955_4e50523c733402875842103467f256a1_rle_crop_3745736938_0.png', 1349732537: '1743655410_1955684_1349732384_9a7cf151a871b056e9eb9e4f3fb04cbb_rle_crop_3745738158_0.png', 1349732550: '1743655405_301871_1349732326_b78cf8f08e26c7932e3a1e025b66f9b1_rle_crop_3745738200_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/76ae806a9d5173242a7783fb044dc228_97581659.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/7630571dd44616d1e741d37c265eb2d8_86796151.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/9c42ad639779cfb77e6e9beb827b2b47_45241545.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/f6934726a2fda8012343de1677e34b5e_85899914.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/22ab48e785b581c210b4e0b4aa53b24f_99617403.png change filename to text .imagette220086971743655471/ imagette220086971743655471/1743655405_301871_1349732326_b78cf8f08e26c7932e3a1e025b66f9b1_rle_crop_3745738200_0.png.png imagette220086971743655471/1743655410_1955684_1349732384_9a7cf151a871b056e9eb9e4f3fb04cbb_rle_crop_3745738158_0.png.png imagette220086971743655471/1743655050_1952147_1349731697_3215a9d98f0570241626af139bb096fd_rle_crop_3745734928_0.png.png imagette220086971743655471/1743655286_299113_1349732286_cc5f6cc5f9f5b81ec953d96b6d0a478b_rle_crop_3745737639_0.png.png imagette220086971743655471/1743655286_299113_1349732287_dab926efe3a540891795487d428d2952_rle_crop_3745737620_0.png.png imagette220086971743655471/1743655293_1954702_1349731955_4e50523c733402875842103467f256a1_rle_crop_3745736938_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/97d7d330fdf6ddad0f84758211b3f9d4_62722551.png imagette220086971743655471 22008687 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=22008687 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349732322: '1743655172_1952980_1349732254_76781c8eb2ae07c12450af7192b6b415_rle_crop_3745735995_0.png', 1349732542: '1743655405_301871_1349732314_7d83b92d53af8e9fbfd47d7208a6cd0e_rle_crop_3745738219_0.png', 1349732541: '1743655405_301871_1349732388_cf539ce7c1a83c3aeb71f77485255619_rle_crop_3745738134_0.png', 1349732540: '1743655405_301871_1349732388_cf539ce7c1a83c3aeb71f77485255619_rle_crop_3745738127_0.png', 1349732530: '1743655410_1955684_1349732386_e47644464771ec3d467a8d77e35c1b94_rle_crop_3745738146_0.png', 1349732529: '1743655410_1955684_1349732386_e47644464771ec3d467a8d77e35c1b94_rle_crop_3745738145_0.png', 1349732451: '1743655293_1954702_1349731968_fd2d7c1ab20226b04a60385bf3dc62cf_rle_crop_3745736905_0.png', 1349732450: '1743655293_1954702_1349731970_974bb25f5745f4d7e2d073be97b5ed7a_rle_crop_3745736870_0.png', 1349732449: '1743655293_1954702_1349731970_974bb25f5745f4d7e2d073be97b5ed7a_rle_crop_3745736876_0.png', 1349732332: '1743655191_1953178_1349732246_7d3d247d778fec379be3f01f491813ad_rle_crop_3745736223_0.png', 1349732331: '1743655191_1953178_1349732246_7d3d247d778fec379be3f01f491813ad_rle_crop_3745736221_0.png', 1349732324: '1743655172_1952980_1349732254_76781c8eb2ae07c12450af7192b6b415_rle_crop_3745735992_0.png', 1349732323: '1743655172_1952980_1349732254_76781c8eb2ae07c12450af7192b6b415_rle_crop_3745735994_0.png', 1349731589: '1743654791_1950008_1349731342_31c24134505bfb16fac3775415cac2f3_rle_crop_3745733263_0.png', 1349732245: '1743655048_293600_1349731661_3bfb344d5d1f6d4b5b00d942d20da6f9_rle_crop_3745735159_0.png', 1349732244: '1743655048_293600_1349731661_3bfb344d5d1f6d4b5b00d942d20da6f9_rle_crop_3745735156_0.png', 1349732243: '1743655048_293600_1349731663_071c39a585b177f3baba77c8d262f466_rle_crop_3745735085_0.png', 1349732242: '1743655048_293600_1349731678_a6b7f913bba811cff4c860e9c5b5e6a6_rle_crop_3745735053_0.png', 1349731964: '1743654927_289383_1349731409_ff81b16905fb528e8e6a85a01b26bcf2_rle_crop_3745734005_0.png', 1349731963: '1743654927_289383_1349731413_50cbe84ffe01176877a040d7c30dd3e5_rle_crop_3745733990_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/b096a8e00bd6b7381f0a413c8e461681_72698457.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/5cecb9cd4a0715453f5dd290a482fbaf_90546733.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/1b861efc686ebd1f507c1a0279b92f4d_61929788.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/08e3d9d9be08bc7aa0984dcb3bd769f8_29878146.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/76444ab48401f71f498072ebf58dd660_11404769.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/83abdde3be02dba5bfac08f271bb3476_23948733.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/08e07eaf329fe3f49aaa7d4b76e7ef2b_59395866.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/fdde021e1c6e0b13fe96b6bea3baadff_2085496.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/8a39eefaf98971b35494a688c30d0e41_53737932.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/5a14c7cc291feeb1a861ee074d934cd6_22726621.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/863f3b14fffa04c020c4d3e09d2d7d27_35897968.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/6995920c2be3a0772156b234cd065fa6_98512691.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/d940f099587c5774963c7b31541f93a0_46887355.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/51ba0278d1998cf53549e93abe34db5a_4203207.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/0ef0327abd76ce15b4c5b957c796925c_73332885.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/796b378c6d3d0c4e442afbac2439119f_78269003.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/d6eb0d28bcc11495c41d4d9115dc0d88_74982128.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/39a88810557842ea6842e5ad0151cc50_58516520.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/0609bb2c73ef0bc14e87fe88b7a9eed9_38050877.png change filename to text .imagette220086871743655472/ imagette220086871743655472/1743654927_289383_1349731409_ff81b16905fb528e8e6a85a01b26bcf2_rle_crop_3745734005_0.png.png imagette220086871743655472/1743655048_293600_1349731678_a6b7f913bba811cff4c860e9c5b5e6a6_rle_crop_3745735053_0.png.png imagette220086871743655472/1743655293_1954702_1349731968_fd2d7c1ab20226b04a60385bf3dc62cf_rle_crop_3745736905_0.png.png imagette220086871743655472/1743655191_1953178_1349732246_7d3d247d778fec379be3f01f491813ad_rle_crop_3745736221_0.png.png imagette220086871743655472/1743655405_301871_1349732314_7d83b92d53af8e9fbfd47d7208a6cd0e_rle_crop_3745738219_0.png.png imagette220086871743655472/1743655410_1955684_1349732386_e47644464771ec3d467a8d77e35c1b94_rle_crop_3745738145_0.png.png imagette220086871743655472/1743654791_1950008_1349731342_31c24134505bfb16fac3775415cac2f3_rle_crop_3745733263_0.png.png imagette220086871743655472/1743655048_293600_1349731661_3bfb344d5d1f6d4b5b00d942d20da6f9_rle_crop_3745735159_0.png.png imagette220086871743655472/1743655293_1954702_1349731970_974bb25f5745f4d7e2d073be97b5ed7a_rle_crop_3745736870_0.png.png imagette220086871743655472/1743655191_1953178_1349732246_7d3d247d778fec379be3f01f491813ad_rle_crop_3745736223_0.png.png imagette220086871743655472/1743655405_301871_1349732388_cf539ce7c1a83c3aeb71f77485255619_rle_crop_3745738134_0.png.png imagette220086871743655472/1743655405_301871_1349732388_cf539ce7c1a83c3aeb71f77485255619_rle_crop_3745738127_0.png.png imagette220086871743655472/1743655293_1954702_1349731970_974bb25f5745f4d7e2d073be97b5ed7a_rle_crop_3745736876_0.png.png imagette220086871743655472/1743655048_293600_1349731661_3bfb344d5d1f6d4b5b00d942d20da6f9_rle_crop_3745735156_0.png.png imagette220086871743655472/1743655172_1952980_1349732254_76781c8eb2ae07c12450af7192b6b415_rle_crop_3745735995_0.png.png imagette220086871743655472/1743655048_293600_1349731663_071c39a585b177f3baba77c8d262f466_rle_crop_3745735085_0.png.png imagette220086871743655472/1743655172_1952980_1349732254_76781c8eb2ae07c12450af7192b6b415_rle_crop_3745735992_0.png.png imagette220086871743655472/1743654927_289383_1349731413_50cbe84ffe01176877a040d7c30dd3e5_rle_crop_3745733990_0.png.png imagette220086871743655472/1743655172_1952980_1349732254_76781c8eb2ae07c12450af7192b6b415_rle_crop_3745735994_0.png.png imagette220086871743655472/1743655410_1955684_1349732386_e47644464771ec3d467a8d77e35c1b94_rle_crop_3745738146_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/edbba212f0bc1227161079d748e531f1_54488556.png imagette220086871743655472 22008692 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=22008692 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349732251: '1743655048_293600_1349731632_d6344b683aa097c5b8183cbce12755ff_rle_crop_3745735222_0.png', 1349732544: '1743655405_301871_1349732314_7d83b92d53af8e9fbfd47d7208a6cd0e_rle_crop_3745738220_0.png', 1349732543: '1743655405_301871_1349732326_b78cf8f08e26c7932e3a1e025b66f9b1_rle_crop_3745738199_0.png', 1349732457: '1743655293_1954702_1349731958_a46524156bac10a371efd91501d92ef7_rle_crop_3745736916_0.png', 1349732456: '1743655293_1954702_1349731968_fd2d7c1ab20226b04a60385bf3dc62cf_rle_crop_3745736901_0.png', 1349732455: '1743655293_1954702_1349731983_045c4784e2ab356c64a3f3fbc9efa965_rle_crop_3745736790_0.png', 1349732434: '1743655286_299113_1349732286_cc5f6cc5f9f5b81ec953d96b6d0a478b_rle_crop_3745737634_0.png', 1349732433: '1743655286_299113_1349732289_8b88a93f78633f1f8c4df454746d59d1_rle_crop_3745737599_0.png', 1349732333: '1743655191_1953178_1349732246_7d3d247d778fec379be3f01f491813ad_rle_crop_3745736216_0.png', 1349732330: '1743655172_1952980_1349732040_80cd86eec8656330ebf11f5934630d36_rle_crop_3745736150_0.png', 1349732329: '1743655172_1952980_1349732093_d4ecb11999adabf0eda429c76dadbe61_rle_crop_3745736130_0.png', 1349732328: '1743655172_1952980_1349732093_d4ecb11999adabf0eda429c76dadbe61_rle_crop_3745736131_0.png', 1349732252: '1743655048_293600_1349731632_d6344b683aa097c5b8183cbce12755ff_rle_crop_3745735223_0.png', 1349731909: '1743654931_1951120_1349731480_73154896cc3d24bcc3dc88175685aafe_rle_crop_3745733910_0.png', 1349732249: '1743655048_293600_1349731665_8a47d566b8eed472fa6995234324bb9d_rle_crop_3745735073_0.png', 1349732248: '1743655048_293600_1349731678_a6b7f913bba811cff4c860e9c5b5e6a6_rle_crop_3745735046_0.png', 1349732133: '1743655046_1677072_1349731842_360284f58d3db2c376cfaf8911e30d2b_rle_crop_3745734952_0.png', 1349732131: '1743655050_1952147_1349731697_3215a9d98f0570241626af139bb096fd_rle_crop_3745734931_0.png', 1349731978: '1743654927_289383_1349731409_ff81b16905fb528e8e6a85a01b26bcf2_rle_crop_3745734004_0.png', 1349731977: '1743654927_289383_1349731413_50cbe84ffe01176877a040d7c30dd3e5_rle_crop_3745733984_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/0a8d4f29939c6f6c5aa2062f20e8aeca_69974410.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/dea512cea5302ac1620058bf839af6d4_46403100.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/3ee5fb3bcd410a7b410639b7c0242b3b_17836363.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/3d0df365351560d1477b23c499d787b3_66594986.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/f421399beb481a869ca64ff82ca9ae71_89643361.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/1a647a590f9ed40a70950f0d638b3b27_7484277.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/2b81c4fa8be310b220d55b62fdc99360_60970500.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/e5a739e60afe5d21f9bd4253b868a5b6_34588305.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/5018109000941a6d23a8296c4f958b75_26565579.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/2b0a91f8e2c4738572dec7feedfe61e9_57691727.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/572e98de15d6af1a10491f3ebb6b587b_92887770.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/0b23bf260a9fdfbcb332022d75c162aa_70846897.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/b24f9fe51186feed686e29161c7a8b8b_18303291.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/a9c9cc5ae63f287f6d7bf51db481d1b2_89001780.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/4fa91d729855efda31e350c6d2506c21_2630918.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/63c8618d8525c3c695491e54f28ef17d_69228973.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/d3a2eaef770c423a76a443f0af77b194_82414258.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/0d5c489dd37fd6ee4a811dde38792b8e_67656481.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/574d95e3a89336ac34c01b77d45da84c_29267025.png change filename to text .imagette220086921743655473/ imagette220086921743655473/1743654931_1951120_1349731480_73154896cc3d24bcc3dc88175685aafe_rle_crop_3745733910_0.png.png imagette220086921743655473/1743655046_1677072_1349731842_360284f58d3db2c376cfaf8911e30d2b_rle_crop_3745734952_0.png.png imagette220086921743655473/1743655048_293600_1349731678_a6b7f913bba811cff4c860e9c5b5e6a6_rle_crop_3745735046_0.png.png imagette220086921743655473/1743655172_1952980_1349732040_80cd86eec8656330ebf11f5934630d36_rle_crop_3745736150_0.png.png imagette220086921743655473/1743655405_301871_1349732314_7d83b92d53af8e9fbfd47d7208a6cd0e_rle_crop_3745738220_0.png.png imagette220086921743655473/1743655050_1952147_1349731697_3215a9d98f0570241626af139bb096fd_rle_crop_3745734931_0.png.png imagette220086921743655473/1743655048_293600_1349731665_8a47d566b8eed472fa6995234324bb9d_rle_crop_3745735073_0.png.png imagette220086921743655473/1743654927_289383_1349731413_50cbe84ffe01176877a040d7c30dd3e5_rle_crop_3745733984_0.png.png imagette220086921743655473/1743655048_293600_1349731632_d6344b683aa097c5b8183cbce12755ff_rle_crop_3745735222_0.png.png imagette220086921743655473/1743655286_299113_1349732286_cc5f6cc5f9f5b81ec953d96b6d0a478b_rle_crop_3745737634_0.png.png imagette220086921743655473/1743655293_1954702_1349731968_fd2d7c1ab20226b04a60385bf3dc62cf_rle_crop_3745736901_0.png.png imagette220086921743655473/1743655293_1954702_1349731983_045c4784e2ab356c64a3f3fbc9efa965_rle_crop_3745736790_0.png.png imagette220086921743655473/1743655405_301871_1349732326_b78cf8f08e26c7932e3a1e025b66f9b1_rle_crop_3745738199_0.png.png imagette220086921743655473/1743655286_299113_1349732289_8b88a93f78633f1f8c4df454746d59d1_rle_crop_3745737599_0.png.png imagette220086921743655473/1743655191_1953178_1349732246_7d3d247d778fec379be3f01f491813ad_rle_crop_3745736216_0.png.png imagette220086921743655473/1743655172_1952980_1349732093_d4ecb11999adabf0eda429c76dadbe61_rle_crop_3745736131_0.png.png imagette220086921743655473/1743655293_1954702_1349731958_a46524156bac10a371efd91501d92ef7_rle_crop_3745736916_0.png.png imagette220086921743655473/1743655048_293600_1349731632_d6344b683aa097c5b8183cbce12755ff_rle_crop_3745735223_0.png.png imagette220086921743655473/1743655172_1952980_1349732093_d4ecb11999adabf0eda429c76dadbe61_rle_crop_3745736130_0.png.png imagette220086921743655473/1743654927_289383_1349731409_ff81b16905fb528e8e6a85a01b26bcf2_rle_crop_3745734004_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/29c23477a9e137ac4e23948aa5f74ddd_49480115.png imagette220086921743655473 22008696 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=22008696 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349732259: '1743655048_293600_1349731661_3bfb344d5d1f6d4b5b00d942d20da6f9_rle_crop_3745735155_0.png', 1349732549: '1743655405_301871_1349732339_818b8f2d8d21f0c2b6cc232512642607_rle_crop_3745738191_0.png', 1349732548: '1743655405_301871_1349732342_9a8a95cf66739e5d8b6fd519889db321_rle_crop_3745738173_0.png', 1349732547: '1743655405_301871_1349732388_cf539ce7c1a83c3aeb71f77485255619_rle_crop_3745738131_0.png', 1349732534: '1743655410_1955684_1349732386_e47644464771ec3d467a8d77e35c1b94_rle_crop_3745738149_0.png', 1349732533: '1743655410_1955684_1349732386_e47644464771ec3d467a8d77e35c1b94_rle_crop_3745738147_0.png', 1349732462: '1743655293_1954702_1349731958_a46524156bac10a371efd91501d92ef7_rle_crop_3745736919_0.png', 1349732461: '1743655293_1954702_1349731970_974bb25f5745f4d7e2d073be97b5ed7a_rle_crop_3745736871_0.png', 1349732460: '1743655293_1954702_1349731983_045c4784e2ab356c64a3f3fbc9efa965_rle_crop_3745736794_0.png', 1349732440: '1743655286_299113_1349732286_cc5f6cc5f9f5b81ec953d96b6d0a478b_rle_crop_3745737635_0.png', 1349732439: '1743655286_299113_1349732289_8b88a93f78633f1f8c4df454746d59d1_rle_crop_3745737608_0.png', 1349731860: '1743654913_1950918_1349731566_daf7fd8969fe5aee9d288b35c6614b51_rle_crop_3745733573_0.png', 1349732258: '1743655048_293600_1349731663_071c39a585b177f3baba77c8d262f466_rle_crop_3745735080_0.png', 1349732257: '1743655048_293600_1349731678_a6b7f913bba811cff4c860e9c5b5e6a6_rle_crop_3745735054_0.png', 1349732256: '1743655048_293600_1349731849_be43b9869728c8c3909d73a6542db055_rle_crop_3745735035_0.png', 1349732255: '1743655048_293600_1349731849_be43b9869728c8c3909d73a6542db055_rle_crop_3745735036_0.png', 1349732134: '1743655046_1677072_1349731840_a1d9f9ad5d5ee5c05f41dd037af94373_rle_crop_3745734962_0.png', 1349731988: '1743654927_289383_1349731425_9f0e9f0aa917e552e9dc5a8377ecf8fa_rle_crop_3745733970_0.png', 1349731987: '1743654927_289383_1349731445_cf0b21e4f88bbd78ede2c2ba9442b901_rle_crop_3745733957_0.png', 1349731986: '1743654927_289383_1349731477_6d64ed78e1dce13db3086ff1ddae96be_rle_crop_3745733938_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/d93bffd34f495d7e9b26e0f7b01c548f_32157499.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/a9cc56fcab5f9beb75b6e666f94cdfe3_73927403.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/f3be6c44a9c589dca7b5c47117dde655_5495213.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/8a8df87b34f1691b095cecc9bed1cce4_31732279.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/6cfaf402c5b80c8e9f718240e30edf56_18758425.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/51c2ec260735e88a4c6ff03482dc0927_26638730.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/900b0944adfde20ee55369a33a10c101_70309362.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/61dbb681828612e9cc93e13eec0ca7c4_26113275.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/2b16a9e19fe22848e2a1bd0a879689c4_57651728.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/eacea6b2b268e71f3d2aab92ef0b978e_21308180.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/d6bc801337d4e75659c0922e9f80cc2c_28320248.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/954c9e34dccf60ea187c1fe0b33b91a4_90857872.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/bbc7ae540e32a50114522605cd9dcf06_96918135.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/f6a6c67e48d5b2b61da53b567d19b612_55304089.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/22cffde6451229f508a5ee20120b5314_3437680.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/70ebd69cb12978769e707067f1d2b2bc_78046818.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/730fd7d1d78f4cc685b27d7209a7fd31_25607444.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/ad23b2a76b4cff59082551ba5c1b3889_56249353.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/99ce81fb4b20940795b30816ed9ef573_8972362.png change filename to text .imagette220086961743655476/ imagette220086961743655476/1743654913_1950918_1349731566_daf7fd8969fe5aee9d288b35c6614b51_rle_crop_3745733573_0.png.png imagette220086961743655476/1743655286_299113_1349732289_8b88a93f78633f1f8c4df454746d59d1_rle_crop_3745737608_0.png.png imagette220086961743655476/1743655048_293600_1349731849_be43b9869728c8c3909d73a6542db055_rle_crop_3745735035_0.png.png imagette220086961743655476/1743655286_299113_1349732286_cc5f6cc5f9f5b81ec953d96b6d0a478b_rle_crop_3745737635_0.png.png imagette220086961743655476/1743655048_293600_1349731663_071c39a585b177f3baba77c8d262f466_rle_crop_3745735080_0.png.png imagette220086961743655476/1743655405_301871_1349732388_cf539ce7c1a83c3aeb71f77485255619_rle_crop_3745738131_0.png.png imagette220086961743655476/1743654927_289383_1349731445_cf0b21e4f88bbd78ede2c2ba9442b901_rle_crop_3745733957_0.png.png imagette220086961743655476/1743655048_293600_1349731849_be43b9869728c8c3909d73a6542db055_rle_crop_3745735036_0.png.png imagette220086961743655476/1743654927_289383_1349731425_9f0e9f0aa917e552e9dc5a8377ecf8fa_rle_crop_3745733970_0.png.png imagette220086961743655476/1743654927_289383_1349731477_6d64ed78e1dce13db3086ff1ddae96be_rle_crop_3745733938_0.png.png imagette220086961743655476/1743655048_293600_1349731678_a6b7f913bba811cff4c860e9c5b5e6a6_rle_crop_3745735054_0.png.png imagette220086961743655476/1743655048_293600_1349731661_3bfb344d5d1f6d4b5b00d942d20da6f9_rle_crop_3745735155_0.png.png imagette220086961743655476/1743655410_1955684_1349732386_e47644464771ec3d467a8d77e35c1b94_rle_crop_3745738149_0.png.png imagette220086961743655476/1743655293_1954702_1349731958_a46524156bac10a371efd91501d92ef7_rle_crop_3745736919_0.png.png imagette220086961743655476/1743655046_1677072_1349731840_a1d9f9ad5d5ee5c05f41dd037af94373_rle_crop_3745734962_0.png.png imagette220086961743655476/1743655410_1955684_1349732386_e47644464771ec3d467a8d77e35c1b94_rle_crop_3745738147_0.png.png imagette220086961743655476/1743655405_301871_1349732339_818b8f2d8d21f0c2b6cc232512642607_rle_crop_3745738191_0.png.png imagette220086961743655476/1743655293_1954702_1349731983_045c4784e2ab356c64a3f3fbc9efa965_rle_crop_3745736794_0.png.png imagette220086961743655476/1743655293_1954702_1349731970_974bb25f5745f4d7e2d073be97b5ed7a_rle_crop_3745736871_0.png.png imagette220086961743655476/1743655405_301871_1349732342_9a8a95cf66739e5d8b6fd519889db321_rle_crop_3745738173_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/88511ee234b0caf3fc5fa1e9cfb46adf_9930507.png imagette220086961743655476 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22008684 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22008699,22008700,22008701,22008702,22008703,22008704,22008705,22008706,22008707,22008708,22008709,22008710?tags=Teint_Dans_La_Masse,flou,cartonnette,autre_refus,papier,Carton_gris,metal,kraft,mal_croppe,Carton_brun,plastique,environnement your option no_mail is active, we will not send the real mail to your client args[1349732505] : ('0.05134261201732702',) no score found for photo 1349732505 We are sending mail with results at report@fotonower.com args[1349732502] : ('0.05134261201732702',) no score found for photo 1349732502 We are sending mail with results at report@fotonower.com args[1349732498] : ('0.05134261201732702',) no score found for photo 1349732498 We are sending mail with results at report@fotonower.com args[1349732495] : ('0.05134261201732702',) no score found for photo 1349732495 We are sending mail with results at report@fotonower.com args[1349732459] : ('0.05134261201732702',) no score found for photo 1349732459 We are sending mail with results at report@fotonower.com args[1349732448] : ('0.05134261201732702',) no score found for photo 1349732448 We are sending mail with results at report@fotonower.com args[1349732445] : ('0.05134261201732702',) no score found for photo 1349732445 We are sending mail with results at report@fotonower.com args[1349732444] : ('0.05134261201732702',) no score found for photo 1349732444 We are sending mail with results at report@fotonower.com args[1349732442] : ('0.05134261201732702',) no score found for photo 1349732442 We are sending mail with results at report@fotonower.com args[1349732435] : ('0.05134261201732702',) no score found for photo 1349732435 We are sending mail with results at report@fotonower.com refus_total : 0.05134261201732702 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=22008684 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_P22008684_03-04-2025_06_44_30.pdf results_Auto_P22008684_03-04-2025_06_44_30.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22008684_03-04-2025_06_44_30.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','22008684','results_Auto_P22008684_03-04-2025_06_44_30.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22008684_03-04-2025_06_44_30.pdf','pdf','','0.33','0.05134261201732702') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22008684]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1349732505, 1349732502, 1349732498, 1349732495, 1349732459, 1349732448, 1349732445, 1349732444, 1349732442, 1349732435] map_info['map_portfolio_photo'] : {22008684: [1349732505, 1349732502, 1349732498, 1349732495, 1349732459, 1349732448, 1349732445, 1349732444, 1349732442, 1349732435, 1349732388, 1349732386, 1349732384, 1349732381, 1349732345, 1349732342, 1349732339, 1349732326, 1349732314, 1349732291, 1349732289, 1349732287, 1349732286, 1349732284, 1349732254, 1349732246, 1349732212, 1349732155, 1349732116, 1349732114, 1349732110, 1349732093, 1349732040, 1349731989, 1349731983, 1349731970, 1349731968, 1349731958, 1349731955, 1349731849, 1349731842, 1349731840, 1349731787, 1349731697, 1349731678, 1349731665, 1349731663, 1349731661, 1349731632, 1349731568, 1349731566, 1349731564, 1349731560, 1349731480, 1349731477, 1349731445, 1349731425, 1349731413, 1349731409, 1349731342, 1349731336, 1349731329]} final : False mtd_id 4302 list_pids : [1349732505, 1349732502, 1349732498, 1349732495, 1349732459, 1349732448, 1349732445, 1349732444, 1349732442, 1349732435] 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, '2719266') ('4302', '22008684', '1349732505', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732502', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732498', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732495', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732459', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732448', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732445', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732444', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732442', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732435', None, None, None, None, None, '2719266') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22008684', '1349732505', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732502', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732498', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732495', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732459', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732448', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732445', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732444', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732442', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732435', None, None, None, None, None, '2719266')] time used for this insertion : 0.29678964614868164 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.025691986083984 time spend to save output : 0.2970752716064453 total time spend for step 4 : 9.32276725769043 step5:split_time_score Thu Apr 3 06:44:39 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 : ['22008684'] 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 : [('22008684',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22008684) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1349732505: {'path': 'temp/1743655469_1829085_1349732505_eed681847d47d8e1028942d4ce6e657b.jpg', 'extension': 'jpg'}, 1349732445: {'path': 'temp/1743655469_1829085_1349732445_973ebce3b832812a1e920a0217019636.jpg', 'extension': 'jpg'}, 1349732448: {'path': 'temp/1743655469_1829085_1349732448_036bcecabdafcc392c1c79cdb8374aaf.jpg', 'extension': 'jpg'}, 1349732459: {'path': 'temp/1743655469_1829085_1349732459_05294b92b467918dcd61b33d4c378135.jpg', 'extension': 'jpg'}, 1349732495: {'path': 'temp/1743655469_1829085_1349732495_376d1ef8c7373c98a60d2985feca6e09.jpg', 'extension': 'jpg'}, 1349732498: {'path': 'temp/1743655469_1829085_1349732498_ccc83e2c995121f2e6294e0e7cfd6896.jpg', 'extension': 'jpg'}, 1349732502: {'path': 'temp/1743655469_1829085_1349732502_7f8357416c5506a477815fd22ebce68d.jpg', 'extension': 'jpg'}, 1349732435: {'path': 'temp/1743655469_1829085_1349732435_d0e0a079b9ac64658100840f6c8c8906.jpg', 'extension': 'jpg'}, 1349732442: {'path': 'temp/1743655469_1829085_1349732442_b291e7039f8f259557e7b8da53f56c80.jpg', 'extension': 'jpg'}, 1349732444: {'path': 'temp/1743655469_1829085_1349732444_a717a313fd6a3bc0ee4081d71ade9acf.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 = 22008684; (('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 = 22008684 group by h (('06', 62),) 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=22008684 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 (22008684) 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 (22008684) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 03042025 22008684 Nombre de photos uploadées : 62 / 23040 (0%) 03042025 22008684 Nombre de photos taguées (types de déchets): 0 / 62 (0%) 03042025 22008684 Nombre de photos taguées (volume) : 0 / 62 (0%) [{'photo_id': 1349731329, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/7e5fb7869de523d879cd2b5566da31de.jpg', 'username': None, 'uploaded_at': 1743654662, 'text': 'image_03042025_06_30_14_010136m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1349731342, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/31c24134505bfb16fac3775415cac2f3.jpg', 'username': None, 'uploaded_at': 1743654677, 'text': 'image_03042025_06_30_34_010133m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1349731336, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/bbbff7cada304858ae12579f0fef597c.jpg', 'username': None, 'uploaded_at': 1743654677, 'text': 'image_03042025_06_30_44_010135m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1349731480, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/73154896cc3d24bcc3dc88175685aafe.jpg', 'username': None, 'uploaded_at': 1743654727, 'text': 'image_03042025_06_30_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 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 7.152557373046875e-06 ?????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0029556751251220703 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22008684, '2025-04-03' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1712161,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.03392648696899414 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= 1712161 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1712161, 'dashboard_run_id': 1720580, 'mtr_portfolio_id': 22007180, 'dashboard_result_id': 9836944, '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_P22007180_03-04-2025_06_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22007183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22007184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22007185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22007186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22007187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22007188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22007189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22007190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22007191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22007192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22007193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22007194, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1720580, 'mtr_portfolio_id': 22007675, 'dashboard_result_id': 9836945, '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_P22007675_03-04-2025_06_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22007710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22007711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22007712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22007713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22007714, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22007715, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22007716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22007717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22007718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22007719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22007720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22007721, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1720580, 'mtr_portfolio_id': 22008153, 'dashboard_result_id': 9836946, '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_P22008153_03-04-2025_06_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22008205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22008206, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22008207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22008208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22008209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22008210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22008211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22008212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22008213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22008214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22008215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22008216, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1720580, 'mtr_portfolio_id': 22008684, 'dashboard_result_id': 9836947, '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_P22008684_03-04-2025_06_43_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22008687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22008688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22008689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22008690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22008691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22008692, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22008693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22008694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22008695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22008696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22008697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22008698, '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 = 22007180 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': 2719164, 'mtr_portfolio_id': 22007180, 'created_at': datetime.datetime(2025, 4, 3, 6, 2, 59), 'result': '0.03613454209711532', 'result_long': None, 'result_double': None}] Qualite : 0.03613454209711532 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22007180 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22007180_03-04-2025_06_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22007180 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_P22007180_03-04-2025_06_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22007183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22007184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22007185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22007186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22007187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22007188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22007189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22007190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22007191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22007192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22007193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22007194, 'pht': 3726}}" where mtr_portfolio_id = 22007180 and dashboard_run_id = 1720580 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`=22007180 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9836944, 0.03613454209711532, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22007180_03-04-2025_06_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22007183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22007184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22007185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22007186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22007187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22007188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22007189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22007190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22007191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22007192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22007193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22007194, '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 = 22007675 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': 2719206, 'mtr_portfolio_id': 22007675, 'created_at': datetime.datetime(2025, 4, 3, 6, 18, 59), 'result': '0.04685153203164675', 'result_long': None, 'result_double': None}] Qualite : 0.04685153203164675 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22007675 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22007675_03-04-2025_06_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22007675 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_P22007675_03-04-2025_06_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22007710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22007711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22007712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22007713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22007714, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22007715, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22007716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22007717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22007718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22007719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22007720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22007721, 'pht': 3726}}" where mtr_portfolio_id = 22007675 and dashboard_run_id = 1720580 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`=22007675 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9836945, 0.04685153203164675, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22007675_03-04-2025_06_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22007710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22007711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22007712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22007713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22007714, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22007715, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22007716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22007717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22007718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22007719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22007720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22007721, '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 = 22008153 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': 2719232, 'mtr_portfolio_id': 22008153, 'created_at': datetime.datetime(2025, 4, 3, 6, 32, 59), 'result': '0.05274350504281694', 'result_long': None, 'result_double': None}] Qualite : 0.05274350504281694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22008153 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22008153_03-04-2025_06_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22008153 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_P22008153_03-04-2025_06_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22008205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22008206, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22008207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22008208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22008209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22008210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22008211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22008212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22008213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22008214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22008215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22008216, 'pht': 3726}}" where mtr_portfolio_id = 22008153 and dashboard_run_id = 1720580 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`=22008153 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9836946, 0.05274350504281694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22008153_03-04-2025_06_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22008205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22008206, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22008207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22008208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22008209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22008210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22008211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22008212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22008213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22008214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22008215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22008216, '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 = 22008684 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': 2719266, 'mtr_portfolio_id': 22008684, 'created_at': datetime.datetime(2025, 4, 3, 6, 44, 29), 'result': '0.05134261201732702', 'result_long': None, 'result_double': None}] Qualite : 0.05134261201732702 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22008684 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22008684_03-04-2025_06_44_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22008684 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_P22008684_03-04-2025_06_44_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22008687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22008688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22008689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22008690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22008691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22008692, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22008693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22008694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22008695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22008696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22008697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22008698, 'pht': 3726}}" where mtr_portfolio_id = 22008684 and dashboard_run_id = 1720580 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`=22008684 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9836947, 0.05134261201732702, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22008684_03-04-2025_06_44_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22008687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22008688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22008689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22008690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22008691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22008692, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22008693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22008694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22008695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22008696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22008697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22008698, '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 (22007180,22007675,22008153,22008684) result : ((1349726044,), (1349726047,), (1349726048,), (1349726102,), (1349726106,), (1349726109,), (1349726112,), (1349726150,), (1349726153,), (1349726160,), (1349726161,), (1349726164,), (1349726167,), (1349726237,), (1349726239,), (1349726241,), (1349726244,), (1349726247,), (1349726273,), (1349726277,), (1349726281,), (1349726283,), (1349726285,), (1349726290,), (1349726338,), (1349726342,), (1349726343,), (1349726344,), (1349726422,), (1349726430,), (1349726435,), (1349726437,), (1349726440,), (1349726442,), (1349726531,), (1349726532,), (1349726557,), (1349726560,), (1349726569,), (1349726602,), (1349726609,), (1349726723,), (1349726726,), (1349726729,), (1349726855,), (1349726861,), (1349726862,), (1349726863,), (1349726943,), (1349726970,), (1349726998,), (1349727018,), (1349727045,), (1349727073,), (1349727394,), (1349727423,), (1349727459,), (1349727471,), (1349727495,), (1349727706,), (1349727721,), (1349727730,), (1349727736,), (1349727744,), (1349727764,), (1349727771,), (1349727793,), (1349727799,), (1349727802,), (1349727914,), (1349727820,), (1349727904,), (1349727951,), (1349727978,), (1349727997,), (1349728067,), (1349728200,), (1349728318,), (1349728775,), (1349728781,), (1349728786,), (1349728791,), (1349728795,), (1349728863,), (1349729105,), (1349729107,), (1349729177,), (1349729202,), (1349729374,), (1349729378,), (1349729391,), (1349729395,), (1349729399,), (1349729401,), (1349729495,), (1349729498,), (1349729500,), (1349729620,), (1349729627,), (1349729631,), (1349729635,), (1349729638,), (1349729642,), (1349729674,), (1349729681,), (1349729689,), (1349729695,), (1349729720,), (1349729723,), (1349729726,), (1349729728,), (1349729730,), (1349729751,), (1349729756,), (1349729758,), (1349729762,), (1349729818,), (1349729823,), (1349729825,), (1349729831,), (1349729839,), (1349729881,), (1349729885,), (1349729888,), (1349729890,), (1349729893,), (1349729895,), (1349729916,), (1349729918,), (1349729920,), (1349729922,), (1349729948,), (1349729950,), (1349729958,), (1349729967,), (1349729969,), (1349729971,), (1349730003,), (1349730005,), (1349730007,), (1349730008,), (1349730010,), (1349730142,), (1349730040,), (1349730044,), (1349730047,), (1349730050,), (1349730084,), (1349730466,), (1349730468,), (1349730471,), (1349730473,), (1349730495,), (1349730496,), (1349730497,), (1349730498,), (1349730604,), (1349730607,), (1349730610,), (1349730617,), (1349730619,), (1349730635,), (1349730682,), (1349730691,), (1349730693,), (1349730694,), (1349730756,), (1349730760,), (1349730763,), (1349730766,), (1349730769,), (1349730843,), (1349730886,), (1349730896,), (1349730906,), (1349730909,), (1349730913,), (1349730928,), (1349730932,), (1349730945,), (1349730953,), (1349731009,), (1349731012,), (1349731014,), (1349731015,), (1349731025,), (1349731067,), (1349731068,), (1349731070,), (1349731071,), (1349731073,), (1349731076,), (1349731114,), (1349731118,), (1349731123,), (1349731125,), (1349731147,), (1349731149,), (1349731150,), (1349731151,), (1349731153,), (1349731156,), (1349731174,), (1349731178,), (1349731181,), (1349731185,), (1349731222,), (1349731224,), (1349731225,), (1349731226,), (1349731229,), (1349731259,), (1349731263,), (1349731266,), (1349731270,), (1349731345,), (1349731329,), (1349731336,), (1349731342,), (1349731409,), (1349731413,), (1349731425,), (1349731445,), (1349731477,), (1349731480,), (1349731560,), (1349731564,), (1349731566,), (1349731568,), (1349731632,), (1349731661,), (1349731663,), (1349731665,), (1349731678,), (1349731697,), (1349731787,), (1349731840,), (1349731842,), (1349731849,), (1349731955,), (1349731958,), (1349731968,), (1349731970,), (1349731983,), (1349731989,), (1349732040,), (1349732093,), (1349732110,), (1349732114,), (1349732116,), (1349732155,), (1349732212,), (1349732246,), (1349732254,), (1349732284,), (1349732286,), (1349732287,), (1349732289,), (1349732291,), (1349732314,), (1349732326,), (1349732339,), (1349732342,), (1349732345,), (1349732381,), (1349732384,), (1349732386,), (1349732388,), (1349732435,), (1349732442,), (1349732444,), (1349732445,), (1349732448,), (1349732459,), (1349732495,), (1349732498,), (1349732502,), (1349732505,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03042025': {'nb_upload': 62, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22008684]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1349732505, 1349732502, 1349732498, 1349732495, 1349732459, 1349732448, 1349732445, 1349732444, 1349732442, 1349732435] map_info['map_portfolio_photo'] : {22008684: [1349732505, 1349732502, 1349732498, 1349732495, 1349732459, 1349732448, 1349732445, 1349732444, 1349732442, 1349732435, 1349732388, 1349732386, 1349732384, 1349732381, 1349732345, 1349732342, 1349732339, 1349732326, 1349732314, 1349732291, 1349732289, 1349732287, 1349732286, 1349732284, 1349732254, 1349732246, 1349732212, 1349732155, 1349732116, 1349732114, 1349732110, 1349732093, 1349732040, 1349731989, 1349731983, 1349731970, 1349731968, 1349731958, 1349731955, 1349731849, 1349731842, 1349731840, 1349731787, 1349731697, 1349731678, 1349731665, 1349731663, 1349731661, 1349731632, 1349731568, 1349731566, 1349731564, 1349731560, 1349731480, 1349731477, 1349731445, 1349731425, 1349731413, 1349731409, 1349731342, 1349731336, 1349731329]} final : True mtd_id 4302 list_pids : [1349732505, 1349732502, 1349732498, 1349732495, 1349732459, 1349732448, 1349732445, 1349732444, 1349732442, 1349732435] Looping around the photos to save general results len do output : 1 /22008684Didn'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, '2719266') ('4302', '22008684', '1349732505', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732502', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732498', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732495', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732459', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732448', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732445', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732444', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732442', None, None, None, None, None, '2719266') ('4302', None, None, None, None, None, None, None, '2719266') ('4302', '22008684', '1349732435', None, None, None, None, None, '2719266') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22008684', 'None', None, None, None, None, '2719266'), ('4302', '22008684', '1349732505', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732502', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732498', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732495', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732459', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732448', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732445', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732444', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732442', None, None, None, None, None, '2719266'), ('4302', '22008684', '1349732435', None, None, None, None, None, '2719266')] time used for this insertion : 0.01770639419555664 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.465606689453125 time spend to save output : 0.017919540405273438 total time spend for step 5 : 0.48352622985839844 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 (2719266) 2.31user 2.26system 0:15.44elapsed 29%CPU (0avgtext+0avgdata 158552maxresident)k 208inputs+16408outputs (9major+77496minor)pagefaults 0swaps