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 21589138 , 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=21589130 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 (21589138) result : ((1346140578,), (1346140580,), (1346140795,), (1346140797,), (1346141175,), (1346142139,), (1346142792,), (1346143567,), (1346145716,), (1346145718,), (1346146344,), (1346146533,), (1346148013,), (1346148016,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21589130) result : ((1346136501,), (1346136518,), (1346136569,), (1346136583,), (1346136749,), (1346136793,), (1346137663,), (1346137664,), (1346137730,), (1346137733,), (1346137802,), (1346137813,), (1346137876,), (1346137886,), (1346138458,), (1346138501,), (1346138548,), (1346139306,), (1346139337,), (1346139381,), (1346139409,), (1346139437,), (1346139537,), (1346139567,), (1346139594,), (1346139644,), (1346140105,), (1346140129,), (1346140172,), (1346140703,), (1346140774,), (1346140820,), (1346140860,), (1346141580,), (1346141631,), (1346141723,), (1346141797,), (1346142949,), (1346143088,), (1346143174,), (1346143278,), (1346143735,), (1346143815,), (1346143871,), (1346144515,), (1346144571,), (1346144627,), (1346144698,), (1346145631,), (1346145692,), (1346147072,), (1346147177,), (1346147405,), (1346147507,), (1346148362,), (1346148422,), (1346148467,), (1346148527,), (1346148658,), (1346148705,), (1346148708,), (1346148767,), (1346148812,)) 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 21589139 , 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=21589130 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 (21589139) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21589130) result : ((1346136501,), (1346136518,), (1346136569,), (1346136583,), (1346136749,), (1346136793,), (1346137663,), (1346137664,), (1346137730,), (1346137733,), (1346137802,), (1346137813,), (1346137876,), (1346137886,), (1346138458,), (1346138501,), (1346138548,), (1346139306,), (1346139337,), (1346139381,), (1346139409,), (1346139437,), (1346139537,), (1346139567,), (1346139594,), (1346139644,), (1346140105,), (1346140129,), (1346140172,), (1346140703,), (1346140774,), (1346140820,), (1346140860,), (1346141580,), (1346141631,), (1346141723,), (1346141797,), (1346142949,), (1346143088,), (1346143174,), (1346143278,), (1346143735,), (1346143815,), (1346143871,), (1346144515,), (1346144571,), (1346144627,), (1346144698,), (1346145631,), (1346145692,), (1346147072,), (1346147177,), (1346147405,), (1346147507,), (1346148362,), (1346148422,), (1346148467,), (1346148527,), (1346148658,), (1346148705,), (1346148708,), (1346148767,), (1346148812,)) 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 21589140 , 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=21589130 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 (21589140) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21589130) result : ((1346136501,), (1346136518,), (1346136569,), (1346136583,), (1346136749,), (1346136793,), (1346137663,), (1346137664,), (1346137730,), (1346137733,), (1346137802,), (1346137813,), (1346137876,), (1346137886,), (1346138458,), (1346138501,), (1346138548,), (1346139306,), (1346139337,), (1346139381,), (1346139409,), (1346139437,), (1346139537,), (1346139567,), (1346139594,), (1346139644,), (1346140105,), (1346140129,), (1346140172,), (1346140703,), (1346140774,), (1346140820,), (1346140860,), (1346141580,), (1346141631,), (1346141723,), (1346141797,), (1346142949,), (1346143088,), (1346143174,), (1346143278,), (1346143735,), (1346143815,), (1346143871,), (1346144515,), (1346144571,), (1346144627,), (1346144698,), (1346145631,), (1346145692,), (1346147072,), (1346147177,), (1346147405,), (1346147507,), (1346148362,), (1346148422,), (1346148467,), (1346148527,), (1346148658,), (1346148705,), (1346148708,), (1346148767,), (1346148812,)) 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 21589141 , 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=21589130 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='autre_refus' 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 (21589141) result : ((1346140003,), (1346140005,), (1346140006,), (1346140556,), (1346140559,), (1346140561,), (1346140563,), (1346140565,), (1346140700,), (1346140706,), (1346140709,), (1346140710,), (1346140711,), (1346140712,), (1346140713,), (1346140714,), (1346140715,), (1346140716,), (1346140719,), (1346140720,), (1346141150,), (1346141515,), (1346141518,), (1346141521,), (1346141524,), (1346141527,), (1346141530,), (1346142082,), (1346142083,), (1346142084,), (1346142085,), (1346142726,), (1346142728,), (1346142732,), (1346142733,), (1346143498,), (1346143499,), (1346143500,), (1346143501,), (1346145635,), (1346145636,), (1346145637,), (1346145638,), (1346145639,), (1346145641,), (1346145644,), (1346145645,), (1346145646,), (1346145871,), (1346146329,), (1346146330,), (1346146331,), (1346146505,), (1346147924,), (1346147925,), (1346147929,), (1346147930,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21589130) result : ((1346136501,), (1346136518,), (1346136569,), (1346136583,), (1346136749,), (1346136793,), (1346137663,), (1346137664,), (1346137730,), (1346137733,), (1346137802,), (1346137813,), (1346137876,), (1346137886,), (1346138458,), (1346138501,), (1346138548,), (1346139306,), (1346139337,), (1346139381,), (1346139409,), (1346139437,), (1346139537,), (1346139567,), (1346139594,), (1346139644,), (1346140105,), (1346140129,), (1346140172,), (1346140703,), (1346140774,), (1346140820,), (1346140860,), (1346141580,), (1346141631,), (1346141723,), (1346141797,), (1346142949,), (1346143088,), (1346143174,), (1346143278,), (1346143735,), (1346143815,), (1346143871,), (1346144515,), (1346144571,), (1346144627,), (1346144698,), (1346145631,), (1346145692,), (1346147072,), (1346147177,), (1346147405,), (1346147507,), (1346148362,), (1346148422,), (1346148467,), (1346148527,), (1346148658,), (1346148705,), (1346148708,), (1346148767,), (1346148812,)) 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 21589142 , 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=21589130 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='papier' 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 (21589142) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21589130) result : ((1346136501,), (1346136518,), (1346136569,), (1346136583,), (1346136749,), (1346136793,), (1346137663,), (1346137664,), (1346137730,), (1346137733,), (1346137802,), (1346137813,), (1346137876,), (1346137886,), (1346138458,), (1346138501,), (1346138548,), (1346139306,), (1346139337,), (1346139381,), (1346139409,), (1346139437,), (1346139537,), (1346139567,), (1346139594,), (1346139644,), (1346140105,), (1346140129,), (1346140172,), (1346140703,), (1346140774,), (1346140820,), (1346140860,), (1346141580,), (1346141631,), (1346141723,), (1346141797,), (1346142949,), (1346143088,), (1346143174,), (1346143278,), (1346143735,), (1346143815,), (1346143871,), (1346144515,), (1346144571,), (1346144627,), (1346144698,), (1346145631,), (1346145692,), (1346147072,), (1346147177,), (1346147405,), (1346147507,), (1346148362,), (1346148422,), (1346148467,), (1346148527,), (1346148658,), (1346148705,), (1346148708,), (1346148767,), (1346148812,)) 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`=21589130 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','mal_croppe','flou','Teint_Dans_La_Masse','papier','Carton_gris','cartonnette','Carton_brun','plastique','autre_refus','environnement')) 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`=21589130 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','mal_croppe','flou','Teint_Dans_La_Masse','papier','Carton_gris','cartonnette','Carton_brun','plastique','autre_refus','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 21589130, 'sub_port_id': 21589143, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14133110, 'last_updated_at': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 19, 5, 29)}, 'metal': {'main_port_id': 21589130, 'sub_port_id': 21589144, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14133111, 'last_updated_at': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 19, 5, 29)}, 'plastique': {'main_port_id': 21589130, 'sub_port_id': 21589145, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14133112, 'last_updated_at': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 19, 5, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 21589130, 'sub_port_id': 21589146, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14133113, 'last_updated_at': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 19, 5, 29)}, 'environnement': {'main_port_id': 21589130, 'sub_port_id': 21589147, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14133114, 'last_updated_at': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 19, 5, 29)}, 'cartonnette': {'main_port_id': 21589130, 'sub_port_id': 21589148, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14133115, 'last_updated_at': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 19, 5, 29)}, 'Carton_gris': {'main_port_id': 21589130, 'sub_port_id': 21589149, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14133116, 'last_updated_at': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 19, 5, 29)}, 'Carton_brun': {'main_port_id': 21589130, 'sub_port_id': 21589150, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14133117, 'last_updated_at': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 19, 5, 29)}, 'mal_croppe': {'main_port_id': 21589130, 'sub_port_id': 21589151, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14133118, 'last_updated_at': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 19, 5, 29)}, 'kraft': {'main_port_id': 21589130, 'sub_port_id': 21589152, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14133119, 'last_updated_at': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 19, 5, 29)}, 'autre_refus': {'main_port_id': 21589130, 'sub_port_id': 21589153, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14133120, 'last_updated_at': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 19, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 19, 5, 29)}, 'papier': {'main_port_id': 21589130, 'sub_port_id': 21589154, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14133121, 'last_updated_at': datetime.datetime(2025, 3, 21, 19, 14, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 19, 14, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 19, 5, 29)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21589143,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21589131 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21589144,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21589132 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21589145,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21589133 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21589146,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21589134 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21589147,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21589135 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21589148,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21589136 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21589149,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21589137 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21589150,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21589138 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21589151,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21589139 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21589152,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21589140 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21589153,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21589141 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21589154,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21589142 lien utilise dans velours : https://www.fotonower.com/velours/21589143,21589144,21589145,21589146,21589147,21589148,21589149,21589150,21589151,21589152,21589153,21589154?tags=flou,metal,plastique,Teint_Dans_La_Masse,environnement,cartonnette,Carton_gris,Carton_brun,mal_croppe,kraft,autre_refus,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21589130]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1346148812, 1346148767, 1346148708, 1346148705, 1346148658, 1346148527, 1346148467, 1346148422, 1346148362, 1346147507, 1346147405, 1346147177, 1346147072] map_info['map_portfolio_photo'] : {21589130: [1346148812, 1346148767, 1346148708, 1346148705, 1346148658, 1346148527, 1346148467, 1346148422, 1346148362, 1346147507, 1346147405, 1346147177, 1346147072, 1346145692, 1346145631, 1346144698, 1346144627, 1346144571, 1346144515, 1346143871, 1346143815, 1346143735, 1346143278, 1346143174, 1346143088, 1346142949, 1346141797, 1346141723, 1346141631, 1346141580, 1346140860, 1346140820, 1346140774, 1346140703, 1346140172, 1346140129, 1346140105, 1346139644, 1346139594, 1346139567, 1346139537, 1346139437, 1346139409, 1346139381, 1346139337, 1346139306, 1346138548, 1346138501, 1346138458, 1346137886, 1346137876, 1346137813, 1346137802, 1346137733, 1346137730, 1346137664, 1346137663, 1346136793, 1346136749, 1346136583, 1346136569, 1346136518, 1346136501]} final : False mtd_id 4302 list_pids : [1346148812, 1346148767, 1346148708, 1346148705, 1346148658, 1346148527, 1346148467, 1346148422, 1346148362, 1346147507, 1346147405, 1346147177, 1346147072] Looping around the photos to save general results len do output : 1 /21589130. 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, '2680074') ('4302', '21589130', '1346148812', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148767', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148708', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148705', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148658', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148527', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148467', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148422', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148362', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346147507', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346147405', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346147177', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346147072', None, None, None, None, None, '2680074') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 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, '21589130', "{'flou': 21589131, 'metal': 21589132, 'plastique': 21589133, 'Teint_Dans_La_Masse': 21589134, 'environnement': 21589135, 'cartonnette': 21589136, 'Carton_gris': 21589137, 'Carton_brun': 21589138, 'mal_croppe': 21589139, 'kraft': 21589140, 'autre_refus': 21589141, 'papier': 21589142}", None, None, None, None, '2680074'), ('4302', '21589130', '1346148812', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148767', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148708', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148705', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148658', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148527', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148467', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148422', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148362', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346147507', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346147405', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346147177', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346147072', None, None, None, None, None, '2680074')] time used for this insertion : 0.014590024948120117 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5725305080413818 time spend to save output : 0.01499319076538086 total time spend for step 1 : 1.5875236988067627 step2:final Fri Mar 21 19:16:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21589130) 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 21589130 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1346136749,1346136793,1346136569,1346136583,1346136518,1346136501,1346137876,1346137886,1346137802,1346137813,1346137730,1346137733,1346137664,1346137663,1346138548,1346138501,1346138458,1346139437,1346139409,1346139381,1346139337,1346139306,1346139644,1346139594,1346139567,1346139537,1346140172,1346140129,1346140105,1346140860,1346140820,1346140774,1346140703,1346141797,1346141723,1346141631,1346141580,1346143278,1346143174,1346143088,1346142949,1346143871,1346143815,1346143735,1346144698,1346144627,1346144571,1346144515,1346145692,1346145631,1346147507,1346147405,1346147177,1346147072,1346148527,1346148467,1346148422,1346148362,1346148812,1346148767,1346148708,1346148705,1346148658); 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([21589130]) Inside saveOutput : final : False verbose : True original output for save of step final : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ('0.08985724799809379',), 1346147177: ('0.08985724799809379',), 1346147072: ('0.08985724799809379',)} new output for save of step final : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ('0.08985724799809379',), 1346147177: ('0.08985724799809379',), 1346147072: ('0.08985724799809379',)} [1346148812, 1346148767, 1346148708, 1346148705, 1346148658, 1346148527, 1346148467, 1346148422, 1346148362, 1346147507, 1346147405, 1346147177, 1346147072] map_info['map_portfolio_photo'] : {21589130: [1346148812, 1346148767, 1346148708, 1346148705, 1346148658, 1346148527, 1346148467, 1346148422, 1346148362, 1346147507, 1346147405, 1346147177, 1346147072, 1346145692, 1346145631, 1346144698, 1346144627, 1346144571, 1346144515, 1346143871, 1346143815, 1346143735, 1346143278, 1346143174, 1346143088, 1346142949, 1346141797, 1346141723, 1346141631, 1346141580, 1346140860, 1346140820, 1346140774, 1346140703, 1346140172, 1346140129, 1346140105, 1346139644, 1346139594, 1346139567, 1346139537, 1346139437, 1346139409, 1346139381, 1346139337, 1346139306, 1346138548, 1346138501, 1346138458, 1346137886, 1346137876, 1346137813, 1346137802, 1346137733, 1346137730, 1346137664, 1346137663, 1346136793, 1346136749, 1346136583, 1346136569, 1346136518, 1346136501]} final : False mtd_id 4302 list_pids : [1346148812, 1346148767, 1346148708, 1346148705, 1346148658, 1346148527, 1346148467, 1346148422, 1346148362, 1346147507, 1346147405, 1346147177, 1346147072] Looping around the photos to save general results len do output : 13 /1346148812.Didn't retrieve data . /1346148767.Didn't retrieve data . /1346148708.Didn't retrieve data . /1346148705.Didn't retrieve data . /1346148658.Didn't retrieve data . /1346148527.Didn't retrieve data . /1346148467.Didn't retrieve data . /1346148422.Didn't retrieve data . /1346148362.Didn't retrieve data . /1346147507.Didn't retrieve data . /1346147405.Didn't retrieve data . /1346147177.Didn't retrieve data . /1346147072.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, '2680074') ('4302', '21589130', '1346148812', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148767', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148708', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148705', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148658', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148527', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148467', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148422', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148362', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346147507', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346147405', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346147177', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346147072', None, None, None, None, None, '2680074') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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', '21589130', '1346148812', '0.08985724799809379', None, None, None, None, '2680074'), ('4302', '21589130', '1346148767', '0.08985724799809379', None, None, None, None, '2680074'), ('4302', '21589130', '1346148708', '0.08985724799809379', None, None, None, None, '2680074'), ('4302', '21589130', '1346148705', '0.08985724799809379', None, None, None, None, '2680074'), ('4302', '21589130', '1346148658', '0.08985724799809379', None, None, None, None, '2680074'), ('4302', '21589130', '1346148527', '0.08985724799809379', None, None, None, None, '2680074'), ('4302', '21589130', '1346148467', '0.08985724799809379', None, None, None, None, '2680074'), ('4302', '21589130', '1346148422', '0.08985724799809379', None, None, None, None, '2680074'), ('4302', '21589130', '1346148362', '0.08985724799809379', None, None, None, None, '2680074'), ('4302', '21589130', '1346147507', '0.08985724799809379', None, None, None, None, '2680074'), ('4302', '21589130', '1346147405', '0.08985724799809379', None, None, None, None, '2680074'), ('4302', '21589130', '1346147177', '0.08985724799809379', None, None, None, None, '2680074'), ('4302', '21589130', '1346147072', '0.08985724799809379', None, None, None, None, '2680074')] time used for this insertion : 0.013216018676757812 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06995248794555664 time spend to save output : 0.01386260986328125 total time spend for step 2 : 0.08381509780883789 step3:velours_tree Fri Mar 21 19:16:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {21589130: [{'flou': 21589131, 'metal': 21589132, 'plastique': 21589133, 'Teint_Dans_La_Masse': 21589134, 'environnement': 21589135, 'cartonnette': 21589136, 'Carton_gris': 21589137, 'Carton_brun': 21589138, 'mal_croppe': 21589139, 'kraft': 21589140, 'autre_refus': 21589141, 'papier': 21589142}]} input_args_next_step : {21589130: ()} output_args : {21589130: [{'flou': 21589131, 'metal': 21589132, 'plastique': 21589133, 'Teint_Dans_La_Masse': 21589134, 'environnement': 21589135, 'cartonnette': 21589136, 'Carton_gris': 21589137, 'Carton_brun': 21589138, 'mal_croppe': 21589139, 'kraft': 21589140, 'autre_refus': 21589141, 'papier': 21589142}]} args : 21589130 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 : ({'flou': 21589131, 'metal': 21589132, 'plastique': 21589133, 'Teint_Dans_La_Masse': 21589134, 'environnement': 21589135, 'cartonnette': 21589136, 'Carton_gris': 21589137, 'Carton_brun': 21589138, 'mal_croppe': 21589139, 'kraft': 21589140, 'autre_refus': 21589141, 'papier': 21589142},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21589130) 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([21589130]) 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.31978583335876465 time spend to save output : 4.4345855712890625e-05 total time spend for step 3 : 0.31983017921447754 step4:send_mail_cod Fri Mar 21 19:17:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ('0.08985724799809379',), 1346147177: ('0.08985724799809379',), 1346147072: ('0.08985724799809379',)} input_args_next_step : {1346148812: ()} output_args : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ('0.08985724799809379',), 1346147177: ('0.08985724799809379',), 1346147072: ('0.08985724799809379',)} args : 1346148812 depend.output_id : 0 input_args_next_step : {1346148812: ('0.08985724799809379',), 1346148767: ()} output_args : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ('0.08985724799809379',), 1346147177: ('0.08985724799809379',), 1346147072: ('0.08985724799809379',)} args : 1346148767 depend.output_id : 0 input_args_next_step : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ()} output_args : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ('0.08985724799809379',), 1346147177: ('0.08985724799809379',), 1346147072: ('0.08985724799809379',)} args : 1346148708 depend.output_id : 0 input_args_next_step : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ()} output_args : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ('0.08985724799809379',), 1346147177: ('0.08985724799809379',), 1346147072: ('0.08985724799809379',)} args : 1346148705 depend.output_id : 0 input_args_next_step : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ()} output_args : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ('0.08985724799809379',), 1346147177: ('0.08985724799809379',), 1346147072: ('0.08985724799809379',)} args : 1346148658 depend.output_id : 0 input_args_next_step : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ()} output_args : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ('0.08985724799809379',), 1346147177: ('0.08985724799809379',), 1346147072: ('0.08985724799809379',)} args : 1346148527 depend.output_id : 0 input_args_next_step : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ()} output_args : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ('0.08985724799809379',), 1346147177: ('0.08985724799809379',), 1346147072: ('0.08985724799809379',)} args : 1346148467 depend.output_id : 0 input_args_next_step : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ()} output_args : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ('0.08985724799809379',), 1346147177: ('0.08985724799809379',), 1346147072: ('0.08985724799809379',)} args : 1346148422 depend.output_id : 0 input_args_next_step : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ()} output_args : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ('0.08985724799809379',), 1346147177: ('0.08985724799809379',), 1346147072: ('0.08985724799809379',)} args : 1346148362 depend.output_id : 0 input_args_next_step : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ()} output_args : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ('0.08985724799809379',), 1346147177: ('0.08985724799809379',), 1346147072: ('0.08985724799809379',)} args : 1346147507 depend.output_id : 0 input_args_next_step : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ()} output_args : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ('0.08985724799809379',), 1346147177: ('0.08985724799809379',), 1346147072: ('0.08985724799809379',)} args : 1346147405 depend.output_id : 0 input_args_next_step : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ('0.08985724799809379',), 1346147177: ()} output_args : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ('0.08985724799809379',), 1346147177: ('0.08985724799809379',), 1346147072: ('0.08985724799809379',)} args : 1346147177 depend.output_id : 0 input_args_next_step : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ('0.08985724799809379',), 1346147177: ('0.08985724799809379',), 1346147072: ()} output_args : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ('0.08985724799809379',), 1346147177: ('0.08985724799809379',), 1346147072: ('0.08985724799809379',)} args : 1346147072 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 : {21589130: [{'flou': 21589131, 'metal': 21589132, 'plastique': 21589133, 'Teint_Dans_La_Masse': 21589134, 'environnement': 21589135, 'cartonnette': 21589136, 'Carton_gris': 21589137, 'Carton_brun': 21589138, 'mal_croppe': 21589139, 'kraft': 21589140, 'autre_refus': 21589141, 'papier': 21589142}]} input_args_next_step : {1346148812: ('0.08985724799809379',), 1346148767: ('0.08985724799809379',), 1346148708: ('0.08985724799809379',), 1346148705: ('0.08985724799809379',), 1346148658: ('0.08985724799809379',), 1346148527: ('0.08985724799809379',), 1346148467: ('0.08985724799809379',), 1346148422: ('0.08985724799809379',), 1346148362: ('0.08985724799809379',), 1346147507: ('0.08985724799809379',), 1346147405: ('0.08985724799809379',), 1346147177: ('0.08985724799809379',), 1346147072: ('0.08985724799809379',), 21589130: ()} output_args : {21589130: [{'flou': 21589131, 'metal': 21589132, 'plastique': 21589133, 'Teint_Dans_La_Masse': 21589134, 'environnement': 21589135, 'cartonnette': 21589136, 'Carton_gris': 21589137, 'Carton_brun': 21589138, 'mal_croppe': 21589139, 'kraft': 21589140, 'autre_refus': 21589141, 'papier': 21589142}]} args : 21589130 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 :14, first value : ('0.08985724799809379',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21589130) 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 (1346148812,1346148767,1346148708,1346148705,1346148658,1346148527,1346148467,1346148422,1346148362,1346147507,1346147405,1346147177,1346147072) Found this number of photos: 13 ##### Call download_photos : nb_thread : 5 begin to download photo : 1346147072 begin to download photo : 1346147507 begin to download photo : 1346148467 begin to download photo : 1346148705 begin to download photo : 1346148812 download finish for photo 1346148467 begin to download photo : 1346148527 download finish for photo 1346148812 download finish for photo 1346147507 begin to download photo : 1346148362 download finish for photo 1346148705 begin to download photo : 1346148708 download finish for photo 1346147072 begin to download photo : 1346147177 download finish for photo 1346148362 begin to download photo : 1346148422 download finish for photo 1346148527 begin to download photo : 1346148658 download finish for photo 1346148708 begin to download photo : 1346148767 download finish for photo 1346147177 begin to download photo : 1346147405 download finish for photo 1346148422 download finish for photo 1346148658 download finish for photo 1346148767 download finish for photo 1346147405 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette215891311742581020/ imagette215891321742581020/ length of list_filenames : 13 ; length of list_pids : 13 ; length of list_args : 13 results_Auto_P21589130_21-03-2025_19_17_00.pdf 21589131 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=21589131 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215891311742581020 21589132 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=21589132 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215891321742581020 21589133 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=21589133 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346140827: '1742580391_1087953_1346136793_45431cb973f71087777165de968d8162_rle_crop_3722773368_0.png', 1346140828: '1742580391_1087953_1346136793_45431cb973f71087777165de968d8162_rle_crop_3722773367_0.png', 1346140829: '1742580391_1087953_1346136793_45431cb973f71087777165de968d8162_rle_crop_3722773379_0.png', 1346140830: '1742580391_1087953_1346136749_f0045d30e783d8ffadb8530ebe8d3fa9_rle_crop_3722773472_0.png', 1346140831: '1742580391_1087953_1346136749_f0045d30e783d8ffadb8530ebe8d3fa9_rle_crop_3722773471_0.png', 1346140832: '1742580391_1087953_1346136749_f0045d30e783d8ffadb8530ebe8d3fa9_rle_crop_3722773483_0.png', 1346140833: '1742580391_1087953_1346136583_2599040f723a5d3a16da35157b41bd9a_rle_crop_3722773514_0.png', 1346140835: '1742580391_1087953_1346136569_6e4601c295547899fa9950ae108aa002_rle_crop_3722773601_0.png', 1346140836: '1742580391_1087953_1346136518_20b1e448ddaaaf24703347a0015bfbc1_rle_crop_3722773702_0.png', 1346140837: '1742580391_1087953_1346136501_b599bbe26c0b6b88b46f8b567bbd693c_rle_crop_3722775927_0.png', 1346141189: '1742580494_1088953_1346140129_ec1f781b1d84c544ec7b65af9b65695a_rle_crop_3722779019_0.png', 1346142160: '1742580513_1089513_1346139567_cf0ee59f92cb7abac5fa431ad949fb5b_rle_crop_3722779508_0.png', 1346142161: '1742580513_1089513_1346139567_cf0ee59f92cb7abac5fa431ad949fb5b_rle_crop_3722779519_0.png', 1346143603: '1742580591_1090700_1346139567_cf0ee59f92cb7abac5fa431ad949fb5b_rle_crop_3722779508_0.png', 1346143606: '1742580591_1090700_1346139567_cf0ee59f92cb7abac5fa431ad949fb5b_rle_crop_3722779519_0.png', 1346145893: '1742580773_1092602_1346143815_ebdf0d7bc9eae409a87a26a431f7610b_rle_crop_3722791623_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f48056c2e415034614acd4d5fb925cd4_71258831.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/b3c1ef4d6400321de2a294f40ad3c179_54543324.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/62435d9fce8d58e49448d1df6ae18942_13196719.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f48056c2e415034614acd4d5fb925cd4_37039439.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/b3c1ef4d6400321de2a294f40ad3c179_46454896.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/62435d9fce8d58e49448d1df6ae18942_10434634.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/94a2c0a72a137b31bbe4abae441065e4_56161296.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/94a2c0a72a137b31bbe4abae441065e4_47376735.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f4460ca10fdbbc77cacd14767d83f3e6_24368547.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f4460ca10fdbbc77cacd14767d83f3e6_81931586.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/4dbf7da86366e3d8bf099646d1811c4f_57469656.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/3c49d5b68734b88cac138bce307e6d7d_50969505.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/c92a7f38e4aad044facb10da5fc04bc5_91311857.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/3c49d5b68734b88cac138bce307e6d7d_56035901.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/c92a7f38e4aad044facb10da5fc04bc5_11493617.png change filename to text .imagette215891331742581020/ imagette215891331742581020/1742580494_1088953_1346140129_ec1f781b1d84c544ec7b65af9b65695a_rle_crop_3722779019_0.png.png imagette215891331742581020/1742580391_1087953_1346136501_b599bbe26c0b6b88b46f8b567bbd693c_rle_crop_3722775927_0.png.png imagette215891331742581020/1742580391_1087953_1346136749_f0045d30e783d8ffadb8530ebe8d3fa9_rle_crop_3722773483_0.png.png imagette215891331742581020/1742580773_1092602_1346143815_ebdf0d7bc9eae409a87a26a431f7610b_rle_crop_3722791623_0.png.png imagette215891331742581020/1742580391_1087953_1346136518_20b1e448ddaaaf24703347a0015bfbc1_rle_crop_3722773702_0.png.png imagette215891331742581020/1742580391_1087953_1346136793_45431cb973f71087777165de968d8162_rle_crop_3722773379_0.png.png imagette215891331742581020/1742580391_1087953_1346136793_45431cb973f71087777165de968d8162_rle_crop_3722773367_0.png.png imagette215891331742581020/1742580391_1087953_1346136583_2599040f723a5d3a16da35157b41bd9a_rle_crop_3722773514_0.png.png imagette215891331742581020/1742580391_1087953_1346136793_45431cb973f71087777165de968d8162_rle_crop_3722773368_0.png.png imagette215891331742581020/1742580513_1089513_1346139567_cf0ee59f92cb7abac5fa431ad949fb5b_rle_crop_3722779508_0.png.png imagette215891331742581020/1742580391_1087953_1346136749_f0045d30e783d8ffadb8530ebe8d3fa9_rle_crop_3722773471_0.png.png imagette215891331742581020/1742580391_1087953_1346136569_6e4601c295547899fa9950ae108aa002_rle_crop_3722773601_0.png.png imagette215891331742581020/1742580513_1089513_1346139567_cf0ee59f92cb7abac5fa431ad949fb5b_rle_crop_3722779519_0.png.png imagette215891331742581020/1742580391_1087953_1346136749_f0045d30e783d8ffadb8530ebe8d3fa9_rle_crop_3722773472_0.png.png imagette215891331742581020/1742580591_1090700_1346139567_cf0ee59f92cb7abac5fa431ad949fb5b_rle_crop_3722779519_0.png.png imagette215891331742581020/1742580591_1090700_1346139567_cf0ee59f92cb7abac5fa431ad949fb5b_rle_crop_3722779508_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/71fd8ead8700ea996b62165dc9031e81_39862657.png imagette215891331742581020 21589136 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=21589136 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346140768: '1742580391_1087953_1346136793_45431cb973f71087777165de968d8162_rle_crop_3722773371_0.png', 1346140769: '1742580391_1087953_1346136749_f0045d30e783d8ffadb8530ebe8d3fa9_rle_crop_3722773475_0.png', 1346140770: '1742580391_1087953_1346136583_2599040f723a5d3a16da35157b41bd9a_rle_crop_3722773507_0.png', 1346140771: '1742580391_1087953_1346136569_6e4601c295547899fa9950ae108aa002_rle_crop_3722773594_0.png', 1346142121: '1742580513_1089513_1346140172_0998bb7332dd34bf2e3f959c6a92003e_rle_crop_3722779240_0.png', 1346142122: '1742580513_1089513_1346139537_e222451bff0c5536d4b843113b02ebc4_rle_crop_3722779556_0.png', 1346143533: '1742580591_1090700_1346140172_0998bb7332dd34bf2e3f959c6a92003e_bib_crop_3722779240_0.jpg', 1346143538: '1742580591_1090700_1346140172_0998bb7332dd34bf2e3f959c6a92003e_rle_crop_3722780824_0.png', 1346143544: '1742580591_1090700_1346139537_e222451bff0c5536d4b843113b02ebc4_rle_crop_3722779556_0.png', 1346145691: '1742580754_1092413_1346141580_6b4499471042e908875f24108b17359a_rle_crop_3722791565_0.png', 1346147987: '1742580870_1093699_1346144627_982c56407acd86a682f3129c8ce0c678_rle_crop_3722795153_0.png', 1346147988: '1742580870_1093699_1346144627_982c56407acd86a682f3129c8ce0c678_rle_crop_3722795155_0.png', 1346147989: '1742580870_1093699_1346144515_1204b91ec830ee24f3c34d0077ce3076_rle_crop_3722795170_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f12d0fdd4b34f1b598d975ccc29d9190_72956463.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f12d0fdd4b34f1b598d975ccc29d9190_29794757.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/3f84f5d9fc7f00dd12a43953e7c06695_84625954.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/3f84f5d9fc7f00dd12a43953e7c06695_87612413.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/192a77075c3693cf882f80e0e632a072_40898669.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/4f370d4ff5140ca140f9a47edbdb33cc_46824270.png change filename to text .wget -O 7.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/28c2d33fb8f769461c1ebe585d6de820_95636613.jpg change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/9a6a971004e103dd42479d493709f378_60849859.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/4f370d4ff5140ca140f9a47edbdb33cc_13467462.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/2b9c91e492f9a62ec57be2dc120f38b4_2232345.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/cee9fc63f9757e1f19fe314cae43b991_26983515.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/cbbc7c40e4f6b92b6aa2ea456dd672f6_4110036.png change filename to text .imagette215891361742581021/ imagette215891361742581021/1742580754_1092413_1346141580_6b4499471042e908875f24108b17359a_rle_crop_3722791565_0.png.png imagette215891361742581021/1742580391_1087953_1346136749_f0045d30e783d8ffadb8530ebe8d3fa9_rle_crop_3722773475_0.png.png imagette215891361742581021/1742580391_1087953_1346136793_45431cb973f71087777165de968d8162_rle_crop_3722773371_0.png.png imagette215891361742581021/1742580870_1093699_1346144515_1204b91ec830ee24f3c34d0077ce3076_rle_crop_3722795170_0.png.png imagette215891361742581021/1742580591_1090700_1346140172_0998bb7332dd34bf2e3f959c6a92003e_rle_crop_3722780824_0.png.png imagette215891361742581021/1742580591_1090700_1346140172_0998bb7332dd34bf2e3f959c6a92003e_bib_crop_3722779240_0.jpg.jpg imagette215891361742581021/1742580870_1093699_1346144627_982c56407acd86a682f3129c8ce0c678_rle_crop_3722795153_0.png.png imagette215891361742581021/1742580391_1087953_1346136583_2599040f723a5d3a16da35157b41bd9a_rle_crop_3722773507_0.png.png imagette215891361742581021/1742580870_1093699_1346144627_982c56407acd86a682f3129c8ce0c678_rle_crop_3722795155_0.png.png imagette215891361742581021/1742580513_1089513_1346139537_e222451bff0c5536d4b843113b02ebc4_rle_crop_3722779556_0.png.png imagette215891361742581021/1742580391_1087953_1346136569_6e4601c295547899fa9950ae108aa002_rle_crop_3722773594_0.png.png imagette215891361742581021/1742580591_1090700_1346139537_e222451bff0c5536d4b843113b02ebc4_rle_crop_3722779556_0.png.png imagette215891361742581021/1742580513_1089513_1346140172_0998bb7332dd34bf2e3f959c6a92003e_rle_crop_3722779240_0.png.png imagette215891391742581022/ imagette215891401742581022/ wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/41c1c6a30533058058ca6f30f63749a2_29637372.png imagette215891361742581021 21589139 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=21589139 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215891391742581022 21589140 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=21589140 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215891401742581022 21589141 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=21589141 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346145639: '1742580754_1092413_1346141723_098e79942bd949b58696c9d9198ebb2e_rle_crop_3722791488_0.png', 1346142084: '1742580513_1089513_1346139567_cf0ee59f92cb7abac5fa431ad949fb5b_rle_crop_3722779515_0.png', 1346142085: '1742580513_1089513_1346139537_e222451bff0c5536d4b843113b02ebc4_rle_crop_3722779560_0.png', 1346142726: '1742580573_1090501_1346140820_c867c49eed15bea8b407f34338146fa5_rle_crop_3722779741_0.png', 1346142728: '1742580573_1090501_1346140774_e995efe0e60f83196130c33bec8d73d4_rle_crop_3722779765_0.png', 1346142732: '1742580573_1090501_1346140774_e995efe0e60f83196130c33bec8d73d4_rle_crop_3722779756_0.png', 1346142733: '1742580573_1090501_1346140703_2df4b54efad914d3a5122616cb6d04bf_rle_crop_3722779925_0.png', 1346143498: '1742580591_1090700_1346140172_0998bb7332dd34bf2e3f959c6a92003e_rle_crop_3722779245_0.png', 1346143499: '1742580591_1090700_1346139594_67478b4bd8fde1eb73223d7d6ff21daa_rle_crop_3722779470_0.png', 1346143500: '1742580591_1090700_1346139567_cf0ee59f92cb7abac5fa431ad949fb5b_rle_crop_3722779515_0.png', 1346143501: '1742580591_1090700_1346139537_e222451bff0c5536d4b843113b02ebc4_rle_crop_3722779560_0.png', 1346145635: '1742580754_1092413_1346143278_5035471a149bc4208c2eadb446ff104d_rle_crop_3722790813_0.png', 1346145636: '1742580754_1092413_1346143278_5035471a149bc4208c2eadb446ff104d_rle_crop_3722790820_0.png', 1346145637: '1742580754_1092413_1346141723_098e79942bd949b58696c9d9198ebb2e_rle_crop_3722791479_0.png', 1346145638: '1742580754_1092413_1346141723_098e79942bd949b58696c9d9198ebb2e_rle_crop_3722791489_0.png', 1346142083: '1742580513_1089513_1346139594_67478b4bd8fde1eb73223d7d6ff21daa_rle_crop_3722779470_0.png', 1346145641: '1742580754_1092413_1346141631_8e7a87812070efbf2403cbe2499128fc_rle_crop_3722791538_0.png', 1346145644: '1742580754_1092413_1346141631_8e7a87812070efbf2403cbe2499128fc_rle_crop_3722791544_0.png', 1346145645: '1742580754_1092413_1346141580_6b4499471042e908875f24108b17359a_rle_crop_3722791571_0.png', 1346145646: '1742580754_1092413_1346141580_6b4499471042e908875f24108b17359a_rle_crop_3722791572_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/0828c65cdbcd1b15ae803652e760efa7_75334647.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/5ef45058809c4d739e7cb95d1fc4b961_56270522.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/c49d5d70911865f45bb707fb9f2e03ad_39863357.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/1483737202dd6916913cd2acc6e3a47b_66390383.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/8383590aed8428d099f2cd95dcb9e84b_89881502.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/fe4ea4be4feaa2f86f62700917a8d480_36482546.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/777b6c090f43b9d61085770ffb3bef8e_95884242.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/804294af2404cd6ee4da1b7aabacc855_78009786.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/6b50b323437a266dfd7dd34f040503ca_20347472.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/5ef45058809c4d739e7cb95d1fc4b961_41574656.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/c49d5d70911865f45bb707fb9f2e03ad_59724115.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/94b1ea68b598001b8d76e59120e20575_68986251.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/4a34295be050be1d228b8080c12516b7_39138284.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/1922c6e72f47aceebe9f6afa53fa0bf7_32253679.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/a72e60330eae64ab8a4e839e3fba1bfc_42537623.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/6b50b323437a266dfd7dd34f040503ca_11947506.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/7dd42c57371499b115375db5ba93c863_41449085.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/597ab77a046c51e06a258624307e67bd_56567512.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/423c8b2f730e0c9f685ab2d18835a722_60063079.png change filename to text .imagette215891411742581022/ imagette215891411742581022/1742580754_1092413_1346141580_6b4499471042e908875f24108b17359a_rle_crop_3722791572_0.png.png imagette215891411742581022/1742580591_1090700_1346139537_e222451bff0c5536d4b843113b02ebc4_rle_crop_3722779560_0.png.png imagette215891411742581022/1742580754_1092413_1346143278_5035471a149bc4208c2eadb446ff104d_rle_crop_3722790820_0.png.png imagette215891411742581022/1742580591_1090700_1346139567_cf0ee59f92cb7abac5fa431ad949fb5b_rle_crop_3722779515_0.png.png imagette215891411742581022/1742580573_1090501_1346140774_e995efe0e60f83196130c33bec8d73d4_rle_crop_3722779765_0.png.png imagette215891411742581022/1742580513_1089513_1346139537_e222451bff0c5536d4b843113b02ebc4_rle_crop_3722779560_0.png.png imagette215891411742581022/1742580754_1092413_1346141723_098e79942bd949b58696c9d9198ebb2e_rle_crop_3722791488_0.png.png imagette215891411742581022/1742580513_1089513_1346139567_cf0ee59f92cb7abac5fa431ad949fb5b_rle_crop_3722779515_0.png.png imagette215891411742581022/1742580591_1090700_1346140172_0998bb7332dd34bf2e3f959c6a92003e_rle_crop_3722779245_0.png.png imagette215891411742581022/1742580513_1089513_1346139594_67478b4bd8fde1eb73223d7d6ff21daa_rle_crop_3722779470_0.png.png imagette215891411742581022/1742580754_1092413_1346143278_5035471a149bc4208c2eadb446ff104d_rle_crop_3722790813_0.png.png imagette215891411742581022/1742580754_1092413_1346141723_098e79942bd949b58696c9d9198ebb2e_rle_crop_3722791479_0.png.png imagette215891411742581022/1742580591_1090700_1346139594_67478b4bd8fde1eb73223d7d6ff21daa_rle_crop_3722779470_0.png.png imagette215891411742581022/1742580573_1090501_1346140703_2df4b54efad914d3a5122616cb6d04bf_rle_crop_3722779925_0.png.png imagette215891411742581022/1742580754_1092413_1346141631_8e7a87812070efbf2403cbe2499128fc_rle_crop_3722791538_0.png.png imagette215891411742581022/1742580573_1090501_1346140774_e995efe0e60f83196130c33bec8d73d4_rle_crop_3722779756_0.png.png imagette215891411742581022/1742580573_1090501_1346140820_c867c49eed15bea8b407f34338146fa5_rle_crop_3722779741_0.png.png imagette215891411742581022/1742580754_1092413_1346141580_6b4499471042e908875f24108b17359a_rle_crop_3722791571_0.png.png imagette215891411742581022/1742580754_1092413_1346141631_8e7a87812070efbf2403cbe2499128fc_rle_crop_3722791544_0.png.png imagette215891411742581022/1742580754_1092413_1346141723_098e79942bd949b58696c9d9198ebb2e_rle_crop_3722791489_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/df59aab532bc88e0dba24f20e958ab53_87956552.png imagette215891411742581022 21589134 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=21589134 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346139995: '1742580372_1087678_1346138501_3eb08f8d91962d94061906f7d0de725b_rle_crop_3722771682_0.png', 1346141468: '1742580521_1589221_1346139644_a096a3c896af82b51e413605d9970b8e_rle_crop_3722779173_0.png', 1346141471: '1742580521_1589221_1346139409_d7ce6a724ad93a9dd7537263484d3313_rle_crop_3722779189_0.png', 1346141474: '1742580521_1589221_1346139381_81631cff232ea9605fed58e92402bb85_rle_crop_3722779210_0.png', 1346141477: '1742580521_1589221_1346139337_aac31e82498434d1c4690329500006a5_rle_crop_3722779223_0.png', 1346141480: '1742580521_1589221_1346139337_aac31e82498434d1c4690329500006a5_rle_crop_3722779213_0.png', 1346141483: '1742580521_1589221_1346139337_aac31e82498434d1c4690329500006a5_rle_crop_3722779217_0.png', 1346142049: '1742580513_1089513_1346139567_cf0ee59f92cb7abac5fa431ad949fb5b_rle_crop_3722779514_0.png', 1346143431: '1742580591_1090700_1346139567_cf0ee59f92cb7abac5fa431ad949fb5b_rle_crop_3722779514_0.png', 1346145849: '1742580773_1092602_1346143815_ebdf0d7bc9eae409a87a26a431f7610b_rle_crop_3722791624_0.png', 1346145851: '1742580773_1092602_1346143735_a8bf75d425e439eb1164e273530336b4_rle_crop_3722791631_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/802033a21193efdcf8643744c4947fc3_16883346.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/aebb2b8576da9314576e471f9f270ae2_36276401.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/23f5e6e2ec7062ea8936af723917f0b8_23013893.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/2e82ceb339fb3f4a9dcd834b1faa5d7f_5847901.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/21ab572491b8e3b4442e57ca1e8ffe68_13199786.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/05a86883ca6abffd32324625c3de6506_49609906.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/865bc8242fe78f51538968c87876435b_97481753.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/fb8bac9f6995f59bb03ccb51935ab1c3_28103421.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/fb8bac9f6995f59bb03ccb51935ab1c3_58651038.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/8e3d6e278f54810d0de734e76ab9b736_62824919.png change filename to text .imagette215891341742581023/ imagette215891341742581023/1742580372_1087678_1346138501_3eb08f8d91962d94061906f7d0de725b_rle_crop_3722771682_0.png.png imagette215891341742581023/1742580521_1589221_1346139409_d7ce6a724ad93a9dd7537263484d3313_rle_crop_3722779189_0.png.png imagette215891341742581023/1742580591_1090700_1346139567_cf0ee59f92cb7abac5fa431ad949fb5b_rle_crop_3722779514_0.png.png imagette215891341742581023/1742580773_1092602_1346143815_ebdf0d7bc9eae409a87a26a431f7610b_rle_crop_3722791624_0.png.png imagette215891341742581023/1742580521_1589221_1346139644_a096a3c896af82b51e413605d9970b8e_rle_crop_3722779173_0.png.png imagette215891341742581023/1742580521_1589221_1346139337_aac31e82498434d1c4690329500006a5_rle_crop_3722779213_0.png.png imagette215891341742581023/1742580773_1092602_1346143735_a8bf75d425e439eb1164e273530336b4_rle_crop_3722791631_0.png.png imagette215891341742581023/1742580521_1589221_1346139381_81631cff232ea9605fed58e92402bb85_rle_crop_3722779210_0.png.png imagette215891341742581023/1742580521_1589221_1346139337_aac31e82498434d1c4690329500006a5_rle_crop_3722779217_0.png.png imagette215891341742581023/1742580513_1089513_1346139567_cf0ee59f92cb7abac5fa431ad949fb5b_rle_crop_3722779514_0.png.png imagette215891341742581023/1742580521_1589221_1346139337_aac31e82498434d1c4690329500006a5_rle_crop_3722779223_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/4991510e63c1f34ceda09167d67b15a8_40384908.png imagette215891341742581023 21589137 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=21589137 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346140743: '1742580391_1087953_1346136583_2599040f723a5d3a16da35157b41bd9a_rle_crop_3722773510_0.png', 1346140744: '1742580391_1087953_1346136583_2599040f723a5d3a16da35157b41bd9a_rle_crop_3722773511_0.png', 1346140745: '1742580391_1087953_1346136569_6e4601c295547899fa9950ae108aa002_rle_crop_3722773597_0.png', 1346140746: '1742580391_1087953_1346136569_6e4601c295547899fa9950ae108aa002_rle_crop_3722773598_0.png', 1346141564: '1742580521_1589221_1346139644_a096a3c896af82b51e413605d9970b8e_rle_crop_3722779172_0.png', 1346141567: '1742580521_1589221_1346139337_aac31e82498434d1c4690329500006a5_rle_crop_3722779212_0.png', 1346142773: '1742580573_1090501_1346140820_c867c49eed15bea8b407f34338146fa5_rle_crop_3722779738_0.png', 1346142774: '1742580573_1090501_1346140774_e995efe0e60f83196130c33bec8d73d4_rle_crop_3722779759_0.png', 1346147965: '1742580870_1093699_1346145692_acd7801328f38182802325c228ef0943_rle_crop_3722795142_0.png', 1346147966: '1742580870_1093699_1346144627_982c56407acd86a682f3129c8ce0c678_rle_crop_3722795152_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/29fc2f1bae13168bb19289acafa0f00f_63240781.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/594dba9995c01846a89c3b1b4bd3ab03_34197274.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/29fc2f1bae13168bb19289acafa0f00f_58732626.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/594dba9995c01846a89c3b1b4bd3ab03_39467418.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/0e08ac65ce53b4f0d21ae9d84af2e1f7_79075750.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/9da27f70953ebca08e1d9c0d5f651ae5_86882176.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/8739ed52dc666f6cd37959ffb4e0cc90_78798898.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/fb76d3749d29a3e674f2d3b7f153f636_54816301.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/bc742f67d1a7a967765a9e07be7c4321_47994819.png change filename to text .imagette215891371742581023/ imagette215891371742581023/1742580391_1087953_1346136569_6e4601c295547899fa9950ae108aa002_rle_crop_3722773598_0.png.png imagette215891371742581023/1742580573_1090501_1346140774_e995efe0e60f83196130c33bec8d73d4_rle_crop_3722779759_0.png.png imagette215891371742581023/1742580391_1087953_1346136569_6e4601c295547899fa9950ae108aa002_rle_crop_3722773597_0.png.png imagette215891371742581023/1742580391_1087953_1346136583_2599040f723a5d3a16da35157b41bd9a_rle_crop_3722773511_0.png.png imagette215891371742581023/1742580870_1093699_1346144627_982c56407acd86a682f3129c8ce0c678_rle_crop_3722795152_0.png.png imagette215891371742581023/1742580391_1087953_1346136583_2599040f723a5d3a16da35157b41bd9a_rle_crop_3722773510_0.png.png imagette215891371742581023/1742580521_1589221_1346139644_a096a3c896af82b51e413605d9970b8e_rle_crop_3722779172_0.png.png imagette215891371742581023/1742580573_1090501_1346140820_c867c49eed15bea8b407f34338146fa5_rle_crop_3722779738_0.png.png imagette215891371742581023/1742580521_1589221_1346139337_aac31e82498434d1c4690329500006a5_rle_crop_3722779212_0.png.png imagette215891371742581023/1742580870_1093699_1346145692_acd7801328f38182802325c228ef0943_rle_crop_3722795142_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/d906a2b78dd871da9d954317b59b4ed3_39205741.png imagette215891371742581023 21589138 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=21589138 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346140578: '1742580402_1586644_1346137813_d8774a0cf5592bf8600a21f16d15a0c5_rle_crop_3722773360_0.png', 1346140580: '1742580402_1586644_1346137802_c61c465d371598c46281508451cf0663_rle_crop_3722773385_0.png', 1346140795: '1742580391_1087953_1346136793_45431cb973f71087777165de968d8162_rle_crop_3722773376_0.png', 1346140797: '1742580391_1087953_1346136749_f0045d30e783d8ffadb8530ebe8d3fa9_rle_crop_3722773480_0.png', 1346141175: '1742580494_1088953_1346140129_ec1f781b1d84c544ec7b65af9b65695a_rle_crop_3722779018_0.png', 1346142139: '1742580513_1089513_1346139537_e222451bff0c5536d4b843113b02ebc4_rle_crop_3722779557_0.png', 1346142792: '1742580573_1090501_1346140703_2df4b54efad914d3a5122616cb6d04bf_rle_crop_3722779922_0.png', 1346143567: '1742580591_1090700_1346139537_e222451bff0c5536d4b843113b02ebc4_rle_crop_3722779557_0.png', 1346145716: '1742580754_1092413_1346141723_098e79942bd949b58696c9d9198ebb2e_rle_crop_3722791490_0.png', 1346145718: '1742580754_1092413_1346141631_8e7a87812070efbf2403cbe2499128fc_rle_crop_3722791542_0.png', 1346146344: '1742580794_1092814_1346143174_876a1a71495425576b6f07a4e9a22a59_rle_crop_3722791784_0.png', 1346146533: '1742580812_1093104_1346141797_8e8021764d11d9ff50efb0fcda93f6cb_rle_crop_3722791873_0.png', 1346148013: '1742580870_1093699_1346144571_61df9686e6ea005e74cbbf1c4b72b6bc_rle_crop_3722795161_0.png', 1346148016: '1742580870_1093699_1346144515_1204b91ec830ee24f3c34d0077ce3076_rle_crop_3722795171_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/9c0b708e4fb486005963724949f54f41_20302526.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/9c0b708e4fb486005963724949f54f41_9500627.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/92014dfe261085f382d2117f650a994e_26999135.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/92014dfe261085f382d2117f650a994e_83468391.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/94862586c6a15c96733a16119137489a_39645036.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/7fd9b7c47a01d74ed6b2f1650318b521_61921434.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/4030ad8eb418fb8591b30a1fedcd1cf8_80563816.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/7fd9b7c47a01d74ed6b2f1650318b521_64687291.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/37bdc1dc604ba3ed7f5a0731e1cbda09_53534908.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/9fdbde1de5d0e92b496b95da261788b4_16210241.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/61bbcfe309a9b0918eace0a8132cf12b_94279891.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/adc188a4757f1a81f33f93313253422b_67871257.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/0ce2624ac2396a3a5fb64b80f76819e9_24279314.png change filename to text .imagette215891381742581024/ imagette215891381742581024/1742580402_1586644_1346137802_c61c465d371598c46281508451cf0663_rle_crop_3722773385_0.png.png imagette215891381742581024/1742580513_1089513_1346139537_e222451bff0c5536d4b843113b02ebc4_rle_crop_3722779557_0.png.png imagette215891381742581024/1742580812_1093104_1346141797_8e8021764d11d9ff50efb0fcda93f6cb_rle_crop_3722791873_0.png.png imagette215891381742581024/1742580870_1093699_1346144571_61df9686e6ea005e74cbbf1c4b72b6bc_rle_crop_3722795161_0.png.png imagette215891381742581024/1742580573_1090501_1346140703_2df4b54efad914d3a5122616cb6d04bf_rle_crop_3722779922_0.png.png imagette215891381742581024/1742580494_1088953_1346140129_ec1f781b1d84c544ec7b65af9b65695a_rle_crop_3722779018_0.png.png imagette215891381742581024/1742580391_1087953_1346136793_45431cb973f71087777165de968d8162_rle_crop_3722773376_0.png.png imagette215891381742581024/1742580591_1090700_1346139537_e222451bff0c5536d4b843113b02ebc4_rle_crop_3722779557_0.png.png imagette215891381742581024/1742580870_1093699_1346144515_1204b91ec830ee24f3c34d0077ce3076_rle_crop_3722795171_0.png.png imagette215891381742581024/1742580794_1092814_1346143174_876a1a71495425576b6f07a4e9a22a59_rle_crop_3722791784_0.png.png imagette215891381742581024/1742580402_1586644_1346137813_d8774a0cf5592bf8600a21f16d15a0c5_rle_crop_3722773360_0.png.png imagette215891381742581024/1742580391_1087953_1346136749_f0045d30e783d8ffadb8530ebe8d3fa9_rle_crop_3722773480_0.png.png imagette215891381742581024/1742580754_1092413_1346141631_8e7a87812070efbf2403cbe2499128fc_rle_crop_3722791542_0.png.png imagette215891381742581024/1742580754_1092413_1346141723_098e79942bd949b58696c9d9198ebb2e_rle_crop_3722791490_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f296a8d4ac92050606461fd30129e7de_87661945.png imagette215891381742581024 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21589130 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21589143,21589144,21589145,21589146,21589147,21589148,21589149,21589150,21589151,21589152,21589153,21589154?tags=flou,metal,plastique,Teint_Dans_La_Masse,environnement,cartonnette,Carton_gris,Carton_brun,mal_croppe,kraft,autre_refus,papier your option no_mail is active, we will not send the real mail to your client args[1346148812] : ('0.08985724799809379',) no score found for photo 1346148812 We are sending mail with results at report@fotonower.com args[1346148767] : ('0.08985724799809379',) no score found for photo 1346148767 We are sending mail with results at report@fotonower.com args[1346148708] : ('0.08985724799809379',) no score found for photo 1346148708 We are sending mail with results at report@fotonower.com args[1346148705] : ('0.08985724799809379',) no score found for photo 1346148705 We are sending mail with results at report@fotonower.com args[1346148658] : ('0.08985724799809379',) no score found for photo 1346148658 We are sending mail with results at report@fotonower.com args[1346148527] : ('0.08985724799809379',) no score found for photo 1346148527 We are sending mail with results at report@fotonower.com args[1346148467] : ('0.08985724799809379',) no score found for photo 1346148467 We are sending mail with results at report@fotonower.com args[1346148422] : ('0.08985724799809379',) no score found for photo 1346148422 We are sending mail with results at report@fotonower.com args[1346148362] : ('0.08985724799809379',) no score found for photo 1346148362 We are sending mail with results at report@fotonower.com args[1346147507] : ('0.08985724799809379',) no score found for photo 1346147507 We are sending mail with results at report@fotonower.com args[1346147405] : ('0.08985724799809379',) no score found for photo 1346147405 We are sending mail with results at report@fotonower.com args[1346147177] : ('0.08985724799809379',) no score found for photo 1346147177 We are sending mail with results at report@fotonower.com args[1346147072] : ('0.08985724799809379',) no score found for photo 1346147072 We are sending mail with results at report@fotonower.com refus_total : 0.08985724799809379 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=21589130 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_P21589130_21-03-2025_19_17_00.pdf results_Auto_P21589130_21-03-2025_19_17_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21589130_21-03-2025_19_17_00.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','21589130','results_Auto_P21589130_21-03-2025_19_17_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21589130_21-03-2025_19_17_00.pdf','pdf','','0.3','0.08985724799809379') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21589130]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1346148812, 1346148767, 1346148708, 1346148705, 1346148658, 1346148527, 1346148467, 1346148422, 1346148362, 1346147507, 1346147405, 1346147177, 1346147072] map_info['map_portfolio_photo'] : {21589130: [1346148812, 1346148767, 1346148708, 1346148705, 1346148658, 1346148527, 1346148467, 1346148422, 1346148362, 1346147507, 1346147405, 1346147177, 1346147072, 1346145692, 1346145631, 1346144698, 1346144627, 1346144571, 1346144515, 1346143871, 1346143815, 1346143735, 1346143278, 1346143174, 1346143088, 1346142949, 1346141797, 1346141723, 1346141631, 1346141580, 1346140860, 1346140820, 1346140774, 1346140703, 1346140172, 1346140129, 1346140105, 1346139644, 1346139594, 1346139567, 1346139537, 1346139437, 1346139409, 1346139381, 1346139337, 1346139306, 1346138548, 1346138501, 1346138458, 1346137886, 1346137876, 1346137813, 1346137802, 1346137733, 1346137730, 1346137664, 1346137663, 1346136793, 1346136749, 1346136583, 1346136569, 1346136518, 1346136501]} final : False mtd_id 4302 list_pids : [1346148812, 1346148767, 1346148708, 1346148705, 1346148658, 1346148527, 1346148467, 1346148422, 1346148362, 1346147507, 1346147405, 1346147177, 1346147072] 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, '2680074') ('4302', '21589130', '1346148812', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148767', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148708', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148705', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148658', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148527', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148467', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148422', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148362', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346147507', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346147405', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346147177', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346147072', None, None, None, None, None, '2680074') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 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', '21589130', '1346148812', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148767', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148708', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148705', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148658', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148527', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148467', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148422', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148362', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346147507', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346147405', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346147177', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346147072', None, None, None, None, None, '2680074')] time used for this insertion : 0.013867855072021484 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.822274446487427 time spend to save output : 0.014155864715576172 total time spend for step 4 : 6.836430311203003 step5:split_time_score Fri Mar 21 19:17:07 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['21589130'] 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 : [('21589130',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21589130) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1346148812: {'path': 'temp/1742581020_1048553_1346148812_888779b1d9e12a3fb0cc76740a55a8cb.jpg', 'extension': 'jpg'}, 1346147507: {'path': 'temp/1742581020_1048553_1346147507_9726a9adf50f8b70f929b92ef5892706.jpg', 'extension': 'jpg'}, 1346148362: {'path': 'temp/1742581020_1048553_1346148362_9b842e3b93732083d274ce800f25eccb.jpg', 'extension': 'jpg'}, 1346148422: {'path': 'temp/1742581020_1048553_1346148422_543168aaf355d47453d01153b52980cb.jpg', 'extension': 'jpg'}, 1346148467: {'path': 'temp/1742581020_1048553_1346148467_7bbcac11989d8ab5505b95dd481f8fcd.jpg', 'extension': 'jpg'}, 1346148527: {'path': 'temp/1742581020_1048553_1346148527_cabc80314d1996fb69f49088046c4ca0.jpg', 'extension': 'jpg'}, 1346148658: {'path': 'temp/1742581020_1048553_1346148658_3814e6a1357d8b803ebfd340b7a89a4b.jpg', 'extension': 'jpg'}, 1346148705: {'path': 'temp/1742581020_1048553_1346148705_6fe0870a5ac2e9b74a2a75769ac6adb2.jpg', 'extension': 'jpg'}, 1346148708: {'path': 'temp/1742581020_1048553_1346148708_3c2bc81296b46025e51529d260b12c81.jpg', 'extension': 'jpg'}, 1346148767: {'path': 'temp/1742581020_1048553_1346148767_6756ab806e136d04bf6f83efb743633d.jpg', 'extension': 'jpg'}, 1346147072: {'path': 'temp/1742581020_1048553_1346147072_6dc4fe265bea8bb3ac650f70ee26f72d.jpg', 'extension': 'jpg'}, 1346147177: {'path': 'temp/1742581020_1048553_1346147177_e90ac31b658f510fcd2a3d8e1b0b760c.jpg', 'extension': 'jpg'}, 1346147405: {'path': 'temp/1742581020_1048553_1346147405_5acadce79108bae83cc220a3c1095eb1.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 = 21589130; (('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 = 21589130 group by h (('19', 63),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21589130 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 (21589130) 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 (21589130) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 21032025 21589130 Nombre de photos uploadées : 63 / 23040 (0%) 21032025 21589130 Nombre de photos taguées (types de déchets): 0 / 63 (0%) 21032025 21589130 Nombre de photos taguées (volume) : 0 / 63 (0%) [{'photo_id': 1346136749, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f0045d30e783d8ffadb8530ebe8d3fa9.jpg', 'username': None, 'uploaded_at': 1742580148, 'text': 'image_21032025_19_00_03_009151m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1346136793, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/45431cb973f71087777165de968d8162.jpg', 'username': None, 'uploaded_at': 1742580148, 'text': 'image_21032025_19_00_03_009151m0.jpg 2e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1346136569, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/6e4601c295547899fa9950ae108aa002.jpg', 'username': None, 'uploaded_at': 1742580148, 'text': 'image_21032025_19_00_14_010141m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1346136583, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/2599040f723a5d3a16da35157b41bd9a.jpg', 'username': None, 'uploaded_at': 1742580148, 'text': 'image_21032025_19_00_14_010141m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 7.3909759521484375e-06 ??????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.00405573844909668 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21589130, '2025-03-21' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1678259,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.022075653076171875 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= 1678259 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1678259, 'dashboard_run_id': 1686909, 'mtr_portfolio_id': 21587823, 'dashboard_result_id': 9541772, '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_P21587823_21-03-2025_19_06_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21587824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21587825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21587826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21587827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21587828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21587829, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21587830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21587831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21587832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21587833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21587834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21587835, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1686909, 'mtr_portfolio_id': 21589129, 'dashboard_result_id': 9541773, '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_P21589129_21-03-2025_19_06_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21589161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21589162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21589163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21589164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21589165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21589166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21589167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21589168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21589169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21589170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21589171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21589172, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1686909, 'mtr_portfolio_id': 21589130, 'dashboard_result_id': 9541774, '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_P21589130_21-03-2025_19_14_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21589131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21589132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21589133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21589134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21589135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21589136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21589137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21589138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21589139, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21589140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21589141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21589142, '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 = 21587823 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': 2679980, 'mtr_portfolio_id': 21587823, 'created_at': datetime.datetime(2025, 3, 21, 19, 6, 30), 'result': '0.07362654007669965', 'result_long': None, 'result_double': None}] Qualite : 0.07362654007669965 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21587823 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587823_21-03-2025_19_06_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21587823 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_P21587823_21-03-2025_19_06_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21587824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21587825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21587826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21587827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21587828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21587829, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21587830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21587831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21587832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21587833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21587834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21587835, 'pht': 3726}}" where mtr_portfolio_id = 21587823 and dashboard_run_id = 1686909 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`=21587823 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9541772, 0.07362654007669965, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587823_21-03-2025_19_06_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21587824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21587825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21587826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21587827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21587828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21587829, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21587830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21587831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21587832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21587833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21587834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21587835, '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 = 21589129 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': 2680073, 'mtr_portfolio_id': 21589129, 'created_at': datetime.datetime(2025, 3, 21, 19, 6, 1), 'result': '0.07747611787648946', 'result_long': None, 'result_double': None}] Qualite : 0.07747611787648946 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21589129 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21589129_21-03-2025_19_06_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21589129 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_P21589129_21-03-2025_19_06_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21589161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21589162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21589163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21589164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21589165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21589166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21589167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21589168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21589169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21589170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21589171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21589172, 'pht': 3726}}" where mtr_portfolio_id = 21589129 and dashboard_run_id = 1686909 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`=21589129 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9541773, 0.07747611787648946, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21589129_21-03-2025_19_06_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21589161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21589162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21589163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21589164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21589165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21589166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21589167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21589168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21589169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21589170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21589171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21589172, '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 = 21589130 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': 2680074, 'mtr_portfolio_id': 21589130, 'created_at': datetime.datetime(2025, 3, 21, 19, 16, 59), 'result': '0.08985724799809379', 'result_long': None, 'result_double': None}] Qualite : 0.08985724799809379 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21589130 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21589130_21-03-2025_19_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21589130 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_P21589130_21-03-2025_19_17_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21589131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21589132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21589133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21589134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21589135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21589136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21589137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21589138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21589139, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21589140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21589141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21589142, 'pht': 3726}}" where mtr_portfolio_id = 21589130 and dashboard_run_id = 1686909 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`=21589130 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9541774, 0.08985724799809379, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21589130_21-03-2025_19_17_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21589131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21589132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21589133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21589134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21589135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21589136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21589137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21589138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21589139, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21589140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21589141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21589142, '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 (21587823,21589129,21589130) result : ((1346126128,), (1346126132,), (1346126185,), (1346126189,), (1346126201,), (1346126203,), (1346126218,), (1346126220,), (1346126230,), (1346126232,), (1346126428,), (1346126436,), (1346126514,), (1346126519,), (1346126529,), (1346126550,), (1346126769,), (1346126775,), (1346126782,), (1346127003,), (1346127014,), (1346127077,), (1346127111,), (1346127143,), (1346127183,), (1346127284,), (1346127307,), (1346127330,), (1346127522,), (1346127546,), (1346127571,), (1346127607,), (1346127954,), (1346127975,), (1346128001,), (1346128013,), (1346128288,), (1346128382,), (1346128434,), (1346128511,), (1346128561,), (1346128670,), (1346128673,), (1346128725,), (1346128731,), (1346128760,), (1346128763,), (1346128804,), (1346128807,), (1346128877,), (1346128943,), (1346129079,), (1346129105,), (1346129164,), (1346129293,), (1346129306,), (1346129321,), (1346129607,), (1346129655,), (1346129684,), (1346129844,), (1346129848,), (1346135142,), (1346133455,), (1346135094,), (1346135358,), (1346135426,), (1346135517,), (1346135628,), (1346135703,), (1346136831,), (1346136845,), (1346136501,), (1346136518,), (1346136569,), (1346136583,), (1346136749,), (1346136793,), (1346137663,), (1346137664,), (1346137730,), (1346137733,), (1346137802,), (1346137813,), (1346137876,), (1346137886,), (1346138458,), (1346138501,), (1346138548,), (1346139306,), (1346139337,), (1346139381,), (1346139409,), (1346139437,), (1346139537,), (1346139567,), (1346139594,), (1346139644,), (1346140105,), (1346140129,), (1346140172,), (1346140703,), (1346140774,), (1346140820,), (1346140860,), (1346141580,), (1346141631,), (1346141723,), (1346141797,), (1346142949,), (1346143088,), (1346143174,), (1346143278,), (1346143735,), (1346143815,), (1346143871,), (1346144515,), (1346144571,), (1346144627,), (1346144698,), (1346145631,), (1346145692,), (1346147072,), (1346147177,), (1346147405,), (1346147507,), (1346148362,), (1346148422,), (1346148467,), (1346148527,), (1346148658,), (1346148705,), (1346148708,), (1346148767,), (1346148812,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'21032025': {'nb_upload': 63, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21589130]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1346148812, 1346148767, 1346148708, 1346148705, 1346148658, 1346148527, 1346148467, 1346148422, 1346148362, 1346147507, 1346147405, 1346147177, 1346147072] map_info['map_portfolio_photo'] : {21589130: [1346148812, 1346148767, 1346148708, 1346148705, 1346148658, 1346148527, 1346148467, 1346148422, 1346148362, 1346147507, 1346147405, 1346147177, 1346147072, 1346145692, 1346145631, 1346144698, 1346144627, 1346144571, 1346144515, 1346143871, 1346143815, 1346143735, 1346143278, 1346143174, 1346143088, 1346142949, 1346141797, 1346141723, 1346141631, 1346141580, 1346140860, 1346140820, 1346140774, 1346140703, 1346140172, 1346140129, 1346140105, 1346139644, 1346139594, 1346139567, 1346139537, 1346139437, 1346139409, 1346139381, 1346139337, 1346139306, 1346138548, 1346138501, 1346138458, 1346137886, 1346137876, 1346137813, 1346137802, 1346137733, 1346137730, 1346137664, 1346137663, 1346136793, 1346136749, 1346136583, 1346136569, 1346136518, 1346136501]} final : True mtd_id 4302 list_pids : [1346148812, 1346148767, 1346148708, 1346148705, 1346148658, 1346148527, 1346148467, 1346148422, 1346148362, 1346147507, 1346147405, 1346147177, 1346147072] Looping around the photos to save general results len do output : 1 /21589130Didn'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, '2680074') ('4302', '21589130', '1346148812', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148767', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148708', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148705', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148658', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148527', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148467', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148422', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346148362', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346147507', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346147405', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346147177', None, None, None, None, None, '2680074') ('4302', None, None, None, None, None, None, None, '2680074') ('4302', '21589130', '1346147072', None, None, None, None, None, '2680074') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 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, '21589130', 'None', None, None, None, None, '2680074'), ('4302', '21589130', '1346148812', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148767', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148708', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148705', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148658', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148527', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148467', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148422', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346148362', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346147507', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346147405', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346147177', None, None, None, None, None, '2680074'), ('4302', '21589130', '1346147072', None, None, None, None, None, '2680074')] time used for this insertion : 0.013374090194702148 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.2882208824157715 time spend to save output : 0.013611793518066406 total time spend for step 5 : 0.3018326759338379 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 (2680074) 2.36user 2.33system 0:12.27elapsed 38%CPU (0avgtext+0avgdata 161416maxresident)k 624inputs+18432outputs (2major+89221minor)pagefaults 0swaps