SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21639410) result : ((1346755853,), (1346756157,), (1346756243,), (1346756244,), (1346756246,), (1346756687,), (1346756841,), (1346756842,), (1346756843,), (1346756844,), (1346756845,), (1346756869,), (1346756870,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21639313) result : ((1346754754,), (1346754799,), (1346754934,), (1346755082,), (1346755306,), (1346755319,), (1346755331,), (1346755340,), (1346755400,), (1346755406,), (1346755416,), (1346755421,), (1346755426,), (1346755446,), (1346755686,), (1346755696,), (1346755732,), (1346755741,), (1346755744,), (1346755794,), (1346755806,), (1346755810,), (1346755813,), (1346755854,), (1346755864,), (1346755869,), (1346755874,), (1346755885,), (1346755895,), (1346755922,), (1346755954,), (1346756029,), (1346756085,), (1346756096,), (1346756102,), (1346756199,), (1346756226,), (1346756235,), (1346756248,), (1346756328,), (1346756412,), (1346756417,), (1346756571,), (1346756574,), (1346756583,), (1346756596,), (1346756714,), (1346756730,), (1346756822,), (1346756825,), (1346756829,), (1346756840,)) 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 (1346755400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21639411 , 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=21639313 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 (21639411) result : ((1346755757,), (1346755863,), (1346756251,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21639313) result : ((1346754754,), (1346754799,), (1346754934,), (1346755082,), (1346755306,), (1346755319,), (1346755331,), (1346755340,), (1346755400,), (1346755406,), (1346755416,), (1346755421,), (1346755426,), (1346755446,), (1346755686,), (1346755696,), (1346755732,), (1346755741,), (1346755744,), (1346755794,), (1346755806,), (1346755810,), (1346755813,), (1346755854,), (1346755864,), (1346755869,), (1346755874,), (1346755885,), (1346755895,), (1346755922,), (1346755954,), (1346756029,), (1346756085,), (1346756096,), (1346756102,), (1346756199,), (1346756226,), (1346756235,), (1346756248,), (1346756328,), (1346756412,), (1346756417,), (1346756571,), (1346756574,), (1346756583,), (1346756596,), (1346756714,), (1346756730,), (1346756822,), (1346756825,), (1346756829,), (1346756840,)) 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 (1346755400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21639412 , 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=21639313 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 (21639412) result : ((1346755747,), (1346755748,), (1346755749,), (1346755750,), (1346755847,), (1346755848,), (1346755849,), (1346755850,), (1346755851,), (1346755852,), (1346755887,), (1346755888,), (1346755889,), (1346755890,), (1346755892,), (1346755893,), (1346756156,), (1346756236,), (1346756237,), (1346756239,), (1346756241,), (1346756242,), (1346756680,), (1346756681,), (1346756682,), (1346756683,), (1346756684,), (1346756685,), (1346756693,), (1346756694,), (1346756695,), (1346756830,), (1346756832,), (1346756833,), (1346756834,), (1346756835,), (1346756836,), (1346756837,), (1346756838,), (1346756866,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21639313) result : ((1346754754,), (1346754799,), (1346754934,), (1346755082,), (1346755306,), (1346755319,), (1346755331,), (1346755340,), (1346755400,), (1346755406,), (1346755416,), (1346755421,), (1346755426,), (1346755446,), (1346755686,), (1346755696,), (1346755732,), (1346755741,), (1346755744,), (1346755794,), (1346755806,), (1346755810,), (1346755813,), (1346755854,), (1346755864,), (1346755869,), (1346755874,), (1346755885,), (1346755895,), (1346755922,), (1346755954,), (1346756029,), (1346756085,), (1346756096,), (1346756102,), (1346756199,), (1346756226,), (1346756235,), (1346756248,), (1346756328,), (1346756412,), (1346756417,), (1346756571,), (1346756574,), (1346756583,), (1346756596,), (1346756714,), (1346756730,), (1346756822,), (1346756825,), (1346756829,), (1346756840,)) 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 (1346755400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21639413 , 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=21639313 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 (21639413) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21639313) result : ((1346754754,), (1346754799,), (1346754934,), (1346755082,), (1346755306,), (1346755319,), (1346755331,), (1346755340,), (1346755400,), (1346755406,), (1346755416,), (1346755421,), (1346755426,), (1346755446,), (1346755686,), (1346755696,), (1346755732,), (1346755741,), (1346755744,), (1346755794,), (1346755806,), (1346755810,), (1346755813,), (1346755854,), (1346755864,), (1346755869,), (1346755874,), (1346755885,), (1346755895,), (1346755922,), (1346755954,), (1346756029,), (1346756085,), (1346756096,), (1346756102,), (1346756199,), (1346756226,), (1346756235,), (1346756248,), (1346756328,), (1346756412,), (1346756417,), (1346756571,), (1346756574,), (1346756583,), (1346756596,), (1346756714,), (1346756730,), (1346756822,), (1346756825,), (1346756829,), (1346756840,)) 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 (1346755400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21639414 , 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=21639313 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 (21639414) result : ((1346755754,), (1346755858,), (1346755859,), (1346755860,), (1346755894,), (1346756696,), (1346756852,), (1346756853,), (1346756854,), (1346756855,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21639313) result : ((1346754754,), (1346754799,), (1346754934,), (1346755082,), (1346755306,), (1346755319,), (1346755331,), (1346755340,), (1346755400,), (1346755406,), (1346755416,), (1346755421,), (1346755426,), (1346755446,), (1346755686,), (1346755696,), (1346755732,), (1346755741,), (1346755744,), (1346755794,), (1346755806,), (1346755810,), (1346755813,), (1346755854,), (1346755864,), (1346755869,), (1346755874,), (1346755885,), (1346755895,), (1346755922,), (1346755954,), (1346756029,), (1346756085,), (1346756096,), (1346756102,), (1346756199,), (1346756226,), (1346756235,), (1346756248,), (1346756328,), (1346756412,), (1346756417,), (1346756571,), (1346756574,), (1346756583,), (1346756596,), (1346756714,), (1346756730,), (1346756822,), (1346756825,), (1346756829,), (1346756840,)) 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 (1346755400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21639415 , 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=21639313 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='plastique' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21639415) result : ((1346755862,), (1346756697,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21639313) result : ((1346754754,), (1346754799,), (1346754934,), (1346755082,), (1346755306,), (1346755319,), (1346755331,), (1346755340,), (1346755400,), (1346755406,), (1346755416,), (1346755421,), (1346755426,), (1346755446,), (1346755686,), (1346755696,), (1346755732,), (1346755741,), (1346755744,), (1346755794,), (1346755806,), (1346755810,), (1346755813,), (1346755854,), (1346755864,), (1346755869,), (1346755874,), (1346755885,), (1346755895,), (1346755922,), (1346755954,), (1346756029,), (1346756085,), (1346756096,), (1346756102,), (1346756199,), (1346756226,), (1346756235,), (1346756248,), (1346756328,), (1346756412,), (1346756417,), (1346756571,), (1346756574,), (1346756583,), (1346756596,), (1346756714,), (1346756730,), (1346756822,), (1346756825,), (1346756829,), (1346756840,)) 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 (1346755400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21639416 , 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=21639313 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='Teint_Dans_La_Masse' 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 (21639416) result : ((1346755845,), (1346755878,), (1346755879,), (1346755880,), (1346755882,), (1346755883,), (1346755884,), (1346756233,), (1346756666,), (1346756671,), (1346756672,), (1346756686,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21639313) result : ((1346754754,), (1346754799,), (1346754934,), (1346755082,), (1346755306,), (1346755319,), (1346755331,), (1346755340,), (1346755400,), (1346755406,), (1346755416,), (1346755421,), (1346755426,), (1346755446,), (1346755686,), (1346755696,), (1346755732,), (1346755741,), (1346755744,), (1346755794,), (1346755806,), (1346755810,), (1346755813,), (1346755854,), (1346755864,), (1346755869,), (1346755874,), (1346755885,), (1346755895,), (1346755922,), (1346755954,), (1346756029,), (1346756085,), (1346756096,), (1346756102,), (1346756199,), (1346756226,), (1346756235,), (1346756248,), (1346756328,), (1346756412,), (1346756417,), (1346756571,), (1346756574,), (1346756583,), (1346756596,), (1346756714,), (1346756730,), (1346756822,), (1346756825,), (1346756829,), (1346756840,)) 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 (1346755400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21639417 , 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=21639313 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='cartonnette' 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 (21639417) result : ((1346755753,), (1346755856,), (1346756249,), (1346756250,), (1346756691,), (1346756847,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21639313) result : ((1346754754,), (1346754799,), (1346754934,), (1346755082,), (1346755306,), (1346755319,), (1346755331,), (1346755340,), (1346755400,), (1346755406,), (1346755416,), (1346755421,), (1346755426,), (1346755446,), (1346755686,), (1346755696,), (1346755732,), (1346755741,), (1346755744,), (1346755794,), (1346755806,), (1346755810,), (1346755813,), (1346755854,), (1346755864,), (1346755869,), (1346755874,), (1346755885,), (1346755895,), (1346755922,), (1346755954,), (1346756029,), (1346756085,), (1346756096,), (1346756102,), (1346756199,), (1346756226,), (1346756235,), (1346756248,), (1346756328,), (1346756412,), (1346756417,), (1346756571,), (1346756574,), (1346756583,), (1346756596,), (1346756714,), (1346756730,), (1346756822,), (1346756825,), (1346756829,), (1346756840,)) 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 (1346755400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21639418 , 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=21639313 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 (21639418) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21639313) result : ((1346754754,), (1346754799,), (1346754934,), (1346755082,), (1346755306,), (1346755319,), (1346755331,), (1346755340,), (1346755400,), (1346755406,), (1346755416,), (1346755421,), (1346755426,), (1346755446,), (1346755686,), (1346755696,), (1346755732,), (1346755741,), (1346755744,), (1346755794,), (1346755806,), (1346755810,), (1346755813,), (1346755854,), (1346755864,), (1346755869,), (1346755874,), (1346755885,), (1346755895,), (1346755922,), (1346755954,), (1346756029,), (1346756085,), (1346756096,), (1346756102,), (1346756199,), (1346756226,), (1346756235,), (1346756248,), (1346756328,), (1346756412,), (1346756417,), (1346756571,), (1346756574,), (1346756583,), (1346756596,), (1346756714,), (1346756730,), (1346756822,), (1346756825,), (1346756829,), (1346756840,)) 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 (1346755400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21639419 , 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=21639313 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='environnement' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21639419) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21639313) result : ((1346754754,), (1346754799,), (1346754934,), (1346755082,), (1346755306,), (1346755319,), (1346755331,), (1346755340,), (1346755400,), (1346755406,), (1346755416,), (1346755421,), (1346755426,), (1346755446,), (1346755686,), (1346755696,), (1346755732,), (1346755741,), (1346755744,), (1346755794,), (1346755806,), (1346755810,), (1346755813,), (1346755854,), (1346755864,), (1346755869,), (1346755874,), (1346755885,), (1346755895,), (1346755922,), (1346755954,), (1346756029,), (1346756085,), (1346756096,), (1346756102,), (1346756199,), (1346756226,), (1346756235,), (1346756248,), (1346756328,), (1346756412,), (1346756417,), (1346756571,), (1346756574,), (1346756583,), (1346756596,), (1346756714,), (1346756730,), (1346756822,), (1346756825,), (1346756829,), (1346756840,)) 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 (1346755400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21639420 , 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=21639313 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='metal' 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 (21639420) result : ((1346755897,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21639313) result : ((1346754754,), (1346754799,), (1346754934,), (1346755082,), (1346755306,), (1346755319,), (1346755331,), (1346755340,), (1346755400,), (1346755406,), (1346755416,), (1346755421,), (1346755426,), (1346755446,), (1346755686,), (1346755696,), (1346755732,), (1346755741,), (1346755744,), (1346755794,), (1346755806,), (1346755810,), (1346755813,), (1346755854,), (1346755864,), (1346755869,), (1346755874,), (1346755885,), (1346755895,), (1346755922,), (1346755954,), (1346756029,), (1346756085,), (1346756096,), (1346756102,), (1346756199,), (1346756226,), (1346756235,), (1346756248,), (1346756328,), (1346756412,), (1346756417,), (1346756571,), (1346756574,), (1346756583,), (1346756596,), (1346756714,), (1346756730,), (1346756822,), (1346756825,), (1346756829,), (1346756840,)) 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 (1346755400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21639421 , 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=21639313 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='flou' 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 (21639421) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21639313) result : ((1346754754,), (1346754799,), (1346754934,), (1346755082,), (1346755306,), (1346755319,), (1346755331,), (1346755340,), (1346755400,), (1346755406,), (1346755416,), (1346755421,), (1346755426,), (1346755446,), (1346755686,), (1346755696,), (1346755732,), (1346755741,), (1346755744,), (1346755794,), (1346755806,), (1346755810,), (1346755813,), (1346755854,), (1346755864,), (1346755869,), (1346755874,), (1346755885,), (1346755895,), (1346755922,), (1346755954,), (1346756029,), (1346756085,), (1346756096,), (1346756102,), (1346756199,), (1346756226,), (1346756235,), (1346756248,), (1346756328,), (1346756412,), (1346756417,), (1346756571,), (1346756574,), (1346756583,), (1346756596,), (1346756714,), (1346756730,), (1346756822,), (1346756825,), (1346756829,), (1346756840,)) 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 (1346755400) and cspi.crop_hashtag_id = chi.id; 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`=21639313 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','kraft','plastique','autre_refus','papier','mal_croppe','metal','Teint_Dans_La_Masse','flou','Carton_brun','environnement','cartonnette')) 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`=21639313 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','kraft','plastique','autre_refus','papier','mal_croppe','metal','Teint_Dans_La_Masse','flou','Carton_brun','environnement','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 21639313, 'sub_port_id': 21639422, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14176702, 'last_updated_at': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 11, 5, 29)}, 'kraft': {'main_port_id': 21639313, 'sub_port_id': 21639423, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14176703, 'last_updated_at': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 11, 5, 29)}, 'autre_refus': {'main_port_id': 21639313, 'sub_port_id': 21639424, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14176704, 'last_updated_at': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 11, 5, 29)}, 'mal_croppe': {'main_port_id': 21639313, 'sub_port_id': 21639425, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14176705, 'last_updated_at': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 11, 5, 29)}, 'Carton_brun': {'main_port_id': 21639313, 'sub_port_id': 21639426, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14176706, 'last_updated_at': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 11, 5, 29)}, 'plastique': {'main_port_id': 21639313, 'sub_port_id': 21639427, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14176707, 'last_updated_at': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 11, 5, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 21639313, 'sub_port_id': 21639428, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14176708, 'last_updated_at': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 11, 5, 29)}, 'cartonnette': {'main_port_id': 21639313, 'sub_port_id': 21639429, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14176709, 'last_updated_at': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 11, 5, 29)}, 'papier': {'main_port_id': 21639313, 'sub_port_id': 21639430, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14176710, 'last_updated_at': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 11, 5, 29)}, 'environnement': {'main_port_id': 21639313, 'sub_port_id': 21639431, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14176711, 'last_updated_at': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 11, 5, 29)}, 'metal': {'main_port_id': 21639313, 'sub_port_id': 21639432, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14176712, 'last_updated_at': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 11, 5, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 11, 5, 29)}, 'flou': {'main_port_id': 21639313, 'sub_port_id': 21639433, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14176713, 'last_updated_at': datetime.datetime(2025, 3, 24, 11, 11, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 24, 11, 11, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 24, 11, 5, 29)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21639422,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21639410 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21639423,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21639411 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21639424,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21639412 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21639425,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21639413 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21639426,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21639414 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21639427,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21639415 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21639428,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21639416 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21639429,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21639417 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21639430,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21639418 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21639431,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21639419 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21639432,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21639420 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21639433,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21639421 lien utilise dans velours : https://www.fotonower.com/velours/21639422,21639423,21639424,21639425,21639426,21639427,21639428,21639429,21639430,21639431,21639432,21639433?tags=Carton_gris,kraft,autre_refus,mal_croppe,Carton_brun,plastique,Teint_Dans_La_Masse,cartonnette,papier,environnement,metal,flou After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21639313]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1346756840, 1346756829, 1346756825, 1346756822, 1346756730, 1346756714] map_info['map_portfolio_photo'] : {21639313: [1346756840, 1346756829, 1346756825, 1346756822, 1346756730, 1346756714, 1346756596, 1346756583, 1346756574, 1346756571, 1346756417, 1346756412, 1346756328, 1346756248, 1346756235, 1346756226, 1346756199, 1346756102, 1346756096, 1346756085, 1346756029, 1346755954, 1346755922, 1346755895, 1346755885, 1346755874, 1346755869, 1346755864, 1346755854, 1346755813, 1346755810, 1346755806, 1346755794, 1346755744, 1346755741, 1346755732, 1346755696, 1346755686, 1346755446, 1346755426, 1346755421, 1346755416, 1346755406, 1346755400, 1346755340, 1346755331, 1346755319, 1346755306, 1346755082, 1346754934, 1346754799, 1346754754]} final : False mtd_id 4302 list_pids : [1346756840, 1346756829, 1346756825, 1346756822, 1346756730, 1346756714] Looping around the photos to save general results len do output : 1 /21639313. 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, '2684873') ('4302', '21639313', '1346756840', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756829', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756825', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756822', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756730', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756714', None, None, None, None, None, '2684873') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21639313', "{'Carton_gris': 21639410, 'kraft': 21639411, 'autre_refus': 21639412, 'mal_croppe': 21639413, 'Carton_brun': 21639414, 'plastique': 21639415, 'Teint_Dans_La_Masse': 21639416, 'cartonnette': 21639417, 'papier': 21639418, 'environnement': 21639419, 'metal': 21639420, 'flou': 21639421}", None, None, None, None, '2684873'), ('4302', '21639313', '1346756840', None, None, None, None, None, '2684873'), ('4302', '21639313', '1346756829', None, None, None, None, None, '2684873'), ('4302', '21639313', '1346756825', None, None, None, None, None, '2684873'), ('4302', '21639313', '1346756822', None, None, None, None, None, '2684873'), ('4302', '21639313', '1346756730', None, None, None, None, None, '2684873'), ('4302', '21639313', '1346756714', None, None, None, None, None, '2684873')] time used for this insertion : 0.013666868209838867 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.1165785789489746 time spend to save output : 0.013936758041381836 total time spend for step 1 : 1.1305153369903564 step2:final Mon Mar 24 11:13:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21639313) 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 21639313 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1346755082,1346754934,1346754799,1346754754,1346755340,1346755331,1346755319,1346755306,1346755446,1346755426,1346755421,1346755416,1346755406,1346755400,1346755744,1346755741,1346755732,1346755696,1346755686,1346755813,1346755810,1346755806,1346755794,1346755895,1346755885,1346755874,1346755869,1346755864,1346755854,1346756102,1346756096,1346756085,1346756029,1346755954,1346755922,1346756248,1346756235,1346756226,1346756199,1346756417,1346756412,1346756328,1346756596,1346756583,1346756574,1346756571,1346756730,1346756714,1346756840,1346756829,1346756825,1346756822); 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([21639313]) Inside saveOutput : final : False verbose : True original output for save of step final : {1346756840: ('0.054576549282562725',), 1346756829: ('0.054576549282562725',), 1346756825: ('0.054576549282562725',), 1346756822: ('0.054576549282562725',), 1346756730: ('0.054576549282562725',), 1346756714: ('0.054576549282562725',)} new output for save of step final : {1346756840: ('0.054576549282562725',), 1346756829: ('0.054576549282562725',), 1346756825: ('0.054576549282562725',), 1346756822: ('0.054576549282562725',), 1346756730: ('0.054576549282562725',), 1346756714: ('0.054576549282562725',)} [1346756840, 1346756829, 1346756825, 1346756822, 1346756730, 1346756714] map_info['map_portfolio_photo'] : {21639313: [1346756840, 1346756829, 1346756825, 1346756822, 1346756730, 1346756714, 1346756596, 1346756583, 1346756574, 1346756571, 1346756417, 1346756412, 1346756328, 1346756248, 1346756235, 1346756226, 1346756199, 1346756102, 1346756096, 1346756085, 1346756029, 1346755954, 1346755922, 1346755895, 1346755885, 1346755874, 1346755869, 1346755864, 1346755854, 1346755813, 1346755810, 1346755806, 1346755794, 1346755744, 1346755741, 1346755732, 1346755696, 1346755686, 1346755446, 1346755426, 1346755421, 1346755416, 1346755406, 1346755400, 1346755340, 1346755331, 1346755319, 1346755306, 1346755082, 1346754934, 1346754799, 1346754754]} final : False mtd_id 4302 list_pids : [1346756840, 1346756829, 1346756825, 1346756822, 1346756730, 1346756714] Looping around the photos to save general results len do output : 6 /1346756840.Didn't retrieve data . /1346756829.Didn't retrieve data . /1346756825.Didn't retrieve data . /1346756822.Didn't retrieve data . /1346756730.Didn't retrieve data . /1346756714.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, '2684873') ('4302', '21639313', '1346756840', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756829', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756825', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756822', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756730', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756714', None, None, None, None, None, '2684873') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 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', '21639313', '1346756840', '0.054576549282562725', None, None, None, None, '2684873'), ('4302', '21639313', '1346756829', '0.054576549282562725', None, None, None, None, '2684873'), ('4302', '21639313', '1346756825', '0.054576549282562725', None, None, None, None, '2684873'), ('4302', '21639313', '1346756822', '0.054576549282562725', None, None, None, None, '2684873'), ('4302', '21639313', '1346756730', '0.054576549282562725', None, None, None, None, '2684873'), ('4302', '21639313', '1346756714', '0.054576549282562725', None, None, None, None, '2684873')] time used for this insertion : 0.012555122375488281 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0700380802154541 time spend to save output : 0.012931585311889648 total time spend for step 2 : 0.08296966552734375 step3:velours_tree Mon Mar 24 11:13:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {21639313: [{'Carton_gris': 21639410, 'kraft': 21639411, 'autre_refus': 21639412, 'mal_croppe': 21639413, 'Carton_brun': 21639414, 'plastique': 21639415, 'Teint_Dans_La_Masse': 21639416, 'cartonnette': 21639417, 'papier': 21639418, 'environnement': 21639419, 'metal': 21639420, 'flou': 21639421}]} input_args_next_step : {21639313: ()} output_args : {21639313: [{'Carton_gris': 21639410, 'kraft': 21639411, 'autre_refus': 21639412, 'mal_croppe': 21639413, 'Carton_brun': 21639414, 'plastique': 21639415, 'Teint_Dans_La_Masse': 21639416, 'cartonnette': 21639417, 'papier': 21639418, 'environnement': 21639419, 'metal': 21639420, 'flou': 21639421}]} args : 21639313 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_gris': 21639410, 'kraft': 21639411, 'autre_refus': 21639412, 'mal_croppe': 21639413, 'Carton_brun': 21639414, 'plastique': 21639415, 'Teint_Dans_La_Masse': 21639416, 'cartonnette': 21639417, 'papier': 21639418, 'environnement': 21639419, 'metal': 21639420, 'flou': 21639421},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21639313) 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([21639313]) 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.2906332015991211 time spend to save output : 7.128715515136719e-05 total time spend for step 3 : 0.29070448875427246 step4:send_mail_cod Mon Mar 24 11:13:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1346756840: ('0.054576549282562725',), 1346756829: ('0.054576549282562725',), 1346756825: ('0.054576549282562725',), 1346756822: ('0.054576549282562725',), 1346756730: ('0.054576549282562725',), 1346756714: ('0.054576549282562725',)} input_args_next_step : {1346756840: ()} output_args : {1346756840: ('0.054576549282562725',), 1346756829: ('0.054576549282562725',), 1346756825: ('0.054576549282562725',), 1346756822: ('0.054576549282562725',), 1346756730: ('0.054576549282562725',), 1346756714: ('0.054576549282562725',)} args : 1346756840 depend.output_id : 0 input_args_next_step : {1346756840: ('0.054576549282562725',), 1346756829: ()} output_args : {1346756840: ('0.054576549282562725',), 1346756829: ('0.054576549282562725',), 1346756825: ('0.054576549282562725',), 1346756822: ('0.054576549282562725',), 1346756730: ('0.054576549282562725',), 1346756714: ('0.054576549282562725',)} args : 1346756829 depend.output_id : 0 input_args_next_step : {1346756840: ('0.054576549282562725',), 1346756829: ('0.054576549282562725',), 1346756825: ()} output_args : {1346756840: ('0.054576549282562725',), 1346756829: ('0.054576549282562725',), 1346756825: ('0.054576549282562725',), 1346756822: ('0.054576549282562725',), 1346756730: ('0.054576549282562725',), 1346756714: ('0.054576549282562725',)} args : 1346756825 depend.output_id : 0 input_args_next_step : {1346756840: ('0.054576549282562725',), 1346756829: ('0.054576549282562725',), 1346756825: ('0.054576549282562725',), 1346756822: ()} output_args : {1346756840: ('0.054576549282562725',), 1346756829: ('0.054576549282562725',), 1346756825: ('0.054576549282562725',), 1346756822: ('0.054576549282562725',), 1346756730: ('0.054576549282562725',), 1346756714: ('0.054576549282562725',)} args : 1346756822 depend.output_id : 0 input_args_next_step : {1346756840: ('0.054576549282562725',), 1346756829: ('0.054576549282562725',), 1346756825: ('0.054576549282562725',), 1346756822: ('0.054576549282562725',), 1346756730: ()} output_args : {1346756840: ('0.054576549282562725',), 1346756829: ('0.054576549282562725',), 1346756825: ('0.054576549282562725',), 1346756822: ('0.054576549282562725',), 1346756730: ('0.054576549282562725',), 1346756714: ('0.054576549282562725',)} args : 1346756730 depend.output_id : 0 input_args_next_step : {1346756840: ('0.054576549282562725',), 1346756829: ('0.054576549282562725',), 1346756825: ('0.054576549282562725',), 1346756822: ('0.054576549282562725',), 1346756730: ('0.054576549282562725',), 1346756714: ()} output_args : {1346756840: ('0.054576549282562725',), 1346756829: ('0.054576549282562725',), 1346756825: ('0.054576549282562725',), 1346756822: ('0.054576549282562725',), 1346756730: ('0.054576549282562725',), 1346756714: ('0.054576549282562725',)} args : 1346756714 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 : {21639313: [{'Carton_gris': 21639410, 'kraft': 21639411, 'autre_refus': 21639412, 'mal_croppe': 21639413, 'Carton_brun': 21639414, 'plastique': 21639415, 'Teint_Dans_La_Masse': 21639416, 'cartonnette': 21639417, 'papier': 21639418, 'environnement': 21639419, 'metal': 21639420, 'flou': 21639421}]} input_args_next_step : {1346756840: ('0.054576549282562725',), 1346756829: ('0.054576549282562725',), 1346756825: ('0.054576549282562725',), 1346756822: ('0.054576549282562725',), 1346756730: ('0.054576549282562725',), 1346756714: ('0.054576549282562725',), 21639313: ()} output_args : {21639313: [{'Carton_gris': 21639410, 'kraft': 21639411, 'autre_refus': 21639412, 'mal_croppe': 21639413, 'Carton_brun': 21639414, 'plastique': 21639415, 'Teint_Dans_La_Masse': 21639416, 'cartonnette': 21639417, 'papier': 21639418, 'environnement': 21639419, 'metal': 21639420, 'flou': 21639421}]} args : 21639313 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 :7, first value : ('0.054576549282562725',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21639313) 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 (1346756840,1346756829,1346756825,1346756822,1346756730,1346756714) Found this number of photos: 6 ##### Call download_photos : nb_thread : 5 begin to download photo : 1346756714 begin to download photo : 1346756822 begin to download photo : 1346756829 download finish for photo 1346756714 begin to download photo : 1346756730 download finish for photo 1346756829 begin to download photo : 1346756840 download finish for photo 1346756822 begin to download photo : 1346756825 download finish for photo 1346756730 download finish for photo 1346756840 download finish for photo 1346756825 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 6 ; length of list_pids : 6 ; length of list_args : 6 results_Auto_P21639313_24-03-2025_11_13_59.pdf 21639411 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=21639411 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346755757: '1742810691_2824144_1346755319_cb0c127fea98906020cda1c331907cb5_rle_crop_3726444424_0.png', 1346755863: '1742810773_2825191_1346755406_3ee38961b5d095cd1902aebfc2041392_rle_crop_3726448808_0.png', 1346756251: '1742810923_916155_1346755741_b7cd83929d97df69af81564f64732531_rle_crop_3726451691_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/30c6b38466a7b809f7d7ede54189a135_77709860.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/2886eab5a4827aaf18dc1e81eaf78939_37161386.png change filename to text .imagette216394111742811239/ imagette216394111742811239/1742810691_2824144_1346755319_cb0c127fea98906020cda1c331907cb5_rle_crop_3726444424_0.png.png imagette216394111742811239/1742810923_916155_1346755741_b7cd83929d97df69af81564f64732531_rle_crop_3726451691_0.png.png imagette216394111742811239/1742810773_2825191_1346755406_3ee38961b5d095cd1902aebfc2041392_rle_crop_3726448808_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/789b8362d66feb9128f82dcbcc46d231_6711030.png imagette216394111742811239 21639412 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=21639412 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346756695: '1742811072_2828219_1346756199_32d604cb4e76712a03fa3013be88dfb7_rle_crop_3726454577_0.png', 1346756242: '1742810923_916155_1346755686_7e8eaa68407e217d24c15beb9c1e24fc_rle_crop_3726451803_0.png', 1346756680: '1742811052_2827944_1346756248_dedc9ca26066c5cada07d672ba03652d_rle_crop_3726454441_0.png', 1346756681: '1742811052_2827944_1346756096_ffd6ba2ee910c5393d6ebcd58d35f159_rle_crop_3726454456_0.png', 1346756682: '1742811052_2827944_1346756085_ddd480a025654c603504e445d4945f15_rle_crop_3726454470_0.png', 1346756683: '1742811052_2827944_1346756029_7ca39bda620f3443a4e3ebb7afd9e0da_rle_crop_3726454476_0.png', 1346756684: '1742811052_2827944_1346756029_7ca39bda620f3443a4e3ebb7afd9e0da_rle_crop_3726454481_0.png', 1346756685: '1742811052_2827944_1346755954_6fa725c013221d7b60080f1135fb40a2_rle_crop_3726454509_0.png', 1346756693: '1742811072_2828219_1346756235_522f103fadae8e809ba9b3a365282f31_rle_crop_3726454541_0.png', 1346756694: '1742811072_2828219_1346756226_83c088b29fe3b5ce1fb523ef5dc27275_rle_crop_3726454565_0.png', 1346756241: '1742810923_916155_1346755696_6ae377a17c268771e4a3669a3dae08e5_rle_crop_3726451789_0.png', 1346756830: '1742811164_919228_1346756583_037cde495816181322814246ace3492b_rle_crop_3726455109_0.png', 1346756832: '1742811164_919228_1346756574_e7b86d23b9fe8d0ace560bbc9c4ef8b8_rle_crop_3726455127_0.png', 1346756833: '1742811092_2828451_1346756102_8f83e41d6c02be8c20eb0b4fa263aef0_rle_crop_3726454845_0.png', 1346756834: '1742811092_2828451_1346755885_936870e2e2a1097aecae6cc275948884_rle_crop_3726454861_0.png', 1346756835: '1742811092_2828451_1346755885_936870e2e2a1097aecae6cc275948884_rle_crop_3726454862_0.png', 1346756836: '1742811092_2828451_1346755874_f3e395dac9d78627e9542f9396586593_rle_crop_3726454974_0.png', 1346756837: '1742811092_2828451_1346755869_8a7f2dffbf0abb2a69770eab824e1501_rle_crop_3726454994_0.png', 1346756838: '1742811092_2828451_1346755854_652712ab926318f802696391a3a44272_rle_crop_3726455101_0.png', 1346756866: '1742811152_2829530_1346756596_d5fc40bc0c20ec1145595dd553b56431_rle_crop_3726455198_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/ff921df6aeb2f2f87169ad7448e0ccbf_63160210.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/a1fd793f113f6bfae692e15f32f913d8_98208019.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/8ddfa348d93eb64ec5c971ec0128ceb7_67756045.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/1a73ec78b3e060ccc8b7d65a35763a4d_55616160.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/9d810e7cc39f62882f22784ff845c313_54835206.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/78bd2549be0125cbe94e079241c0388b_32954913.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/5e3765ac55f7ae9f761e1a7dceeba847_99381404.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/1de44984a03fa51a770e411f098ec27c_78450635.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/e58912491e359849e4d0514a4b5ea5b9_3409236.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/6a578751d1e037afb08d099a705f6952_39003753.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/d0cab33caf51107d8f8a835a0da978f7_16107284.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/d47f94420b94f37ddf73a5eed8bb221c_47135523.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/1d1600f8905f85866e49520eae64c5b5_57780244.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/b02e358252725879757e525a89132389_71497974.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/f35b629d1461da98c58b583885764f46_32029543.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/17cc8adf66149b2e0e702d5c018fed32_71335211.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/32a6e797e53f6355dead1f2f39ac1943_61966604.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/7fb1a32558a033c204991773115c7e75_86647171.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/54f02919855ba2b4519db0c58b8436ab_73258132.png change filename to text .imagette216394121742811239/ imagette216394121742811239/1742811164_919228_1346756583_037cde495816181322814246ace3492b_rle_crop_3726455109_0.png.png imagette216394121742811239/1742811072_2828219_1346756235_522f103fadae8e809ba9b3a365282f31_rle_crop_3726454541_0.png.png imagette216394121742811239/1742811052_2827944_1346756248_dedc9ca26066c5cada07d672ba03652d_rle_crop_3726454441_0.png.png imagette216394121742811239/1742811052_2827944_1346756029_7ca39bda620f3443a4e3ebb7afd9e0da_rle_crop_3726454481_0.png.png imagette216394121742811239/1742811092_2828451_1346755854_652712ab926318f802696391a3a44272_rle_crop_3726455101_0.png.png imagette216394121742811239/1742811092_2828451_1346755869_8a7f2dffbf0abb2a69770eab824e1501_rle_crop_3726454994_0.png.png imagette216394121742811239/1742811072_2828219_1346756226_83c088b29fe3b5ce1fb523ef5dc27275_rle_crop_3726454565_0.png.png imagette216394121742811239/1742811092_2828451_1346755874_f3e395dac9d78627e9542f9396586593_rle_crop_3726454974_0.png.png imagette216394121742811239/1742811072_2828219_1346756199_32d604cb4e76712a03fa3013be88dfb7_rle_crop_3726454577_0.png.png imagette216394121742811239/1742810923_916155_1346755686_7e8eaa68407e217d24c15beb9c1e24fc_rle_crop_3726451803_0.png.png imagette216394121742811239/1742811152_2829530_1346756596_d5fc40bc0c20ec1145595dd553b56431_rle_crop_3726455198_0.png.png imagette216394121742811239/1742810923_916155_1346755696_6ae377a17c268771e4a3669a3dae08e5_rle_crop_3726451789_0.png.png imagette216394121742811239/1742811092_2828451_1346755885_936870e2e2a1097aecae6cc275948884_rle_crop_3726454861_0.png.png imagette216394121742811239/1742811092_2828451_1346755885_936870e2e2a1097aecae6cc275948884_rle_crop_3726454862_0.png.png imagette216394121742811239/1742811164_919228_1346756574_e7b86d23b9fe8d0ace560bbc9c4ef8b8_rle_crop_3726455127_0.png.png imagette216394121742811239/1742811052_2827944_1346756096_ffd6ba2ee910c5393d6ebcd58d35f159_rle_crop_3726454456_0.png.png imagette216394121742811239/1742811092_2828451_1346756102_8f83e41d6c02be8c20eb0b4fa263aef0_rle_crop_3726454845_0.png.png imagette216394121742811239/1742811052_2827944_1346756085_ddd480a025654c603504e445d4945f15_rle_crop_3726454470_0.png.png imagette216394121742811239/1742811052_2827944_1346756029_7ca39bda620f3443a4e3ebb7afd9e0da_rle_crop_3726454476_0.png.png imagette216394121742811239/1742811052_2827944_1346755954_6fa725c013221d7b60080f1135fb40a2_rle_crop_3726454509_0.png.png imagette216394131742811240/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/65ce24d47e28c3696c520a8cdba3db9c_4117281.png imagette216394121742811239 21639413 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=21639413 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette216394131742811240 21639415 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=21639415 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346755862: '1742810773_2825191_1346755421_b1aaad1fb72270818d17dcb5e734b8f1_rle_crop_3726448780_0.png', 1346756697: '1742811052_2827944_1346756085_ddd480a025654c603504e445d4945f15_rle_crop_3726454469_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/615c5ce97ac7870673fb0fe5ee7f2f8f_7046601.png change filename to text .imagette216394151742811240/ imagette216394151742811240/1742810773_2825191_1346755421_b1aaad1fb72270818d17dcb5e734b8f1_rle_crop_3726448780_0.png.png imagette216394151742811240/1742811052_2827944_1346756085_ddd480a025654c603504e445d4945f15_rle_crop_3726454469_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/f093dc0afa69d0542004ebf0a51087ba_13479628.png imagette216394151742811240 21639417 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=21639417 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346755753: '1742810691_2824144_1346755331_d410e7ed41f3909e0143bafad55966a7_rle_crop_3726444407_0.png', 1346755856: '1742810773_2825191_1346755406_3ee38961b5d095cd1902aebfc2041392_rle_crop_3726448812_0.png', 1346756249: '1742810923_916155_1346755813_5eba6c941ff072248b99def9758a2a9b_rle_crop_3726451534_0.png', 1346756250: '1742810923_916155_1346755732_3e76860fd2f369fe3987633e372676c6_rle_crop_3726451773_0.png', 1346756691: '1742811052_2827944_1346756096_ffd6ba2ee910c5393d6ebcd58d35f159_rle_crop_3726454453_0.png', 1346756847: '1742811092_2828451_1346755874_f3e395dac9d78627e9542f9396586593_rle_crop_3726454966_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/62cbab1786c4befdac8880e48e29c524_21844019.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/9c4d7b283b078a5f45e11e7e3fba0759_7155873.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/29db87f49816b627d85f86cd0661538b_22883789.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/3e0b107217cfaad347ebdc01ff5d478f_88111333.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/260ed83dd31aeeb5e0d2bf81c41b3f2f_73779335.png change filename to text .imagette216394171742811240/ imagette216394171742811240/1742810691_2824144_1346755331_d410e7ed41f3909e0143bafad55966a7_rle_crop_3726444407_0.png.png imagette216394171742811240/1742811092_2828451_1346755874_f3e395dac9d78627e9542f9396586593_rle_crop_3726454966_0.png.png imagette216394171742811240/1742810773_2825191_1346755406_3ee38961b5d095cd1902aebfc2041392_rle_crop_3726448812_0.png.png imagette216394171742811240/1742810923_916155_1346755813_5eba6c941ff072248b99def9758a2a9b_rle_crop_3726451534_0.png.png imagette216394171742811240/1742810923_916155_1346755732_3e76860fd2f369fe3987633e372676c6_rle_crop_3726451773_0.png.png imagette216394171742811240/1742811052_2827944_1346756096_ffd6ba2ee910c5393d6ebcd58d35f159_rle_crop_3726454453_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/3f4bb0cf810fdf35e12825d6d9fbfb5c_36315255.png imagette216394171742811240 21639420 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=21639420 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346755897: '1742810801_912946_1346754754_23652d53578d6f2d9b3e2b175a0cb604_rle_crop_3726448056_0.png'} change filename to text .imagette216394201742811240/ imagette216394201742811240/1742810801_912946_1346754754_23652d53578d6f2d9b3e2b175a0cb604_rle_crop_3726448056_0.png.png imagette216394211742811240/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/92a1a334b5d203d29590d6f8f166781f_38921130.png imagette216394201742811240 21639421 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=21639421 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette216394211742811240 21639410 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=21639410 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346755853: '1742810773_2825191_1346755426_d6fa9146ef2f354e338637968f30088d_rle_crop_3726448712_0.png', 1346756157: '1742810891_2826308_1346755810_7007431849acd60cab370df97f717a41_rle_crop_3726451002_0.png', 1346756243: '1742810923_916155_1346755813_5eba6c941ff072248b99def9758a2a9b_rle_crop_3726451539_0.png', 1346756244: '1742810923_916155_1346755732_3e76860fd2f369fe3987633e372676c6_rle_crop_3726451775_0.png', 1346756246: '1742810923_916155_1346755696_6ae377a17c268771e4a3669a3dae08e5_rle_crop_3726451785_0.png', 1346756687: '1742811052_2827944_1346755922_2645b03272b699a0f51d5dc41addfd48_rle_crop_3726454522_0.png', 1346756841: '1742811092_2828451_1346755885_936870e2e2a1097aecae6cc275948884_rle_crop_3726454858_0.png', 1346756842: '1742811092_2828451_1346755874_f3e395dac9d78627e9542f9396586593_rle_crop_3726454964_0.png', 1346756843: '1742811092_2828451_1346755874_f3e395dac9d78627e9542f9396586593_rle_crop_3726454965_0.png', 1346756844: '1742811092_2828451_1346755874_f3e395dac9d78627e9542f9396586593_rle_crop_3726454972_0.png', 1346756845: '1742811092_2828451_1346755869_8a7f2dffbf0abb2a69770eab824e1501_rle_crop_3726454991_0.png', 1346756869: '1742811152_2829530_1346756596_d5fc40bc0c20ec1145595dd553b56431_rle_crop_3726455197_0.png', 1346756870: '1742811152_2829530_1346756412_dea53e0b03ee57962f8821814a4444c4_rle_crop_3726455217_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/4ee7984ee0ea17b41b5cbfb55fa43b94_72712749.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/22a7a2a4ba7ca47b400d6d4ced1fcc14_28778213.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/1a02bcc75eacf450bab57ae73e849a2b_81690965.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/8e35cd03659cfbaf6fd030c781b8dc11_8701246.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/fe9c02ea311a559c2087f440d6781265_85929451.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/0e9531cbe85a4a9b05f965af6bd59ee1_17196289.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/1d90618a5b3fadae60914fbf9a8689c3_23671028.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/2d420317995235899eb4b1cdd0f07963_53977045.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/c894843929b244e3afc3aa63527ac5e6_1485958.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/ba0ebc8109ee87bb195a31fb9cf5d376_27896832.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/03ad55b8d2fe88106c4882bb94341f89_13589565.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/13e84221cb9ae4bf9a340457aff60662_8828677.png change filename to text .imagette216394101742811240/ imagette216394101742811240/1742810923_916155_1346755732_3e76860fd2f369fe3987633e372676c6_rle_crop_3726451775_0.png.png imagette216394101742811240/1742810923_916155_1346755813_5eba6c941ff072248b99def9758a2a9b_rle_crop_3726451539_0.png.png imagette216394101742811240/1742811092_2828451_1346755869_8a7f2dffbf0abb2a69770eab824e1501_rle_crop_3726454991_0.png.png imagette216394101742811240/1742811092_2828451_1346755874_f3e395dac9d78627e9542f9396586593_rle_crop_3726454972_0.png.png imagette216394101742811240/1742810923_916155_1346755696_6ae377a17c268771e4a3669a3dae08e5_rle_crop_3726451785_0.png.png imagette216394101742811240/1742811092_2828451_1346755874_f3e395dac9d78627e9542f9396586593_rle_crop_3726454965_0.png.png imagette216394101742811240/1742811152_2829530_1346756596_d5fc40bc0c20ec1145595dd553b56431_rle_crop_3726455197_0.png.png imagette216394101742811240/1742811052_2827944_1346755922_2645b03272b699a0f51d5dc41addfd48_rle_crop_3726454522_0.png.png imagette216394101742811240/1742811092_2828451_1346755885_936870e2e2a1097aecae6cc275948884_rle_crop_3726454858_0.png.png imagette216394101742811240/1742810773_2825191_1346755426_d6fa9146ef2f354e338637968f30088d_rle_crop_3726448712_0.png.png imagette216394101742811240/1742810891_2826308_1346755810_7007431849acd60cab370df97f717a41_rle_crop_3726451002_0.png.png imagette216394101742811240/1742811092_2828451_1346755874_f3e395dac9d78627e9542f9396586593_rle_crop_3726454964_0.png.png imagette216394101742811240/1742811152_2829530_1346756412_dea53e0b03ee57962f8821814a4444c4_rle_crop_3726455217_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/33375ef2b3094028d0b7d6769c46ed87_56176566.png imagette216394101742811240 21639414 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=21639414 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346755754: '1742810691_2824144_1346755331_d410e7ed41f3909e0143bafad55966a7_rle_crop_3726444412_0.png', 1346755858: '1742810773_2825191_1346755400_a50dbaccedfde1e15111ef9490c40fa6_rle_crop_3726448828_0.png', 1346755859: '1742810773_2825191_1346755400_a50dbaccedfde1e15111ef9490c40fa6_rle_crop_3726448824_0.png', 1346755860: '1742810773_2825191_1346755400_a50dbaccedfde1e15111ef9490c40fa6_rle_crop_3726448826_0.png', 1346755894: '1742810801_912946_1346755082_101e46b0e182478fa327162b4966a3fb_rle_crop_3726447945_0.png', 1346756696: '1742811052_2827944_1346756248_dedc9ca26066c5cada07d672ba03652d_rle_crop_3726454439_0.png', 1346756852: '1742811092_2828451_1346756102_8f83e41d6c02be8c20eb0b4fa263aef0_rle_crop_3726454850_0.png', 1346756853: '1742811092_2828451_1346755864_97595329b85fbb363d99d45798ca20e9_rle_crop_3726455023_0.png', 1346756854: '1742811092_2828451_1346755854_652712ab926318f802696391a3a44272_rle_crop_3726455096_0.png', 1346756855: '1742811092_2828451_1346755854_652712ab926318f802696391a3a44272_rle_crop_3726455098_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/c174767fca601e2d3750f0d70a9773c4_39020535.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/8820965d70a25740cd85ff3baa35cb28_70238755.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/ea1211a908fd69bf1b557756f6542293_90249681.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/73a7b75c54dda13280047081d3614f48_43243248.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/4d1df2529a511c19ff97198cef32a91b_57218437.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/93274a328513f6df5bc031c6b1b987a7_39395368.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/5f30ad32405b3776fe3dbbadc454ca69_91241456.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/521eb41bb9044fcf0092d029c4b6afc0_56781355.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/16aa7a6b9b0b975d44299b8d8152db90_40578643.png change filename to text .imagette216394141742811241/ imagette216394141742811241/1742811092_2828451_1346755854_652712ab926318f802696391a3a44272_rle_crop_3726455098_0.png.png imagette216394141742811241/1742810691_2824144_1346755331_d410e7ed41f3909e0143bafad55966a7_rle_crop_3726444412_0.png.png imagette216394141742811241/1742810773_2825191_1346755400_a50dbaccedfde1e15111ef9490c40fa6_rle_crop_3726448826_0.png.png imagette216394141742811241/1742811052_2827944_1346756248_dedc9ca26066c5cada07d672ba03652d_rle_crop_3726454439_0.png.png imagette216394141742811241/1742810801_912946_1346755082_101e46b0e182478fa327162b4966a3fb_rle_crop_3726447945_0.png.png imagette216394141742811241/1742811092_2828451_1346756102_8f83e41d6c02be8c20eb0b4fa263aef0_rle_crop_3726454850_0.png.png imagette216394141742811241/1742811092_2828451_1346755854_652712ab926318f802696391a3a44272_rle_crop_3726455096_0.png.png imagette216394141742811241/1742811092_2828451_1346755864_97595329b85fbb363d99d45798ca20e9_rle_crop_3726455023_0.png.png imagette216394141742811241/1742810773_2825191_1346755400_a50dbaccedfde1e15111ef9490c40fa6_rle_crop_3726448828_0.png.png imagette216394141742811241/1742810773_2825191_1346755400_a50dbaccedfde1e15111ef9490c40fa6_rle_crop_3726448824_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/c4a730ac3d81e2db1d9279e3f28461cf_53639251.png imagette216394141742811241 21639416 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=21639416 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1346755845: '1742810773_2825191_1346755421_b1aaad1fb72270818d17dcb5e734b8f1_rle_crop_3726448778_0.png', 1346755878: '1742810801_912946_1346755340_21a88b83c813c88b36026cd474097070_rle_crop_3726447893_0.png', 1346755879: '1742810801_912946_1346755082_101e46b0e182478fa327162b4966a3fb_rle_crop_3726447946_0.png', 1346755880: '1742810801_912946_1346755082_101e46b0e182478fa327162b4966a3fb_rle_crop_3726447948_0.png', 1346755882: '1742810801_912946_1346755082_101e46b0e182478fa327162b4966a3fb_rle_crop_3726447943_0.png', 1346755883: '1742810801_912946_1346754934_f4c3354fc98a4a923dfaf41307e03c2a_rle_crop_3726448023_0.png', 1346755884: '1742810801_912946_1346754799_bc4e670e720b93c054444a6aa38d1f00_rle_crop_3726448045_0.png', 1346756233: '1742810923_916155_1346755732_3e76860fd2f369fe3987633e372676c6_rle_crop_3726451776_0.png', 1346756666: '1742811052_2827944_1346756096_ffd6ba2ee910c5393d6ebcd58d35f159_rle_crop_3726454458_0.png', 1346756671: '1742811052_2827944_1346756085_ddd480a025654c603504e445d4945f15_rle_crop_3726454466_0.png', 1346756672: '1742811052_2827944_1346756085_ddd480a025654c603504e445d4945f15_rle_crop_3726454474_0.png', 1346756686: '1742811072_2828219_1346756226_83c088b29fe3b5ce1fb523ef5dc27275_rle_crop_3726454561_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/ebec67c86e8c7a4f20ac55cecc9b268d_38477976.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/5ef6d1994f44556cf860d4a251a79ed5_92741065.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/3a06e2e2085456c29a13f03660f6ee9d_3122541.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/4a2e56c63ff22b251f4347a06f60e22e_70717640.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/c316942e6f09259a26342128d85cd221_38595504.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/7e93009f4beccf4afe0495cd735e5017_7302032.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/f4966652f1efa9e1ef685825ee43a27c_19200199.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/ebe4f2bcba0dcdbe1dd60de95523fb12_24795076.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/55397584bc2d50b489eabf53bdf71f72_78497166.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/ec2b752d6e7af7695425b9646a5c30f7_12157694.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/31bfb9180bfad0230db6eb075f0fe6f4_57165371.png change filename to text .imagette216394161742811241/ imagette216394161742811241/1742811052_2827944_1346756085_ddd480a025654c603504e445d4945f15_rle_crop_3726454466_0.png.png imagette216394161742811241/1742810801_912946_1346755082_101e46b0e182478fa327162b4966a3fb_rle_crop_3726447948_0.png.png imagette216394161742811241/1742810801_912946_1346754934_f4c3354fc98a4a923dfaf41307e03c2a_rle_crop_3726448023_0.png.png imagette216394161742811241/1742810923_916155_1346755732_3e76860fd2f369fe3987633e372676c6_rle_crop_3726451776_0.png.png imagette216394161742811241/1742810801_912946_1346755340_21a88b83c813c88b36026cd474097070_rle_crop_3726447893_0.png.png imagette216394161742811241/1742811052_2827944_1346756096_ffd6ba2ee910c5393d6ebcd58d35f159_rle_crop_3726454458_0.png.png imagette216394161742811241/1742810801_912946_1346755082_101e46b0e182478fa327162b4966a3fb_rle_crop_3726447946_0.png.png imagette216394161742811241/1742811072_2828219_1346756226_83c088b29fe3b5ce1fb523ef5dc27275_rle_crop_3726454561_0.png.png imagette216394161742811241/1742810801_912946_1346755082_101e46b0e182478fa327162b4966a3fb_rle_crop_3726447943_0.png.png imagette216394161742811241/1742810773_2825191_1346755421_b1aaad1fb72270818d17dcb5e734b8f1_rle_crop_3726448778_0.png.png imagette216394161742811241/1742811052_2827944_1346756085_ddd480a025654c603504e445d4945f15_rle_crop_3726454474_0.png.png imagette216394161742811241/1742810801_912946_1346754799_bc4e670e720b93c054444a6aa38d1f00_rle_crop_3726448045_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/a164518144d4cfbff9ab212aa5940db9_12891957.png imagette216394161742811241 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21639313 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21639422,21639423,21639424,21639425,21639426,21639427,21639428,21639429,21639430,21639431,21639432,21639433?tags=Carton_gris,kraft,autre_refus,mal_croppe,Carton_brun,plastique,Teint_Dans_La_Masse,cartonnette,papier,environnement,metal,flou your option no_mail is active, we will not send the real mail to your client args[1346756840] : ('0.054576549282562725',) no score found for photo 1346756840 We are sending mail with results at report@fotonower.com args[1346756829] : ('0.054576549282562725',) no score found for photo 1346756829 We are sending mail with results at report@fotonower.com args[1346756825] : ('0.054576549282562725',) no score found for photo 1346756825 We are sending mail with results at report@fotonower.com args[1346756822] : ('0.054576549282562725',) no score found for photo 1346756822 We are sending mail with results at report@fotonower.com args[1346756730] : ('0.054576549282562725',) no score found for photo 1346756730 We are sending mail with results at report@fotonower.com args[1346756714] : ('0.054576549282562725',) no score found for photo 1346756714 We are sending mail with results at report@fotonower.com refus_total : 0.054576549282562725 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=21639313 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_P21639313_24-03-2025_11_13_59.pdf results_Auto_P21639313_24-03-2025_11_13_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21639313_24-03-2025_11_13_59.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','21639313','results_Auto_P21639313_24-03-2025_11_13_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21639313_24-03-2025_11_13_59.pdf','pdf','','0.25','0.054576549282562725') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21639313]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1346756840, 1346756829, 1346756825, 1346756822, 1346756730, 1346756714] map_info['map_portfolio_photo'] : {21639313: [1346756840, 1346756829, 1346756825, 1346756822, 1346756730, 1346756714, 1346756596, 1346756583, 1346756574, 1346756571, 1346756417, 1346756412, 1346756328, 1346756248, 1346756235, 1346756226, 1346756199, 1346756102, 1346756096, 1346756085, 1346756029, 1346755954, 1346755922, 1346755895, 1346755885, 1346755874, 1346755869, 1346755864, 1346755854, 1346755813, 1346755810, 1346755806, 1346755794, 1346755744, 1346755741, 1346755732, 1346755696, 1346755686, 1346755446, 1346755426, 1346755421, 1346755416, 1346755406, 1346755400, 1346755340, 1346755331, 1346755319, 1346755306, 1346755082, 1346754934, 1346754799, 1346754754]} final : False mtd_id 4302 list_pids : [1346756840, 1346756829, 1346756825, 1346756822, 1346756730, 1346756714] 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, '2684873') ('4302', '21639313', '1346756840', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756829', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756825', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756822', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756730', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756714', None, None, None, None, None, '2684873') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 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', '21639313', '1346756840', None, None, None, None, None, '2684873'), ('4302', '21639313', '1346756829', None, None, None, None, None, '2684873'), ('4302', '21639313', '1346756825', None, None, None, None, None, '2684873'), ('4302', '21639313', '1346756822', None, None, None, None, None, '2684873'), ('4302', '21639313', '1346756730', None, None, None, None, None, '2684873'), ('4302', '21639313', '1346756714', None, None, None, None, None, '2684873')] time used for this insertion : 0.013939380645751953 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.743533611297607 time spend to save output : 0.014191627502441406 total time spend for step 4 : 4.757725238800049 step5:split_time_score Mon Mar 24 11:14:03 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 : ['21639313'] 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 : [('21639313',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21639313) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1346756714: {'path': 'temp/1742811238_3947195_1346756714_7e6f347f311d2af5ecbeea9c2984ce0d.jpg', 'extension': 'jpg'}, 1346756730: {'path': 'temp/1742811238_3947195_1346756730_56ada9027dc1ff8280dba28f452e13de.jpg', 'extension': 'jpg'}, 1346756829: {'path': 'temp/1742811238_3947195_1346756829_c9b30938a8e366726da9b2a0d132a415.jpg', 'extension': 'jpg'}, 1346756840: {'path': 'temp/1742811238_3947195_1346756840_338f3f21d9b251613395a5e1e8c8656d.jpg', 'extension': 'jpg'}, 1346756822: {'path': 'temp/1742811238_3947195_1346756822_a0171cb42f1bd402bba77e5dcad1c88e.jpg', 'extension': 'jpg'}, 1346756825: {'path': 'temp/1742811238_3947195_1346756825_06a25b4d11219b34369d1849ffc212ee.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 = 21639313; (('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 = 21639313 group by h (('11', 52),) 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=21639313 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 (21639313) 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 (21639313) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 24032025 21639313 Nombre de photos uploadées : 52 / 23040 (0%) 24032025 21639313 Nombre de photos taguées (types de déchets): 0 / 52 (0%) 24032025 21639313 Nombre de photos taguées (volume) : 0 / 52 (0%) [{'photo_id': 1346755082, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/101e46b0e182478fa327162b4966a3fb.jpg', 'username': None, 'uploaded_at': 1742810529, 'text': 'image_24032025_11_00_14_010195m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1346754934, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/f4c3354fc98a4a923dfaf41307e03c2a.jpg', 'username': None, 'uploaded_at': 1742810529, 'text': 'image_24032025_11_00_24_010142m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1346754799, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/bc4e670e720b93c054444a6aa38d1f00.jpg', 'username': None, 'uploaded_at': 1742810529, 'text': 'image_24032025_11_00_34_010143m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1346754754, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/24/23652d53578d6f2d9b3e2b175a0cb604.jpg', 'username': None, 'uploaded_at': 1742810529, 'text': 'image_24032025_11_00_44_010138m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 7.152557373046875e-06 ???????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0026798248291015625 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21639313, '2025-03-24' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1682789,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.026318788528442383 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 1682789 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1682789, 'dashboard_run_id': 1691101, 'mtr_portfolio_id': 21637132, 'dashboard_result_id': 9573216, '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_P21637132_24-03-2025_10_34_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21637170, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21637171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21637172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21637173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21637174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21637175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21637176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21637177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21637178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21637179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21637180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21637181, 'pht': 3726}}"}, {'dashboat_entry_day': 1682789, 'dashboard_run_id': 1691101, 'mtr_portfolio_id': 21637837, 'dashboard_result_id': 9573217, '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_P21637837_24-03-2025_10_49_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21637838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21637839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21637840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21637841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21637842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21637843, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21637844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21637845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21637846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21637847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21637848, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21637849, 'pht': 3726}}"}, {'dashboat_entry_day': 1682789, 'dashboard_run_id': 1691101, 'mtr_portfolio_id': 21638619, 'dashboard_result_id': 9573218, '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_P21638619_24-03-2025_11_05_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21638620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21638621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21638622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21638623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21638624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21638625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21638626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21638627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21638628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21638629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21638630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21638631, 'pht': 3726}}"}, {'dashboat_entry_day': 1682789, 'dashboard_run_id': 1691101, 'mtr_portfolio_id': 21639313, 'dashboard_result_id': 9573222, '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_P21639313_24-03-2025_11_11_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21639410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21639411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21639412, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21639413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21639414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21639415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21639416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21639417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21639418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21639419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21639420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21639421, '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 = 21637132 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': 2684697, 'mtr_portfolio_id': 21637132, 'created_at': datetime.datetime(2025, 3, 24, 10, 34, 58), 'result': '0.07509295122764567', 'result_long': None, 'result_double': None}] Qualite : 0.07509295122764567 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21637132 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21637132_24-03-2025_10_34_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21637132 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_P21637132_24-03-2025_10_34_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21637170, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21637171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21637172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21637173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21637174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21637175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21637176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21637177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21637178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21637179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21637180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21637181, 'pht': 3726}}" where mtr_portfolio_id = 21637132 and dashboard_run_id = 1691101 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`=21637132 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9573216, 0.07509295122764567, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21637132_24-03-2025_10_34_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21637170, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21637171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21637172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21637173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21637174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21637175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21637176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21637177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21637178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21637179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21637180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21637181, '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 = 21637837 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': 2684755, 'mtr_portfolio_id': 21637837, 'created_at': datetime.datetime(2025, 3, 24, 10, 48, 59), 'result': '0.07705891919244472', 'result_long': None, 'result_double': None}] Qualite : 0.07705891919244472 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21637837 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21637837_24-03-2025_10_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21637837 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_P21637837_24-03-2025_10_49_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21637838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21637839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21637840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21637841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21637842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21637843, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21637844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21637845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21637846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21637847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21637848, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21637849, 'pht': 3726}}" where mtr_portfolio_id = 21637837 and dashboard_run_id = 1691101 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`=21637837 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9573217, 0.07705891919244472, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21637837_24-03-2025_10_49_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21637838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21637839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21637840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21637841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21637842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21637843, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21637844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21637845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21637846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21637847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21637848, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21637849, '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 = 21638619 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': 2684803, 'mtr_portfolio_id': 21638619, 'created_at': datetime.datetime(2025, 3, 24, 11, 5), 'result': '0.08947101264544254', 'result_long': None, 'result_double': None}] Qualite : 0.08947101264544254 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21638619 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21638619_24-03-2025_11_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21638619 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_P21638619_24-03-2025_11_05_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21638620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21638621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21638622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21638623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21638624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21638625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21638626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21638627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21638628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21638629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21638630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21638631, 'pht': 3726}}" where mtr_portfolio_id = 21638619 and dashboard_run_id = 1691101 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`=21638619 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9573218, 0.08947101264544254, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21638619_24-03-2025_11_05_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21638620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21638621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21638622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21638623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21638624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21638625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21638626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21638627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21638628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21638629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21638630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21638631, '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 = 21639313 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': 2684873, 'mtr_portfolio_id': 21639313, 'created_at': datetime.datetime(2025, 3, 24, 11, 13, 58), 'result': '0.054576549282562725', 'result_long': None, 'result_double': None}] Qualite : 0.054576549282562725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21639313 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21639313_24-03-2025_11_13_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21639313 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_P21639313_24-03-2025_11_13_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21639410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21639411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21639412, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21639413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21639414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21639415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21639416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21639417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21639418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21639419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21639420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21639421, 'pht': 3726}}" where mtr_portfolio_id = 21639313 and dashboard_run_id = 1691101 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`=21639313 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9573222, 0.054576549282562725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21639313_24-03-2025_11_13_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21639410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21639411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21639412, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21639413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21639414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21639415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21639416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21639417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21639418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21639419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21639420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21639421, '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 (21637132,21637837,21638619,21639313) result : ((1346746829,), (1346746833,), (1346746836,), (1346746840,), (1346746911,), (1346746920,), (1346746923,), (1346746931,), (1346746941,), (1346746952,), (1346746980,), (1346746985,), (1346746997,), (1346747017,), (1346747093,), (1346747096,), (1346747100,), (1346747104,), (1346747114,), (1346747176,), (1346747178,), (1346747181,), (1346747184,), (1346747189,), (1346747241,), (1346747245,), (1346747252,), (1346747334,), (1346747344,), (1346747354,), (1346747367,), (1346747404,), (1346747580,), (1346747585,), (1346747590,), (1346747594,), (1346747601,), (1346747764,), (1346747766,), (1346747788,), (1346747841,), (1346747849,), (1346747856,), (1346747859,), (1346747866,), (1346747870,), (1346747909,), (1346747954,), (1346747964,), (1346747998,), (1346748010,), (1346748073,), (1346748078,), (1346748082,), (1346748173,), (1346748178,), (1346748183,), (1346748190,), (1346748205,), (1346748214,), (1346748378,), (1346748383,), (1346748387,), (1346748390,), (1346748396,), (1346748399,), (1346748435,), (1346748439,), (1346748444,), (1346748544,), (1346748505,), (1346748510,), (1346748514,), (1346748527,), (1346748692,), (1346748697,), (1346748705,), (1346748720,), (1346748732,), (1346748735,), (1346748784,), (1346748788,), (1346748792,), (1346748794,), (1346748850,), (1346748853,), (1346748856,), (1346748858,), (1346748865,), (1346748870,), (1346748950,), (1346748958,), (1346748962,), (1346748967,), (1346748973,), (1346748988,), (1346749045,), (1346749051,), (1346749054,), (1346749168,), (1346749185,), (1346749208,), (1346749244,), (1346749440,), (1346749445,), (1346749455,), (1346749461,), (1346749468,), (1346749524,), (1346749537,), (1346749545,), (1346749726,), (1346749750,), (1346749765,), (1346749825,), (1346749828,), (1346749832,), (1346749840,), (1346749852,), (1346749860,), (1346749918,), (1346749921,), (1346749926,), (1346749937,), (1346749944,), (1346750042,), (1346750045,), (1346750048,), (1346750061,), (1346750090,), (1346750225,), (1346750239,), (1346750245,), (1346750398,), (1346750401,), (1346750404,), (1346750408,), (1346750786,), (1346750714,), (1346750728,), (1346750735,), (1346750738,), (1346750912,), (1346750927,), (1346750962,), (1346750969,), (1346751005,), (1346751013,), (1346751017,), (1346751060,), (1346751075,), (1346751256,), (1346751268,), (1346751276,), (1346751280,), (1346751445,), (1346751448,), (1346751451,), (1346751453,), (1346751510,), (1346751513,), (1346751516,), (1346751518,), (1346751523,), (1346751674,), (1346751731,), (1346751737,), (1346751747,), (1346751941,), (1346751945,), (1346751949,), (1346751952,), (1346752134,), (1346752143,), (1346752154,), (1346752167,), (1346752182,), (1346752188,), (1346752267,), (1346752278,), (1346752294,), (1346752308,), (1346752339,), (1346752352,), (1346752370,), (1346752372,), (1346752522,), (1346752527,), (1346752566,), (1346752613,), (1346753170,), (1346753240,), (1346753305,), (1346753384,), (1346753466,), (1346754441,), (1346754475,), (1346754525,), (1346755113,), (1346754754,), (1346754799,), (1346754934,), (1346755082,), (1346755306,), (1346755319,), (1346755331,), (1346755340,), (1346755400,), (1346755406,), (1346755416,), (1346755421,), (1346755426,), (1346755446,), (1346755686,), (1346755696,), (1346755732,), (1346755741,), (1346755744,), (1346755794,), (1346755806,), (1346755810,), (1346755813,), (1346755854,), (1346755864,), (1346755869,), (1346755874,), (1346755885,), (1346755895,), (1346755922,), (1346755954,), (1346756029,), (1346756085,), (1346756096,), (1346756102,), (1346756199,), (1346756226,), (1346756235,), (1346756248,), (1346756328,), (1346756412,), (1346756417,), (1346756571,), (1346756574,), (1346756583,), (1346756596,), (1346756714,), (1346756730,), (1346756822,), (1346756825,), (1346756829,), (1346756840,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'24032025': {'nb_upload': 52, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21639313]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1346756840, 1346756829, 1346756825, 1346756822, 1346756730, 1346756714] map_info['map_portfolio_photo'] : {21639313: [1346756840, 1346756829, 1346756825, 1346756822, 1346756730, 1346756714, 1346756596, 1346756583, 1346756574, 1346756571, 1346756417, 1346756412, 1346756328, 1346756248, 1346756235, 1346756226, 1346756199, 1346756102, 1346756096, 1346756085, 1346756029, 1346755954, 1346755922, 1346755895, 1346755885, 1346755874, 1346755869, 1346755864, 1346755854, 1346755813, 1346755810, 1346755806, 1346755794, 1346755744, 1346755741, 1346755732, 1346755696, 1346755686, 1346755446, 1346755426, 1346755421, 1346755416, 1346755406, 1346755400, 1346755340, 1346755331, 1346755319, 1346755306, 1346755082, 1346754934, 1346754799, 1346754754]} final : True mtd_id 4302 list_pids : [1346756840, 1346756829, 1346756825, 1346756822, 1346756730, 1346756714] Looping around the photos to save general results len do output : 1 /21639313Didn'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, '2684873') ('4302', '21639313', '1346756840', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756829', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756825', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756822', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756730', None, None, None, None, None, '2684873') ('4302', None, None, None, None, None, None, None, '2684873') ('4302', '21639313', '1346756714', None, None, None, None, None, '2684873') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21639313', 'None', None, None, None, None, '2684873'), ('4302', '21639313', '1346756840', None, None, None, None, None, '2684873'), ('4302', '21639313', '1346756829', None, None, None, None, None, '2684873'), ('4302', '21639313', '1346756825', None, None, None, None, None, '2684873'), ('4302', '21639313', '1346756822', None, None, None, None, None, '2684873'), ('4302', '21639313', '1346756730', None, None, None, None, None, '2684873'), ('4302', '21639313', '1346756714', None, None, None, None, None, '2684873')] time used for this insertion : 0.13997530937194824 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.38192176818847656 time spend to save output : 0.14021682739257812 total time spend for step 5 : 0.5221385955810547 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 (2684873) 2.06user 2.69system 0:08.89elapsed 53%CPU (0avgtext+0avgdata 159752maxresident)k 184inputs+12728outputs (21major+63924minor)pagefaults 0swaps