SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21763753) result : ((1347720240,), (1347721206,), (1347721207,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21763711) result : ((1347717294,), (1347717298,), (1347717301,), (1347717409,), (1347717410,), (1347717414,), (1347717416,), (1347717419,), (1347717424,), (1347717458,), (1347717472,), (1347717478,), (1347717574,), (1347717631,), (1347718151,), (1347718219,), (1347718287,), (1347718317,), (1347718413,), (1347718866,), (1347718947,), (1347718995,), (1347719059,), (1347719148,), (1347719234,), (1347719690,), (1347719932,), (1347720000,), (1347720068,), (1347720231,), (1347720233,), (1347720238,), (1347720244,), (1347720247,), (1347720251,), (1347720325,), (1347720349,), (1347720370,), (1347720401,), (1347720930,), (1347721129,), (1347721197,), (1347721224,), (1347721262,), (1347721447,), (1347721451,), (1347721461,), (1347721519,), (1347721549,), (1347721634,), (1347721674,), (1347721706,), (1347721745,), (1347721762,), (1347721786,)) 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 (1347720000) 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 21763754 , 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=21763711 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='mal_croppe' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21763754) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21763711) result : ((1347717294,), (1347717298,), (1347717301,), (1347717409,), (1347717410,), (1347717414,), (1347717416,), (1347717419,), (1347717424,), (1347717458,), (1347717472,), (1347717478,), (1347717574,), (1347717631,), (1347718151,), (1347718219,), (1347718287,), (1347718317,), (1347718413,), (1347718866,), (1347718947,), (1347718995,), (1347719059,), (1347719148,), (1347719234,), (1347719690,), (1347719932,), (1347720000,), (1347720068,), (1347720231,), (1347720233,), (1347720238,), (1347720244,), (1347720247,), (1347720251,), (1347720325,), (1347720349,), (1347720370,), (1347720401,), (1347720930,), (1347721129,), (1347721197,), (1347721224,), (1347721262,), (1347721447,), (1347721451,), (1347721461,), (1347721519,), (1347721549,), (1347721634,), (1347721674,), (1347721706,), (1347721745,), (1347721762,), (1347721786,)) 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 (1347720000) 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 21763758 , 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=21763711 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 (21763758) result : ((1347720237,), (1347720239,), (1347720359,), (1347720360,), (1347720361,), (1347721184,), (1347721185,), (1347721186,), (1347721187,), (1347721188,), (1347721190,), (1347721191,), (1347721192,), (1347721193,), (1347721194,), (1347721196,), (1347721973,), (1347721974,), (1347721975,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21763711) result : ((1347717294,), (1347717298,), (1347717301,), (1347717409,), (1347717410,), (1347717414,), (1347717416,), (1347717419,), (1347717424,), (1347717458,), (1347717472,), (1347717478,), (1347717574,), (1347717631,), (1347718151,), (1347718219,), (1347718287,), (1347718317,), (1347718413,), (1347718866,), (1347718947,), (1347718995,), (1347719059,), (1347719148,), (1347719234,), (1347719690,), (1347719932,), (1347720000,), (1347720068,), (1347720231,), (1347720233,), (1347720238,), (1347720244,), (1347720247,), (1347720251,), (1347720325,), (1347720349,), (1347720370,), (1347720401,), (1347720930,), (1347721129,), (1347721197,), (1347721224,), (1347721262,), (1347721447,), (1347721451,), (1347721461,), (1347721519,), (1347721549,), (1347721634,), (1347721674,), (1347721706,), (1347721745,), (1347721762,), (1347721786,)) 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 (1347720000) 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 21763764 , 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=21763711 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 (21763764) result : ((1347720376,), (1347721225,), (1347721237,), (1347721673,), (1347721676,), (1347721978,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21763711) result : ((1347717294,), (1347717298,), (1347717301,), (1347717409,), (1347717410,), (1347717414,), (1347717416,), (1347717419,), (1347717424,), (1347717458,), (1347717472,), (1347717478,), (1347717574,), (1347717631,), (1347718151,), (1347718219,), (1347718287,), (1347718317,), (1347718413,), (1347718866,), (1347718947,), (1347718995,), (1347719059,), (1347719148,), (1347719234,), (1347719690,), (1347719932,), (1347720000,), (1347720068,), (1347720231,), (1347720233,), (1347720238,), (1347720244,), (1347720247,), (1347720251,), (1347720325,), (1347720349,), (1347720370,), (1347720401,), (1347720930,), (1347721129,), (1347721197,), (1347721224,), (1347721262,), (1347721447,), (1347721451,), (1347721461,), (1347721519,), (1347721549,), (1347721634,), (1347721674,), (1347721706,), (1347721745,), (1347721762,), (1347721786,)) 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 (1347720000) 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 21763769 , 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=21763711 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 (21763769) result : ((1347720241,), (1347720369,), (1347720371,), (1347720372,), (1347721212,), (1347721214,), (1347721667,), (1347721977,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21763711) result : ((1347717294,), (1347717298,), (1347717301,), (1347717409,), (1347717410,), (1347717414,), (1347717416,), (1347717419,), (1347717424,), (1347717458,), (1347717472,), (1347717478,), (1347717574,), (1347717631,), (1347718151,), (1347718219,), (1347718287,), (1347718317,), (1347718413,), (1347718866,), (1347718947,), (1347718995,), (1347719059,), (1347719148,), (1347719234,), (1347719690,), (1347719932,), (1347720000,), (1347720068,), (1347720231,), (1347720233,), (1347720238,), (1347720244,), (1347720247,), (1347720251,), (1347720325,), (1347720349,), (1347720370,), (1347720401,), (1347720930,), (1347721129,), (1347721197,), (1347721224,), (1347721262,), (1347721447,), (1347721451,), (1347721461,), (1347721519,), (1347721549,), (1347721634,), (1347721674,), (1347721706,), (1347721745,), (1347721762,), (1347721786,)) 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 (1347720000) 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 21763770 , 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=21763711 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 (21763770) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21763711) result : ((1347717294,), (1347717298,), (1347717301,), (1347717409,), (1347717410,), (1347717414,), (1347717416,), (1347717419,), (1347717424,), (1347717458,), (1347717472,), (1347717478,), (1347717574,), (1347717631,), (1347718151,), (1347718219,), (1347718287,), (1347718317,), (1347718413,), (1347718866,), (1347718947,), (1347718995,), (1347719059,), (1347719148,), (1347719234,), (1347719690,), (1347719932,), (1347720000,), (1347720068,), (1347720231,), (1347720233,), (1347720238,), (1347720244,), (1347720247,), (1347720251,), (1347720325,), (1347720349,), (1347720370,), (1347720401,), (1347720930,), (1347721129,), (1347721197,), (1347721224,), (1347721262,), (1347721447,), (1347721451,), (1347721461,), (1347721519,), (1347721549,), (1347721634,), (1347721674,), (1347721706,), (1347721745,), (1347721762,), (1347721786,)) 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 (1347720000) 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 21763771 , 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=21763711 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 (21763771) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21763711) result : ((1347717294,), (1347717298,), (1347717301,), (1347717409,), (1347717410,), (1347717414,), (1347717416,), (1347717419,), (1347717424,), (1347717458,), (1347717472,), (1347717478,), (1347717574,), (1347717631,), (1347718151,), (1347718219,), (1347718287,), (1347718317,), (1347718413,), (1347718866,), (1347718947,), (1347718995,), (1347719059,), (1347719148,), (1347719234,), (1347719690,), (1347719932,), (1347720000,), (1347720068,), (1347720231,), (1347720233,), (1347720238,), (1347720244,), (1347720247,), (1347720251,), (1347720325,), (1347720349,), (1347720370,), (1347720401,), (1347720930,), (1347721129,), (1347721197,), (1347721224,), (1347721262,), (1347721447,), (1347721451,), (1347721461,), (1347721519,), (1347721549,), (1347721634,), (1347721674,), (1347721706,), (1347721745,), (1347721762,), (1347721786,)) 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 (1347720000) 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 21763772 , 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=21763711 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 (21763772) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21763711) result : ((1347717294,), (1347717298,), (1347717301,), (1347717409,), (1347717410,), (1347717414,), (1347717416,), (1347717419,), (1347717424,), (1347717458,), (1347717472,), (1347717478,), (1347717574,), (1347717631,), (1347718151,), (1347718219,), (1347718287,), (1347718317,), (1347718413,), (1347718866,), (1347718947,), (1347718995,), (1347719059,), (1347719148,), (1347719234,), (1347719690,), (1347719932,), (1347720000,), (1347720068,), (1347720231,), (1347720233,), (1347720238,), (1347720244,), (1347720247,), (1347720251,), (1347720325,), (1347720349,), (1347720370,), (1347720401,), (1347720930,), (1347721129,), (1347721197,), (1347721224,), (1347721262,), (1347721447,), (1347721451,), (1347721461,), (1347721519,), (1347721549,), (1347721634,), (1347721674,), (1347721706,), (1347721745,), (1347721762,), (1347721786,)) 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 (1347720000) 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 21763773 , 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=21763711 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 (21763773) result : ((1347720242,), (1347720380,), (1347720382,), (1347720384,), (1347721253,), (1347721254,), (1347721256,), (1347721257,), (1347721981,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21763711) result : ((1347717294,), (1347717298,), (1347717301,), (1347717409,), (1347717410,), (1347717414,), (1347717416,), (1347717419,), (1347717424,), (1347717458,), (1347717472,), (1347717478,), (1347717574,), (1347717631,), (1347718151,), (1347718219,), (1347718287,), (1347718317,), (1347718413,), (1347718866,), (1347718947,), (1347718995,), (1347719059,), (1347719148,), (1347719234,), (1347719690,), (1347719932,), (1347720000,), (1347720068,), (1347720231,), (1347720233,), (1347720238,), (1347720244,), (1347720247,), (1347720251,), (1347720325,), (1347720349,), (1347720370,), (1347720401,), (1347720930,), (1347721129,), (1347721197,), (1347721224,), (1347721262,), (1347721447,), (1347721451,), (1347721461,), (1347721519,), (1347721549,), (1347721634,), (1347721674,), (1347721706,), (1347721745,), (1347721762,), (1347721786,)) 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 (1347720000) 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 21763774 , 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=21763711 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 (21763774) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21763711) result : ((1347717294,), (1347717298,), (1347717301,), (1347717409,), (1347717410,), (1347717414,), (1347717416,), (1347717419,), (1347717424,), (1347717458,), (1347717472,), (1347717478,), (1347717574,), (1347717631,), (1347718151,), (1347718219,), (1347718287,), (1347718317,), (1347718413,), (1347718866,), (1347718947,), (1347718995,), (1347719059,), (1347719148,), (1347719234,), (1347719690,), (1347719932,), (1347720000,), (1347720068,), (1347720231,), (1347720233,), (1347720238,), (1347720244,), (1347720247,), (1347720251,), (1347720325,), (1347720349,), (1347720370,), (1347720401,), (1347720930,), (1347721129,), (1347721197,), (1347721224,), (1347721262,), (1347721447,), (1347721451,), (1347721461,), (1347721519,), (1347721549,), (1347721634,), (1347721674,), (1347721706,), (1347721745,), (1347721762,), (1347721786,)) 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 (1347720000) 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 21763775 , 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=21763711 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 (21763775) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21763711) result : ((1347717294,), (1347717298,), (1347717301,), (1347717409,), (1347717410,), (1347717414,), (1347717416,), (1347717419,), (1347717424,), (1347717458,), (1347717472,), (1347717478,), (1347717574,), (1347717631,), (1347718151,), (1347718219,), (1347718287,), (1347718317,), (1347718413,), (1347718866,), (1347718947,), (1347718995,), (1347719059,), (1347719148,), (1347719234,), (1347719690,), (1347719932,), (1347720000,), (1347720068,), (1347720231,), (1347720233,), (1347720238,), (1347720244,), (1347720247,), (1347720251,), (1347720325,), (1347720349,), (1347720370,), (1347720401,), (1347720930,), (1347721129,), (1347721197,), (1347721224,), (1347721262,), (1347721447,), (1347721451,), (1347721461,), (1347721519,), (1347721549,), (1347721634,), (1347721674,), (1347721706,), (1347721745,), (1347721762,), (1347721786,)) 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 (1347720000) 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 21763776 , 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=21763711 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 (21763776) result : ((1347720389,), (1347720390,), (1347721260,), (1347721983,), (1347721984,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21763711) result : ((1347717294,), (1347717298,), (1347717301,), (1347717409,), (1347717410,), (1347717414,), (1347717416,), (1347717419,), (1347717424,), (1347717458,), (1347717472,), (1347717478,), (1347717574,), (1347717631,), (1347718151,), (1347718219,), (1347718287,), (1347718317,), (1347718413,), (1347718866,), (1347718947,), (1347718995,), (1347719059,), (1347719148,), (1347719234,), (1347719690,), (1347719932,), (1347720000,), (1347720068,), (1347720231,), (1347720233,), (1347720238,), (1347720244,), (1347720247,), (1347720251,), (1347720325,), (1347720349,), (1347720370,), (1347720401,), (1347720930,), (1347721129,), (1347721197,), (1347721224,), (1347721262,), (1347721447,), (1347721451,), (1347721461,), (1347721519,), (1347721549,), (1347721634,), (1347721674,), (1347721706,), (1347721745,), (1347721762,), (1347721786,)) 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 (1347720000) 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`=21763711 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','papier','Carton_gris','mal_croppe','kraft','plastique','cartonnette','environnement','metal','Carton_brun','flou','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21763711 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','papier','Carton_gris','mal_croppe','kraft','plastique','cartonnette','environnement','metal','Carton_brun','flou','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 21763711, 'sub_port_id': 21763777, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14286903, 'last_updated_at': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 2, 20, 31)}, 'mal_croppe': {'main_port_id': 21763711, 'sub_port_id': 21763778, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14286904, 'last_updated_at': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 2, 20, 31)}, 'Teint_Dans_La_Masse': {'main_port_id': 21763711, 'sub_port_id': 21763779, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14286905, 'last_updated_at': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 2, 20, 31)}, 'cartonnette': {'main_port_id': 21763711, 'sub_port_id': 21763780, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14286906, 'last_updated_at': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 2, 20, 31)}, 'Carton_gris': {'main_port_id': 21763711, 'sub_port_id': 21763781, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14286907, 'last_updated_at': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 2, 20, 31)}, 'metal': {'main_port_id': 21763711, 'sub_port_id': 21763782, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14286908, 'last_updated_at': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 2, 20, 31)}, 'papier': {'main_port_id': 21763711, 'sub_port_id': 21763783, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14286909, 'last_updated_at': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 2, 20, 31)}, 'flou': {'main_port_id': 21763711, 'sub_port_id': 21763784, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14286910, 'last_updated_at': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 2, 20, 31)}, 'Carton_brun': {'main_port_id': 21763711, 'sub_port_id': 21763785, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14286911, 'last_updated_at': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 2, 20, 31)}, 'kraft': {'main_port_id': 21763711, 'sub_port_id': 21763786, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14286912, 'last_updated_at': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 2, 20, 31)}, 'environnement': {'main_port_id': 21763711, 'sub_port_id': 21763787, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14286913, 'last_updated_at': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 2, 20, 31), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 2, 20, 31)}, 'plastique': {'main_port_id': 21763711, 'sub_port_id': 21763788, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14286914, 'last_updated_at': datetime.datetime(2025, 3, 27, 2, 26, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 2, 26, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 2, 20, 31)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21763777,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21763753 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21763778,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21763754 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21763779,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21763758 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21763780,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21763764 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21763781,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21763769 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21763782,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21763770 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21763783,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21763771 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21763784,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21763772 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21763785,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21763773 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21763786,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21763774 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21763787,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21763775 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21763788,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21763776 lien utilise dans velours : https://www.fotonower.com/velours/21763777,21763778,21763779,21763780,21763781,21763782,21763783,21763784,21763785,21763786,21763787,21763788?tags=autre_refus,mal_croppe,Teint_Dans_La_Masse,cartonnette,Carton_gris,metal,papier,flou,Carton_brun,kraft,environnement,plastique After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21763711]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1347721786, 1347721762, 1347721745, 1347721706, 1347721674, 1347721634, 1347721549, 1347721519, 1347721461, 1347721451, 1347721447] map_info['map_portfolio_photo'] : {21763711: [1347721786, 1347721762, 1347721745, 1347721706, 1347721674, 1347721634, 1347721549, 1347721519, 1347721461, 1347721451, 1347721447, 1347721262, 1347721224, 1347721197, 1347721129, 1347720930, 1347720401, 1347720370, 1347720349, 1347720325, 1347720251, 1347720247, 1347720244, 1347720238, 1347720233, 1347720231, 1347720068, 1347720000, 1347719932, 1347719690, 1347719234, 1347719148, 1347719059, 1347718995, 1347718947, 1347718866, 1347718413, 1347718317, 1347718287, 1347718219, 1347718151, 1347717631, 1347717574, 1347717478, 1347717472, 1347717458, 1347717424, 1347717419, 1347717416, 1347717414, 1347717410, 1347717409, 1347717301, 1347717298, 1347717294]} final : False mtd_id 4302 list_pids : [1347721786, 1347721762, 1347721745, 1347721706, 1347721674, 1347721634, 1347721549, 1347721519, 1347721461, 1347721451, 1347721447] Looping around the photos to save general results len do output : 1 /21763711. 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, '2695322') ('4302', '21763711', '1347721786', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721762', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721745', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721706', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721674', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721634', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721549', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721519', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721461', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721451', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721447', None, None, None, None, None, '2695322') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 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, '21763711', "{'autre_refus': 21763753, 'mal_croppe': 21763754, 'Teint_Dans_La_Masse': 21763758, 'cartonnette': 21763764, 'Carton_gris': 21763769, 'metal': 21763770, 'papier': 21763771, 'flou': 21763772, 'Carton_brun': 21763773, 'kraft': 21763774, 'environnement': 21763775, 'plastique': 21763776}", None, None, None, None, '2695322'), ('4302', '21763711', '1347721786', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721762', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721745', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721706', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721674', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721634', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721549', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721519', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721461', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721451', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721447', None, None, None, None, None, '2695322')] time used for this insertion : 0.014659881591796875 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.9552373886108398 time spend to save output : 0.015022993087768555 total time spend for step 1 : 1.9702603816986084 step2:final Thu Mar 27 02:28: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 (21763711) 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 21763711 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1347717301,1347717298,1347717294,1347717424,1347717419,1347717416,1347717414,1347717410,1347717409,1347717631,1347717574,1347717478,1347717472,1347717458,1347718413,1347718317,1347718287,1347718219,1347718151,1347719234,1347719148,1347719059,1347718995,1347718947,1347718866,1347720068,1347720000,1347719932,1347719690,1347720251,1347720247,1347720244,1347720238,1347720233,1347720231,1347720401,1347720370,1347720349,1347720325,1347721262,1347721224,1347721197,1347721129,1347720930,1347721549,1347721519,1347721461,1347721451,1347721447,1347721786,1347721762,1347721745,1347721706,1347721674,1347721634); 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([21763711]) Inside saveOutput : final : False verbose : True original output for save of step final : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ('0.0388406121823018',), 1347721519: ('0.0388406121823018',), 1347721461: ('0.0388406121823018',), 1347721451: ('0.0388406121823018',), 1347721447: ('0.0388406121823018',)} new output for save of step final : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ('0.0388406121823018',), 1347721519: ('0.0388406121823018',), 1347721461: ('0.0388406121823018',), 1347721451: ('0.0388406121823018',), 1347721447: ('0.0388406121823018',)} [1347721786, 1347721762, 1347721745, 1347721706, 1347721674, 1347721634, 1347721549, 1347721519, 1347721461, 1347721451, 1347721447] map_info['map_portfolio_photo'] : {21763711: [1347721786, 1347721762, 1347721745, 1347721706, 1347721674, 1347721634, 1347721549, 1347721519, 1347721461, 1347721451, 1347721447, 1347721262, 1347721224, 1347721197, 1347721129, 1347720930, 1347720401, 1347720370, 1347720349, 1347720325, 1347720251, 1347720247, 1347720244, 1347720238, 1347720233, 1347720231, 1347720068, 1347720000, 1347719932, 1347719690, 1347719234, 1347719148, 1347719059, 1347718995, 1347718947, 1347718866, 1347718413, 1347718317, 1347718287, 1347718219, 1347718151, 1347717631, 1347717574, 1347717478, 1347717472, 1347717458, 1347717424, 1347717419, 1347717416, 1347717414, 1347717410, 1347717409, 1347717301, 1347717298, 1347717294]} final : False mtd_id 4302 list_pids : [1347721786, 1347721762, 1347721745, 1347721706, 1347721674, 1347721634, 1347721549, 1347721519, 1347721461, 1347721451, 1347721447] Looping around the photos to save general results len do output : 11 /1347721786.Didn't retrieve data . /1347721762.Didn't retrieve data . /1347721745.Didn't retrieve data . /1347721706.Didn't retrieve data . /1347721674.Didn't retrieve data . /1347721634.Didn't retrieve data . /1347721549.Didn't retrieve data . /1347721519.Didn't retrieve data . /1347721461.Didn't retrieve data . /1347721451.Didn't retrieve data . /1347721447.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, '2695322') ('4302', '21763711', '1347721786', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721762', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721745', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721706', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721674', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721634', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721549', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721519', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721461', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721451', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721447', None, None, None, None, None, '2695322') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 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', '21763711', '1347721786', '0.0388406121823018', None, None, None, None, '2695322'), ('4302', '21763711', '1347721762', '0.0388406121823018', None, None, None, None, '2695322'), ('4302', '21763711', '1347721745', '0.0388406121823018', None, None, None, None, '2695322'), ('4302', '21763711', '1347721706', '0.0388406121823018', None, None, None, None, '2695322'), ('4302', '21763711', '1347721674', '0.0388406121823018', None, None, None, None, '2695322'), ('4302', '21763711', '1347721634', '0.0388406121823018', None, None, None, None, '2695322'), ('4302', '21763711', '1347721549', '0.0388406121823018', None, None, None, None, '2695322'), ('4302', '21763711', '1347721519', '0.0388406121823018', None, None, None, None, '2695322'), ('4302', '21763711', '1347721461', '0.0388406121823018', None, None, None, None, '2695322'), ('4302', '21763711', '1347721451', '0.0388406121823018', None, None, None, None, '2695322'), ('4302', '21763711', '1347721447', '0.0388406121823018', None, None, None, None, '2695322')] time used for this insertion : 0.018563032150268555 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07208061218261719 time spend to save output : 0.019139528274536133 total time spend for step 2 : 0.09122014045715332 step3:velours_tree Thu Mar 27 02:28: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 : {21763711: [{'autre_refus': 21763753, 'mal_croppe': 21763754, 'Teint_Dans_La_Masse': 21763758, 'cartonnette': 21763764, 'Carton_gris': 21763769, 'metal': 21763770, 'papier': 21763771, 'flou': 21763772, 'Carton_brun': 21763773, 'kraft': 21763774, 'environnement': 21763775, 'plastique': 21763776}]} input_args_next_step : {21763711: ()} output_args : {21763711: [{'autre_refus': 21763753, 'mal_croppe': 21763754, 'Teint_Dans_La_Masse': 21763758, 'cartonnette': 21763764, 'Carton_gris': 21763769, 'metal': 21763770, 'papier': 21763771, 'flou': 21763772, 'Carton_brun': 21763773, 'kraft': 21763774, 'environnement': 21763775, 'plastique': 21763776}]} args : 21763711 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 : ({'autre_refus': 21763753, 'mal_croppe': 21763754, 'Teint_Dans_La_Masse': 21763758, 'cartonnette': 21763764, 'Carton_gris': 21763769, 'metal': 21763770, 'papier': 21763771, 'flou': 21763772, 'Carton_brun': 21763773, 'kraft': 21763774, 'environnement': 21763775, 'plastique': 21763776},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21763711) 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([21763711]) 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.7489025592803955 time spend to save output : 8.20159912109375e-05 total time spend for step 3 : 0.7489845752716064 step4:send_mail_cod Thu Mar 27 02:29:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ('0.0388406121823018',), 1347721519: ('0.0388406121823018',), 1347721461: ('0.0388406121823018',), 1347721451: ('0.0388406121823018',), 1347721447: ('0.0388406121823018',)} input_args_next_step : {1347721786: ()} output_args : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ('0.0388406121823018',), 1347721519: ('0.0388406121823018',), 1347721461: ('0.0388406121823018',), 1347721451: ('0.0388406121823018',), 1347721447: ('0.0388406121823018',)} args : 1347721786 depend.output_id : 0 input_args_next_step : {1347721786: ('0.0388406121823018',), 1347721762: ()} output_args : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ('0.0388406121823018',), 1347721519: ('0.0388406121823018',), 1347721461: ('0.0388406121823018',), 1347721451: ('0.0388406121823018',), 1347721447: ('0.0388406121823018',)} args : 1347721762 depend.output_id : 0 input_args_next_step : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ()} output_args : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ('0.0388406121823018',), 1347721519: ('0.0388406121823018',), 1347721461: ('0.0388406121823018',), 1347721451: ('0.0388406121823018',), 1347721447: ('0.0388406121823018',)} args : 1347721745 depend.output_id : 0 input_args_next_step : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ()} output_args : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ('0.0388406121823018',), 1347721519: ('0.0388406121823018',), 1347721461: ('0.0388406121823018',), 1347721451: ('0.0388406121823018',), 1347721447: ('0.0388406121823018',)} args : 1347721706 depend.output_id : 0 input_args_next_step : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ()} output_args : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ('0.0388406121823018',), 1347721519: ('0.0388406121823018',), 1347721461: ('0.0388406121823018',), 1347721451: ('0.0388406121823018',), 1347721447: ('0.0388406121823018',)} args : 1347721674 depend.output_id : 0 input_args_next_step : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ()} output_args : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ('0.0388406121823018',), 1347721519: ('0.0388406121823018',), 1347721461: ('0.0388406121823018',), 1347721451: ('0.0388406121823018',), 1347721447: ('0.0388406121823018',)} args : 1347721634 depend.output_id : 0 input_args_next_step : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ()} output_args : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ('0.0388406121823018',), 1347721519: ('0.0388406121823018',), 1347721461: ('0.0388406121823018',), 1347721451: ('0.0388406121823018',), 1347721447: ('0.0388406121823018',)} args : 1347721549 depend.output_id : 0 input_args_next_step : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ('0.0388406121823018',), 1347721519: ()} output_args : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ('0.0388406121823018',), 1347721519: ('0.0388406121823018',), 1347721461: ('0.0388406121823018',), 1347721451: ('0.0388406121823018',), 1347721447: ('0.0388406121823018',)} args : 1347721519 depend.output_id : 0 input_args_next_step : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ('0.0388406121823018',), 1347721519: ('0.0388406121823018',), 1347721461: ()} output_args : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ('0.0388406121823018',), 1347721519: ('0.0388406121823018',), 1347721461: ('0.0388406121823018',), 1347721451: ('0.0388406121823018',), 1347721447: ('0.0388406121823018',)} args : 1347721461 depend.output_id : 0 input_args_next_step : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ('0.0388406121823018',), 1347721519: ('0.0388406121823018',), 1347721461: ('0.0388406121823018',), 1347721451: ()} output_args : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ('0.0388406121823018',), 1347721519: ('0.0388406121823018',), 1347721461: ('0.0388406121823018',), 1347721451: ('0.0388406121823018',), 1347721447: ('0.0388406121823018',)} args : 1347721451 depend.output_id : 0 input_args_next_step : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ('0.0388406121823018',), 1347721519: ('0.0388406121823018',), 1347721461: ('0.0388406121823018',), 1347721451: ('0.0388406121823018',), 1347721447: ()} output_args : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ('0.0388406121823018',), 1347721519: ('0.0388406121823018',), 1347721461: ('0.0388406121823018',), 1347721451: ('0.0388406121823018',), 1347721447: ('0.0388406121823018',)} args : 1347721447 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 : {21763711: [{'autre_refus': 21763753, 'mal_croppe': 21763754, 'Teint_Dans_La_Masse': 21763758, 'cartonnette': 21763764, 'Carton_gris': 21763769, 'metal': 21763770, 'papier': 21763771, 'flou': 21763772, 'Carton_brun': 21763773, 'kraft': 21763774, 'environnement': 21763775, 'plastique': 21763776}]} input_args_next_step : {1347721786: ('0.0388406121823018',), 1347721762: ('0.0388406121823018',), 1347721745: ('0.0388406121823018',), 1347721706: ('0.0388406121823018',), 1347721674: ('0.0388406121823018',), 1347721634: ('0.0388406121823018',), 1347721549: ('0.0388406121823018',), 1347721519: ('0.0388406121823018',), 1347721461: ('0.0388406121823018',), 1347721451: ('0.0388406121823018',), 1347721447: ('0.0388406121823018',), 21763711: ()} output_args : {21763711: [{'autre_refus': 21763753, 'mal_croppe': 21763754, 'Teint_Dans_La_Masse': 21763758, 'cartonnette': 21763764, 'Carton_gris': 21763769, 'metal': 21763770, 'papier': 21763771, 'flou': 21763772, 'Carton_brun': 21763773, 'kraft': 21763774, 'environnement': 21763775, 'plastique': 21763776}]} args : 21763711 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 :12, first value : ('0.0388406121823018',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21763711) 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 (1347721786,1347721762,1347721745,1347721706,1347721674,1347721634,1347721549,1347721519,1347721461,1347721451,1347721447) Found this number of photos: 11 ##### Call download_photos : nb_thread : 5 begin to download photo : 1347721447 begin to download photo : 1347721519 begin to download photo : 1347721674 begin to download photo : 1347721762 download finish for photo 1347721447 begin to download photo : 1347721451 download finish for photo 1347721674 begin to download photo : 1347721706 download finish for photo 1347721762 begin to download photo : 1347721786 download finish for photo 1347721451 begin to download photo : 1347721461 download finish for photo 1347721519 begin to download photo : 1347721549 download finish for photo 1347721706 begin to download photo : 1347721745 download finish for photo 1347721461 download finish for photo 1347721786 download finish for photo 1347721745 download finish for photo 1347721549 begin to download photo : 1347721634 download finish for photo 1347721634 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 results_Auto_P21763711_27-03-2025_02_29_01.pdf 21763753 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=21763753 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347720240: '1743038563_35364_1347718287_3a468d999e7e3bc1fa8c7e84f9ca36a6_rle_crop_3732807677_0.png', 1347721206: '1743038633_2687864_1347717414_da9b25b4fc4e84f1016b6bab53ffb1de_rle_crop_3732809897_0.png', 1347721207: '1743038633_2687864_1347717410_1204745673ec8cd85dda6f8198ee53ea_rle_crop_3732809987_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/4acbe4093b02e1004ab92ea9ec29477e_5242285.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/d5063b7722bbe41e75a968f0d170df9f_79961998.png change filename to text .imagette217637531743038941/ imagette217637531743038941/1743038563_35364_1347718287_3a468d999e7e3bc1fa8c7e84f9ca36a6_rle_crop_3732807677_0.png.png imagette217637531743038941/1743038633_2687864_1347717410_1204745673ec8cd85dda6f8198ee53ea_rle_crop_3732809987_0.png.png imagette217637531743038941/1743038633_2687864_1347717414_da9b25b4fc4e84f1016b6bab53ffb1de_rle_crop_3732809897_0.png.png imagette217637541743038941/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/3898481686e154489feed94c904991d1_40433560.png imagette217637531743038941 21763754 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=21763754 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette217637541743038941 21763764 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=21763764 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347720376: '1743038611_2687685_1347717301_f2c39c488eb40383b2e8be4d4ac134cb_rle_crop_3732809244_0.png', 1347721225: '1743038633_2687864_1347717419_d8796e7adf1c52877575feb067b78502_rle_crop_3732809854_0.png', 1347721237: '1743038633_2687864_1347717419_d8796e7adf1c52877575feb067b78502_rle_crop_3732809850_0.png', 1347721673: '1743038804_43939_1347720251_4a35735074d08c0523ff5d7dc678c8f6_rle_crop_3732811245_0.png', 1347721676: '1743038804_43939_1347720000_051972517998f62ac38cc66b203ddeea_rle_crop_3732811283_0.png', 1347721978: '1743038833_2692750_1347718947_31c4dfac555cb6f48c0d441e42e13d99_rle_crop_3732813340_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/d57de202fa03abc67faf44e96b60eee1_32220660.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/2570b9d54195a221c78a8657ea139a76_59992138.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/a937895973fcef40db26f8f642cd1cfe_15230997.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/51b75186ff233d3f73c90feb67f82d94_88779607.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/3c038e359c9ede76f884c732bb8ee146_58924553.png change filename to text .imagette217637641743038941/ imagette217637641743038941/1743038633_2687864_1347717419_d8796e7adf1c52877575feb067b78502_rle_crop_3732809854_0.png.png imagette217637641743038941/1743038804_43939_1347720000_051972517998f62ac38cc66b203ddeea_rle_crop_3732811283_0.png.png imagette217637641743038941/1743038833_2692750_1347718947_31c4dfac555cb6f48c0d441e42e13d99_rle_crop_3732813340_0.png.png imagette217637641743038941/1743038804_43939_1347720251_4a35735074d08c0523ff5d7dc678c8f6_rle_crop_3732811245_0.png.png imagette217637641743038941/1743038633_2687864_1347717419_d8796e7adf1c52877575feb067b78502_rle_crop_3732809850_0.png.png imagette217637641743038941/1743038611_2687685_1347717301_f2c39c488eb40383b2e8be4d4ac134cb_rle_crop_3732809244_0.png.png imagette217637701743038942/ imagette217637721743038942/ imagette217637741743038942/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/e305fdc0fcc6aeb6d65b99679e588fd2_57036079.png imagette217637641743038941 21763770 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=21763770 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette217637701743038942 21763772 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=21763772 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette217637721743038942 21763774 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=21763774 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette217637741743038942 21763776 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=21763776 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347720389: '1743038593_2687542_1347717478_48121e1b1c37a916d8cda2a3bac7579d_rle_crop_3732809221_0.png', 1347720390: '1743038593_2687542_1347717458_2c79b241a8dca13361f848927f18e4db_rle_crop_3732809472_0.png', 1347721260: '1743038633_2687864_1347717414_da9b25b4fc4e84f1016b6bab53ffb1de_rle_crop_3732809899_0.png', 1347721983: '1743038833_2692750_1347718947_31c4dfac555cb6f48c0d441e42e13d99_rle_crop_3732813347_0.png', 1347721984: '1743038833_2692750_1347718866_e3e25d885ed74726633ed2ebbd691b74_rle_crop_3732813448_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/ffc32883606eab1ef5e4bd36ef4edea5_52245478.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/e0add76369823f41674c05b13351b77b_70945982.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/b292e4cf1b890e435334817f52a4543c_78707859.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/4c207d64b17aa1ffe5e7dabfba21f2fd_8224761.png change filename to text .imagette217637761743038942/ imagette217637761743038942/1743038593_2687542_1347717458_2c79b241a8dca13361f848927f18e4db_rle_crop_3732809472_0.png.png imagette217637761743038942/1743038833_2692750_1347718947_31c4dfac555cb6f48c0d441e42e13d99_rle_crop_3732813347_0.png.png imagette217637761743038942/1743038633_2687864_1347717414_da9b25b4fc4e84f1016b6bab53ffb1de_rle_crop_3732809899_0.png.png imagette217637761743038942/1743038833_2692750_1347718866_e3e25d885ed74726633ed2ebbd691b74_rle_crop_3732813448_0.png.png imagette217637761743038942/1743038593_2687542_1347717478_48121e1b1c37a916d8cda2a3bac7579d_rle_crop_3732809221_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/9a5afbde951866cb411b00c6d825a8af_36784099.png imagette217637761743038942 21763758 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=21763758 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347721188: '1743038633_2687864_1347717631_fb7c47c0938fe2e67613973b91529cf6_rle_crop_3732809806_0.png', 1347721975: '1743038833_2692750_1347718947_31c4dfac555cb6f48c0d441e42e13d99_rle_crop_3732813342_0.png', 1347721974: '1743038833_2692750_1347718995_c03448b9643c2775febe46f393fada2c_rle_crop_3732813125_0.png', 1347721973: '1743038833_2692750_1347720068_aa9f249cdc5b6acdc6b6c79b140af1d3_rle_crop_3732813021_0.png', 1347721196: '1743038633_2687864_1347717410_1204745673ec8cd85dda6f8198ee53ea_rle_crop_3732809988_0.png', 1347721194: '1743038633_2687864_1347717410_1204745673ec8cd85dda6f8198ee53ea_rle_crop_3732809992_0.png', 1347721193: '1743038633_2687864_1347717414_da9b25b4fc4e84f1016b6bab53ffb1de_rle_crop_3732809903_0.png', 1347721192: '1743038633_2687864_1347717416_cf212fb05fa82ff11e020d1ae95c7790_rle_crop_3732809890_0.png', 1347721191: '1743038633_2687864_1347717419_d8796e7adf1c52877575feb067b78502_rle_crop_3732809858_0.png', 1347721190: '1743038633_2687864_1347717419_d8796e7adf1c52877575feb067b78502_rle_crop_3732809859_0.png', 1347720237: '1743038563_35364_1347718317_809c453f13788662d81306140285720d_rle_crop_3732807580_0.png', 1347721187: '1743038633_2687864_1347717631_fb7c47c0938fe2e67613973b91529cf6_rle_crop_3732809811_0.png', 1347721186: '1743038633_2687864_1347717631_fb7c47c0938fe2e67613973b91529cf6_rle_crop_3732809812_0.png', 1347721185: '1743038633_2687864_1347717631_fb7c47c0938fe2e67613973b91529cf6_rle_crop_3732809805_0.png', 1347721184: '1743038633_2687864_1347717631_fb7c47c0938fe2e67613973b91529cf6_rle_crop_3732809807_0.png', 1347720361: '1743038593_2687542_1347717574_1beaa77332eaf5ca7831e4af58e067a8_rle_crop_3732809212_0.png', 1347720360: '1743038593_2687542_1347717574_1beaa77332eaf5ca7831e4af58e067a8_rle_crop_3732809205_0.png', 1347720359: '1743038611_2687685_1347717301_f2c39c488eb40383b2e8be4d4ac134cb_rle_crop_3732809242_0.png', 1347720239: '1743038563_35364_1347718151_8700ccc1cbd833354e61fb0e1ffa574c_rle_crop_3732808673_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/4bd76f62b4e523048e2b5e6295583994_65931532.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/6e7755e05dc891d6a1bfe4b8b020b213_27172654.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/9078ce86ad4432840e068f67de28bb31_33774655.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/24a225db978b7462e00a260836c30dd9_27828510.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/0cf44d422a1ddec9f6728b590380f963_33994207.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/783800f469ee58e6a919d627ecf86e45_94062333.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/8f86ac29d58990a0b2311cddae356957_81719720.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/581b2007a7afd39118f77083b36f40f8_89586605.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/e4d78a6eadc84cd2fe8e069594635b60_80143015.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/6a2571b169dacd5638e6c518a3fc383c_47184570.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/a352cd44c2c526df640b5481437df7d9_58311500.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/4ee21a3da8ff64b99dab5aadefa3e028_22886180.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/c25fb4ace099f29c9eefd11cdb959e01_44236378.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/d32f1daa2f5e2cf833bdcd0cac171869_63027696.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/3b0f7180b2971dc4e52c09e4cd7dda47_40943590.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/572743fc6ae19174eadac95e090241ad_3303014.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/f3d0aa307039b7f333691c3c46da5c27_23859043.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/e54d63fc1db0e97b5099b1805bab7a2f_66365974.png change filename to text .imagette217637581743038942/ imagette217637581743038942/1743038593_2687542_1347717574_1beaa77332eaf5ca7831e4af58e067a8_rle_crop_3732809205_0.png.png imagette217637581743038942/1743038633_2687864_1347717410_1204745673ec8cd85dda6f8198ee53ea_rle_crop_3732809988_0.png.png imagette217637581743038942/1743038593_2687542_1347717574_1beaa77332eaf5ca7831e4af58e067a8_rle_crop_3732809212_0.png.png imagette217637581743038942/1743038611_2687685_1347717301_f2c39c488eb40383b2e8be4d4ac134cb_rle_crop_3732809242_0.png.png imagette217637581743038942/1743038833_2692750_1347718947_31c4dfac555cb6f48c0d441e42e13d99_rle_crop_3732813342_0.png.png imagette217637581743038942/1743038563_35364_1347718151_8700ccc1cbd833354e61fb0e1ffa574c_rle_crop_3732808673_0.png.png imagette217637581743038942/1743038633_2687864_1347717631_fb7c47c0938fe2e67613973b91529cf6_rle_crop_3732809811_0.png.png imagette217637581743038942/1743038633_2687864_1347717631_fb7c47c0938fe2e67613973b91529cf6_rle_crop_3732809812_0.png.png imagette217637581743038942/1743038833_2692750_1347718995_c03448b9643c2775febe46f393fada2c_rle_crop_3732813125_0.png.png imagette217637581743038942/1743038633_2687864_1347717416_cf212fb05fa82ff11e020d1ae95c7790_rle_crop_3732809890_0.png.png imagette217637581743038942/1743038833_2692750_1347720068_aa9f249cdc5b6acdc6b6c79b140af1d3_rle_crop_3732813021_0.png.png imagette217637581743038942/1743038563_35364_1347718317_809c453f13788662d81306140285720d_rle_crop_3732807580_0.png.png imagette217637581743038942/1743038633_2687864_1347717414_da9b25b4fc4e84f1016b6bab53ffb1de_rle_crop_3732809903_0.png.png imagette217637581743038942/1743038633_2687864_1347717419_d8796e7adf1c52877575feb067b78502_rle_crop_3732809858_0.png.png imagette217637581743038942/1743038633_2687864_1347717419_d8796e7adf1c52877575feb067b78502_rle_crop_3732809859_0.png.png imagette217637581743038942/1743038633_2687864_1347717410_1204745673ec8cd85dda6f8198ee53ea_rle_crop_3732809992_0.png.png imagette217637581743038942/1743038633_2687864_1347717631_fb7c47c0938fe2e67613973b91529cf6_rle_crop_3732809806_0.png.png imagette217637581743038942/1743038633_2687864_1347717631_fb7c47c0938fe2e67613973b91529cf6_rle_crop_3732809807_0.png.png imagette217637581743038942/1743038633_2687864_1347717631_fb7c47c0938fe2e67613973b91529cf6_rle_crop_3732809805_0.png.png wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/58166f3b683f7ba6ffc61586c9e5e8a4_35035841.png imagette217637581743038942 21763769 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=21763769 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347720241: '1743038563_35364_1347718287_3a468d999e7e3bc1fa8c7e84f9ca36a6_rle_crop_3732807679_0.png', 1347720369: '1743038611_2687685_1347717424_35c69a0dbf0a356c14c1f6ccd50d8fae_rle_crop_3732809236_0.png', 1347720371: '1743038593_2687542_1347717472_9665975fecd86731029d3debab680dd6_rle_crop_3732809261_0.png', 1347720372: '1743038593_2687542_1347717458_2c79b241a8dca13361f848927f18e4db_rle_crop_3732809474_0.png', 1347721212: '1743038633_2687864_1347717416_cf212fb05fa82ff11e020d1ae95c7790_rle_crop_3732809878_0.png', 1347721214: '1743038633_2687864_1347717409_8294734b1eb358f3dcb172fb6f19d765_rle_crop_3732809999_0.png', 1347721667: '1743038804_43939_1347720251_4a35735074d08c0523ff5d7dc678c8f6_rle_crop_3732811248_0.png', 1347721977: '1743038833_2692750_1347719148_b0d67703d61e597e7d9c0f4c898bca12_rle_crop_3732813092_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/9b5211f6c41c1d120d2d7fcfb9fd39a9_62450274.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/813c5b48abaad919ca9b63b2df534aa5_53713231.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/d8cb60194d162b1a3d9324b9a609ce7c_50172572.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/8bd1d89e565b13784f6a4636d4b87e97_59009505.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/78f4052b076f24ea4298f388b2ab20dd_667944.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/ab8a4e29935f3c110b5c303a7454cb64_78216024.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/e7e7525b579ca8a966ad1802e46cb561_93194255.png change filename to text .imagette217637691743038943/ imagette217637691743038943/1743038563_35364_1347718287_3a468d999e7e3bc1fa8c7e84f9ca36a6_rle_crop_3732807679_0.png.png imagette217637691743038943/1743038804_43939_1347720251_4a35735074d08c0523ff5d7dc678c8f6_rle_crop_3732811248_0.png.png imagette217637691743038943/1743038833_2692750_1347719148_b0d67703d61e597e7d9c0f4c898bca12_rle_crop_3732813092_0.png.png imagette217637691743038943/1743038593_2687542_1347717458_2c79b241a8dca13361f848927f18e4db_rle_crop_3732809474_0.png.png imagette217637691743038943/1743038633_2687864_1347717416_cf212fb05fa82ff11e020d1ae95c7790_rle_crop_3732809878_0.png.png imagette217637691743038943/1743038611_2687685_1347717424_35c69a0dbf0a356c14c1f6ccd50d8fae_rle_crop_3732809236_0.png.png imagette217637691743038943/1743038593_2687542_1347717472_9665975fecd86731029d3debab680dd6_rle_crop_3732809261_0.png.png imagette217637691743038943/1743038633_2687864_1347717409_8294734b1eb358f3dcb172fb6f19d765_rle_crop_3732809999_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/3d8d8d7f39f36dd772364ad407cfe58a_13857741.png imagette217637691743038943 21763773 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=21763773 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347720242: '1743038563_35364_1347718151_8700ccc1cbd833354e61fb0e1ffa574c_rle_crop_3732808676_0.png', 1347720380: '1743038593_2687542_1347717574_1beaa77332eaf5ca7831e4af58e067a8_rle_crop_3732809204_0.png', 1347720382: '1743038593_2687542_1347717478_48121e1b1c37a916d8cda2a3bac7579d_rle_crop_3732809220_0.png', 1347720384: '1743038611_2687685_1347717424_35c69a0dbf0a356c14c1f6ccd50d8fae_rle_crop_3732809231_0.png', 1347721253: '1743038633_2687864_1347717416_cf212fb05fa82ff11e020d1ae95c7790_rle_crop_3732809887_0.png', 1347721254: '1743038633_2687864_1347717414_da9b25b4fc4e84f1016b6bab53ffb1de_rle_crop_3732809904_0.png', 1347721256: '1743038633_2687864_1347717410_1204745673ec8cd85dda6f8198ee53ea_rle_crop_3732809989_0.png', 1347721257: '1743038633_2687864_1347717409_8294734b1eb358f3dcb172fb6f19d765_rle_crop_3732810000_0.png', 1347721981: '1743038833_2692750_1347718947_31c4dfac555cb6f48c0d441e42e13d99_rle_crop_3732813343_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/1e75ea9350e23285c4a83875770ed63e_71283453.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/fe8cf28a8305562eac1d24fadbc83d85_7516254.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/0b994aa65adda2807cff982f72bcbaa2_30733176.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/6aef739e2d22bc8811f2593f5ca6a16c_66937010.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/06a7936392d7676c9d2132e081d111e9_3732020.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/8d7d265321d1625f7f5a5f53a9176896_3807807.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/582903916948d6090ac41c2d2ac1d88e_86001016.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/77692bc57f70df5c3bbba2b9664f4a63_60542980.png change filename to text .imagette217637731743038944/ imagette217637731743038944/1743038633_2687864_1347717416_cf212fb05fa82ff11e020d1ae95c7790_rle_crop_3732809887_0.png.png imagette217637731743038944/1743038633_2687864_1347717409_8294734b1eb358f3dcb172fb6f19d765_rle_crop_3732810000_0.png.png imagette217637731743038944/1743038611_2687685_1347717424_35c69a0dbf0a356c14c1f6ccd50d8fae_rle_crop_3732809231_0.png.png imagette217637731743038944/1743038593_2687542_1347717574_1beaa77332eaf5ca7831e4af58e067a8_rle_crop_3732809204_0.png.png imagette217637731743038944/1743038563_35364_1347718151_8700ccc1cbd833354e61fb0e1ffa574c_rle_crop_3732808676_0.png.png imagette217637731743038944/1743038633_2687864_1347717410_1204745673ec8cd85dda6f8198ee53ea_rle_crop_3732809989_0.png.png imagette217637731743038944/1743038833_2692750_1347718947_31c4dfac555cb6f48c0d441e42e13d99_rle_crop_3732813343_0.png.png imagette217637731743038944/1743038633_2687864_1347717414_da9b25b4fc4e84f1016b6bab53ffb1de_rle_crop_3732809904_0.png.png imagette217637731743038944/1743038593_2687542_1347717478_48121e1b1c37a916d8cda2a3bac7579d_rle_crop_3732809220_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/5fefce6a894a35e9bfb64f3ecd315137_71155752.png imagette217637731743038944 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21763711 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21763777,21763778,21763779,21763780,21763781,21763782,21763783,21763784,21763785,21763786,21763787,21763788?tags=autre_refus,mal_croppe,Teint_Dans_La_Masse,cartonnette,Carton_gris,metal,papier,flou,Carton_brun,kraft,environnement,plastique your option no_mail is active, we will not send the real mail to your client args[1347721786] : ('0.0388406121823018',) no score found for photo 1347721786 We are sending mail with results at report@fotonower.com args[1347721762] : ('0.0388406121823018',) no score found for photo 1347721762 We are sending mail with results at report@fotonower.com args[1347721745] : ('0.0388406121823018',) no score found for photo 1347721745 We are sending mail with results at report@fotonower.com args[1347721706] : ('0.0388406121823018',) no score found for photo 1347721706 We are sending mail with results at report@fotonower.com args[1347721674] : ('0.0388406121823018',) no score found for photo 1347721674 We are sending mail with results at report@fotonower.com args[1347721634] : ('0.0388406121823018',) no score found for photo 1347721634 We are sending mail with results at report@fotonower.com args[1347721549] : ('0.0388406121823018',) no score found for photo 1347721549 We are sending mail with results at report@fotonower.com args[1347721519] : ('0.0388406121823018',) no score found for photo 1347721519 We are sending mail with results at report@fotonower.com args[1347721461] : ('0.0388406121823018',) no score found for photo 1347721461 We are sending mail with results at report@fotonower.com args[1347721451] : ('0.0388406121823018',) no score found for photo 1347721451 We are sending mail with results at report@fotonower.com args[1347721447] : ('0.0388406121823018',) no score found for photo 1347721447 We are sending mail with results at report@fotonower.com refus_total : 0.0388406121823018 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=21763711 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_P21763711_27-03-2025_02_29_01.pdf results_Auto_P21763711_27-03-2025_02_29_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21763711_27-03-2025_02_29_01.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','21763711','results_Auto_P21763711_27-03-2025_02_29_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21763711_27-03-2025_02_29_01.pdf','pdf','','0.25','0.0388406121823018') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21763711]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1347721786, 1347721762, 1347721745, 1347721706, 1347721674, 1347721634, 1347721549, 1347721519, 1347721461, 1347721451, 1347721447] map_info['map_portfolio_photo'] : {21763711: [1347721786, 1347721762, 1347721745, 1347721706, 1347721674, 1347721634, 1347721549, 1347721519, 1347721461, 1347721451, 1347721447, 1347721262, 1347721224, 1347721197, 1347721129, 1347720930, 1347720401, 1347720370, 1347720349, 1347720325, 1347720251, 1347720247, 1347720244, 1347720238, 1347720233, 1347720231, 1347720068, 1347720000, 1347719932, 1347719690, 1347719234, 1347719148, 1347719059, 1347718995, 1347718947, 1347718866, 1347718413, 1347718317, 1347718287, 1347718219, 1347718151, 1347717631, 1347717574, 1347717478, 1347717472, 1347717458, 1347717424, 1347717419, 1347717416, 1347717414, 1347717410, 1347717409, 1347717301, 1347717298, 1347717294]} final : False mtd_id 4302 list_pids : [1347721786, 1347721762, 1347721745, 1347721706, 1347721674, 1347721634, 1347721549, 1347721519, 1347721461, 1347721451, 1347721447] 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, '2695322') ('4302', '21763711', '1347721786', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721762', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721745', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721706', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721674', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721634', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721549', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721519', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721461', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721451', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721447', None, None, None, None, None, '2695322') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21763711', '1347721786', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721762', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721745', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721706', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721674', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721634', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721549', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721519', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721461', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721451', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721447', None, None, None, None, None, '2695322')] time used for this insertion : 0.016629934310913086 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.874142408370972 time spend to save output : 0.01704859733581543 total time spend for step 4 : 5.891191005706787 step5:split_time_score Thu Mar 27 02:29:06 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 : ['21763711'] 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 : [('21763711',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21763711) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1347721447: {'path': 'temp/1743038940_1803710_1347721447_2aa976576f4871e2fedc897665f8a0c9.jpg', 'extension': 'jpg'}, 1347721451: {'path': 'temp/1743038940_1803710_1347721451_f70b5258bc90a77a686f6e2a8505820f.jpg', 'extension': 'jpg'}, 1347721461: {'path': 'temp/1743038940_1803710_1347721461_451d8075fbc3697eb40805a3b8fdd625.jpg', 'extension': 'jpg'}, 1347721762: {'path': 'temp/1743038940_1803710_1347721762_3ed3a8caaa5eb88a3ada7a334f7a1d57.jpg', 'extension': 'jpg'}, 1347721786: {'path': 'temp/1743038940_1803710_1347721786_77d675986ebe988832a18f240d8abd3e.jpg', 'extension': 'jpg'}, 1347721674: {'path': 'temp/1743038940_1803710_1347721674_c24e3b58f8d640a918652a6544360a3d.jpg', 'extension': 'jpg'}, 1347721706: {'path': 'temp/1743038940_1803710_1347721706_1657a4587495a8a9101a6a707408b3a3.jpg', 'extension': 'jpg'}, 1347721745: {'path': 'temp/1743038940_1803710_1347721745_6a92fc5f00da582487520910d2c9ba17.jpg', 'extension': 'jpg'}, 1347721519: {'path': 'temp/1743038940_1803710_1347721519_698aa3c5314ba9d59e7b2180ae55f72b.jpg', 'extension': 'jpg'}, 1347721549: {'path': 'temp/1743038940_1803710_1347721549_178dec9c5b9d8046c8b4b5a0c6f0165b.jpg', 'extension': 'jpg'}, 1347721634: {'path': 'temp/1743038940_1803710_1347721634_6178eff0fa4036dd4059d23ae826c13e.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 = 21763711; (('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 = 21763711 group by h (('02', 55),) 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=21763711 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 (21763711) 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 (21763711) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 27032025 21763711 Nombre de photos uploadées : 55 / 23040 (0%) 27032025 21763711 Nombre de photos taguées (types de déchets): 0 / 55 (0%) 27032025 21763711 Nombre de photos taguées (volume) : 0 / 55 (0%) [{'photo_id': 1347717301, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/f2c39c488eb40383b2e8be4d4ac134cb.jpg', 'username': None, 'uploaded_at': 1743038240, 'text': 'image_27032025_02_15_05_010153m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1347717298, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/fe45b2186c0ddf86726e83eb352d8b1a.jpg', 'username': None, 'uploaded_at': 1743038240, 'text': 'image_27032025_02_15_15_010138m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1347717294, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/760a1b166f413c20cbcdb2297bc2d806.jpg', 'username': None, 'uploaded_at': 1743038240, 'text': 'image_27032025_02_15_45_010134m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1347717424, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/35c69a0dbf0a356c14c1f6ccd50d8fae.jpg', 'username': None, 'uploaded_at': 1743038295, 'text': 'image_27032025_02_15_54_009121m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 4.76837158203125e-06 elapsed_time : order_list_meta_photo_and_scores 1.6689300537109375e-05 ??????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0021941661834716797 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21763711, '2025-03-27' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1692045,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.025826454162597656 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= 1692045 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1692045, 'dashboard_run_id': 1699847, 'mtr_portfolio_id': 21762076, 'dashboard_result_id': 9659239, '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_P21762076_27-03-2025_01_47_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21762077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21762078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21762079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21762080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21762081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21762082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21762083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21762084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21762085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21762086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21762087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21762088, 'pht': 3726}}"}, {'dashboat_entry_day': 1692045, 'dashboard_run_id': 1699847, 'mtr_portfolio_id': 21762613, 'dashboard_result_id': 9659240, '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_P21762613_27-03-2025_02_04_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21762614, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21762615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21762616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21762617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21762618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21762619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21762620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21762621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21762622, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21762623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21762624, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21762625, 'pht': 3726}}"}, {'dashboat_entry_day': 1692045, 'dashboard_run_id': 1699847, 'mtr_portfolio_id': 21763101, 'dashboard_result_id': 9659242, '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_P21763101_27-03-2025_02_19_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21763102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21763103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21763104, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21763105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21763106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21763107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21763108, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21763109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21763110, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21763111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21763112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21763113, 'pht': 3726}}"}, {'dashboat_entry_day': 1692045, 'dashboard_run_id': 1699847, 'mtr_portfolio_id': 21763711, 'dashboard_result_id': 9659243, '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_P21763711_27-03-2025_02_26_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21763753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21763754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21763758, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21763764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21763769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21763770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21763771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21763772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21763773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21763774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21763775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21763776, '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 = 21762076 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': 2695186, 'mtr_portfolio_id': 21762076, 'created_at': datetime.datetime(2025, 3, 27, 1, 47, 58), 'result': '0.05057656986832062', 'result_long': None, 'result_double': None}] Qualite : 0.05057656986832062 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21762076 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21762076_27-03-2025_01_47_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21762076 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_P21762076_27-03-2025_01_47_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21762077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21762078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21762079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21762080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21762081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21762082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21762083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21762084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21762085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21762086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21762087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21762088, 'pht': 3726}}" where mtr_portfolio_id = 21762076 and dashboard_run_id = 1699847 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`=21762076 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9659239, 0.05057656986832062, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21762076_27-03-2025_01_47_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21762077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21762078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21762079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21762080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21762081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21762082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21762083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21762084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21762085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21762086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21762087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21762088, '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 = 21762613 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': 2695219, 'mtr_portfolio_id': 21762613, 'created_at': datetime.datetime(2025, 3, 27, 2, 4, 1), 'result': '0.03863069997745377', 'result_long': None, 'result_double': None}] Qualite : 0.03863069997745377 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21762613 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21762613_27-03-2025_02_04_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21762613 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_P21762613_27-03-2025_02_04_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21762614, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21762615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21762616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21762617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21762618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21762619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21762620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21762621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21762622, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21762623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21762624, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21762625, 'pht': 3726}}" where mtr_portfolio_id = 21762613 and dashboard_run_id = 1699847 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`=21762613 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9659240, 0.03863069997745377, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21762613_27-03-2025_02_04_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21762614, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21762615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21762616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21762617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21762618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21762619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21762620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21762621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21762622, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21762623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21762624, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21762625, '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 = 21763101 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': 2695263, 'mtr_portfolio_id': 21763101, 'created_at': datetime.datetime(2025, 3, 27, 2, 19, 57), 'result': '0.057793771779485116', 'result_long': None, 'result_double': None}] Qualite : 0.057793771779485116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21763101 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21763101_27-03-2025_02_19_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21763101 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_P21763101_27-03-2025_02_19_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21763102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21763103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21763104, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21763105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21763106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21763107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21763108, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21763109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21763110, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21763111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21763112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21763113, 'pht': 3726}}" where mtr_portfolio_id = 21763101 and dashboard_run_id = 1699847 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`=21763101 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9659242, 0.057793771779485116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21763101_27-03-2025_02_19_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21763102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21763103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21763104, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21763105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21763106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21763107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21763108, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21763109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21763110, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21763111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21763112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21763113, '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 = 21763711 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': 2695322, 'mtr_portfolio_id': 21763711, 'created_at': datetime.datetime(2025, 3, 27, 2, 28, 59), 'result': '0.0388406121823018', 'result_long': None, 'result_double': None}] Qualite : 0.0388406121823018 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21763711 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21763711_27-03-2025_02_29_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21763711 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_P21763711_27-03-2025_02_29_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21763753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21763754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21763758, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21763764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21763769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21763770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21763771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21763772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21763773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21763774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21763775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21763776, 'pht': 3726}}" where mtr_portfolio_id = 21763711 and dashboard_run_id = 1699847 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`=21763711 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9659243, 0.0388406121823018, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21763711_27-03-2025_02_29_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21763753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21763754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21763758, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21763764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21763769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21763770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21763771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21763772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21763773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21763774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21763775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21763776, '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 (21762076,21762613,21763101,21763711) result : ((1347706425,), (1347706574,), (1347706666,), (1347706872,), (1347706900,), (1347706917,), (1347707008,), (1347707010,), (1347707016,), (1347707022,), (1347707026,), (1347707135,), (1347707140,), (1347707169,), (1347707174,), (1347707296,), (1347707357,), (1347707364,), (1347707369,), (1347707373,), (1347707375,), (1347707432,), (1347707470,), (1347707485,), (1347707504,), (1347707694,), (1347707697,), (1347707737,), (1347707768,), (1347707775,), (1347707778,), (1347707854,), (1347707875,), (1347707890,), (1347707896,), (1347707932,), (1347707940,), (1347707945,), (1347707951,), (1347707965,), (1347707983,), (1347708164,), (1347708272,), (1347708289,), (1347708308,), (1347708329,), (1347708394,), (1347708407,), (1347708419,), (1347708424,), (1347708441,), (1347708446,), (1347708507,), (1347708509,), (1347708522,), (1347708528,), (1347708554,), (1347708556,), (1347708561,), (1347708562,), (1347708564,), (1347708567,), (1347708612,), (1347708628,), (1347708633,), (1347708637,), (1347708641,), (1347708645,), (1347708728,), (1347708759,), (1347708867,), (1347708989,), (1347709147,), (1347709284,), (1347709481,), (1347709464,), (1347709470,), (1347709477,), (1347709585,), (1347709625,), (1347709627,), (1347709632,), (1347709636,), (1347709642,), (1347709698,), (1347709706,), (1347709713,), (1347709717,), (1347709764,), (1347709767,), (1347709774,), (1347709988,), (1347710057,), (1347710064,), (1347710154,), (1347710180,), (1347710228,), (1347710353,), (1347710505,), (1347710630,), (1347710656,), (1347711043,), (1347711045,), (1347711049,), (1347711253,), (1347711320,), (1347711322,), (1347711825,), (1347711872,), (1347711975,), (1347713336,), (1347713063,), (1347713113,), (1347713193,), (1347713255,), (1347713825,), (1347713883,), (1347713937,), (1347714101,), (1347714242,), (1347714668,), (1347714725,), (1347714757,), (1347714795,), (1347715212,), (1347715259,), (1347715333,), (1347715836,), (1347715879,), (1347715920,), (1347716331,), (1347716346,), (1347716368,), (1347716381,), (1347716523,), (1347716529,), (1347716822,), (1347716839,), (1347716862,), (1347716918,), (1347717023,), (1347717024,), (1347717025,), (1347717049,), (1347717050,), (1347717053,), (1347717056,), (1347717061,), (1347717065,), (1347717079,), (1347717081,), (1347717085,), (1347717087,), (1347717093,), (1347717112,), (1347717113,), (1347717116,), (1347717121,), (1347717125,), (1347717150,), (1347717153,), (1347717156,), (1347717159,), (1347717163,), (1347717167,), (1347717190,), (1347717194,), (1347717200,), (1347717205,), (1347717209,), (1347717229,), (1347717231,), (1347717235,), (1347717239,), (1347717246,), (1347717250,), (1347717314,), (1347717294,), (1347717298,), (1347717301,), (1347717409,), (1347717410,), (1347717414,), (1347717416,), (1347717419,), (1347717424,), (1347717458,), (1347717472,), (1347717478,), (1347717574,), (1347717631,), (1347718151,), (1347718219,), (1347718287,), (1347718317,), (1347718413,), (1347718866,), (1347718947,), (1347718995,), (1347719059,), (1347719148,), (1347719234,), (1347719690,), (1347719932,), (1347720000,), (1347720068,), (1347720231,), (1347720233,), (1347720238,), (1347720244,), (1347720247,), (1347720251,), (1347720325,), (1347720349,), (1347720370,), (1347720401,), (1347720930,), (1347721129,), (1347721197,), (1347721224,), (1347721262,), (1347721447,), (1347721451,), (1347721461,), (1347721519,), (1347721549,), (1347721634,), (1347721674,), (1347721706,), (1347721745,), (1347721762,), (1347721786,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'27032025': {'nb_upload': 55, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21763711]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1347721786, 1347721762, 1347721745, 1347721706, 1347721674, 1347721634, 1347721549, 1347721519, 1347721461, 1347721451, 1347721447] map_info['map_portfolio_photo'] : {21763711: [1347721786, 1347721762, 1347721745, 1347721706, 1347721674, 1347721634, 1347721549, 1347721519, 1347721461, 1347721451, 1347721447, 1347721262, 1347721224, 1347721197, 1347721129, 1347720930, 1347720401, 1347720370, 1347720349, 1347720325, 1347720251, 1347720247, 1347720244, 1347720238, 1347720233, 1347720231, 1347720068, 1347720000, 1347719932, 1347719690, 1347719234, 1347719148, 1347719059, 1347718995, 1347718947, 1347718866, 1347718413, 1347718317, 1347718287, 1347718219, 1347718151, 1347717631, 1347717574, 1347717478, 1347717472, 1347717458, 1347717424, 1347717419, 1347717416, 1347717414, 1347717410, 1347717409, 1347717301, 1347717298, 1347717294]} final : True mtd_id 4302 list_pids : [1347721786, 1347721762, 1347721745, 1347721706, 1347721674, 1347721634, 1347721549, 1347721519, 1347721461, 1347721451, 1347721447] Looping around the photos to save general results len do output : 1 /21763711Didn'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, '2695322') ('4302', '21763711', '1347721786', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721762', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721745', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721706', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721674', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721634', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721549', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721519', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721461', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721451', None, None, None, None, None, '2695322') ('4302', None, None, None, None, None, None, None, '2695322') ('4302', '21763711', '1347721447', None, None, None, None, None, '2695322') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 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, '21763711', 'None', None, None, None, None, '2695322'), ('4302', '21763711', '1347721786', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721762', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721745', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721706', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721674', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721634', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721549', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721519', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721461', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721451', None, None, None, None, None, '2695322'), ('4302', '21763711', '1347721447', None, None, None, None, None, '2695322')] time used for this insertion : 0.06977295875549316 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3787515163421631 time spend to save output : 0.07013463973999023 total time spend for step 5 : 0.4488861560821533 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 (2695322) 2.64user 2.57system 0:11.13elapsed 46%CPU (0avgtext+0avgdata 164752maxresident)k 115424inputs+12760outputs (541major+76049minor)pagefaults 0swaps