SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22079578) result : ((1350275844,), (1350276733,), (1350277412,), (1350279337,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22079577) result : ((1350275569,), (1350275583,), (1350275588,), (1350275593,), (1350275631,), (1350275635,), (1350275639,), (1350275643,), (1350275651,), (1350275693,), (1350275697,), (1350275702,), (1350275706,), (1350275710,), (1350275768,), (1350275775,), (1350275779,), (1350275923,), (1350275951,), (1350275984,), (1350276019,), (1350276023,), (1350276026,), (1350276402,), (1350276409,), (1350276422,), (1350276432,), (1350276443,), (1350276481,), (1350276869,), (1350276919,), (1350276964,), (1350277000,), (1350277493,), (1350277524,), (1350277577,), (1350277639,), (1350278141,), (1350279009,), (1350279015,), (1350279020,), (1350279028,), (1350279083,), (1350279107,), (1350279139,), (1350279168,), (1350279199,), (1350279620,), (1350279654,), (1350279958,), (1350279987,), (1350280017,), (1350280048,), (1350280278,), (1350280307,), (1350280366,), (1350280430,), (1350280490,), (1350281019,), (1350281049,), (1350281085,), (1350281115,), (1350281184,)) 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 (1350277000) 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 22079579 , 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=22079577 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 (22079579) result : ((1350277851,), (1350279341,), (1350280440,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22079577) result : ((1350275569,), (1350275583,), (1350275588,), (1350275593,), (1350275631,), (1350275635,), (1350275639,), (1350275643,), (1350275651,), (1350275693,), (1350275697,), (1350275702,), (1350275706,), (1350275710,), (1350275768,), (1350275775,), (1350275779,), (1350275923,), (1350275951,), (1350275984,), (1350276019,), (1350276023,), (1350276026,), (1350276402,), (1350276409,), (1350276422,), (1350276432,), (1350276443,), (1350276481,), (1350276869,), (1350276919,), (1350276964,), (1350277000,), (1350277493,), (1350277524,), (1350277577,), (1350277639,), (1350278141,), (1350279009,), (1350279015,), (1350279020,), (1350279028,), (1350279083,), (1350279107,), (1350279139,), (1350279168,), (1350279199,), (1350279620,), (1350279654,), (1350279958,), (1350279987,), (1350280017,), (1350280048,), (1350280278,), (1350280307,), (1350280366,), (1350280430,), (1350280490,), (1350281019,), (1350281049,), (1350281085,), (1350281115,), (1350281184,)) 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 (1350277000) 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 22079580 , 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=22079577 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 (22079580) result : ((1350275840,), (1350275841,), (1350276710,), (1350276712,), (1350277330,), (1350277332,), (1350277333,), (1350278550,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22079577) result : ((1350275569,), (1350275583,), (1350275588,), (1350275593,), (1350275631,), (1350275635,), (1350275639,), (1350275643,), (1350275651,), (1350275693,), (1350275697,), (1350275702,), (1350275706,), (1350275710,), (1350275768,), (1350275775,), (1350275779,), (1350275923,), (1350275951,), (1350275984,), (1350276019,), (1350276023,), (1350276026,), (1350276402,), (1350276409,), (1350276422,), (1350276432,), (1350276443,), (1350276481,), (1350276869,), (1350276919,), (1350276964,), (1350277000,), (1350277493,), (1350277524,), (1350277577,), (1350277639,), (1350278141,), (1350279009,), (1350279015,), (1350279020,), (1350279028,), (1350279083,), (1350279107,), (1350279139,), (1350279168,), (1350279199,), (1350279620,), (1350279654,), (1350279958,), (1350279987,), (1350280017,), (1350280048,), (1350280278,), (1350280307,), (1350280366,), (1350280430,), (1350280490,), (1350281019,), (1350281049,), (1350281085,), (1350281115,), (1350281184,)) 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 (1350277000) 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 22079581 , 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=22079577 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 (22079581) result : ((1350276041,), (1350276426,), (1350276428,), (1350276429,), (1350277842,), (1350279329,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22079577) result : ((1350275569,), (1350275583,), (1350275588,), (1350275593,), (1350275631,), (1350275635,), (1350275639,), (1350275643,), (1350275651,), (1350275693,), (1350275697,), (1350275702,), (1350275706,), (1350275710,), (1350275768,), (1350275775,), (1350275779,), (1350275923,), (1350275951,), (1350275984,), (1350276019,), (1350276023,), (1350276026,), (1350276402,), (1350276409,), (1350276422,), (1350276432,), (1350276443,), (1350276481,), (1350276869,), (1350276919,), (1350276964,), (1350277000,), (1350277493,), (1350277524,), (1350277577,), (1350277639,), (1350278141,), (1350279009,), (1350279015,), (1350279020,), (1350279028,), (1350279083,), (1350279107,), (1350279139,), (1350279168,), (1350279199,), (1350279620,), (1350279654,), (1350279958,), (1350279987,), (1350280017,), (1350280048,), (1350280278,), (1350280307,), (1350280366,), (1350280430,), (1350280490,), (1350281019,), (1350281049,), (1350281085,), (1350281115,), (1350281184,)) 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 (1350277000) 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 22079582 , 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=22079577 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 (22079582) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22079577) result : ((1350275569,), (1350275583,), (1350275588,), (1350275593,), (1350275631,), (1350275635,), (1350275639,), (1350275643,), (1350275651,), (1350275693,), (1350275697,), (1350275702,), (1350275706,), (1350275710,), (1350275768,), (1350275775,), (1350275779,), (1350275923,), (1350275951,), (1350275984,), (1350276019,), (1350276023,), (1350276026,), (1350276402,), (1350276409,), (1350276422,), (1350276432,), (1350276443,), (1350276481,), (1350276869,), (1350276919,), (1350276964,), (1350277000,), (1350277493,), (1350277524,), (1350277577,), (1350277639,), (1350278141,), (1350279009,), (1350279015,), (1350279020,), (1350279028,), (1350279083,), (1350279107,), (1350279139,), (1350279168,), (1350279199,), (1350279620,), (1350279654,), (1350279958,), (1350279987,), (1350280017,), (1350280048,), (1350280278,), (1350280307,), (1350280366,), (1350280430,), (1350280490,), (1350281019,), (1350281049,), (1350281085,), (1350281115,), (1350281184,)) 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 (1350277000) 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 22079583 , 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=22079577 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_gris' 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 (22079583) result : ((1350275842,), (1350276722,), (1350277339,), (1350277341,), (1350277388,), (1350277390,), (1350277392,), (1350279067,), (1350279127,), (1350279129,), (1350279892,), (1350280185,), (1350280186,), (1350280421,), (1350280424,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22079577) result : ((1350275569,), (1350275583,), (1350275588,), (1350275593,), (1350275631,), (1350275635,), (1350275639,), (1350275643,), (1350275651,), (1350275693,), (1350275697,), (1350275702,), (1350275706,), (1350275710,), (1350275768,), (1350275775,), (1350275779,), (1350275923,), (1350275951,), (1350275984,), (1350276019,), (1350276023,), (1350276026,), (1350276402,), (1350276409,), (1350276422,), (1350276432,), (1350276443,), (1350276481,), (1350276869,), (1350276919,), (1350276964,), (1350277000,), (1350277493,), (1350277524,), (1350277577,), (1350277639,), (1350278141,), (1350279009,), (1350279015,), (1350279020,), (1350279028,), (1350279083,), (1350279107,), (1350279139,), (1350279168,), (1350279199,), (1350279620,), (1350279654,), (1350279958,), (1350279987,), (1350280017,), (1350280048,), (1350280278,), (1350280307,), (1350280366,), (1350280430,), (1350280490,), (1350281019,), (1350281049,), (1350281085,), (1350281115,), (1350281184,)) 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 (1350277000) 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 22079584 , 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=22079577 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 (22079584) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22079577) result : ((1350275569,), (1350275583,), (1350275588,), (1350275593,), (1350275631,), (1350275635,), (1350275639,), (1350275643,), (1350275651,), (1350275693,), (1350275697,), (1350275702,), (1350275706,), (1350275710,), (1350275768,), (1350275775,), (1350275779,), (1350275923,), (1350275951,), (1350275984,), (1350276019,), (1350276023,), (1350276026,), (1350276402,), (1350276409,), (1350276422,), (1350276432,), (1350276443,), (1350276481,), (1350276869,), (1350276919,), (1350276964,), (1350277000,), (1350277493,), (1350277524,), (1350277577,), (1350277639,), (1350278141,), (1350279009,), (1350279015,), (1350279020,), (1350279028,), (1350279083,), (1350279107,), (1350279139,), (1350279168,), (1350279199,), (1350279620,), (1350279654,), (1350279958,), (1350279987,), (1350280017,), (1350280048,), (1350280278,), (1350280307,), (1350280366,), (1350280430,), (1350280490,), (1350281019,), (1350281049,), (1350281085,), (1350281115,), (1350281184,)) 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 (1350277000) 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 22079585 , 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=22079577 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 (22079585) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22079577) result : ((1350275569,), (1350275583,), (1350275588,), (1350275593,), (1350275631,), (1350275635,), (1350275639,), (1350275643,), (1350275651,), (1350275693,), (1350275697,), (1350275702,), (1350275706,), (1350275710,), (1350275768,), (1350275775,), (1350275779,), (1350275923,), (1350275951,), (1350275984,), (1350276019,), (1350276023,), (1350276026,), (1350276402,), (1350276409,), (1350276422,), (1350276432,), (1350276443,), (1350276481,), (1350276869,), (1350276919,), (1350276964,), (1350277000,), (1350277493,), (1350277524,), (1350277577,), (1350277639,), (1350278141,), (1350279009,), (1350279015,), (1350279020,), (1350279028,), (1350279083,), (1350279107,), (1350279139,), (1350279168,), (1350279199,), (1350279620,), (1350279654,), (1350279958,), (1350279987,), (1350280017,), (1350280048,), (1350280278,), (1350280307,), (1350280366,), (1350280430,), (1350280490,), (1350281019,), (1350281049,), (1350281085,), (1350281115,), (1350281184,)) 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 (1350277000) 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 22079586 , 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=22079577 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 (22079586) result : ((1350276423,), (1350277351,), (1350277354,), (1350277355,), (1350277356,), (1350277357,), (1350277400,), (1350277833,), (1350279069,), (1350279894,), (1350280192,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22079577) result : ((1350275569,), (1350275583,), (1350275588,), (1350275593,), (1350275631,), (1350275635,), (1350275639,), (1350275643,), (1350275651,), (1350275693,), (1350275697,), (1350275702,), (1350275706,), (1350275710,), (1350275768,), (1350275775,), (1350275779,), (1350275923,), (1350275951,), (1350275984,), (1350276019,), (1350276023,), (1350276026,), (1350276402,), (1350276409,), (1350276422,), (1350276432,), (1350276443,), (1350276481,), (1350276869,), (1350276919,), (1350276964,), (1350277000,), (1350277493,), (1350277524,), (1350277577,), (1350277639,), (1350278141,), (1350279009,), (1350279015,), (1350279020,), (1350279028,), (1350279083,), (1350279107,), (1350279139,), (1350279168,), (1350279199,), (1350279620,), (1350279654,), (1350279958,), (1350279987,), (1350280017,), (1350280048,), (1350280278,), (1350280307,), (1350280366,), (1350280430,), (1350280490,), (1350281019,), (1350281049,), (1350281085,), (1350281115,), (1350281184,)) 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 (1350277000) 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 22079587 , 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=22079577 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 (22079587) result : ((1350275834,), (1350275835,), (1350275836,), (1350276413,), (1350276414,), (1350276416,), (1350276417,), (1350276418,), (1350276420,), (1350276421,), (1350276697,), (1350276698,), (1350276699,), (1350277376,), (1350277378,), (1350279115,), (1350279117,), (1350279625,), (1350280179,), (1350280402,), (1350280405,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22079577) result : ((1350275569,), (1350275583,), (1350275588,), (1350275593,), (1350275631,), (1350275635,), (1350275639,), (1350275643,), (1350275651,), (1350275693,), (1350275697,), (1350275702,), (1350275706,), (1350275710,), (1350275768,), (1350275775,), (1350275779,), (1350275923,), (1350275951,), (1350275984,), (1350276019,), (1350276023,), (1350276026,), (1350276402,), (1350276409,), (1350276422,), (1350276432,), (1350276443,), (1350276481,), (1350276869,), (1350276919,), (1350276964,), (1350277000,), (1350277493,), (1350277524,), (1350277577,), (1350277639,), (1350278141,), (1350279009,), (1350279015,), (1350279020,), (1350279028,), (1350279083,), (1350279107,), (1350279139,), (1350279168,), (1350279199,), (1350279620,), (1350279654,), (1350279958,), (1350279987,), (1350280017,), (1350280048,), (1350280278,), (1350280307,), (1350280366,), (1350280430,), (1350280490,), (1350281019,), (1350281049,), (1350281085,), (1350281115,), (1350281184,)) 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 (1350277000) 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 22079588 , 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=22079577 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 (22079588) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22079577) result : ((1350275569,), (1350275583,), (1350275588,), (1350275593,), (1350275631,), (1350275635,), (1350275639,), (1350275643,), (1350275651,), (1350275693,), (1350275697,), (1350275702,), (1350275706,), (1350275710,), (1350275768,), (1350275775,), (1350275779,), (1350275923,), (1350275951,), (1350275984,), (1350276019,), (1350276023,), (1350276026,), (1350276402,), (1350276409,), (1350276422,), (1350276432,), (1350276443,), (1350276481,), (1350276869,), (1350276919,), (1350276964,), (1350277000,), (1350277493,), (1350277524,), (1350277577,), (1350277639,), (1350278141,), (1350279009,), (1350279015,), (1350279020,), (1350279028,), (1350279083,), (1350279107,), (1350279139,), (1350279168,), (1350279199,), (1350279620,), (1350279654,), (1350279958,), (1350279987,), (1350280017,), (1350280048,), (1350280278,), (1350280307,), (1350280366,), (1350280430,), (1350280490,), (1350281019,), (1350281049,), (1350281085,), (1350281115,), (1350281184,)) 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 (1350277000) 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 22079589 , 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=22079577 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 (22079589) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22079577) result : ((1350275569,), (1350275583,), (1350275588,), (1350275593,), (1350275631,), (1350275635,), (1350275639,), (1350275643,), (1350275651,), (1350275693,), (1350275697,), (1350275702,), (1350275706,), (1350275710,), (1350275768,), (1350275775,), (1350275779,), (1350275923,), (1350275951,), (1350275984,), (1350276019,), (1350276023,), (1350276026,), (1350276402,), (1350276409,), (1350276422,), (1350276432,), (1350276443,), (1350276481,), (1350276869,), (1350276919,), (1350276964,), (1350277000,), (1350277493,), (1350277524,), (1350277577,), (1350277639,), (1350278141,), (1350279009,), (1350279015,), (1350279020,), (1350279028,), (1350279083,), (1350279107,), (1350279139,), (1350279168,), (1350279199,), (1350279620,), (1350279654,), (1350279958,), (1350279987,), (1350280017,), (1350280048,), (1350280278,), (1350280307,), (1350280366,), (1350280430,), (1350280490,), (1350281019,), (1350281049,), (1350281085,), (1350281115,), (1350281184,)) 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 (1350277000) 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`=22079577 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Carton_brun','plastique','papier','mal_croppe','autre_refus','kraft','metal','Carton_gris','environnement','cartonnette','Teint_Dans_La_Masse')) 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`=22079577 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Carton_brun','plastique','papier','mal_croppe','autre_refus','kraft','metal','Carton_gris','environnement','cartonnette','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 22079577, 'sub_port_id': 22079614, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14566648, 'last_updated_at': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 14, 34, 59)}, 'kraft': {'main_port_id': 22079577, 'sub_port_id': 22079615, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14566649, 'last_updated_at': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 14, 34, 59)}, 'autre_refus': {'main_port_id': 22079577, 'sub_port_id': 22079616, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14566650, 'last_updated_at': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 14, 34, 59)}, 'Carton_brun': {'main_port_id': 22079577, 'sub_port_id': 22079617, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14566651, 'last_updated_at': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 14, 34, 59)}, 'mal_croppe': {'main_port_id': 22079577, 'sub_port_id': 22079618, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14566652, 'last_updated_at': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 14, 34, 59)}, 'Carton_gris': {'main_port_id': 22079577, 'sub_port_id': 22079619, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14566653, 'last_updated_at': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 14, 34, 59)}, 'flou': {'main_port_id': 22079577, 'sub_port_id': 22079620, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14566654, 'last_updated_at': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 14, 34, 59)}, 'metal': {'main_port_id': 22079577, 'sub_port_id': 22079621, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14566655, 'last_updated_at': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 14, 34, 59)}, 'cartonnette': {'main_port_id': 22079577, 'sub_port_id': 22079622, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14566656, 'last_updated_at': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 14, 34, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 22079577, 'sub_port_id': 22079623, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14566657, 'last_updated_at': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 14, 34, 59)}, 'environnement': {'main_port_id': 22079577, 'sub_port_id': 22079624, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14566658, 'last_updated_at': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 14, 34, 59)}, 'papier': {'main_port_id': 22079577, 'sub_port_id': 22079625, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14566659, 'last_updated_at': datetime.datetime(2025, 4, 16, 14, 44, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 14, 44, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 14, 34, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22079614,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22079578 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22079615,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22079579 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22079616,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22079580 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22079617,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22079581 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22079618,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22079582 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22079619,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22079583 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22079620,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22079584 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22079621,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22079585 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22079622,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22079586 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22079623,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22079587 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22079624,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22079588 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22079625,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22079589 lien utilise dans velours : https://www.fotonower.com/velours/22079614,22079615,22079616,22079617,22079618,22079619,22079620,22079621,22079622,22079623,22079624,22079625?tags=plastique,kraft,autre_refus,Carton_brun,mal_croppe,Carton_gris,flou,metal,cartonnette,Teint_Dans_La_Masse,environnement,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22079577]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1350281184, 1350281115, 1350281085, 1350281049, 1350281019, 1350280490, 1350280430, 1350280366, 1350280307, 1350280278] map_info['map_portfolio_photo'] : {22079577: [1350281184, 1350281115, 1350281085, 1350281049, 1350281019, 1350280490, 1350280430, 1350280366, 1350280307, 1350280278, 1350280048, 1350280017, 1350279987, 1350279958, 1350279654, 1350279620, 1350279199, 1350279168, 1350279139, 1350279107, 1350279083, 1350279028, 1350279020, 1350279015, 1350279009, 1350278141, 1350277639, 1350277577, 1350277524, 1350277493, 1350277000, 1350276964, 1350276919, 1350276869, 1350276481, 1350276443, 1350276432, 1350276422, 1350276409, 1350276402, 1350276026, 1350276023, 1350276019, 1350275984, 1350275951, 1350275923, 1350275779, 1350275775, 1350275768, 1350275710, 1350275706, 1350275702, 1350275697, 1350275693, 1350275651, 1350275643, 1350275639, 1350275635, 1350275631, 1350275593, 1350275588, 1350275583, 1350275569]} final : False mtd_id 4302 list_pids : [1350281184, 1350281115, 1350281085, 1350281049, 1350281019, 1350280490, 1350280430, 1350280366, 1350280307, 1350280278] Looping around the photos to save general results len do output : 1 /22079577. 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, '2726184') ('4302', '22079577', '1350281184', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350281115', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350281085', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350281049', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350281019', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280490', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280430', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280366', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280307', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280278', None, None, None, None, None, '2726184') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22079577', "{'plastique': 22079578, 'kraft': 22079579, 'autre_refus': 22079580, 'Carton_brun': 22079581, 'mal_croppe': 22079582, 'Carton_gris': 22079583, 'flou': 22079584, 'metal': 22079585, 'cartonnette': 22079586, 'Teint_Dans_La_Masse': 22079587, 'environnement': 22079588, 'papier': 22079589}", None, None, None, None, '2726184'), ('4302', '22079577', '1350281184', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350281115', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350281085', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350281049', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350281019', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350280490', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350280430', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350280366', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350280307', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350280278', None, None, None, None, None, '2726184')] time used for this insertion : 0.014762163162231445 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4265143871307373 time spend to save output : 0.015179634094238281 total time spend for step 1 : 0.4416940212249756 step2:final Wed Apr 16 14:47:28 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 (22079577) 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 22079577 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1350275593,1350275588,1350275583,1350275651,1350275569,1350275643,1350275639,1350275635,1350275631,1350275710,1350275706,1350275702,1350275697,1350275693,1350275779,1350275775,1350275768,1350276026,1350276023,1350276019,1350275984,1350275951,1350275923,1350276481,1350276443,1350276432,1350276422,1350276409,1350276402,1350277000,1350276964,1350276919,1350276869,1350277639,1350277577,1350277524,1350277493,1350278141,1350279028,1350279020,1350279015,1350279009,1350279199,1350279168,1350279139,1350279107,1350279083,1350279654,1350279620,1350280048,1350280017,1350279987,1350279958,1350280490,1350280430,1350280366,1350280307,1350280278,1350281115,1350281085,1350281049,1350281019,1350281184); 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([22079577]) Inside saveOutput : final : False verbose : True original output for save of step final : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ('0.06771004724594343',), 1350280490: ('0.06771004724594343',), 1350280430: ('0.06771004724594343',), 1350280366: ('0.06771004724594343',), 1350280307: ('0.06771004724594343',), 1350280278: ('0.06771004724594343',)} new output for save of step final : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ('0.06771004724594343',), 1350280490: ('0.06771004724594343',), 1350280430: ('0.06771004724594343',), 1350280366: ('0.06771004724594343',), 1350280307: ('0.06771004724594343',), 1350280278: ('0.06771004724594343',)} [1350281184, 1350281115, 1350281085, 1350281049, 1350281019, 1350280490, 1350280430, 1350280366, 1350280307, 1350280278] map_info['map_portfolio_photo'] : {22079577: [1350281184, 1350281115, 1350281085, 1350281049, 1350281019, 1350280490, 1350280430, 1350280366, 1350280307, 1350280278, 1350280048, 1350280017, 1350279987, 1350279958, 1350279654, 1350279620, 1350279199, 1350279168, 1350279139, 1350279107, 1350279083, 1350279028, 1350279020, 1350279015, 1350279009, 1350278141, 1350277639, 1350277577, 1350277524, 1350277493, 1350277000, 1350276964, 1350276919, 1350276869, 1350276481, 1350276443, 1350276432, 1350276422, 1350276409, 1350276402, 1350276026, 1350276023, 1350276019, 1350275984, 1350275951, 1350275923, 1350275779, 1350275775, 1350275768, 1350275710, 1350275706, 1350275702, 1350275697, 1350275693, 1350275651, 1350275643, 1350275639, 1350275635, 1350275631, 1350275593, 1350275588, 1350275583, 1350275569]} final : False mtd_id 4302 list_pids : [1350281184, 1350281115, 1350281085, 1350281049, 1350281019, 1350280490, 1350280430, 1350280366, 1350280307, 1350280278] Looping around the photos to save general results len do output : 10 /1350281184.Didn't retrieve data . /1350281115.Didn't retrieve data . /1350281085.Didn't retrieve data . /1350281049.Didn't retrieve data . /1350281019.Didn't retrieve data . /1350280490.Didn't retrieve data . /1350280430.Didn't retrieve data . /1350280366.Didn't retrieve data . /1350280307.Didn't retrieve data . /1350280278.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, '2726184') ('4302', '22079577', '1350281184', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350281115', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350281085', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350281049', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350281019', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280490', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280430', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280366', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280307', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280278', None, None, None, None, None, '2726184') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22079577', '1350281184', '0.06771004724594343', None, None, None, None, '2726184'), ('4302', '22079577', '1350281115', '0.06771004724594343', None, None, None, None, '2726184'), ('4302', '22079577', '1350281085', '0.06771004724594343', None, None, None, None, '2726184'), ('4302', '22079577', '1350281049', '0.06771004724594343', None, None, None, None, '2726184'), ('4302', '22079577', '1350281019', '0.06771004724594343', None, None, None, None, '2726184'), ('4302', '22079577', '1350280490', '0.06771004724594343', None, None, None, None, '2726184'), ('4302', '22079577', '1350280430', '0.06771004724594343', None, None, None, None, '2726184'), ('4302', '22079577', '1350280366', '0.06771004724594343', None, None, None, None, '2726184'), ('4302', '22079577', '1350280307', '0.06771004724594343', None, None, None, None, '2726184'), ('4302', '22079577', '1350280278', '0.06771004724594343', None, None, None, None, '2726184')] time used for this insertion : 0.01440572738647461 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06698799133300781 time spend to save output : 0.015050888061523438 total time spend for step 2 : 0.08203887939453125 step3:velours_tree Wed Apr 16 14:47:28 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 : {22079577: [{'plastique': 22079578, 'kraft': 22079579, 'autre_refus': 22079580, 'Carton_brun': 22079581, 'mal_croppe': 22079582, 'Carton_gris': 22079583, 'flou': 22079584, 'metal': 22079585, 'cartonnette': 22079586, 'Teint_Dans_La_Masse': 22079587, 'environnement': 22079588, 'papier': 22079589}]} input_args_next_step : {22079577: ()} output_args : {22079577: [{'plastique': 22079578, 'kraft': 22079579, 'autre_refus': 22079580, 'Carton_brun': 22079581, 'mal_croppe': 22079582, 'Carton_gris': 22079583, 'flou': 22079584, 'metal': 22079585, 'cartonnette': 22079586, 'Teint_Dans_La_Masse': 22079587, 'environnement': 22079588, 'papier': 22079589}]} args : 22079577 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 : ({'plastique': 22079578, 'kraft': 22079579, 'autre_refus': 22079580, 'Carton_brun': 22079581, 'mal_croppe': 22079582, 'Carton_gris': 22079583, 'flou': 22079584, 'metal': 22079585, 'cartonnette': 22079586, 'Teint_Dans_La_Masse': 22079587, 'environnement': 22079588, 'papier': 22079589},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22079577) 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([22079577]) 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.5556480884552002 time spend to save output : 6.341934204101562e-05 total time spend for step 3 : 0.5557115077972412 step4:send_mail_cod Wed Apr 16 14:47:28 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 : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ('0.06771004724594343',), 1350280490: ('0.06771004724594343',), 1350280430: ('0.06771004724594343',), 1350280366: ('0.06771004724594343',), 1350280307: ('0.06771004724594343',), 1350280278: ('0.06771004724594343',)} input_args_next_step : {1350281184: ()} output_args : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ('0.06771004724594343',), 1350280490: ('0.06771004724594343',), 1350280430: ('0.06771004724594343',), 1350280366: ('0.06771004724594343',), 1350280307: ('0.06771004724594343',), 1350280278: ('0.06771004724594343',)} args : 1350281184 depend.output_id : 0 input_args_next_step : {1350281184: ('0.06771004724594343',), 1350281115: ()} output_args : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ('0.06771004724594343',), 1350280490: ('0.06771004724594343',), 1350280430: ('0.06771004724594343',), 1350280366: ('0.06771004724594343',), 1350280307: ('0.06771004724594343',), 1350280278: ('0.06771004724594343',)} args : 1350281115 depend.output_id : 0 input_args_next_step : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ()} output_args : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ('0.06771004724594343',), 1350280490: ('0.06771004724594343',), 1350280430: ('0.06771004724594343',), 1350280366: ('0.06771004724594343',), 1350280307: ('0.06771004724594343',), 1350280278: ('0.06771004724594343',)} args : 1350281085 depend.output_id : 0 input_args_next_step : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ()} output_args : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ('0.06771004724594343',), 1350280490: ('0.06771004724594343',), 1350280430: ('0.06771004724594343',), 1350280366: ('0.06771004724594343',), 1350280307: ('0.06771004724594343',), 1350280278: ('0.06771004724594343',)} args : 1350281049 depend.output_id : 0 input_args_next_step : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ()} output_args : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ('0.06771004724594343',), 1350280490: ('0.06771004724594343',), 1350280430: ('0.06771004724594343',), 1350280366: ('0.06771004724594343',), 1350280307: ('0.06771004724594343',), 1350280278: ('0.06771004724594343',)} args : 1350281019 depend.output_id : 0 input_args_next_step : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ('0.06771004724594343',), 1350280490: ()} output_args : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ('0.06771004724594343',), 1350280490: ('0.06771004724594343',), 1350280430: ('0.06771004724594343',), 1350280366: ('0.06771004724594343',), 1350280307: ('0.06771004724594343',), 1350280278: ('0.06771004724594343',)} args : 1350280490 depend.output_id : 0 input_args_next_step : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ('0.06771004724594343',), 1350280490: ('0.06771004724594343',), 1350280430: ()} output_args : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ('0.06771004724594343',), 1350280490: ('0.06771004724594343',), 1350280430: ('0.06771004724594343',), 1350280366: ('0.06771004724594343',), 1350280307: ('0.06771004724594343',), 1350280278: ('0.06771004724594343',)} args : 1350280430 depend.output_id : 0 input_args_next_step : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ('0.06771004724594343',), 1350280490: ('0.06771004724594343',), 1350280430: ('0.06771004724594343',), 1350280366: ()} output_args : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ('0.06771004724594343',), 1350280490: ('0.06771004724594343',), 1350280430: ('0.06771004724594343',), 1350280366: ('0.06771004724594343',), 1350280307: ('0.06771004724594343',), 1350280278: ('0.06771004724594343',)} args : 1350280366 depend.output_id : 0 input_args_next_step : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ('0.06771004724594343',), 1350280490: ('0.06771004724594343',), 1350280430: ('0.06771004724594343',), 1350280366: ('0.06771004724594343',), 1350280307: ()} output_args : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ('0.06771004724594343',), 1350280490: ('0.06771004724594343',), 1350280430: ('0.06771004724594343',), 1350280366: ('0.06771004724594343',), 1350280307: ('0.06771004724594343',), 1350280278: ('0.06771004724594343',)} args : 1350280307 depend.output_id : 0 input_args_next_step : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ('0.06771004724594343',), 1350280490: ('0.06771004724594343',), 1350280430: ('0.06771004724594343',), 1350280366: ('0.06771004724594343',), 1350280307: ('0.06771004724594343',), 1350280278: ()} output_args : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ('0.06771004724594343',), 1350280490: ('0.06771004724594343',), 1350280430: ('0.06771004724594343',), 1350280366: ('0.06771004724594343',), 1350280307: ('0.06771004724594343',), 1350280278: ('0.06771004724594343',)} args : 1350280278 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 : {22079577: [{'plastique': 22079578, 'kraft': 22079579, 'autre_refus': 22079580, 'Carton_brun': 22079581, 'mal_croppe': 22079582, 'Carton_gris': 22079583, 'flou': 22079584, 'metal': 22079585, 'cartonnette': 22079586, 'Teint_Dans_La_Masse': 22079587, 'environnement': 22079588, 'papier': 22079589}]} input_args_next_step : {1350281184: ('0.06771004724594343',), 1350281115: ('0.06771004724594343',), 1350281085: ('0.06771004724594343',), 1350281049: ('0.06771004724594343',), 1350281019: ('0.06771004724594343',), 1350280490: ('0.06771004724594343',), 1350280430: ('0.06771004724594343',), 1350280366: ('0.06771004724594343',), 1350280307: ('0.06771004724594343',), 1350280278: ('0.06771004724594343',), 22079577: ()} output_args : {22079577: [{'plastique': 22079578, 'kraft': 22079579, 'autre_refus': 22079580, 'Carton_brun': 22079581, 'mal_croppe': 22079582, 'Carton_gris': 22079583, 'flou': 22079584, 'metal': 22079585, 'cartonnette': 22079586, 'Teint_Dans_La_Masse': 22079587, 'environnement': 22079588, 'papier': 22079589}]} args : 22079577 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :11, first value : ('0.06771004724594343',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22079577) 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 (1350281184,1350281115,1350281085,1350281049,1350281019,1350280490,1350280430,1350280366,1350280307,1350280278) Found this number of photos: 10 ##### Call download_photos : nb_thread : 5 begin to download photo : 1350280278 begin to download photo : 1350280430 begin to download photo : 1350281049 begin to download photo : 1350281184 download finish for photo 1350281049 begin to download photo : 1350281085 download finish for photo 1350281184 download finish for photo 1350280278 begin to download photo : 1350280307 download finish for photo 1350280430 begin to download photo : 1350280490 download finish for photo 1350281085 begin to download photo : 1350281115 download finish for photo 1350280490 begin to download photo : 1350281019 download finish for photo 1350280307 begin to download photo : 1350280366 download finish for photo 1350281115 download finish for photo 1350281019 download finish for photo 1350280366 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 : 10 ; length of list_pids : 10 ; length of list_args : 10 results_Auto_P22079577_16-04-2025_14_47_29.pdf 22079578 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=22079578 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350275844: '1744806851_1874021_1350275639_91a5fe945dab61cd57b6547e70f4752d_rle_crop_3749090431_0.png', 1350276733: '1744806973_1875222_1350275639_91a5fe945dab61cd57b6547e70f4752d_rle_crop_3749090431_0.png', 1350277412: '1744807044_3613922_1350275702_d252bdc55b2c7eef710f9cc5c25368d4_rle_crop_3749099562_0.png', 1350279337: '1744807271_1878494_1350278141_e89104fe3bef0f4c94617c867039391c_rle_crop_3749102705_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/f2b127cd88c4a77b07a7f737a46bf55e_94644515.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/f2b127cd88c4a77b07a7f737a46bf55e_17811318.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/5c38350b036401493071714249eafff8_32569885.png change filename to text .imagette220795781744807649/ imagette220795781744807649/1744807271_1878494_1350278141_e89104fe3bef0f4c94617c867039391c_rle_crop_3749102705_0.png.png imagette220795781744807649/1744806973_1875222_1350275639_91a5fe945dab61cd57b6547e70f4752d_rle_crop_3749090431_0.png.png imagette220795781744807649/1744806851_1874021_1350275639_91a5fe945dab61cd57b6547e70f4752d_rle_crop_3749090431_0.png.png imagette220795781744807649/1744807044_3613922_1350275702_d252bdc55b2c7eef710f9cc5c25368d4_rle_crop_3749099562_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/fd5457d14b6cda63cc0a9b33e3d72b82_77121942.png imagette220795781744807649 22079579 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=22079579 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350277851: '1744807093_1876389_1350276026_23a1ee9c74bec1a6f22677d73d163bc2_rle_crop_3749099707_0.png', 1350279341: '1744807271_1878494_1350278141_e89104fe3bef0f4c94617c867039391c_rle_crop_3749102702_0.png', 1350280440: '1744807427_2833492_1350279107_f5105e71221576f0cc6489b7a5d72ec4_rle_crop_3749111720_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/1b0be9c0d5e3b81b1d24f943d9333b02_26440246.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/db0dae58491f78868429d49cc2c38d4a_96913154.png change filename to text .imagette220795791744807649/ imagette220795791744807649/1744807093_1876389_1350276026_23a1ee9c74bec1a6f22677d73d163bc2_rle_crop_3749099707_0.png.png imagette220795791744807649/1744807271_1878494_1350278141_e89104fe3bef0f4c94617c867039391c_rle_crop_3749102702_0.png.png imagette220795791744807649/1744807427_2833492_1350279107_f5105e71221576f0cc6489b7a5d72ec4_rle_crop_3749111720_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/9fc23b60ab29b6ff3fc811efed6e1652_61243657.png imagette220795791744807649 22079580 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=22079580 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350275840: '1744806851_1874021_1350275643_d7e583ab082ee1356ac5c2ca17c242cc_rle_crop_3749090413_0.png', 1350275841: '1744806851_1874021_1350275643_d7e583ab082ee1356ac5c2ca17c242cc_rle_crop_3749090415_0.png', 1350276710: '1744806973_1875222_1350275643_d7e583ab082ee1356ac5c2ca17c242cc_rle_crop_3749090413_0.png', 1350276712: '1744806973_1875222_1350275643_d7e583ab082ee1356ac5c2ca17c242cc_rle_crop_3749090415_0.png', 1350277330: '1744807030_1875887_1350276023_63f5403f872c9c7c690f12e9a462d012_rle_crop_3749099483_0.png', 1350277332: '1744807030_1875887_1350276019_bee53c354f7f4d7616792feb9ba9dc7e_rle_crop_3749099495_0.png', 1350277333: '1744807030_1875887_1350275923_4bbd5834be9b18dcac770bbf1b8cece1_rle_crop_3749099538_0.png', 1350278550: '1744807154_1876919_1350277493_59df1bfec32e16c45219eab13b91f666_rle_crop_3749100179_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/6252f5b24823b8c83b9ae2dd986f5478_30336324.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/57802f03a71b9a3bd1d745505a123ed6_92470719.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/6252f5b24823b8c83b9ae2dd986f5478_99770689.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/57802f03a71b9a3bd1d745505a123ed6_77543780.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/3655dc62b41fc8ac519469d744342683_13173170.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/66ce13d444a0acca1a344ba92a6460f6_27302327.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/5d98c77de8c9f930a1dfef6e94c6f967_81813631.png change filename to text .imagette220795801744807649/ imagette220795801744807649/1744807030_1875887_1350276023_63f5403f872c9c7c690f12e9a462d012_rle_crop_3749099483_0.png.png imagette220795801744807649/1744807030_1875887_1350276019_bee53c354f7f4d7616792feb9ba9dc7e_rle_crop_3749099495_0.png.png imagette220795801744807649/1744806851_1874021_1350275643_d7e583ab082ee1356ac5c2ca17c242cc_rle_crop_3749090415_0.png.png imagette220795801744807649/1744807030_1875887_1350275923_4bbd5834be9b18dcac770bbf1b8cece1_rle_crop_3749099538_0.png.png imagette220795801744807649/1744806973_1875222_1350275643_d7e583ab082ee1356ac5c2ca17c242cc_rle_crop_3749090413_0.png.png imagette220795801744807649/1744806851_1874021_1350275643_d7e583ab082ee1356ac5c2ca17c242cc_rle_crop_3749090413_0.png.png imagette220795801744807649/1744807154_1876919_1350277493_59df1bfec32e16c45219eab13b91f666_rle_crop_3749100179_0.png.png imagette220795801744807649/1744806973_1875222_1350275643_d7e583ab082ee1356ac5c2ca17c242cc_rle_crop_3749090415_0.png.png imagette220795821744807650/ imagette220795841744807650/ imagette220795851744807650/ wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/6c4c7a82400a1f75a4177977a349a8de_13960850.png imagette220795801744807649 22079582 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=22079582 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220795821744807650 22079584 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=22079584 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220795841744807650 22079585 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=22079585 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220795851744807650 22079586 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=22079586 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350276423: '1744806943_2819277_1350275583_eaa64e9535a9b948f20a915e70f5d208_rle_crop_3749096495_0.png', 1350277351: '1744807030_1875887_1350276019_bee53c354f7f4d7616792feb9ba9dc7e_rle_crop_3749099499_0.png', 1350277354: '1744807030_1875887_1350275951_b0da36fb5aa250d6e66abd2ee48d2d12_rle_crop_3749099518_0.png', 1350277355: '1744807030_1875887_1350275951_b0da36fb5aa250d6e66abd2ee48d2d12_rle_crop_3749099523_0.png', 1350277356: '1744807030_1875887_1350275923_4bbd5834be9b18dcac770bbf1b8cece1_rle_crop_3749099541_0.png', 1350277357: '1744807030_1875887_1350275923_4bbd5834be9b18dcac770bbf1b8cece1_rle_crop_3749099539_0.png', 1350277400: '1744807044_3613922_1350275706_bca831fe0950520de3dd13bdb38a5acb_rle_crop_3749099551_0.png', 1350277833: '1744807093_1876389_1350276026_23a1ee9c74bec1a6f22677d73d163bc2_rle_crop_3749099709_0.png', 1350279069: '1744807213_1877586_1350277639_363f9525eb496f073aeb4010cb82aec7_rle_crop_3749100546_0.png', 1350279894: '1744807333_1879368_1350277639_363f9525eb496f073aeb4010cb82aec7_rle_crop_3749100546_0.png', 1350280192: '1744807393_1880053_1350276481_67bf3ed0342cf7a8642ea18813c0b28a_rle_crop_3749108626_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/2bcee82186d659cfa158e2fcd77d5920_57389955.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/1b8aee0e219d0ff16bd402d7ec432849_53898942.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/080647b74f9b4efa1fdc2b9d026684d8_5284953.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/702fff34cb2ed3a55b545a87a3ee25ee_88853439.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/3af1f2b62dfe216f734db707c67ef911_99273837.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/9875d2b8d185866bd6649df98e97d9e7_98847967.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/1776980b1cc622dabc7bd41fdc4ae39a_98742090.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/23e65e9806510572bf71867a56a52b4a_67477628.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/db2fecb9807436563530669bdbb3f980_26367691.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/db2fecb9807436563530669bdbb3f980_51859402.png change filename to text .imagette220795861744807650/ imagette220795861744807650/1744807213_1877586_1350277639_363f9525eb496f073aeb4010cb82aec7_rle_crop_3749100546_0.png.png imagette220795861744807650/1744807030_1875887_1350276019_bee53c354f7f4d7616792feb9ba9dc7e_rle_crop_3749099499_0.png.png imagette220795861744807650/1744807044_3613922_1350275706_bca831fe0950520de3dd13bdb38a5acb_rle_crop_3749099551_0.png.png imagette220795861744807650/1744807030_1875887_1350275951_b0da36fb5aa250d6e66abd2ee48d2d12_rle_crop_3749099518_0.png.png imagette220795861744807650/1744806943_2819277_1350275583_eaa64e9535a9b948f20a915e70f5d208_rle_crop_3749096495_0.png.png imagette220795861744807650/1744807030_1875887_1350275923_4bbd5834be9b18dcac770bbf1b8cece1_rle_crop_3749099539_0.png.png imagette220795861744807650/1744807393_1880053_1350276481_67bf3ed0342cf7a8642ea18813c0b28a_rle_crop_3749108626_0.png.png imagette220795861744807650/1744807030_1875887_1350275923_4bbd5834be9b18dcac770bbf1b8cece1_rle_crop_3749099541_0.png.png imagette220795861744807650/1744807093_1876389_1350276026_23a1ee9c74bec1a6f22677d73d163bc2_rle_crop_3749099709_0.png.png imagette220795861744807650/1744807030_1875887_1350275951_b0da36fb5aa250d6e66abd2ee48d2d12_rle_crop_3749099523_0.png.png imagette220795861744807650/1744807333_1879368_1350277639_363f9525eb496f073aeb4010cb82aec7_rle_crop_3749100546_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/bae1e7a4b9e57b440f22846e12062130_70534569.png imagette220795861744807650 22079581 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=22079581 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350276041: '1744806913_1874568_1350275768_acf5d6f7eb4f32b68e55d6afa0a07ea3_rle_crop_3749096039_0.png', 1350276426: '1744806943_2819277_1350275651_4ef66562f5b37cfe4d11b39bc14a2d0b_rle_crop_3749096344_0.png', 1350276428: '1744806943_2819277_1350275593_e4799d674f5b03ad051f6d07aef925ee_rle_crop_3749096471_0.png', 1350276429: '1744806943_2819277_1350275583_eaa64e9535a9b948f20a915e70f5d208_rle_crop_3749096500_0.png', 1350277842: '1744807093_1876389_1350276026_23a1ee9c74bec1a6f22677d73d163bc2_rle_crop_3749099713_0.png', 1350279329: '1744807271_1878494_1350278141_e89104fe3bef0f4c94617c867039391c_rle_crop_3749102708_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/d562faa0f292a1d44461b92818853344_70132789.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/c4c28c98553b0899ceb9c8e53de8a0f3_53474947.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/c06bc4b797ca5573beed94b66bac7fc0_57052488.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/00c5dd2de85053234c45c89359284c43_27986945.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/722b747dff829a2524dcfb5ce1de7ec1_24944356.png change filename to text .imagette220795811744807650/ imagette220795811744807650/1744806913_1874568_1350275768_acf5d6f7eb4f32b68e55d6afa0a07ea3_rle_crop_3749096039_0.png.png imagette220795811744807650/1744806943_2819277_1350275593_e4799d674f5b03ad051f6d07aef925ee_rle_crop_3749096471_0.png.png imagette220795811744807650/1744807271_1878494_1350278141_e89104fe3bef0f4c94617c867039391c_rle_crop_3749102708_0.png.png imagette220795811744807650/1744807093_1876389_1350276026_23a1ee9c74bec1a6f22677d73d163bc2_rle_crop_3749099713_0.png.png imagette220795811744807650/1744806943_2819277_1350275651_4ef66562f5b37cfe4d11b39bc14a2d0b_rle_crop_3749096344_0.png.png imagette220795811744807650/1744806943_2819277_1350275583_eaa64e9535a9b948f20a915e70f5d208_rle_crop_3749096500_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/a5a847fb0b3095f337d490982e91764d_54931693.png imagette220795811744807650 22079583 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=22079583 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350275842: '1744806851_1874021_1350275643_d7e583ab082ee1356ac5c2ca17c242cc_rle_crop_3749090425_0.png', 1350276722: '1744806973_1875222_1350275643_d7e583ab082ee1356ac5c2ca17c242cc_rle_crop_3749090425_0.png', 1350277339: '1744807030_1875887_1350275951_b0da36fb5aa250d6e66abd2ee48d2d12_rle_crop_3749099519_0.png', 1350277341: '1744807030_1875887_1350275923_4bbd5834be9b18dcac770bbf1b8cece1_rle_crop_3749099536_0.png', 1350277388: '1744807044_3613922_1350275702_d252bdc55b2c7eef710f9cc5c25368d4_rle_crop_3749099560_0.png', 1350277390: '1744807044_3613922_1350275702_d252bdc55b2c7eef710f9cc5c25368d4_rle_crop_3749099559_0.png', 1350277392: '1744807044_3613922_1350275702_d252bdc55b2c7eef710f9cc5c25368d4_rle_crop_3749099564_0.png', 1350279067: '1744807213_1877586_1350276869_9d152bf3967e5a8e75293a5acb979daf_rle_crop_3749100713_0.png', 1350279127: '1744807182_2826361_1350276443_0c1f1b37d3cd8a6808704893784f4a01_rle_crop_3749100945_0.png', 1350279129: '1744807182_2826361_1350276402_219bcbc7f7d588adac407a9e34ae2cd6_rle_crop_3749101026_0.png', 1350279892: '1744807333_1879368_1350276869_9d152bf3967e5a8e75293a5acb979daf_rle_crop_3749100713_0.png', 1350280185: '1744807393_1880053_1350276481_67bf3ed0342cf7a8642ea18813c0b28a_rle_crop_3749108628_0.png', 1350280186: '1744807393_1880053_1350276481_67bf3ed0342cf7a8642ea18813c0b28a_rle_crop_3749108622_0.png', 1350280421: '1744807427_2833492_1350279654_76224fd2a57e00506ac54e6bbe997970_rle_crop_3749109406_0.png', 1350280424: '1744807427_2833492_1350279168_435c69598b9768470a0b98a6b0af4b17_rle_crop_3749109423_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/c3df3ca7123cdcf56aba1a008f80c06c_2813877.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/c3df3ca7123cdcf56aba1a008f80c06c_49432016.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/a2398e6c98ce716cdc7eba11e0878f6b_25798415.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/73625512f5b45312494b430b42026b08_84662987.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/228c3cf982d8b5b60ddf37787ba86b41_37222877.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/62ed1c16bdaaff56eec7fe84d49bcce7_94638363.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/fe0a6f946cea7f72ca9bcfe0d0fd5b4c_12140757.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/46af635373221ab9021bcfb6d0edfb84_30280177.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/5e26be95bb632d140e35c799385a25b9_16076780.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/48bad6603a98c5211a86a1c33fdfb71e_82857219.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/46af635373221ab9021bcfb6d0edfb84_84812810.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/178cb5310c5bb39fcf98f35ff5e3c874_39641295.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/94d8fc31549ebfaa6731d68dc70c95cb_31990852.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/7910bb5cd09980cf5260d703134c0f8e_53632296.png change filename to text .imagette220795831744807651/ imagette220795831744807651/1744807182_2826361_1350276443_0c1f1b37d3cd8a6808704893784f4a01_rle_crop_3749100945_0.png.png imagette220795831744807651/1744807030_1875887_1350275951_b0da36fb5aa250d6e66abd2ee48d2d12_rle_crop_3749099519_0.png.png imagette220795831744807651/1744806851_1874021_1350275643_d7e583ab082ee1356ac5c2ca17c242cc_rle_crop_3749090425_0.png.png imagette220795831744807651/1744807427_2833492_1350279168_435c69598b9768470a0b98a6b0af4b17_rle_crop_3749109423_0.png.png imagette220795831744807651/1744807427_2833492_1350279654_76224fd2a57e00506ac54e6bbe997970_rle_crop_3749109406_0.png.png imagette220795831744807651/1744806973_1875222_1350275643_d7e583ab082ee1356ac5c2ca17c242cc_rle_crop_3749090425_0.png.png imagette220795831744807651/1744807393_1880053_1350276481_67bf3ed0342cf7a8642ea18813c0b28a_rle_crop_3749108622_0.png.png imagette220795831744807651/1744807393_1880053_1350276481_67bf3ed0342cf7a8642ea18813c0b28a_rle_crop_3749108628_0.png.png imagette220795831744807651/1744807030_1875887_1350275923_4bbd5834be9b18dcac770bbf1b8cece1_rle_crop_3749099536_0.png.png imagette220795831744807651/1744807044_3613922_1350275702_d252bdc55b2c7eef710f9cc5c25368d4_rle_crop_3749099560_0.png.png imagette220795831744807651/1744807333_1879368_1350276869_9d152bf3967e5a8e75293a5acb979daf_rle_crop_3749100713_0.png.png imagette220795831744807651/1744807213_1877586_1350276869_9d152bf3967e5a8e75293a5acb979daf_rle_crop_3749100713_0.png.png imagette220795831744807651/1744807044_3613922_1350275702_d252bdc55b2c7eef710f9cc5c25368d4_rle_crop_3749099559_0.png.png imagette220795831744807651/1744807182_2826361_1350276402_219bcbc7f7d588adac407a9e34ae2cd6_rle_crop_3749101026_0.png.png imagette220795831744807651/1744807044_3613922_1350275702_d252bdc55b2c7eef710f9cc5c25368d4_rle_crop_3749099564_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/79c902a287fa938c599eda6aa2fbc6a8_82669286.png imagette220795831744807651 22079587 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=22079587 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350276697: '1744806973_1875222_1350275643_d7e583ab082ee1356ac5c2ca17c242cc_rle_crop_3749090427_0.png', 1350280405: '1744807427_2833492_1350279083_1f298f086786a87122f42d3213663070_rle_crop_3749112949_0.png', 1350280402: '1744807427_2833492_1350279139_3a0a4f34eee40120080a587abd2d9136_rle_crop_3749109435_0.png', 1350280179: '1744807393_1880053_1350276481_67bf3ed0342cf7a8642ea18813c0b28a_rle_crop_3749108623_0.png', 1350279625: '1744807307_2827886_1350279009_b05b2391cdb0741ceed1356ee57b2db4_rle_crop_3749107957_0.png', 1350279117: '1744807182_2826361_1350276443_0c1f1b37d3cd8a6808704893784f4a01_rle_crop_3749100948_0.png', 1350279115: '1744807182_2826361_1350276443_0c1f1b37d3cd8a6808704893784f4a01_rle_crop_3749100951_0.png', 1350277378: '1744807044_3613922_1350275693_f8eed366774884f6aff2c01120738879_rle_crop_3749099597_0.png', 1350277376: '1744807044_3613922_1350275697_bf24a2ecff57c3524bb8086a396d4bf1_rle_crop_3749099581_0.png', 1350276699: '1744806973_1875222_1350275635_b797acf12a1d1e6b62dd4bca146da2cc_rle_crop_3749090461_0.png', 1350276698: '1744806973_1875222_1350275639_91a5fe945dab61cd57b6547e70f4752d_rle_crop_3749090433_0.png', 1350275834: '1744806851_1874021_1350275643_d7e583ab082ee1356ac5c2ca17c242cc_rle_crop_3749090427_0.png', 1350276421: '1744806943_2819277_1350275569_fb4b0e9eeb259f15e059401b5de8dc09_rle_crop_3749096514_0.png', 1350276420: '1744806943_2819277_1350275583_eaa64e9535a9b948f20a915e70f5d208_rle_crop_3749096504_0.png', 1350276418: '1744806943_2819277_1350275583_eaa64e9535a9b948f20a915e70f5d208_rle_crop_3749096497_0.png', 1350276417: '1744806943_2819277_1350275583_eaa64e9535a9b948f20a915e70f5d208_rle_crop_3749096499_0.png', 1350276416: '1744806943_2819277_1350275588_004db53d75b5c6df86854ac8d1dc2ab7_rle_crop_3749096486_0.png', 1350276414: '1744806943_2819277_1350275593_e4799d674f5b03ad051f6d07aef925ee_rle_crop_3749096470_0.png', 1350276413: '1744806943_2819277_1350275593_e4799d674f5b03ad051f6d07aef925ee_rle_crop_3749096472_0.png', 1350275836: '1744806851_1874021_1350275635_b797acf12a1d1e6b62dd4bca146da2cc_rle_crop_3749090461_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/ebeacf209adc41a83016c12e2601c719_67319650.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/6e2a91da049dcf5bd408691cf21ea9f0_8744247.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/4ed8936a90b3af916e1a07b28b4fea8b_213895.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/66e856eed299187ff0af19d70f333b15_9487986.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/7f5e1c3a2009e4005a939f6910edb9bb_56800988.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/6f63eb4357f1b7dce3cb78589fd3867c_9050411.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/21914a3fdaf6912311770cac9fa67398_59612400.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/5424a47dcf3f322bf7f9136aa9722372_75739537.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/fda58f42e9625ffd28aae850e6b53586_59020697.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/d8decfb0f3e17ba18c9f82c3f89d963e_32411079.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/2c66e278f1607c36fcf51340b32b67fc_28224296.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/ebeacf209adc41a83016c12e2601c719_9155512.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/8ec8f5c2473e44eabd95d5a51cb58979_98022827.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/e85b16d594faff2720adf906d9cd1350_10715717.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/81cb6d8f06ffdb66c8c7a27f09418522_90283278.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/52a62d830c2c30eda521162fe5b88f15_69961436.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/42c5c9b0cec95c549ea73675d099d0a6_76789833.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/e5b5793c4c5db603aa74b83d80170501_93653619.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/7b979bb4bfffbb89d663a814fb148f7c_3974156.png change filename to text .imagette220795871744807652/ imagette220795871744807652/1744806943_2819277_1350275569_fb4b0e9eeb259f15e059401b5de8dc09_rle_crop_3749096514_0.png.png imagette220795871744807652/1744807393_1880053_1350276481_67bf3ed0342cf7a8642ea18813c0b28a_rle_crop_3749108623_0.png.png imagette220795871744807652/1744807307_2827886_1350279009_b05b2391cdb0741ceed1356ee57b2db4_rle_crop_3749107957_0.png.png imagette220795871744807652/1744806943_2819277_1350275583_eaa64e9535a9b948f20a915e70f5d208_rle_crop_3749096497_0.png.png imagette220795871744807652/1744806943_2819277_1350275593_e4799d674f5b03ad051f6d07aef925ee_rle_crop_3749096470_0.png.png imagette220795871744807652/1744807182_2826361_1350276443_0c1f1b37d3cd8a6808704893784f4a01_rle_crop_3749100951_0.png.png imagette220795871744807652/1744807044_3613922_1350275697_bf24a2ecff57c3524bb8086a396d4bf1_rle_crop_3749099581_0.png.png imagette220795871744807652/1744806851_1874021_1350275635_b797acf12a1d1e6b62dd4bca146da2cc_rle_crop_3749090461_0.png.png imagette220795871744807652/1744806973_1875222_1350275639_91a5fe945dab61cd57b6547e70f4752d_rle_crop_3749090433_0.png.png imagette220795871744807652/1744806973_1875222_1350275635_b797acf12a1d1e6b62dd4bca146da2cc_rle_crop_3749090461_0.png.png imagette220795871744807652/1744807427_2833492_1350279139_3a0a4f34eee40120080a587abd2d9136_rle_crop_3749109435_0.png.png imagette220795871744807652/1744806851_1874021_1350275643_d7e583ab082ee1356ac5c2ca17c242cc_rle_crop_3749090427_0.png.png imagette220795871744807652/1744806943_2819277_1350275583_eaa64e9535a9b948f20a915e70f5d208_rle_crop_3749096504_0.png.png imagette220795871744807652/1744807182_2826361_1350276443_0c1f1b37d3cd8a6808704893784f4a01_rle_crop_3749100948_0.png.png imagette220795871744807652/1744807427_2833492_1350279083_1f298f086786a87122f42d3213663070_rle_crop_3749112949_0.png.png imagette220795871744807652/1744806943_2819277_1350275593_e4799d674f5b03ad051f6d07aef925ee_rle_crop_3749096472_0.png.png imagette220795871744807652/1744806943_2819277_1350275588_004db53d75b5c6df86854ac8d1dc2ab7_rle_crop_3749096486_0.png.png imagette220795871744807652/1744807044_3613922_1350275693_f8eed366774884f6aff2c01120738879_rle_crop_3749099597_0.png.png imagette220795871744807652/1744806943_2819277_1350275583_eaa64e9535a9b948f20a915e70f5d208_rle_crop_3749096499_0.png.png imagette220795871744807652/1744806973_1875222_1350275643_d7e583ab082ee1356ac5c2ca17c242cc_rle_crop_3749090427_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/d8decfb0f3e17ba18c9f82c3f89d963e_13352210.png imagette220795871744807652 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22079577 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22079614,22079615,22079616,22079617,22079618,22079619,22079620,22079621,22079622,22079623,22079624,22079625?tags=plastique,kraft,autre_refus,Carton_brun,mal_croppe,Carton_gris,flou,metal,cartonnette,Teint_Dans_La_Masse,environnement,papier your option no_mail is active, we will not send the real mail to your client args[1350281184] : ('0.06771004724594343',) no score found for photo 1350281184 We are sending mail with results at report@fotonower.com args[1350281115] : ('0.06771004724594343',) no score found for photo 1350281115 We are sending mail with results at report@fotonower.com args[1350281085] : ('0.06771004724594343',) no score found for photo 1350281085 We are sending mail with results at report@fotonower.com args[1350281049] : ('0.06771004724594343',) no score found for photo 1350281049 We are sending mail with results at report@fotonower.com args[1350281019] : ('0.06771004724594343',) no score found for photo 1350281019 We are sending mail with results at report@fotonower.com args[1350280490] : ('0.06771004724594343',) no score found for photo 1350280490 We are sending mail with results at report@fotonower.com args[1350280430] : ('0.06771004724594343',) no score found for photo 1350280430 We are sending mail with results at report@fotonower.com args[1350280366] : ('0.06771004724594343',) no score found for photo 1350280366 We are sending mail with results at report@fotonower.com args[1350280307] : ('0.06771004724594343',) no score found for photo 1350280307 We are sending mail with results at report@fotonower.com args[1350280278] : ('0.06771004724594343',) no score found for photo 1350280278 We are sending mail with results at report@fotonower.com refus_total : 0.06771004724594343 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=22079577 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_P22079577_16-04-2025_14_47_29.pdf results_Auto_P22079577_16-04-2025_14_47_29.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22079577_16-04-2025_14_47_29.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','22079577','results_Auto_P22079577_16-04-2025_14_47_29.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22079577_16-04-2025_14_47_29.pdf','pdf','','0.33','0.06771004724594343') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22079577]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1350281184, 1350281115, 1350281085, 1350281049, 1350281019, 1350280490, 1350280430, 1350280366, 1350280307, 1350280278] map_info['map_portfolio_photo'] : {22079577: [1350281184, 1350281115, 1350281085, 1350281049, 1350281019, 1350280490, 1350280430, 1350280366, 1350280307, 1350280278, 1350280048, 1350280017, 1350279987, 1350279958, 1350279654, 1350279620, 1350279199, 1350279168, 1350279139, 1350279107, 1350279083, 1350279028, 1350279020, 1350279015, 1350279009, 1350278141, 1350277639, 1350277577, 1350277524, 1350277493, 1350277000, 1350276964, 1350276919, 1350276869, 1350276481, 1350276443, 1350276432, 1350276422, 1350276409, 1350276402, 1350276026, 1350276023, 1350276019, 1350275984, 1350275951, 1350275923, 1350275779, 1350275775, 1350275768, 1350275710, 1350275706, 1350275702, 1350275697, 1350275693, 1350275651, 1350275643, 1350275639, 1350275635, 1350275631, 1350275593, 1350275588, 1350275583, 1350275569]} final : False mtd_id 4302 list_pids : [1350281184, 1350281115, 1350281085, 1350281049, 1350281019, 1350280490, 1350280430, 1350280366, 1350280307, 1350280278] 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, '2726184') ('4302', '22079577', '1350281184', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350281115', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350281085', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350281049', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350281019', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280490', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280430', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280366', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280307', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280278', None, None, None, None, None, '2726184') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22079577', '1350281184', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350281115', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350281085', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350281049', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350281019', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350280490', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350280430', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350280366', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350280307', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350280278', None, None, None, None, None, '2726184')] time used for this insertion : 0.015078067779541016 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.625617027282715 time spend to save output : 0.015347003936767578 total time spend for step 4 : 5.640964031219482 step5:split_time_score Wed Apr 16 14:47:34 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 : ['22079577'] 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 : [('22079577',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22079577) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1350281184: {'path': 'temp/1744807648_1602246_1350281184_d972e3f0c9580982cfd00f3761044033.jpg', 'extension': 'jpg'}, 1350281049: {'path': 'temp/1744807648_1602246_1350281049_35b20851b3fb6c28ca22f60da2f23342.jpg', 'extension': 'jpg'}, 1350281085: {'path': 'temp/1744807648_1602246_1350281085_ffa7166825b5679df01d72d7e6df50b4.jpg', 'extension': 'jpg'}, 1350281115: {'path': 'temp/1744807648_1602246_1350281115_1e35e9cfb6593de74ef211ffe836ad8d.jpg', 'extension': 'jpg'}, 1350280430: {'path': 'temp/1744807648_1602246_1350280430_6f73aa98616636e3b3dd6931e3f0b52c.jpg', 'extension': 'jpg'}, 1350280490: {'path': 'temp/1744807648_1602246_1350280490_e8266350b55fed9ccb593e429eba30e9.jpg', 'extension': 'jpg'}, 1350281019: {'path': 'temp/1744807648_1602246_1350281019_e77471471470c5c50879c323c1e82d7f.jpg', 'extension': 'jpg'}, 1350280278: {'path': 'temp/1744807648_1602246_1350280278_a01580af1c98dd94da8cbfd5de431adf.jpg', 'extension': 'jpg'}, 1350280307: {'path': 'temp/1744807648_1602246_1350280307_fc679918d50cfda0cba6c3308d1f8b35.jpg', 'extension': 'jpg'}, 1350280366: {'path': 'temp/1744807648_1602246_1350280366_a4ea068ab2cf81e5fc77a18cf92be364.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 = 22079577; (('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 = 22079577 group by h (('14', 63),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22079577 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 (22079577) 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 (22079577) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 16042025 22079577 Nombre de photos uploadées : 63 / 23040 (0%) 16042025 22079577 Nombre de photos taguées (types de déchets): 0 / 63 (0%) 16042025 22079577 Nombre de photos taguées (volume) : 0 / 63 (0%) [{'photo_id': 1350275593, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/e4799d674f5b03ad051f6d07aef925ee.jpg', 'username': None, 'uploaded_at': 1744806677, 'text': 'image_16042025_14_30_04_010141m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1350275588, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/004db53d75b5c6df86854ac8d1dc2ab7.jpg', 'username': None, 'uploaded_at': 1744806677, 'text': 'image_16042025_14_30_14_010138m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1350275583, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/eaa64e9535a9b948f20a915e70f5d208.jpg', 'username': None, 'uploaded_at': 1744806677, 'text': 'image_16042025_14_30_24_010133m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1350275651, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/4ef66562f5b37cfe4d11b39bc14a2d0b.jpg', 'username': None, 'uploaded_at': 1744806727, 'text': 'image_16042025_14_30_33_009127m0.jpg 4e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 8.106231689453125e-06 ??????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0037186145782470703 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22079577, '2025-04-16' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1717339,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.028122663497924805 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= 1717339 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1717339, 'dashboard_run_id': 1726915, 'mtr_portfolio_id': 22078155, 'dashboard_result_id': 9885917, '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_P22078155_16-04-2025_14_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22078156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22078157, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22078158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22078159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22078160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22078161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22078162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22078163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22078164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22078165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22078166, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22078167, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1726915, 'mtr_portfolio_id': 22078873, 'dashboard_result_id': 9885918, '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_P22078873_16-04-2025_14_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22078903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22078904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22078905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22078906, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22078907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22078908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22078909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22078910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22078911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22078912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22078913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22078914, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1726915, 'mtr_portfolio_id': 22079577, 'dashboard_result_id': 9885919, '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_P22079577_16-04-2025_14_44_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22079578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22079579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22079580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22079581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22079582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22079583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22079584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22079585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22079586, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22079587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22079588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22079589, '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 = 22078155 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': 2726065, 'mtr_portfolio_id': 22078155, 'created_at': datetime.datetime(2025, 4, 16, 14, 18, 58), 'result': '0.03856775810629044', 'result_long': None, 'result_double': None}] Qualite : 0.03856775810629044 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22078155 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22078155_16-04-2025_14_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22078155 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_P22078155_16-04-2025_14_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22078156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22078157, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22078158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22078159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22078160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22078161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22078162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22078163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22078164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22078165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22078166, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22078167, 'pht': 3726}}" where mtr_portfolio_id = 22078155 and dashboard_run_id = 1726915 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`=22078155 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9885917, 0.03856775810629044, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22078155_16-04-2025_14_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22078156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22078157, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22078158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22078159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22078160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22078161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22078162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22078163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22078164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22078165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22078166, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22078167, '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 = 22078873 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': 2726106, 'mtr_portfolio_id': 22078873, 'created_at': datetime.datetime(2025, 4, 16, 14, 32, 57), 'result': '0.05084294743643577', 'result_long': None, 'result_double': None}] Qualite : 0.05084294743643577 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22078873 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22078873_16-04-2025_14_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22078873 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_P22078873_16-04-2025_14_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22078903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22078904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22078905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22078906, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22078907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22078908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22078909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22078910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22078911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22078912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22078913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22078914, 'pht': 3726}}" where mtr_portfolio_id = 22078873 and dashboard_run_id = 1726915 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`=22078873 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9885918, 0.05084294743643577, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22078873_16-04-2025_14_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22078903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22078904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22078905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22078906, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22078907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22078908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22078909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22078910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22078911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22078912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22078913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22078914, '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 = 22079577 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': 2726184, 'mtr_portfolio_id': 22079577, 'created_at': datetime.datetime(2025, 4, 16, 14, 47, 28), 'result': '0.06771004724594343', 'result_long': None, 'result_double': None}] Qualite : 0.06771004724594343 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22079577 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22079577_16-04-2025_14_47_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22079577 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_P22079577_16-04-2025_14_47_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22079578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22079579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22079580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22079581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22079582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22079583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22079584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22079585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22079586, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22079587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22079588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22079589, 'pht': 3726}}" where mtr_portfolio_id = 22079577 and dashboard_run_id = 1726915 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`=22079577 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9885919, 0.06771004724594343, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22079577_16-04-2025_14_47_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22079578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22079579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22079580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22079581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22079582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22079583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22079584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22079585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22079586, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22079587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22079588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22079589, '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 (22078155,22078873,22079577) result : ((1350267611,), (1350267669,), (1350268235,), (1350268269,), (1350268300,), (1350268331,), (1350268363,), (1350268444,), (1350268451,), (1350268455,), (1350268460,), (1350268855,), (1350268912,), (1350268973,), (1350269029,), (1350269083,), (1350269140,), (1350269464,), (1350269505,), (1350269559,), (1350269587,), (1350269904,), (1350269909,), (1350269920,), (1350270773,), (1350270778,), (1350271268,), (1350271273,), (1350271329,), (1350271333,), (1350271336,), (1350271340,), (1350271378,), (1350271402,), (1350271422,), (1350271426,), (1350271445,), (1350271477,), (1350271725,), (1350271758,), (1350271788,), (1350272284,), (1350272329,), (1350272358,), (1350272387,), (1350272418,), (1350272466,), (1350273071,), (1350272875,), (1350272929,), (1350272986,), (1350273037,), (1350273384,), (1350273396,), (1350273401,), (1350273416,), (1350273698,), (1350273729,), (1350273768,), (1350273962,), (1350273997,), (1350274048,), (1350274377,), (1350274404,), (1350274447,), (1350274508,), (1350274573,), (1350274862,), (1350274867,), (1350274873,), (1350274878,), (1350274882,), (1350274887,), (1350274925,), (1350274933,), (1350274937,), (1350274940,), (1350274987,), (1350274991,), (1350274995,), (1350275002,), (1350275006,), (1350275036,), (1350275042,), (1350275050,), (1350275054,), (1350275057,), (1350275102,), (1350275106,), (1350275114,), (1350275120,), (1350275179,), (1350275182,), (1350275188,), (1350275193,), (1350275199,), (1350275204,), (1350275292,), (1350275312,), (1350275318,), (1350275323,), (1350275361,), (1350275365,), (1350275368,), (1350275371,), (1350275376,), (1350275382,), (1350275421,), (1350275427,), (1350275433,), (1350275437,), (1350275441,), (1350275446,), (1350275488,), (1350275493,), (1350275496,), (1350275500,), (1350275597,), (1350275569,), (1350275583,), (1350275588,), (1350275593,), (1350275631,), (1350275635,), (1350275639,), (1350275643,), (1350275651,), (1350275693,), (1350275697,), (1350275702,), (1350275706,), (1350275710,), (1350275768,), (1350275775,), (1350275779,), (1350275923,), (1350275951,), (1350275984,), (1350276019,), (1350276023,), (1350276026,), (1350276402,), (1350276409,), (1350276422,), (1350276432,), (1350276443,), (1350276481,), (1350276869,), (1350276919,), (1350276964,), (1350277000,), (1350277493,), (1350277524,), (1350277577,), (1350277639,), (1350278141,), (1350279009,), (1350279015,), (1350279020,), (1350279028,), (1350279083,), (1350279107,), (1350279139,), (1350279168,), (1350279199,), (1350279620,), (1350279654,), (1350279958,), (1350279987,), (1350280017,), (1350280048,), (1350280278,), (1350280307,), (1350280366,), (1350280430,), (1350280490,), (1350281019,), (1350281049,), (1350281085,), (1350281115,), (1350281184,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'16042025': {'nb_upload': 63, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22079577]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1350281184, 1350281115, 1350281085, 1350281049, 1350281019, 1350280490, 1350280430, 1350280366, 1350280307, 1350280278] map_info['map_portfolio_photo'] : {22079577: [1350281184, 1350281115, 1350281085, 1350281049, 1350281019, 1350280490, 1350280430, 1350280366, 1350280307, 1350280278, 1350280048, 1350280017, 1350279987, 1350279958, 1350279654, 1350279620, 1350279199, 1350279168, 1350279139, 1350279107, 1350279083, 1350279028, 1350279020, 1350279015, 1350279009, 1350278141, 1350277639, 1350277577, 1350277524, 1350277493, 1350277000, 1350276964, 1350276919, 1350276869, 1350276481, 1350276443, 1350276432, 1350276422, 1350276409, 1350276402, 1350276026, 1350276023, 1350276019, 1350275984, 1350275951, 1350275923, 1350275779, 1350275775, 1350275768, 1350275710, 1350275706, 1350275702, 1350275697, 1350275693, 1350275651, 1350275643, 1350275639, 1350275635, 1350275631, 1350275593, 1350275588, 1350275583, 1350275569]} final : True mtd_id 4302 list_pids : [1350281184, 1350281115, 1350281085, 1350281049, 1350281019, 1350280490, 1350280430, 1350280366, 1350280307, 1350280278] Looping around the photos to save general results len do output : 1 /22079577Didn'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, '2726184') ('4302', '22079577', '1350281184', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350281115', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350281085', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350281049', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350281019', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280490', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280430', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280366', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280307', None, None, None, None, None, '2726184') ('4302', None, None, None, None, None, None, None, '2726184') ('4302', '22079577', '1350280278', None, None, None, None, None, '2726184') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22079577', 'None', None, None, None, None, '2726184'), ('4302', '22079577', '1350281184', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350281115', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350281085', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350281049', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350281019', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350280490', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350280430', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350280366', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350280307', None, None, None, None, None, '2726184'), ('4302', '22079577', '1350280278', None, None, None, None, None, '2726184')] time used for this insertion : 0.019081830978393555 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.2795870304107666 time spend to save output : 0.019443035125732422 total time spend for step 5 : 0.299030065536499 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 (2726184) 2.44user 2.19system 0:09.71elapsed 47%CPU (0avgtext+0avgdata 162652maxresident)k 47536inputs+19784outputs (281major+77738minor)pagefaults 0swaps