SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21742277) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21742216) result : ((1347576018,), (1347576032,), (1347576066,), (1347576079,), (1347576525,), (1347576576,), (1347576664,), (1347576700,), (1347576829,), (1347577425,), (1347577450,), (1347577522,), (1347577531,), (1347577541,), (1347577812,), (1347577814,), (1347577816,), (1347577821,), (1347577844,), (1347578034,), (1347578081,), (1347578178,), (1347578252,), (1347578282,), (1347578317,), (1347578458,), (1347578479,), (1347578487,), (1347578503,), (1347578828,), (1347578863,), (1347578877,), (1347578909,), (1347578927,), (1347579480,), (1347579552,), (1347579659,), (1347579700,), (1347579714,), (1347579729,), (1347579834,), (1347579836,), (1347579867,), (1347580213,), (1347580285,), (1347580336,), (1347580405,), (1347580464,), (1347580525,), (1347580996,), (1347581040,), (1347581060,), (1347581089,), (1347581428,), (1347581461,), (1347581468,), (1347581487,), (1347581566,), (1347581574,), (1347581914,), (1347581917,), (1347581925,), (1347581999,), (1347582002,), (1347582007,), (1347582018,), (1347582044,), (1347582070,), (1347582294,), (1347582309,), (1347582325,)) 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 (1347579700,1347576700) 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 21742278 , 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=21742216 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 (21742278) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21742216) result : ((1347576018,), (1347576032,), (1347576066,), (1347576079,), (1347576525,), (1347576576,), (1347576664,), (1347576700,), (1347576829,), (1347577425,), (1347577450,), (1347577522,), (1347577531,), (1347577541,), (1347577812,), (1347577814,), (1347577816,), (1347577821,), (1347577844,), (1347578034,), (1347578081,), (1347578178,), (1347578252,), (1347578282,), (1347578317,), (1347578458,), (1347578479,), (1347578487,), (1347578503,), (1347578828,), (1347578863,), (1347578877,), (1347578909,), (1347578927,), (1347579480,), (1347579552,), (1347579659,), (1347579700,), (1347579714,), (1347579729,), (1347579834,), (1347579836,), (1347579867,), (1347580213,), (1347580285,), (1347580336,), (1347580405,), (1347580464,), (1347580525,), (1347580996,), (1347581040,), (1347581060,), (1347581089,), (1347581428,), (1347581461,), (1347581468,), (1347581487,), (1347581566,), (1347581574,), (1347581914,), (1347581917,), (1347581925,), (1347581999,), (1347582002,), (1347582007,), (1347582018,), (1347582044,), (1347582070,), (1347582294,), (1347582309,), (1347582325,)) 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 (1347579700,1347576700) 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 21742279 , 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=21742216 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 (21742279) result : ((1347578858,), (1347579769,), (1347579830,), (1347580995,), (1347581000,), (1347581003,), (1347581921,), (1347581922,), (1347582745,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21742216) result : ((1347576018,), (1347576032,), (1347576066,), (1347576079,), (1347576525,), (1347576576,), (1347576664,), (1347576700,), (1347576829,), (1347577425,), (1347577450,), (1347577522,), (1347577531,), (1347577541,), (1347577812,), (1347577814,), (1347577816,), (1347577821,), (1347577844,), (1347578034,), (1347578081,), (1347578178,), (1347578252,), (1347578282,), (1347578317,), (1347578458,), (1347578479,), (1347578487,), (1347578503,), (1347578828,), (1347578863,), (1347578877,), (1347578909,), (1347578927,), (1347579480,), (1347579552,), (1347579659,), (1347579700,), (1347579714,), (1347579729,), (1347579834,), (1347579836,), (1347579867,), (1347580213,), (1347580285,), (1347580336,), (1347580405,), (1347580464,), (1347580525,), (1347580996,), (1347581040,), (1347581060,), (1347581089,), (1347581428,), (1347581461,), (1347581468,), (1347581487,), (1347581566,), (1347581574,), (1347581914,), (1347581917,), (1347581925,), (1347581999,), (1347582002,), (1347582007,), (1347582018,), (1347582044,), (1347582070,), (1347582294,), (1347582309,), (1347582325,)) 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 (1347579700,1347576700) 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 21742280 , 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=21742216 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 (21742280) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21742216) result : ((1347576018,), (1347576032,), (1347576066,), (1347576079,), (1347576525,), (1347576576,), (1347576664,), (1347576700,), (1347576829,), (1347577425,), (1347577450,), (1347577522,), (1347577531,), (1347577541,), (1347577812,), (1347577814,), (1347577816,), (1347577821,), (1347577844,), (1347578034,), (1347578081,), (1347578178,), (1347578252,), (1347578282,), (1347578317,), (1347578458,), (1347578479,), (1347578487,), (1347578503,), (1347578828,), (1347578863,), (1347578877,), (1347578909,), (1347578927,), (1347579480,), (1347579552,), (1347579659,), (1347579700,), (1347579714,), (1347579729,), (1347579834,), (1347579836,), (1347579867,), (1347580213,), (1347580285,), (1347580336,), (1347580405,), (1347580464,), (1347580525,), (1347580996,), (1347581040,), (1347581060,), (1347581089,), (1347581428,), (1347581461,), (1347581468,), (1347581487,), (1347581566,), (1347581574,), (1347581914,), (1347581917,), (1347581925,), (1347581999,), (1347582002,), (1347582007,), (1347582018,), (1347582044,), (1347582070,), (1347582294,), (1347582309,), (1347582325,)) 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 (1347579700,1347576700) 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 21742281 , 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=21742216 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 (21742281) result : ((1347578873,), (1347578885,), (1347578888,), (1347579795,), (1347580099,), (1347580101,), (1347580102,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21742216) result : ((1347576018,), (1347576032,), (1347576066,), (1347576079,), (1347576525,), (1347576576,), (1347576664,), (1347576700,), (1347576829,), (1347577425,), (1347577450,), (1347577522,), (1347577531,), (1347577541,), (1347577812,), (1347577814,), (1347577816,), (1347577821,), (1347577844,), (1347578034,), (1347578081,), (1347578178,), (1347578252,), (1347578282,), (1347578317,), (1347578458,), (1347578479,), (1347578487,), (1347578503,), (1347578828,), (1347578863,), (1347578877,), (1347578909,), (1347578927,), (1347579480,), (1347579552,), (1347579659,), (1347579700,), (1347579714,), (1347579729,), (1347579834,), (1347579836,), (1347579867,), (1347580213,), (1347580285,), (1347580336,), (1347580405,), (1347580464,), (1347580525,), (1347580996,), (1347581040,), (1347581060,), (1347581089,), (1347581428,), (1347581461,), (1347581468,), (1347581487,), (1347581566,), (1347581574,), (1347581914,), (1347581917,), (1347581925,), (1347581999,), (1347582002,), (1347582007,), (1347582018,), (1347582044,), (1347582070,), (1347582294,), (1347582309,), (1347582325,)) 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 (1347579700,1347576700) 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 21742282 , 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=21742216 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 (21742282) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21742216) result : ((1347576018,), (1347576032,), (1347576066,), (1347576079,), (1347576525,), (1347576576,), (1347576664,), (1347576700,), (1347576829,), (1347577425,), (1347577450,), (1347577522,), (1347577531,), (1347577541,), (1347577812,), (1347577814,), (1347577816,), (1347577821,), (1347577844,), (1347578034,), (1347578081,), (1347578178,), (1347578252,), (1347578282,), (1347578317,), (1347578458,), (1347578479,), (1347578487,), (1347578503,), (1347578828,), (1347578863,), (1347578877,), (1347578909,), (1347578927,), (1347579480,), (1347579552,), (1347579659,), (1347579700,), (1347579714,), (1347579729,), (1347579834,), (1347579836,), (1347579867,), (1347580213,), (1347580285,), (1347580336,), (1347580405,), (1347580464,), (1347580525,), (1347580996,), (1347581040,), (1347581060,), (1347581089,), (1347581428,), (1347581461,), (1347581468,), (1347581487,), (1347581566,), (1347581574,), (1347581914,), (1347581917,), (1347581925,), (1347581999,), (1347582002,), (1347582007,), (1347582018,), (1347582044,), (1347582070,), (1347582294,), (1347582309,), (1347582325,)) 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 (1347579700,1347576700) 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 21742283 , 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=21742216 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='plastique' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21742283) result : ((1347578899,), (1347578956,), (1347579815,), (1347581931,), (1347581932,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21742216) result : ((1347576018,), (1347576032,), (1347576066,), (1347576079,), (1347576525,), (1347576576,), (1347576664,), (1347576700,), (1347576829,), (1347577425,), (1347577450,), (1347577522,), (1347577531,), (1347577541,), (1347577812,), (1347577814,), (1347577816,), (1347577821,), (1347577844,), (1347578034,), (1347578081,), (1347578178,), (1347578252,), (1347578282,), (1347578317,), (1347578458,), (1347578479,), (1347578487,), (1347578503,), (1347578828,), (1347578863,), (1347578877,), (1347578909,), (1347578927,), (1347579480,), (1347579552,), (1347579659,), (1347579700,), (1347579714,), (1347579729,), (1347579834,), (1347579836,), (1347579867,), (1347580213,), (1347580285,), (1347580336,), (1347580405,), (1347580464,), (1347580525,), (1347580996,), (1347581040,), (1347581060,), (1347581089,), (1347581428,), (1347581461,), (1347581468,), (1347581487,), (1347581566,), (1347581574,), (1347581914,), (1347581917,), (1347581925,), (1347581999,), (1347582002,), (1347582007,), (1347582018,), (1347582044,), (1347582070,), (1347582294,), (1347582309,), (1347582325,)) 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 (1347579700,1347576700) 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 21742284 , 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=21742216 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 (21742284) result : ((1347578868,), (1347578872,), (1347578875,), (1347578876,), (1347578947,), (1347579788,), (1347579813,), (1347579823,), (1347579824,), (1347579832,), (1347580075,), (1347581023,), (1347581026,), (1347581029,), (1347581927,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21742216) result : ((1347576018,), (1347576032,), (1347576066,), (1347576079,), (1347576525,), (1347576576,), (1347576664,), (1347576700,), (1347576829,), (1347577425,), (1347577450,), (1347577522,), (1347577531,), (1347577541,), (1347577812,), (1347577814,), (1347577816,), (1347577821,), (1347577844,), (1347578034,), (1347578081,), (1347578178,), (1347578252,), (1347578282,), (1347578317,), (1347578458,), (1347578479,), (1347578487,), (1347578503,), (1347578828,), (1347578863,), (1347578877,), (1347578909,), (1347578927,), (1347579480,), (1347579552,), (1347579659,), (1347579700,), (1347579714,), (1347579729,), (1347579834,), (1347579836,), (1347579867,), (1347580213,), (1347580285,), (1347580336,), (1347580405,), (1347580464,), (1347580525,), (1347580996,), (1347581040,), (1347581060,), (1347581089,), (1347581428,), (1347581461,), (1347581468,), (1347581487,), (1347581566,), (1347581574,), (1347581914,), (1347581917,), (1347581925,), (1347581999,), (1347582002,), (1347582007,), (1347582018,), (1347582044,), (1347582070,), (1347582294,), (1347582309,), (1347582325,)) 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 (1347579700,1347576700) 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 21742285 , 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=21742216 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 (21742285) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21742216) result : ((1347576018,), (1347576032,), (1347576066,), (1347576079,), (1347576525,), (1347576576,), (1347576664,), (1347576700,), (1347576829,), (1347577425,), (1347577450,), (1347577522,), (1347577531,), (1347577541,), (1347577812,), (1347577814,), (1347577816,), (1347577821,), (1347577844,), (1347578034,), (1347578081,), (1347578178,), (1347578252,), (1347578282,), (1347578317,), (1347578458,), (1347578479,), (1347578487,), (1347578503,), (1347578828,), (1347578863,), (1347578877,), (1347578909,), (1347578927,), (1347579480,), (1347579552,), (1347579659,), (1347579700,), (1347579714,), (1347579729,), (1347579834,), (1347579836,), (1347579867,), (1347580213,), (1347580285,), (1347580336,), (1347580405,), (1347580464,), (1347580525,), (1347580996,), (1347581040,), (1347581060,), (1347581089,), (1347581428,), (1347581461,), (1347581468,), (1347581487,), (1347581566,), (1347581574,), (1347581914,), (1347581917,), (1347581925,), (1347581999,), (1347582002,), (1347582007,), (1347582018,), (1347582044,), (1347582070,), (1347582294,), (1347582309,), (1347582325,)) 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 (1347579700,1347576700) 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 21742286 , 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=21742216 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 (21742286) result : ((1347578855,), (1347578942,), (1347579758,), (1347579811,), (1347579829,), (1347580037,), (1347580980,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21742216) result : ((1347576018,), (1347576032,), (1347576066,), (1347576079,), (1347576525,), (1347576576,), (1347576664,), (1347576700,), (1347576829,), (1347577425,), (1347577450,), (1347577522,), (1347577531,), (1347577541,), (1347577812,), (1347577814,), (1347577816,), (1347577821,), (1347577844,), (1347578034,), (1347578081,), (1347578178,), (1347578252,), (1347578282,), (1347578317,), (1347578458,), (1347578479,), (1347578487,), (1347578503,), (1347578828,), (1347578863,), (1347578877,), (1347578909,), (1347578927,), (1347579480,), (1347579552,), (1347579659,), (1347579700,), (1347579714,), (1347579729,), (1347579834,), (1347579836,), (1347579867,), (1347580213,), (1347580285,), (1347580336,), (1347580405,), (1347580464,), (1347580525,), (1347580996,), (1347581040,), (1347581060,), (1347581089,), (1347581428,), (1347581461,), (1347581468,), (1347581487,), (1347581566,), (1347581574,), (1347581914,), (1347581917,), (1347581925,), (1347581999,), (1347582002,), (1347582007,), (1347582018,), (1347582044,), (1347582070,), (1347582294,), (1347582309,), (1347582325,)) 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 (1347579700,1347576700) 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 21742287 , 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=21742216 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 (21742287) result : ((1347578905,), (1347578970,), (1347579819,), (1347580121,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21742216) result : ((1347576018,), (1347576032,), (1347576066,), (1347576079,), (1347576525,), (1347576576,), (1347576664,), (1347576700,), (1347576829,), (1347577425,), (1347577450,), (1347577522,), (1347577531,), (1347577541,), (1347577812,), (1347577814,), (1347577816,), (1347577821,), (1347577844,), (1347578034,), (1347578081,), (1347578178,), (1347578252,), (1347578282,), (1347578317,), (1347578458,), (1347578479,), (1347578487,), (1347578503,), (1347578828,), (1347578863,), (1347578877,), (1347578909,), (1347578927,), (1347579480,), (1347579552,), (1347579659,), (1347579700,), (1347579714,), (1347579729,), (1347579834,), (1347579836,), (1347579867,), (1347580213,), (1347580285,), (1347580336,), (1347580405,), (1347580464,), (1347580525,), (1347580996,), (1347581040,), (1347581060,), (1347581089,), (1347581428,), (1347581461,), (1347581468,), (1347581487,), (1347581566,), (1347581574,), (1347581914,), (1347581917,), (1347581925,), (1347581999,), (1347582002,), (1347582007,), (1347582018,), (1347582044,), (1347582070,), (1347582294,), (1347582309,), (1347582325,)) 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 (1347579700,1347576700) 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 21742288 , 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=21742216 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 (21742288) result : ((1347578841,), (1347578843,), (1347578846,), (1347578848,), (1347578859,), (1347578861,), (1347578931,), (1347578933,), (1347579740,), (1347579742,), (1347579743,), (1347579744,), (1347579807,), (1347579808,), (1347579828,), (1347580020,), (1347580022,), (1347580023,), (1347580025,), (1347580968,), (1347581840,), (1347581918,), (1347581919,), (1347581920,), (1347582440,), (1347582740,), (1347582741,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21742216) result : ((1347576018,), (1347576032,), (1347576066,), (1347576079,), (1347576525,), (1347576576,), (1347576664,), (1347576700,), (1347576829,), (1347577425,), (1347577450,), (1347577522,), (1347577531,), (1347577541,), (1347577812,), (1347577814,), (1347577816,), (1347577821,), (1347577844,), (1347578034,), (1347578081,), (1347578178,), (1347578252,), (1347578282,), (1347578317,), (1347578458,), (1347578479,), (1347578487,), (1347578503,), (1347578828,), (1347578863,), (1347578877,), (1347578909,), (1347578927,), (1347579480,), (1347579552,), (1347579659,), (1347579700,), (1347579714,), (1347579729,), (1347579834,), (1347579836,), (1347579867,), (1347580213,), (1347580285,), (1347580336,), (1347580405,), (1347580464,), (1347580525,), (1347580996,), (1347581040,), (1347581060,), (1347581089,), (1347581428,), (1347581461,), (1347581468,), (1347581487,), (1347581566,), (1347581574,), (1347581914,), (1347581917,), (1347581925,), (1347581999,), (1347582002,), (1347582007,), (1347582018,), (1347582044,), (1347582070,), (1347582294,), (1347582309,), (1347582325,)) 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 (1347579700,1347576700) 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`=21742216 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','cartonnette','Carton_brun','flou','metal','mal_croppe','kraft','environnement','papier','Teint_Dans_La_Masse','plastique','autre_refus')) 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`=21742216 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','cartonnette','Carton_brun','flou','metal','mal_croppe','kraft','environnement','papier','Teint_Dans_La_Masse','plastique','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 21742216, 'sub_port_id': 21742289, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14267224, 'last_updated_at': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 19, 19, 57)}, 'environnement': {'main_port_id': 21742216, 'sub_port_id': 21742290, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14267225, 'last_updated_at': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 19, 19, 57)}, 'Carton_gris': {'main_port_id': 21742216, 'sub_port_id': 21742291, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14267226, 'last_updated_at': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 19, 19, 57)}, 'flou': {'main_port_id': 21742216, 'sub_port_id': 21742292, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14267227, 'last_updated_at': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 19, 19, 57)}, 'Carton_brun': {'main_port_id': 21742216, 'sub_port_id': 21742293, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14267228, 'last_updated_at': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 19, 19, 57)}, 'metal': {'main_port_id': 21742216, 'sub_port_id': 21742294, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14267229, 'last_updated_at': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 19, 19, 57)}, 'plastique': {'main_port_id': 21742216, 'sub_port_id': 21742295, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14267230, 'last_updated_at': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 19, 19, 57)}, 'cartonnette': {'main_port_id': 21742216, 'sub_port_id': 21742296, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14267231, 'last_updated_at': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 19, 19, 57)}, 'papier': {'main_port_id': 21742216, 'sub_port_id': 21742297, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14267232, 'last_updated_at': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 19, 19, 57)}, 'autre_refus': {'main_port_id': 21742216, 'sub_port_id': 21742298, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14267233, 'last_updated_at': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 19, 19, 57)}, 'kraft': {'main_port_id': 21742216, 'sub_port_id': 21742299, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14267234, 'last_updated_at': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 19, 19, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 19, 19, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 21742216, 'sub_port_id': 21742300, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14267235, 'last_updated_at': datetime.datetime(2025, 3, 26, 19, 30, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 19, 30, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 19, 19, 57)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21742289,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21742277 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21742290,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21742278 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21742291,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21742279 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21742292,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21742280 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21742293,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21742281 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21742294,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21742282 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21742295,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21742283 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21742296,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21742284 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21742297,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21742285 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21742298,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21742286 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21742299,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21742287 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21742300,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21742288 lien utilise dans velours : https://www.fotonower.com/velours/21742289,21742290,21742291,21742292,21742293,21742294,21742295,21742296,21742297,21742298,21742299,21742300?tags=mal_croppe,environnement,Carton_gris,flou,Carton_brun,metal,plastique,cartonnette,papier,autre_refus,kraft,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21742216]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1347582325, 1347582309, 1347582294, 1347582070, 1347582044, 1347582018, 1347582007, 1347582002, 1347581999] map_info['map_portfolio_photo'] : {21742216: [1347582325, 1347582309, 1347582294, 1347582070, 1347582044, 1347582018, 1347582007, 1347582002, 1347581999, 1347581925, 1347581917, 1347581914, 1347581574, 1347581566, 1347581487, 1347581468, 1347581461, 1347581428, 1347581089, 1347581060, 1347581040, 1347580996, 1347580525, 1347580464, 1347580405, 1347580336, 1347580285, 1347580213, 1347579867, 1347579836, 1347579834, 1347579729, 1347579714, 1347579700, 1347579659, 1347579552, 1347579480, 1347578927, 1347578909, 1347578877, 1347578863, 1347578828, 1347578503, 1347578487, 1347578479, 1347578458, 1347578317, 1347578282, 1347578252, 1347578178, 1347578081, 1347578034, 1347577844, 1347577821, 1347577816, 1347577814, 1347577812, 1347577541, 1347577531, 1347577522, 1347577450, 1347577425, 1347576829, 1347576700, 1347576664, 1347576576, 1347576525, 1347576079, 1347576066, 1347576032, 1347576018]} final : False mtd_id 4302 list_pids : [1347582325, 1347582309, 1347582294, 1347582070, 1347582044, 1347582018, 1347582007, 1347582002, 1347581999] Looping around the photos to save general results len do output : 1 /21742216. 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, '2693871') ('4302', '21742216', '1347582325', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582309', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582294', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582070', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582044', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582018', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582007', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582002', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347581999', None, None, None, None, None, '2693871') 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', None, '21742216', "{'mal_croppe': 21742277, 'environnement': 21742278, 'Carton_gris': 21742279, 'flou': 21742280, 'Carton_brun': 21742281, 'metal': 21742282, 'plastique': 21742283, 'cartonnette': 21742284, 'papier': 21742285, 'autre_refus': 21742286, 'kraft': 21742287, 'Teint_Dans_La_Masse': 21742288}", None, None, None, None, '2693871'), ('4302', '21742216', '1347582325', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582309', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582294', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582070', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582044', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582018', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582007', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582002', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347581999', None, None, None, None, None, '2693871')] time used for this insertion : 0.0141143798828125 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6837644577026367 time spend to save output : 0.014542579650878906 total time spend for step 1 : 0.6983070373535156 step2:final Wed Mar 26 19:32:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21742216) 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 21742216 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1347576079,1347576066,1347576032,1347576018,1347576829,1347576700,1347576664,1347576576,1347576525,1347577541,1347577531,1347577522,1347577450,1347577425,1347577844,1347577821,1347577816,1347577814,1347577812,1347578317,1347578282,1347578252,1347578178,1347578081,1347578034,1347578503,1347578487,1347578479,1347578458,1347578927,1347578909,1347578877,1347578863,1347578828,1347579729,1347579714,1347579700,1347579659,1347579552,1347579480,1347579867,1347579836,1347579834,1347580525,1347580464,1347580405,1347580336,1347580285,1347580213,1347581089,1347581060,1347581040,1347580996,1347581574,1347581566,1347581487,1347581468,1347581461,1347581428,1347581925,1347581917,1347581914,1347582070,1347582044,1347582018,1347582007,1347582002,1347581999,1347582325,1347582309,1347582294); 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([21742216]) Inside saveOutput : final : False verbose : True original output for save of step final : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ('0.03434695817916033',), 1347582070: ('0.03434695817916033',), 1347582044: ('0.03434695817916033',), 1347582018: ('0.03434695817916033',), 1347582007: ('0.03434695817916033',), 1347582002: ('0.03434695817916033',), 1347581999: ('0.03434695817916033',)} new output for save of step final : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ('0.03434695817916033',), 1347582070: ('0.03434695817916033',), 1347582044: ('0.03434695817916033',), 1347582018: ('0.03434695817916033',), 1347582007: ('0.03434695817916033',), 1347582002: ('0.03434695817916033',), 1347581999: ('0.03434695817916033',)} [1347582325, 1347582309, 1347582294, 1347582070, 1347582044, 1347582018, 1347582007, 1347582002, 1347581999] map_info['map_portfolio_photo'] : {21742216: [1347582325, 1347582309, 1347582294, 1347582070, 1347582044, 1347582018, 1347582007, 1347582002, 1347581999, 1347581925, 1347581917, 1347581914, 1347581574, 1347581566, 1347581487, 1347581468, 1347581461, 1347581428, 1347581089, 1347581060, 1347581040, 1347580996, 1347580525, 1347580464, 1347580405, 1347580336, 1347580285, 1347580213, 1347579867, 1347579836, 1347579834, 1347579729, 1347579714, 1347579700, 1347579659, 1347579552, 1347579480, 1347578927, 1347578909, 1347578877, 1347578863, 1347578828, 1347578503, 1347578487, 1347578479, 1347578458, 1347578317, 1347578282, 1347578252, 1347578178, 1347578081, 1347578034, 1347577844, 1347577821, 1347577816, 1347577814, 1347577812, 1347577541, 1347577531, 1347577522, 1347577450, 1347577425, 1347576829, 1347576700, 1347576664, 1347576576, 1347576525, 1347576079, 1347576066, 1347576032, 1347576018]} final : False mtd_id 4302 list_pids : [1347582325, 1347582309, 1347582294, 1347582070, 1347582044, 1347582018, 1347582007, 1347582002, 1347581999] Looping around the photos to save general results len do output : 9 /1347582325.Didn't retrieve data . /1347582309.Didn't retrieve data . /1347582294.Didn't retrieve data . /1347582070.Didn't retrieve data . /1347582044.Didn't retrieve data . /1347582018.Didn't retrieve data . /1347582007.Didn't retrieve data . /1347582002.Didn't retrieve data . /1347581999.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, '2693871') ('4302', '21742216', '1347582325', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582309', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582294', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582070', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582044', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582018', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582007', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582002', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347581999', None, None, None, None, None, '2693871') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 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', '21742216', '1347582325', '0.03434695817916033', None, None, None, None, '2693871'), ('4302', '21742216', '1347582309', '0.03434695817916033', None, None, None, None, '2693871'), ('4302', '21742216', '1347582294', '0.03434695817916033', None, None, None, None, '2693871'), ('4302', '21742216', '1347582070', '0.03434695817916033', None, None, None, None, '2693871'), ('4302', '21742216', '1347582044', '0.03434695817916033', None, None, None, None, '2693871'), ('4302', '21742216', '1347582018', '0.03434695817916033', None, None, None, None, '2693871'), ('4302', '21742216', '1347582007', '0.03434695817916033', None, None, None, None, '2693871'), ('4302', '21742216', '1347582002', '0.03434695817916033', None, None, None, None, '2693871'), ('4302', '21742216', '1347581999', '0.03434695817916033', None, None, None, None, '2693871')] time used for this insertion : 0.013737201690673828 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07462000846862793 time spend to save output : 0.014226675033569336 total time spend for step 2 : 0.08884668350219727 step3:velours_tree Wed Mar 26 19:32:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {21742216: [{'mal_croppe': 21742277, 'environnement': 21742278, 'Carton_gris': 21742279, 'flou': 21742280, 'Carton_brun': 21742281, 'metal': 21742282, 'plastique': 21742283, 'cartonnette': 21742284, 'papier': 21742285, 'autre_refus': 21742286, 'kraft': 21742287, 'Teint_Dans_La_Masse': 21742288}]} input_args_next_step : {21742216: ()} output_args : {21742216: [{'mal_croppe': 21742277, 'environnement': 21742278, 'Carton_gris': 21742279, 'flou': 21742280, 'Carton_brun': 21742281, 'metal': 21742282, 'plastique': 21742283, 'cartonnette': 21742284, 'papier': 21742285, 'autre_refus': 21742286, 'kraft': 21742287, 'Teint_Dans_La_Masse': 21742288}]} args : 21742216 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 : ({'mal_croppe': 21742277, 'environnement': 21742278, 'Carton_gris': 21742279, 'flou': 21742280, 'Carton_brun': 21742281, 'metal': 21742282, 'plastique': 21742283, 'cartonnette': 21742284, 'papier': 21742285, 'autre_refus': 21742286, 'kraft': 21742287, 'Teint_Dans_La_Masse': 21742288},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21742216) 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([21742216]) 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.3203608989715576 time spend to save output : 4.7206878662109375e-05 total time spend for step 3 : 0.3204081058502197 step4:send_mail_cod Wed Mar 26 19:32:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ('0.03434695817916033',), 1347582070: ('0.03434695817916033',), 1347582044: ('0.03434695817916033',), 1347582018: ('0.03434695817916033',), 1347582007: ('0.03434695817916033',), 1347582002: ('0.03434695817916033',), 1347581999: ('0.03434695817916033',)} input_args_next_step : {1347582325: ()} output_args : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ('0.03434695817916033',), 1347582070: ('0.03434695817916033',), 1347582044: ('0.03434695817916033',), 1347582018: ('0.03434695817916033',), 1347582007: ('0.03434695817916033',), 1347582002: ('0.03434695817916033',), 1347581999: ('0.03434695817916033',)} args : 1347582325 depend.output_id : 0 input_args_next_step : {1347582325: ('0.03434695817916033',), 1347582309: ()} output_args : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ('0.03434695817916033',), 1347582070: ('0.03434695817916033',), 1347582044: ('0.03434695817916033',), 1347582018: ('0.03434695817916033',), 1347582007: ('0.03434695817916033',), 1347582002: ('0.03434695817916033',), 1347581999: ('0.03434695817916033',)} args : 1347582309 depend.output_id : 0 input_args_next_step : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ()} output_args : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ('0.03434695817916033',), 1347582070: ('0.03434695817916033',), 1347582044: ('0.03434695817916033',), 1347582018: ('0.03434695817916033',), 1347582007: ('0.03434695817916033',), 1347582002: ('0.03434695817916033',), 1347581999: ('0.03434695817916033',)} args : 1347582294 depend.output_id : 0 input_args_next_step : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ('0.03434695817916033',), 1347582070: ()} output_args : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ('0.03434695817916033',), 1347582070: ('0.03434695817916033',), 1347582044: ('0.03434695817916033',), 1347582018: ('0.03434695817916033',), 1347582007: ('0.03434695817916033',), 1347582002: ('0.03434695817916033',), 1347581999: ('0.03434695817916033',)} args : 1347582070 depend.output_id : 0 input_args_next_step : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ('0.03434695817916033',), 1347582070: ('0.03434695817916033',), 1347582044: ()} output_args : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ('0.03434695817916033',), 1347582070: ('0.03434695817916033',), 1347582044: ('0.03434695817916033',), 1347582018: ('0.03434695817916033',), 1347582007: ('0.03434695817916033',), 1347582002: ('0.03434695817916033',), 1347581999: ('0.03434695817916033',)} args : 1347582044 depend.output_id : 0 input_args_next_step : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ('0.03434695817916033',), 1347582070: ('0.03434695817916033',), 1347582044: ('0.03434695817916033',), 1347582018: ()} output_args : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ('0.03434695817916033',), 1347582070: ('0.03434695817916033',), 1347582044: ('0.03434695817916033',), 1347582018: ('0.03434695817916033',), 1347582007: ('0.03434695817916033',), 1347582002: ('0.03434695817916033',), 1347581999: ('0.03434695817916033',)} args : 1347582018 depend.output_id : 0 input_args_next_step : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ('0.03434695817916033',), 1347582070: ('0.03434695817916033',), 1347582044: ('0.03434695817916033',), 1347582018: ('0.03434695817916033',), 1347582007: ()} output_args : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ('0.03434695817916033',), 1347582070: ('0.03434695817916033',), 1347582044: ('0.03434695817916033',), 1347582018: ('0.03434695817916033',), 1347582007: ('0.03434695817916033',), 1347582002: ('0.03434695817916033',), 1347581999: ('0.03434695817916033',)} args : 1347582007 depend.output_id : 0 input_args_next_step : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ('0.03434695817916033',), 1347582070: ('0.03434695817916033',), 1347582044: ('0.03434695817916033',), 1347582018: ('0.03434695817916033',), 1347582007: ('0.03434695817916033',), 1347582002: ()} output_args : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ('0.03434695817916033',), 1347582070: ('0.03434695817916033',), 1347582044: ('0.03434695817916033',), 1347582018: ('0.03434695817916033',), 1347582007: ('0.03434695817916033',), 1347582002: ('0.03434695817916033',), 1347581999: ('0.03434695817916033',)} args : 1347582002 depend.output_id : 0 input_args_next_step : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ('0.03434695817916033',), 1347582070: ('0.03434695817916033',), 1347582044: ('0.03434695817916033',), 1347582018: ('0.03434695817916033',), 1347582007: ('0.03434695817916033',), 1347582002: ('0.03434695817916033',), 1347581999: ()} output_args : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ('0.03434695817916033',), 1347582070: ('0.03434695817916033',), 1347582044: ('0.03434695817916033',), 1347582018: ('0.03434695817916033',), 1347582007: ('0.03434695817916033',), 1347582002: ('0.03434695817916033',), 1347581999: ('0.03434695817916033',)} args : 1347581999 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 : {21742216: [{'mal_croppe': 21742277, 'environnement': 21742278, 'Carton_gris': 21742279, 'flou': 21742280, 'Carton_brun': 21742281, 'metal': 21742282, 'plastique': 21742283, 'cartonnette': 21742284, 'papier': 21742285, 'autre_refus': 21742286, 'kraft': 21742287, 'Teint_Dans_La_Masse': 21742288}]} input_args_next_step : {1347582325: ('0.03434695817916033',), 1347582309: ('0.03434695817916033',), 1347582294: ('0.03434695817916033',), 1347582070: ('0.03434695817916033',), 1347582044: ('0.03434695817916033',), 1347582018: ('0.03434695817916033',), 1347582007: ('0.03434695817916033',), 1347582002: ('0.03434695817916033',), 1347581999: ('0.03434695817916033',), 21742216: ()} output_args : {21742216: [{'mal_croppe': 21742277, 'environnement': 21742278, 'Carton_gris': 21742279, 'flou': 21742280, 'Carton_brun': 21742281, 'metal': 21742282, 'plastique': 21742283, 'cartonnette': 21742284, 'papier': 21742285, 'autre_refus': 21742286, 'kraft': 21742287, 'Teint_Dans_La_Masse': 21742288}]} args : 21742216 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 :10, first value : ('0.03434695817916033',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21742216) 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 (1347582325,1347582309,1347582294,1347582070,1347582044,1347582018,1347582007,1347582002,1347581999) Found this number of photos: 9 ##### Call download_photos : nb_thread : 5 begin to download photo : 1347581999 begin to download photo : 1347582007 begin to download photo : 1347582044 begin to download photo : 1347582294 begin to download photo : 1347582325 download finish for photo 1347582294 begin to download photo : 1347582309 download finish for photo 1347581999 begin to download photo : 1347582002 download finish for photo 1347582325 download finish for photo 1347582044 begin to download photo : 1347582070 download finish for photo 1347582007 begin to download photo : 1347582018 download finish for photo 1347582309 download finish for photo 1347582002 download finish for photo 1347582070 download finish for photo 1347582018 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette217422771743013979/ imagette217422801743013979/ imagette217422821743013979/ length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 results_Auto_P21742216_26-03-2025_19_32_59.pdf 21742277 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=21742277 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette217422771743013979 21742280 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=21742280 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette217422801743013979 21742282 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=21742282 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette217422821743013979 21742283 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=21742283 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347578899: '1743013354_2075024_1347576700_590f4eed80ed82baba19b29f98c83a06_rle_crop_3731674960_0.png', 1347578956: '1743013371_2075200_1347576066_f1a5f7249902fd51bae6f95aa9f95a43_rle_crop_3731675129_0.png', 1347579815: '1743013431_2075935_1347576066_f1a5f7249902fd51bae6f95aa9f95a43_rle_crop_3731675129_0.png', 1347581931: '1743013728_3693328_1347580336_7b52e1ce82afffa6c9b45213b00418d9_rle_crop_3731684863_0.png', 1347581932: '1743013728_3693328_1347580213_5cbfd4cdb227b000501757b9c52d6997_rle_crop_3731684997_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/2b5c79acc877476be83dda06859d2ef9_90793106.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/05fda29047a36a647c3d6b11342cae80_76725130.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/05fda29047a36a647c3d6b11342cae80_39214641.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/b473137d270dd849e5f9d2f0d9c3b94c_56850500.png change filename to text .imagette217422831743013979/ imagette217422831743013979/1743013728_3693328_1347580336_7b52e1ce82afffa6c9b45213b00418d9_rle_crop_3731684863_0.png.png imagette217422831743013979/1743013431_2075935_1347576066_f1a5f7249902fd51bae6f95aa9f95a43_rle_crop_3731675129_0.png.png imagette217422831743013979/1743013371_2075200_1347576066_f1a5f7249902fd51bae6f95aa9f95a43_rle_crop_3731675129_0.png.png imagette217422831743013979/1743013354_2075024_1347576700_590f4eed80ed82baba19b29f98c83a06_rle_crop_3731674960_0.png.png imagette217422831743013979/1743013728_3693328_1347580213_5cbfd4cdb227b000501757b9c52d6997_rle_crop_3731684997_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/6783cfe9a599e6572584d20c135eb13e_32690552.png imagette217422831743013979 21742284 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=21742284 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347578868: '1743013367_3683088_1347577450_a25c860d94264936f2dcafb1cdd79d72_rle_crop_3731674841_0.png', 1347578872: '1743013354_2075024_1347576664_94e8795a80e718ee1ff6abf1f43632a6_rle_crop_3731674991_0.png', 1347578875: '1743013354_2075024_1347576664_94e8795a80e718ee1ff6abf1f43632a6_rle_crop_3731674995_0.png', 1347578876: '1743013354_2075024_1347576576_5aa9d03bc21ab73cc7f6391f8b836573_rle_crop_3731675024_0.png', 1347578947: '1743013371_2075200_1347576829_608d7abf26d8cc70bc94c490e21fcd72_rle_crop_3731675074_0.png', 1347579788: '1743013411_2075683_1347577450_a25c860d94264936f2dcafb1cdd79d72_rle_crop_3731674841_0.png', 1347579813: '1743013431_2075935_1347576829_608d7abf26d8cc70bc94c490e21fcd72_rle_crop_3731675074_0.png', 1347579823: '1743013480_3686777_1347578487_9a585cf400c3ac4ae94eb533b028b1f6_rle_crop_3731675761_0.png', 1347579824: '1743013480_3686777_1347578487_9a585cf400c3ac4ae94eb533b028b1f6_rle_crop_3731675756_0.png', 1347579832: '1743013455_2076199_1347577844_459b14f68e24bd6450bc7ad06a4e0138_rle_crop_3731675482_0.png', 1347580075: '1743013472_2076708_1347578034_96ad3c84e569328a94dab3792c81ea72_rle_crop_3731676172_0.png', 1347581023: '1743013604_3690598_1347578909_a294998c5b54c9d2939e943593fea3a7_rle_crop_3731679878_0.png', 1347581026: '1743013604_3690598_1347578863_a4fbc9b337eafd5e60a84b5b602a971f_rle_crop_3731679896_0.png', 1347581029: '1743013604_3690598_1347578863_a4fbc9b337eafd5e60a84b5b602a971f_rle_crop_3731679900_0.png', 1347581927: '1743013728_3693328_1347580336_7b52e1ce82afffa6c9b45213b00418d9_rle_crop_3731684859_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/1e956cd707947bf678e0d2be695a666f_94688069.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/87f721abbbea8432cf669b6e2281f276_48081533.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/39806d12f0ba9679026a0de55d62da44_81290425.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/d9dd1d040d69bf5cc062f753c1e2c3b3_19289091.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/2c94dac2e5a1db50d1358af5b38c28f1_83069466.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/1e956cd707947bf678e0d2be695a666f_90204452.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/2c94dac2e5a1db50d1358af5b38c28f1_70426531.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/21abf87998fd37a170d1cbf58ced2a71_34425879.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/aafdd8f62381c58f7e4167bbc2632399_90230508.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/ba0f641eb76e10a852251c0f4862a790_82215736.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/e93c0fb1bbca5584a46eb6e9b1627f4a_84430783.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/31073b0c3d359c2ef0f9102848197c54_20376436.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/d70fde218abbb239ac66bf8f8d6fe6b6_18576456.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/ac7b57221afeca618b6be86b28215a77_81982142.png change filename to text .imagette217422841743013980/ imagette217422841743013980/1743013431_2075935_1347576829_608d7abf26d8cc70bc94c490e21fcd72_rle_crop_3731675074_0.png.png imagette217422841743013980/1743013411_2075683_1347577450_a25c860d94264936f2dcafb1cdd79d72_rle_crop_3731674841_0.png.png imagette217422841743013980/1743013371_2075200_1347576829_608d7abf26d8cc70bc94c490e21fcd72_rle_crop_3731675074_0.png.png imagette217422841743013980/1743013354_2075024_1347576576_5aa9d03bc21ab73cc7f6391f8b836573_rle_crop_3731675024_0.png.png imagette217422841743013980/1743013480_3686777_1347578487_9a585cf400c3ac4ae94eb533b028b1f6_rle_crop_3731675761_0.png.png imagette217422841743013980/1743013472_2076708_1347578034_96ad3c84e569328a94dab3792c81ea72_rle_crop_3731676172_0.png.png imagette217422841743013980/1743013604_3690598_1347578863_a4fbc9b337eafd5e60a84b5b602a971f_rle_crop_3731679896_0.png.png imagette217422841743013980/1743013455_2076199_1347577844_459b14f68e24bd6450bc7ad06a4e0138_rle_crop_3731675482_0.png.png imagette217422841743013980/1743013604_3690598_1347578909_a294998c5b54c9d2939e943593fea3a7_rle_crop_3731679878_0.png.png imagette217422841743013980/1743013604_3690598_1347578863_a4fbc9b337eafd5e60a84b5b602a971f_rle_crop_3731679900_0.png.png imagette217422841743013980/1743013480_3686777_1347578487_9a585cf400c3ac4ae94eb533b028b1f6_rle_crop_3731675756_0.png.png imagette217422841743013980/1743013367_3683088_1347577450_a25c860d94264936f2dcafb1cdd79d72_rle_crop_3731674841_0.png.png imagette217422841743013980/1743013354_2075024_1347576664_94e8795a80e718ee1ff6abf1f43632a6_rle_crop_3731674991_0.png.png imagette217422841743013980/1743013728_3693328_1347580336_7b52e1ce82afffa6c9b45213b00418d9_rle_crop_3731684859_0.png.png imagette217422841743013980/1743013354_2075024_1347576664_94e8795a80e718ee1ff6abf1f43632a6_rle_crop_3731674995_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/d3154322ed82a5ae5fc9b9d3dca4b3a5_60642870.png imagette217422841743013980 21742286 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=21742286 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347578855: '1743013367_3683088_1347577531_c1f0bfe42b7f9160efcd598bda483b01_rle_crop_3731674796_0.png', 1347578942: '1743013371_2075200_1347576018_53a386d3791dbe4aa3e5b57b7caaa6ce_rle_crop_3731675179_0.png', 1347579758: '1743013411_2075683_1347577531_c1f0bfe42b7f9160efcd598bda483b01_rle_crop_3731674796_0.png', 1347579811: '1743013431_2075935_1347576018_53a386d3791dbe4aa3e5b57b7caaa6ce_rle_crop_3731675179_0.png', 1347579829: '1743013455_2076199_1347577844_459b14f68e24bd6450bc7ad06a4e0138_rle_crop_3731675489_0.png', 1347580037: '1743013472_2076708_1347578178_602ce6a0c7e9737a0a441d1756db6f99_rle_crop_3731676087_0.png', 1347580980: '1743013604_3690598_1347578863_a4fbc9b337eafd5e60a84b5b602a971f_rle_crop_3731679901_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/f618daba43c108d0fa4d70bc8b991366_86843652.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/5457719cde64a0ebc00237e6d05ffa57_55637220.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/f618daba43c108d0fa4d70bc8b991366_35048557.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/5457719cde64a0ebc00237e6d05ffa57_14579703.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/9f1ed00a217399182d6c30e8855738aa_30006057.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/5473298db0282b1a87d9b9db578a3e93_94907779.png change filename to text .imagette217422861743013981/ imagette217422861743013981/1743013455_2076199_1347577844_459b14f68e24bd6450bc7ad06a4e0138_rle_crop_3731675489_0.png.png imagette217422861743013981/1743013411_2075683_1347577531_c1f0bfe42b7f9160efcd598bda483b01_rle_crop_3731674796_0.png.png imagette217422861743013981/1743013371_2075200_1347576018_53a386d3791dbe4aa3e5b57b7caaa6ce_rle_crop_3731675179_0.png.png imagette217422861743013981/1743013367_3683088_1347577531_c1f0bfe42b7f9160efcd598bda483b01_rle_crop_3731674796_0.png.png imagette217422861743013981/1743013472_2076708_1347578178_602ce6a0c7e9737a0a441d1756db6f99_rle_crop_3731676087_0.png.png imagette217422861743013981/1743013604_3690598_1347578863_a4fbc9b337eafd5e60a84b5b602a971f_rle_crop_3731679901_0.png.png imagette217422861743013981/1743013431_2075935_1347576018_53a386d3791dbe4aa3e5b57b7caaa6ce_rle_crop_3731675179_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/46b1b6d36f836dccd217b357297d3b1a_40915942.png imagette217422861743013981 21742287 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=21742287 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347578905: '1743013354_2075024_1347576700_590f4eed80ed82baba19b29f98c83a06_rle_crop_3731674950_0.png', 1347578970: '1743013371_2075200_1347576829_608d7abf26d8cc70bc94c490e21fcd72_rle_crop_3731675075_0.png', 1347579819: '1743013431_2075935_1347576829_608d7abf26d8cc70bc94c490e21fcd72_rle_crop_3731675075_0.png', 1347580121: '1743013472_2076708_1347578252_c16b6b6ef164f30582733b892d6249d1_rle_crop_3731676074_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/3e959b7b975ed911b898c8cb2a6b3c1a_61862767.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/9e0c35233c412add0dc086f0a0503125_74892594.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/9e0c35233c412add0dc086f0a0503125_48969691.png change filename to text .imagette217422871743013981/ imagette217422871743013981/1743013354_2075024_1347576700_590f4eed80ed82baba19b29f98c83a06_rle_crop_3731674950_0.png.png imagette217422871743013981/1743013431_2075935_1347576829_608d7abf26d8cc70bc94c490e21fcd72_rle_crop_3731675075_0.png.png imagette217422871743013981/1743013472_2076708_1347578252_c16b6b6ef164f30582733b892d6249d1_rle_crop_3731676074_0.png.png imagette217422871743013981/1743013371_2075200_1347576829_608d7abf26d8cc70bc94c490e21fcd72_rle_crop_3731675075_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/c8020b950fef82ff056904c24c1c16d2_21734551.png imagette217422871743013981 21742279 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=21742279 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347578858: '1743013367_3683088_1347577450_a25c860d94264936f2dcafb1cdd79d72_rle_crop_3731674843_0.png', 1347579769: '1743013411_2075683_1347577450_a25c860d94264936f2dcafb1cdd79d72_rle_crop_3731674843_0.png', 1347579830: '1743013455_2076199_1347577844_459b14f68e24bd6450bc7ad06a4e0138_rle_crop_3731675490_0.png', 1347580995: '1743013604_3690598_1347578909_a294998c5b54c9d2939e943593fea3a7_rle_crop_3731679874_0.png', 1347581000: '1743013604_3690598_1347578877_49335e0fba2ef5340a7d5b38ee433524_rle_crop_3731679884_0.png', 1347581003: '1743013604_3690598_1347578863_a4fbc9b337eafd5e60a84b5b602a971f_rle_crop_3731679897_0.png', 1347581921: '1743013728_3693328_1347580464_ad85242bbf4329cb46a688b5c1cc69e4_rle_crop_3731684629_0.png', 1347581922: '1743013728_3693328_1347580336_7b52e1ce82afffa6c9b45213b00418d9_rle_crop_3731684860_0.png', 1347582745: '1743013875_2083439_1347581468_d29fe21c95e0ec8141c189caddba4dcf_rle_crop_3731690755_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/93f4c8618f7a78b0cf28c58010bf305d_31964408.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/93f4c8618f7a78b0cf28c58010bf305d_9220511.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/a873376d39ea48b5f036c75e35ff0ddf_88391423.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/67374f28e54eba27d7e3d08a8fb35687_27859554.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/9e161f73c1b21613bf1d46dfd62483c7_67525362.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/5c6de34b3ce328cd7670b99dc442be45_56715222.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/356fe0afd9f20f1bc35f80deb8764d6f_7050759.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/6d4d7fe38f16565ca67b54dcd78471c2_61467964.png change filename to text .imagette217422791743013981/ imagette217422791743013981/1743013411_2075683_1347577450_a25c860d94264936f2dcafb1cdd79d72_rle_crop_3731674843_0.png.png imagette217422791743013981/1743013604_3690598_1347578909_a294998c5b54c9d2939e943593fea3a7_rle_crop_3731679874_0.png.png imagette217422791743013981/1743013728_3693328_1347580336_7b52e1ce82afffa6c9b45213b00418d9_rle_crop_3731684860_0.png.png imagette217422791743013981/1743013604_3690598_1347578863_a4fbc9b337eafd5e60a84b5b602a971f_rle_crop_3731679897_0.png.png imagette217422791743013981/1743013455_2076199_1347577844_459b14f68e24bd6450bc7ad06a4e0138_rle_crop_3731675490_0.png.png imagette217422791743013981/1743013604_3690598_1347578877_49335e0fba2ef5340a7d5b38ee433524_rle_crop_3731679884_0.png.png imagette217422791743013981/1743013875_2083439_1347581468_d29fe21c95e0ec8141c189caddba4dcf_rle_crop_3731690755_0.png.png imagette217422791743013981/1743013367_3683088_1347577450_a25c860d94264936f2dcafb1cdd79d72_rle_crop_3731674843_0.png.png imagette217422791743013981/1743013728_3693328_1347580464_ad85242bbf4329cb46a688b5c1cc69e4_rle_crop_3731684629_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/8594cbdbf7660d326036c1c3d91425e4_29511377.png imagette217422791743013981 21742281 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=21742281 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347578873: '1743013367_3683088_1347577522_bd29ef010663788c92dcde1571638aac_rle_crop_3731674816_0.png', 1347578885: '1743013354_2075024_1347576664_94e8795a80e718ee1ff6abf1f43632a6_rle_crop_3731674992_0.png', 1347578888: '1743013354_2075024_1347576525_bc524bff6ea692c3e1d93cb521b7fbe4_rle_crop_3731675047_0.png', 1347579795: '1743013411_2075683_1347577522_bd29ef010663788c92dcde1571638aac_rle_crop_3731674816_0.png', 1347580099: '1743013472_2076708_1347578252_c16b6b6ef164f30582733b892d6249d1_rle_crop_3731676072_0.png', 1347580101: '1743013472_2076708_1347578081_e5f4d9643ff4f6add33373ffa4da1b10_rle_crop_3731676106_0.png', 1347580102: '1743013472_2076708_1347578081_e5f4d9643ff4f6add33373ffa4da1b10_rle_crop_3731676098_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/df4b1968e575e4a50c319344ff24a238_44926995.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/a7e72481d26c23464ecd2fa1e1c38a83_74802089.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/6962ca5f12ee1c540069e6cb3762ecfd_35231377.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/df4b1968e575e4a50c319344ff24a238_94188504.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/6a6b1fdbaa630d633877cfe285b42b88_17717587.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/def3d59f1e74b6e6cd919cea78ed173a_87461357.png change filename to text .imagette217422811743013982/ imagette217422811743013982/1743013354_2075024_1347576525_bc524bff6ea692c3e1d93cb521b7fbe4_rle_crop_3731675047_0.png.png imagette217422811743013982/1743013472_2076708_1347578081_e5f4d9643ff4f6add33373ffa4da1b10_rle_crop_3731676098_0.png.png imagette217422811743013982/1743013411_2075683_1347577522_bd29ef010663788c92dcde1571638aac_rle_crop_3731674816_0.png.png imagette217422811743013982/1743013472_2076708_1347578081_e5f4d9643ff4f6add33373ffa4da1b10_rle_crop_3731676106_0.png.png imagette217422811743013982/1743013367_3683088_1347577522_bd29ef010663788c92dcde1571638aac_rle_crop_3731674816_0.png.png imagette217422811743013982/1743013354_2075024_1347576664_94e8795a80e718ee1ff6abf1f43632a6_rle_crop_3731674992_0.png.png imagette217422811743013982/1743013472_2076708_1347578252_c16b6b6ef164f30582733b892d6249d1_rle_crop_3731676072_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/b30c542645c1023e7e66cd92fe73f574_22675376.png imagette217422811743013982 21742288 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=21742288 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347579808: '1743013431_2075935_1347576018_53a386d3791dbe4aa3e5b57b7caaa6ce_rle_crop_3731675183_0.png', 1347582741: '1743013875_2083439_1347581428_a27fec4467ca24ff9d8a6cbf7273ea2f_rle_crop_3731690832_0.png', 1347582740: '1743013875_2083439_1347581468_d29fe21c95e0ec8141c189caddba4dcf_rle_crop_3731690761_0.png', 1347582440: '1743013854_2083203_1347581917_912e6dff81255d5189087e2b86198bff_rle_crop_3731689087_0.png', 1347581920: '1743013728_3693328_1347580336_7b52e1ce82afffa6c9b45213b00418d9_rle_crop_3731684865_0.png', 1347581919: '1743013728_3693328_1347580336_7b52e1ce82afffa6c9b45213b00418d9_rle_crop_3731684868_0.png', 1347581918: '1743013728_3693328_1347580464_ad85242bbf4329cb46a688b5c1cc69e4_rle_crop_3731684632_0.png', 1347581840: '1743013708_29470_1347580525_3c2ccf547aa53b1c6d0bc40ddc4ad207_rle_crop_3731682764_0.png', 1347580968: '1743013604_3690598_1347578909_a294998c5b54c9d2939e943593fea3a7_rle_crop_3731679877_0.png', 1347580025: '1743013472_2076708_1347578034_96ad3c84e569328a94dab3792c81ea72_rle_crop_3731676175_0.png', 1347580023: '1743013472_2076708_1347578034_96ad3c84e569328a94dab3792c81ea72_rle_crop_3731676174_0.png', 1347580022: '1743013472_2076708_1347578081_e5f4d9643ff4f6add33373ffa4da1b10_rle_crop_3731676100_0.png', 1347580020: '1743013472_2076708_1347578503_124cdf45fa7e5c050dd0ae9bb924300a_rle_crop_3731676059_0.png', 1347579828: '1743013455_2076199_1347577844_459b14f68e24bd6450bc7ad06a4e0138_rle_crop_3731675486_0.png', 1347578841: '1743013367_3683088_1347577531_c1f0bfe42b7f9160efcd598bda483b01_rle_crop_3731674800_0.png', 1347579807: '1743013431_2075935_1347576829_608d7abf26d8cc70bc94c490e21fcd72_rle_crop_3731675079_0.png', 1347579744: '1743013411_2075683_1347577425_3856252b10862a69fc9ffec3b4ea9945_rle_crop_3731674969_0.png', 1347579743: '1743013411_2075683_1347577425_3856252b10862a69fc9ffec3b4ea9945_rle_crop_3731674967_0.png', 1347579742: '1743013411_2075683_1347577450_a25c860d94264936f2dcafb1cdd79d72_rle_crop_3731674844_0.png', 1347579740: '1743013411_2075683_1347577531_c1f0bfe42b7f9160efcd598bda483b01_rle_crop_3731674800_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/bf1868b0f245d03860cb42c58ee08108_15826554.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/ab068a56b186c3b283621aed9a205ff8_52771150.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/e8a203ba3cd0ce2362b01adbf41aee59_57659489.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/99a20dc460344f2c69132d20e44a6377_68334324.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/1da5b0095465a1657a7323c6f5363b14_42222076.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/d5c1a34df816a6a9f9ed499d0cfdafa4_27020649.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/86da180e19ef5d433ab9c11d1bf24a7c_16321956.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/97d10a2bc5ec105c382bf050db7367f7_67325069.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/c67f328890d352f753cb8bdc4491946e_88652927.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/a5a86ccda5eb3ddc710c12f78a37cc97_91496080.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/f761ec0ac0252391236125b407dcff5c_5855635.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/f2c562221309e76cad12177b4d93fe5c_79760083.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/27b7d4cd6031f01a25f393063af885c4_80519978.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/682d028aaa14149048c483531d257cbf_27235924.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/0a5d3664c97f8a6c707d2ec838cdac73_59261521.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/0e6d12e5ec38ec0d6c6bf855347f398a_85854639.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/2d566e5a91fa897471d7207899e8f903_34972484.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/94c3ec4183f26f82555c90387646cd57_89711258.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/30c4807164aa8fb2bd5451adcb7c8f58_40890050.png change filename to text .imagette217422881743013982/ imagette217422881743013982/1743013411_2075683_1347577531_c1f0bfe42b7f9160efcd598bda483b01_rle_crop_3731674800_0.png.png imagette217422881743013982/1743013875_2083439_1347581428_a27fec4467ca24ff9d8a6cbf7273ea2f_rle_crop_3731690832_0.png.png imagette217422881743013982/1743013411_2075683_1347577425_3856252b10862a69fc9ffec3b4ea9945_rle_crop_3731674969_0.png.png imagette217422881743013982/1743013728_3693328_1347580336_7b52e1ce82afffa6c9b45213b00418d9_rle_crop_3731684865_0.png.png imagette217422881743013982/1743013854_2083203_1347581917_912e6dff81255d5189087e2b86198bff_rle_crop_3731689087_0.png.png imagette217422881743013982/1743013455_2076199_1347577844_459b14f68e24bd6450bc7ad06a4e0138_rle_crop_3731675486_0.png.png imagette217422881743013982/1743013367_3683088_1347577531_c1f0bfe42b7f9160efcd598bda483b01_rle_crop_3731674800_0.png.png imagette217422881743013982/1743013431_2075935_1347576018_53a386d3791dbe4aa3e5b57b7caaa6ce_rle_crop_3731675183_0.png.png imagette217422881743013982/1743013472_2076708_1347578034_96ad3c84e569328a94dab3792c81ea72_rle_crop_3731676175_0.png.png imagette217422881743013982/1743013411_2075683_1347577450_a25c860d94264936f2dcafb1cdd79d72_rle_crop_3731674844_0.png.png imagette217422881743013982/1743013472_2076708_1347578081_e5f4d9643ff4f6add33373ffa4da1b10_rle_crop_3731676100_0.png.png imagette217422881743013982/1743013472_2076708_1347578503_124cdf45fa7e5c050dd0ae9bb924300a_rle_crop_3731676059_0.png.png imagette217422881743013982/1743013728_3693328_1347580336_7b52e1ce82afffa6c9b45213b00418d9_rle_crop_3731684868_0.png.png imagette217422881743013982/1743013875_2083439_1347581468_d29fe21c95e0ec8141c189caddba4dcf_rle_crop_3731690761_0.png.png imagette217422881743013982/1743013472_2076708_1347578034_96ad3c84e569328a94dab3792c81ea72_rle_crop_3731676174_0.png.png imagette217422881743013982/1743013604_3690598_1347578909_a294998c5b54c9d2939e943593fea3a7_rle_crop_3731679877_0.png.png imagette217422881743013982/1743013431_2075935_1347576829_608d7abf26d8cc70bc94c490e21fcd72_rle_crop_3731675079_0.png.png imagette217422881743013982/1743013708_29470_1347580525_3c2ccf547aa53b1c6d0bc40ddc4ad207_rle_crop_3731682764_0.png.png imagette217422881743013982/1743013728_3693328_1347580464_ad85242bbf4329cb46a688b5c1cc69e4_rle_crop_3731684632_0.png.png imagette217422881743013982/1743013411_2075683_1347577425_3856252b10862a69fc9ffec3b4ea9945_rle_crop_3731674967_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/0a5d3664c97f8a6c707d2ec838cdac73_51212598.png imagette217422881743013982 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21742216 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21742289,21742290,21742291,21742292,21742293,21742294,21742295,21742296,21742297,21742298,21742299,21742300?tags=mal_croppe,environnement,Carton_gris,flou,Carton_brun,metal,plastique,cartonnette,papier,autre_refus,kraft,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1347582325] : ('0.03434695817916033',) no score found for photo 1347582325 We are sending mail with results at report@fotonower.com args[1347582309] : ('0.03434695817916033',) no score found for photo 1347582309 We are sending mail with results at report@fotonower.com args[1347582294] : ('0.03434695817916033',) no score found for photo 1347582294 We are sending mail with results at report@fotonower.com args[1347582070] : ('0.03434695817916033',) no score found for photo 1347582070 We are sending mail with results at report@fotonower.com args[1347582044] : ('0.03434695817916033',) no score found for photo 1347582044 We are sending mail with results at report@fotonower.com args[1347582018] : ('0.03434695817916033',) no score found for photo 1347582018 We are sending mail with results at report@fotonower.com args[1347582007] : ('0.03434695817916033',) no score found for photo 1347582007 We are sending mail with results at report@fotonower.com args[1347582002] : ('0.03434695817916033',) no score found for photo 1347582002 We are sending mail with results at report@fotonower.com args[1347581999] : ('0.03434695817916033',) no score found for photo 1347581999 We are sending mail with results at report@fotonower.com refus_total : 0.03434695817916033 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=21742216 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_P21742216_26-03-2025_19_32_59.pdf results_Auto_P21742216_26-03-2025_19_32_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21742216_26-03-2025_19_32_59.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','21742216','results_Auto_P21742216_26-03-2025_19_32_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21742216_26-03-2025_19_32_59.pdf','pdf','','0.25','0.03434695817916033') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21742216]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1347582325, 1347582309, 1347582294, 1347582070, 1347582044, 1347582018, 1347582007, 1347582002, 1347581999] map_info['map_portfolio_photo'] : {21742216: [1347582325, 1347582309, 1347582294, 1347582070, 1347582044, 1347582018, 1347582007, 1347582002, 1347581999, 1347581925, 1347581917, 1347581914, 1347581574, 1347581566, 1347581487, 1347581468, 1347581461, 1347581428, 1347581089, 1347581060, 1347581040, 1347580996, 1347580525, 1347580464, 1347580405, 1347580336, 1347580285, 1347580213, 1347579867, 1347579836, 1347579834, 1347579729, 1347579714, 1347579700, 1347579659, 1347579552, 1347579480, 1347578927, 1347578909, 1347578877, 1347578863, 1347578828, 1347578503, 1347578487, 1347578479, 1347578458, 1347578317, 1347578282, 1347578252, 1347578178, 1347578081, 1347578034, 1347577844, 1347577821, 1347577816, 1347577814, 1347577812, 1347577541, 1347577531, 1347577522, 1347577450, 1347577425, 1347576829, 1347576700, 1347576664, 1347576576, 1347576525, 1347576079, 1347576066, 1347576032, 1347576018]} final : False mtd_id 4302 list_pids : [1347582325, 1347582309, 1347582294, 1347582070, 1347582044, 1347582018, 1347582007, 1347582002, 1347581999] 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, '2693871') ('4302', '21742216', '1347582325', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582309', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582294', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582070', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582044', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582018', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582007', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582002', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347581999', None, None, None, None, None, '2693871') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 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', '21742216', '1347582325', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582309', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582294', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582070', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582044', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582018', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582007', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582002', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347581999', None, None, None, None, None, '2693871')] time used for this insertion : 0.013807296752929688 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.422773361206055 time spend to save output : 0.014104366302490234 total time spend for step 4 : 5.436877727508545 step5:split_time_score Wed Mar 26 19:33:05 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 : ['21742216'] 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 : [('21742216',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21742216) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1347582325: {'path': 'temp/1743013979_82039_1347582325_61af4ee7d141d1f52fb3f9c66fa3b199.jpg', 'extension': 'jpg'}, 1347582294: {'path': 'temp/1743013979_82039_1347582294_0dc2e892e682533ac14b6e569fa7286d.jpg', 'extension': 'jpg'}, 1347582309: {'path': 'temp/1743013979_82039_1347582309_8335cd6c5eb6885462820a47885986bb.jpg', 'extension': 'jpg'}, 1347581999: {'path': 'temp/1743013979_82039_1347581999_812640ce100e6b98fe8c8c4b73d7a4ad.jpg', 'extension': 'jpg'}, 1347582002: {'path': 'temp/1743013979_82039_1347582002_8e97c5519a48310d8fd0c73de4d98d7a.jpg', 'extension': 'jpg'}, 1347582044: {'path': 'temp/1743013979_82039_1347582044_1c3f474727ce8fafd5e3bfdd05904727.jpg', 'extension': 'jpg'}, 1347582070: {'path': 'temp/1743013979_82039_1347582070_14260fae6028d3f31ba007f5f6943b8f.jpg', 'extension': 'jpg'}, 1347582007: {'path': 'temp/1743013979_82039_1347582007_06986f0a35f5a074d17a995cb140106b.jpg', 'extension': 'jpg'}, 1347582018: {'path': 'temp/1743013979_82039_1347582018_97cb192ee84e32dd35bc30f4a1ef97fd.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 = 21742216; (('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 = 21742216 group by h (('19', 71),) 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=21742216 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 (21742216) 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 (21742216) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26032025 21742216 Nombre de photos uploadées : 71 / 23040 (0%) 26032025 21742216 Nombre de photos taguées (types de déchets): 0 / 71 (0%) 26032025 21742216 Nombre de photos taguées (volume) : 0 / 71 (0%) [{'photo_id': 1347576079, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/bcff8e066ffaf6f92cd737a80b122382.jpg', 'username': None, 'uploaded_at': 1743013035, 'text': 'image_26032025_19_15_13_010139m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1347576066, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/f1a5f7249902fd51bae6f95aa9f95a43.jpg', 'username': None, 'uploaded_at': 1743013035, 'text': 'image_26032025_19_15_23_010141m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1347576032, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/2d8184b4e1bcb124713b65899b9ed5fb.jpg', 'username': None, 'uploaded_at': 1743013035, 'text': 'image_26032025_19_15_34_010134m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1347576018, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/53a386d3791dbe4aa3e5b57b7caaa6ce.jpg', 'username': None, 'uploaded_at': 1743013035, 'text': 'image_26032025_19_15_44_010137m0.jpg 4e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 4.0531158447265625e-06 elapsed_time : order_list_meta_photo_and_scores 1.0967254638671875e-05 ??????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0032362937927246094 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21742216, '2025-03-26' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1689284,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.022948265075683594 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= 1689284 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1689284, 'dashboard_run_id': 1698710, 'mtr_portfolio_id': 21740539, 'dashboard_result_id': 9644902, '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_P21740539_26-03-2025_19_03_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21740540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21740541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21740542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21740543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21740544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21740545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21740546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21740547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21740548, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21740549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21740550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21740551, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1698710, 'mtr_portfolio_id': 21741201, 'dashboard_result_id': 9644903, '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_P21741201_26-03-2025_19_18_45.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21741243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21741244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21741245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21741246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21741247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21741248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21741249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21741250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21741251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21741252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21741253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21741254, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1698710, 'mtr_portfolio_id': 21742216, 'dashboard_result_id': 9644904, '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_P21742216_26-03-2025_19_31_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21742277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21742278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21742279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21742280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21742281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21742282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21742283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21742284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21742285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21742286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21742287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21742288, '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 = 21740539 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': 2693745, 'mtr_portfolio_id': 21740539, 'created_at': datetime.datetime(2025, 3, 26, 19, 3, 58), 'result': '0.048762306240456306', 'result_long': None, 'result_double': None}] Qualite : 0.048762306240456306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21740539 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21740539_26-03-2025_19_03_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21740539 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_P21740539_26-03-2025_19_03_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21740540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21740541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21740542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21740543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21740544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21740545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21740546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21740547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21740548, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21740549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21740550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21740551, 'pht': 3726}}" where mtr_portfolio_id = 21740539 and dashboard_run_id = 1698710 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`=21740539 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9644902, 0.048762306240456306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21740539_26-03-2025_19_03_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21740540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21740541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21740542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21740543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21740544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21740545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21740546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21740547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21740548, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21740549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21740550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21740551, '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 = 21741201 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': 2693822, 'mtr_portfolio_id': 21741201, 'created_at': datetime.datetime(2025, 3, 26, 19, 18, 44), 'result': '0.05696838522286202', 'result_long': None, 'result_double': None}] Qualite : 0.05696838522286202 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21741201 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21741201_26-03-2025_19_18_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21741201 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_P21741201_26-03-2025_19_18_45.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21741243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21741244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21741245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21741246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21741247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21741248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21741249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21741250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21741251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21741252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21741253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21741254, 'pht': 3726}}" where mtr_portfolio_id = 21741201 and dashboard_run_id = 1698710 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`=21741201 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9644903, 0.05696838522286202, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21741201_26-03-2025_19_18_45.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21741243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21741244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21741245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21741246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21741247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21741248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21741249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21741250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21741251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21741252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21741253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21741254, '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 = 21742216 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': 2693871, 'mtr_portfolio_id': 21742216, 'created_at': datetime.datetime(2025, 3, 26, 19, 32, 59), 'result': '0.03434695817916033', 'result_long': None, 'result_double': None}] Qualite : 0.03434695817916033 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21742216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21742216_26-03-2025_19_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21742216 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_P21742216_26-03-2025_19_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21742277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21742278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21742279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21742280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21742281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21742282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21742283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21742284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21742285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21742286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21742287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21742288, 'pht': 3726}}" where mtr_portfolio_id = 21742216 and dashboard_run_id = 1698710 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`=21742216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9644904, 0.03434695817916033, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21742216_26-03-2025_19_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21742277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21742278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21742279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21742280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21742281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21742282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21742283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21742284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21742285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21742286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21742287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21742288, '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 (21740539,21741201,21742216) result : ((1347563856,), (1347563859,), (1347563942,), (1347563948,), (1347564004,), (1347564007,), (1347564011,), (1347564077,), (1347564081,), (1347564086,), (1347564090,), (1347564095,), (1347564097,), (1347564125,), (1347564128,), (1347564166,), (1347564314,), (1347564463,), (1347564467,), (1347564472,), (1347564622,), (1347564624,), (1347564628,), (1347564633,), (1347564638,), (1347564642,), (1347564671,), (1347564681,), (1347564683,), (1347564689,), (1347564716,), (1347564718,), (1347564720,), (1347564724,), (1347564728,), (1347564734,), (1347564760,), (1347564762,), (1347564764,), (1347564767,), (1347565019,), (1347565055,), (1347565136,), (1347565185,), (1347565224,), (1347565245,), (1347565348,), (1347565381,), (1347565419,), (1347565449,), (1347565474,), (1347565605,), (1347565642,), (1347565731,), (1347565768,), (1347565816,), (1347566212,), (1347566287,), (1347566332,), (1347566353,), (1347566416,), (1347567115,), (1347567120,), (1347567125,), (1347567132,), (1347567137,), (1347567142,), (1347567158,), (1347567163,), (1347567191,), (1347567460,), (1347567293,), (1347567339,), (1347567379,), (1347567407,), (1347567783,), (1347567808,), (1347567842,), (1347567871,), (1347567905,), (1347568295,), (1347568360,), (1347568435,), (1347568510,), (1347568590,), (1347569299,), (1347569384,), (1347569461,), (1347569507,), (1347569565,), (1347570185,), (1347570264,), (1347570340,), (1347570358,), (1347570469,), (1347571133,), (1347571178,), (1347571225,), (1347571266,), (1347571343,), (1347571782,), (1347571832,), (1347571861,), (1347571928,), (1347572617,), (1347572637,), (1347572757,), (1347572805,), (1347572865,), (1347573254,), (1347573281,), (1347573306,), (1347573316,), (1347573331,), (1347573649,), (1347573684,), (1347573761,), (1347573800,), (1347573832,), (1347574056,), (1347574084,), (1347574126,), (1347574150,), (1347574168,), (1347574172,), (1347574420,), (1347574442,), (1347574455,), (1347574850,), (1347574898,), (1347575415,), (1347575441,), (1347575492,), (1347575519,), (1347575548,), (1347575572,), (1347575664,), (1347575685,), (1347575715,), (1347575739,), (1347575771,), (1347575818,), (1347576108,), (1347576018,), (1347576032,), (1347576066,), (1347576079,), (1347576525,), (1347576576,), (1347576664,), (1347576700,), (1347576829,), (1347577425,), (1347577450,), (1347577522,), (1347577531,), (1347577541,), (1347577812,), (1347577814,), (1347577816,), (1347577821,), (1347577844,), (1347578034,), (1347578081,), (1347578178,), (1347578252,), (1347578282,), (1347578317,), (1347578458,), (1347578479,), (1347578487,), (1347578503,), (1347578828,), (1347578863,), (1347578877,), (1347578909,), (1347578927,), (1347579480,), (1347579552,), (1347579659,), (1347579700,), (1347579714,), (1347579729,), (1347579834,), (1347579836,), (1347579867,), (1347580213,), (1347580285,), (1347580336,), (1347580405,), (1347580464,), (1347580525,), (1347580996,), (1347581040,), (1347581060,), (1347581089,), (1347581428,), (1347581461,), (1347581468,), (1347581487,), (1347581566,), (1347581574,), (1347581914,), (1347581917,), (1347581925,), (1347581999,), (1347582002,), (1347582007,), (1347582018,), (1347582044,), (1347582070,), (1347582294,), (1347582309,), (1347582325,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26032025': {'nb_upload': 71, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21742216]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1347582325, 1347582309, 1347582294, 1347582070, 1347582044, 1347582018, 1347582007, 1347582002, 1347581999] map_info['map_portfolio_photo'] : {21742216: [1347582325, 1347582309, 1347582294, 1347582070, 1347582044, 1347582018, 1347582007, 1347582002, 1347581999, 1347581925, 1347581917, 1347581914, 1347581574, 1347581566, 1347581487, 1347581468, 1347581461, 1347581428, 1347581089, 1347581060, 1347581040, 1347580996, 1347580525, 1347580464, 1347580405, 1347580336, 1347580285, 1347580213, 1347579867, 1347579836, 1347579834, 1347579729, 1347579714, 1347579700, 1347579659, 1347579552, 1347579480, 1347578927, 1347578909, 1347578877, 1347578863, 1347578828, 1347578503, 1347578487, 1347578479, 1347578458, 1347578317, 1347578282, 1347578252, 1347578178, 1347578081, 1347578034, 1347577844, 1347577821, 1347577816, 1347577814, 1347577812, 1347577541, 1347577531, 1347577522, 1347577450, 1347577425, 1347576829, 1347576700, 1347576664, 1347576576, 1347576525, 1347576079, 1347576066, 1347576032, 1347576018]} final : True mtd_id 4302 list_pids : [1347582325, 1347582309, 1347582294, 1347582070, 1347582044, 1347582018, 1347582007, 1347582002, 1347581999] Looping around the photos to save general results len do output : 1 /21742216Didn'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, '2693871') ('4302', '21742216', '1347582325', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582309', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582294', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582070', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582044', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582018', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582007', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347582002', None, None, None, None, None, '2693871') ('4302', None, None, None, None, None, None, None, '2693871') ('4302', '21742216', '1347581999', None, None, None, None, None, '2693871') 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', None, '21742216', 'None', None, None, None, None, '2693871'), ('4302', '21742216', '1347582325', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582309', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582294', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582070', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582044', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582018', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582007', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347582002', None, None, None, None, None, '2693871'), ('4302', '21742216', '1347581999', None, None, None, None, None, '2693871')] time used for this insertion : 0.01611614227294922 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.32337045669555664 time spend to save output : 0.016369104385375977 total time spend for step 5 : 0.3397395610809326 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 (2693871) 2.21user 2.21system 0:11.04elapsed 40%CPU (0avgtext+0avgdata 159140maxresident)k 13736inputs+13848outputs (67major+69108minor)pagefaults 0swaps