SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22481072) result : ((1354089438,), (1354089439,), (1354089466,), (1354089504,), (1354089849,), (1354089891,), (1354089936,), (1354089937,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22481033) result : ((1354089106,), (1354089136,), (1354089151,), (1354089186,), (1354089277,), (1354089290,), (1354089291,), (1354089292,), (1354089320,), (1354089322,), (1354089325,), (1354089327,), (1354089360,), (1354089362,), (1354089389,), (1354089391,), (1354089418,), (1354089423,), (1354089427,), (1354089432,), (1354089435,), (1354089473,), (1354089477,), (1354089482,), (1354089486,), (1354089554,), (1354089594,), (1354089610,), (1354089616,), (1354089673,), (1354089678,), (1354089683,), (1354089688,), (1354089723,), (1354089726,), (1354089729,), (1354089756,), (1354089759,), (1354089768,), (1354089805,), (1354089827,), (1354089860,), (1354089864,), (1354089868,), (1354089871,), (1354089875,), (1354089877,), (1354089913,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22481073 , 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=22481033 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 (22481073) result : ((1354089461,), (1354089500,), (1354089845,), (1354089846,), (1354089932,), (1354089933,), (1354089934,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22481033) result : ((1354089106,), (1354089136,), (1354089151,), (1354089186,), (1354089277,), (1354089290,), (1354089291,), (1354089292,), (1354089320,), (1354089322,), (1354089325,), (1354089327,), (1354089360,), (1354089362,), (1354089389,), (1354089391,), (1354089418,), (1354089423,), (1354089427,), (1354089432,), (1354089435,), (1354089473,), (1354089477,), (1354089482,), (1354089486,), (1354089554,), (1354089594,), (1354089610,), (1354089616,), (1354089673,), (1354089678,), (1354089683,), (1354089688,), (1354089723,), (1354089726,), (1354089729,), (1354089756,), (1354089759,), (1354089768,), (1354089805,), (1354089827,), (1354089860,), (1354089864,), (1354089868,), (1354089871,), (1354089875,), (1354089877,), (1354089913,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22481074 , 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=22481033 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='autre_refus' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22481074) result : ((1354089309,), (1354089496,), (1354089497,), (1354089844,), (1354089888,), (1354089928,), (1354089930,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22481033) result : ((1354089106,), (1354089136,), (1354089151,), (1354089186,), (1354089277,), (1354089290,), (1354089291,), (1354089292,), (1354089320,), (1354089322,), (1354089325,), (1354089327,), (1354089360,), (1354089362,), (1354089389,), (1354089391,), (1354089418,), (1354089423,), (1354089427,), (1354089432,), (1354089435,), (1354089473,), (1354089477,), (1354089482,), (1354089486,), (1354089554,), (1354089594,), (1354089610,), (1354089616,), (1354089673,), (1354089678,), (1354089683,), (1354089688,), (1354089723,), (1354089726,), (1354089729,), (1354089756,), (1354089759,), (1354089768,), (1354089805,), (1354089827,), (1354089860,), (1354089864,), (1354089868,), (1354089871,), (1354089875,), (1354089877,), (1354089913,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22481075 , 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=22481033 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 (22481075) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22481033) result : ((1354089106,), (1354089136,), (1354089151,), (1354089186,), (1354089277,), (1354089290,), (1354089291,), (1354089292,), (1354089320,), (1354089322,), (1354089325,), (1354089327,), (1354089360,), (1354089362,), (1354089389,), (1354089391,), (1354089418,), (1354089423,), (1354089427,), (1354089432,), (1354089435,), (1354089473,), (1354089477,), (1354089482,), (1354089486,), (1354089554,), (1354089594,), (1354089610,), (1354089616,), (1354089673,), (1354089678,), (1354089683,), (1354089688,), (1354089723,), (1354089726,), (1354089729,), (1354089756,), (1354089759,), (1354089768,), (1354089805,), (1354089827,), (1354089860,), (1354089864,), (1354089868,), (1354089871,), (1354089875,), (1354089877,), (1354089913,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22481076 , 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=22481033 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 (22481076) result : ((1354089852,), (1354089942,), (1354089943,), (1354089944,), (1354089945,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22481033) result : ((1354089106,), (1354089136,), (1354089151,), (1354089186,), (1354089277,), (1354089290,), (1354089291,), (1354089292,), (1354089320,), (1354089322,), (1354089325,), (1354089327,), (1354089360,), (1354089362,), (1354089389,), (1354089391,), (1354089418,), (1354089423,), (1354089427,), (1354089432,), (1354089435,), (1354089473,), (1354089477,), (1354089482,), (1354089486,), (1354089554,), (1354089594,), (1354089610,), (1354089616,), (1354089673,), (1354089678,), (1354089683,), (1354089688,), (1354089723,), (1354089726,), (1354089729,), (1354089756,), (1354089759,), (1354089768,), (1354089805,), (1354089827,), (1354089860,), (1354089864,), (1354089868,), (1354089871,), (1354089875,), (1354089877,), (1354089913,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22481078 , 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=22481033 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 (22481078) result : ((1354089312,), (1354089313,), (1354089440,), (1354089851,), (1354089939,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22481033) result : ((1354089106,), (1354089136,), (1354089151,), (1354089186,), (1354089277,), (1354089290,), (1354089291,), (1354089292,), (1354089320,), (1354089322,), (1354089325,), (1354089327,), (1354089360,), (1354089362,), (1354089389,), (1354089391,), (1354089418,), (1354089423,), (1354089427,), (1354089432,), (1354089435,), (1354089473,), (1354089477,), (1354089482,), (1354089486,), (1354089554,), (1354089594,), (1354089610,), (1354089616,), (1354089673,), (1354089678,), (1354089683,), (1354089688,), (1354089723,), (1354089726,), (1354089729,), (1354089756,), (1354089759,), (1354089768,), (1354089805,), (1354089827,), (1354089860,), (1354089864,), (1354089868,), (1354089871,), (1354089875,), (1354089877,), (1354089913,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22481079 , 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=22481033 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 (22481079) result : ((1354089463,), (1354089501,), (1354089502,), (1354089746,), (1354089935,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22481033) result : ((1354089106,), (1354089136,), (1354089151,), (1354089186,), (1354089277,), (1354089290,), (1354089291,), (1354089292,), (1354089320,), (1354089322,), (1354089325,), (1354089327,), (1354089360,), (1354089362,), (1354089389,), (1354089391,), (1354089418,), (1354089423,), (1354089427,), (1354089432,), (1354089435,), (1354089473,), (1354089477,), (1354089482,), (1354089486,), (1354089554,), (1354089594,), (1354089610,), (1354089616,), (1354089673,), (1354089678,), (1354089683,), (1354089688,), (1354089723,), (1354089726,), (1354089729,), (1354089756,), (1354089759,), (1354089768,), (1354089805,), (1354089827,), (1354089860,), (1354089864,), (1354089868,), (1354089871,), (1354089875,), (1354089877,), (1354089913,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22481080 , 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=22481033 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 (22481080) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22481033) result : ((1354089106,), (1354089136,), (1354089151,), (1354089186,), (1354089277,), (1354089290,), (1354089291,), (1354089292,), (1354089320,), (1354089322,), (1354089325,), (1354089327,), (1354089360,), (1354089362,), (1354089389,), (1354089391,), (1354089418,), (1354089423,), (1354089427,), (1354089432,), (1354089435,), (1354089473,), (1354089477,), (1354089482,), (1354089486,), (1354089554,), (1354089594,), (1354089610,), (1354089616,), (1354089673,), (1354089678,), (1354089683,), (1354089688,), (1354089723,), (1354089726,), (1354089729,), (1354089756,), (1354089759,), (1354089768,), (1354089805,), (1354089827,), (1354089860,), (1354089864,), (1354089868,), (1354089871,), (1354089875,), (1354089877,), (1354089913,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22481081 , 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=22481033 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 (22481081) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22481033) result : ((1354089106,), (1354089136,), (1354089151,), (1354089186,), (1354089277,), (1354089290,), (1354089291,), (1354089292,), (1354089320,), (1354089322,), (1354089325,), (1354089327,), (1354089360,), (1354089362,), (1354089389,), (1354089391,), (1354089418,), (1354089423,), (1354089427,), (1354089432,), (1354089435,), (1354089473,), (1354089477,), (1354089482,), (1354089486,), (1354089554,), (1354089594,), (1354089610,), (1354089616,), (1354089673,), (1354089678,), (1354089683,), (1354089688,), (1354089723,), (1354089726,), (1354089729,), (1354089756,), (1354089759,), (1354089768,), (1354089805,), (1354089827,), (1354089860,), (1354089864,), (1354089868,), (1354089871,), (1354089875,), (1354089877,), (1354089913,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22481082 , 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=22481033 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 (22481082) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22481033) result : ((1354089106,), (1354089136,), (1354089151,), (1354089186,), (1354089277,), (1354089290,), (1354089291,), (1354089292,), (1354089320,), (1354089322,), (1354089325,), (1354089327,), (1354089360,), (1354089362,), (1354089389,), (1354089391,), (1354089418,), (1354089423,), (1354089427,), (1354089432,), (1354089435,), (1354089473,), (1354089477,), (1354089482,), (1354089486,), (1354089554,), (1354089594,), (1354089610,), (1354089616,), (1354089673,), (1354089678,), (1354089683,), (1354089688,), (1354089723,), (1354089726,), (1354089729,), (1354089756,), (1354089759,), (1354089768,), (1354089805,), (1354089827,), (1354089860,), (1354089864,), (1354089868,), (1354089871,), (1354089875,), (1354089877,), (1354089913,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22481083 , 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=22481033 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 (22481083) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22481033) result : ((1354089106,), (1354089136,), (1354089151,), (1354089186,), (1354089277,), (1354089290,), (1354089291,), (1354089292,), (1354089320,), (1354089322,), (1354089325,), (1354089327,), (1354089360,), (1354089362,), (1354089389,), (1354089391,), (1354089418,), (1354089423,), (1354089427,), (1354089432,), (1354089435,), (1354089473,), (1354089477,), (1354089482,), (1354089486,), (1354089554,), (1354089594,), (1354089610,), (1354089616,), (1354089673,), (1354089678,), (1354089683,), (1354089688,), (1354089723,), (1354089726,), (1354089729,), (1354089756,), (1354089759,), (1354089768,), (1354089805,), (1354089827,), (1354089860,), (1354089864,), (1354089868,), (1354089871,), (1354089875,), (1354089877,), (1354089913,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22481084 , 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=22481033 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 (22481084) result : ((1354089307,), (1354089308,), (1354089457,), (1354089458,), (1354089459,), (1354089460,), (1354089492,), (1354089842,), (1354089843,), (1354089886,), (1354089887,), (1354089922,), (1354089923,), (1354089924,), (1354089925,), (1354089926,), (1354089927,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22481033) result : ((1354089106,), (1354089136,), (1354089151,), (1354089186,), (1354089277,), (1354089290,), (1354089291,), (1354089292,), (1354089320,), (1354089322,), (1354089325,), (1354089327,), (1354089360,), (1354089362,), (1354089389,), (1354089391,), (1354089418,), (1354089423,), (1354089427,), (1354089432,), (1354089435,), (1354089473,), (1354089477,), (1354089482,), (1354089486,), (1354089554,), (1354089594,), (1354089610,), (1354089616,), (1354089673,), (1354089678,), (1354089683,), (1354089688,), (1354089723,), (1354089726,), (1354089729,), (1354089756,), (1354089759,), (1354089768,), (1354089805,), (1354089827,), (1354089860,), (1354089864,), (1354089868,), (1354089871,), (1354089875,), (1354089877,), (1354089913,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22481033 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','plastique','Teint_Dans_La_Masse','autre_refus','kraft','papier','Carton_brun','cartonnette','flou','Carton_gris','environnement')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22481033 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','plastique','Teint_Dans_La_Masse','autre_refus','kraft','papier','Carton_brun','cartonnette','flou','Carton_gris','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 22481033, 'sub_port_id': 22481092, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14922739, 'last_updated_at': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 2, 8)}, 'Carton_gris': {'main_port_id': 22481033, 'sub_port_id': 22481093, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14922740, 'last_updated_at': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 2, 8)}, 'autre_refus': {'main_port_id': 22481033, 'sub_port_id': 22481094, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14922741, 'last_updated_at': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 2, 8)}, 'metal': {'main_port_id': 22481033, 'sub_port_id': 22481095, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14922742, 'last_updated_at': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 2, 8)}, 'kraft': {'main_port_id': 22481033, 'sub_port_id': 22481096, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14922743, 'last_updated_at': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 2, 8)}, 'plastique': {'main_port_id': 22481033, 'sub_port_id': 22481097, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14922744, 'last_updated_at': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 2, 8)}, 'cartonnette': {'main_port_id': 22481033, 'sub_port_id': 22481098, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14922745, 'last_updated_at': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 2, 8)}, 'mal_croppe': {'main_port_id': 22481033, 'sub_port_id': 22481099, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14922746, 'last_updated_at': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 2, 8)}, 'papier': {'main_port_id': 22481033, 'sub_port_id': 22481100, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14922747, 'last_updated_at': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 2, 8)}, 'environnement': {'main_port_id': 22481033, 'sub_port_id': 22481101, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14922748, 'last_updated_at': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 2, 8)}, 'flou': {'main_port_id': 22481033, 'sub_port_id': 22481103, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14922749, 'last_updated_at': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 2, 8), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 2, 8)}, 'Teint_Dans_La_Masse': {'main_port_id': 22481033, 'sub_port_id': 22481104, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14922750, 'last_updated_at': datetime.datetime(2025, 4, 29, 2, 14, 30), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 2, 14, 30), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 2, 8)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22481092,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22481072 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22481093,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22481073 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22481094,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22481074 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22481095,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22481075 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22481096,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22481076 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22481097,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22481078 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22481098,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22481079 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22481099,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22481080 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22481100,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22481081 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22481101,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22481082 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22481103,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22481083 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22481104,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22481084 lien utilise dans velours : https://www.fotonower.com/velours/22481092,22481093,22481094,22481095,22481096,22481097,22481098,22481099,22481100,22481101,22481103,22481104?tags=Carton_brun,Carton_gris,autre_refus,metal,kraft,plastique,cartonnette,mal_croppe,papier,environnement,flou,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22481033]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1354089913, 1354089877, 1354089875, 1354089871, 1354089868, 1354089864, 1354089860, 1354089827, 1354089805, 1354089768, 1354089759, 1354089756] map_info['map_portfolio_photo'] : {22481033: [1354089913, 1354089877, 1354089875, 1354089871, 1354089868, 1354089864, 1354089860, 1354089827, 1354089805, 1354089768, 1354089759, 1354089756, 1354089729, 1354089726, 1354089723, 1354089688, 1354089683, 1354089678, 1354089673, 1354089616, 1354089610, 1354089594, 1354089554, 1354089486, 1354089482, 1354089477, 1354089473, 1354089435, 1354089432, 1354089427, 1354089423, 1354089418, 1354089391, 1354089389, 1354089362, 1354089360, 1354089327, 1354089325, 1354089322, 1354089320, 1354089292, 1354089291, 1354089290, 1354089277, 1354089186, 1354089151, 1354089136, 1354089106]} final : False mtd_id 4302 list_pids : [1354089913, 1354089877, 1354089875, 1354089871, 1354089868, 1354089864, 1354089860, 1354089827, 1354089805, 1354089768, 1354089759, 1354089756] Looping around the photos to save general results len do output : 1 /22481033. 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, '2766970') ('4302', '22481033', '1354089913', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089877', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089875', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089871', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089868', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089864', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089860', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089827', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089805', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089768', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089759', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089756', None, None, None, None, None, '2766970') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22481033', "{'Carton_brun': 22481072, 'Carton_gris': 22481073, 'autre_refus': 22481074, 'metal': 22481075, 'kraft': 22481076, 'plastique': 22481078, 'cartonnette': 22481079, 'mal_croppe': 22481080, 'papier': 22481081, 'environnement': 22481082, 'flou': 22481083, 'Teint_Dans_La_Masse': 22481084}", None, None, None, None, '2766970'), ('4302', '22481033', '1354089913', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089877', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089875', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089871', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089868', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089864', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089860', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089827', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089805', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089768', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089759', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089756', None, None, None, None, None, '2766970')] time used for this insertion : 0.028174161911010742 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.643768548965454 time spend to save output : 0.028478622436523438 total time spend for step 1 : 1.6722471714019775 step2:final Tue Apr 29 02:16:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22481033) 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 22481033 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1354089106,1354089151,1354089136,1354089186,1354089292,1354089291,1354089290,1354089277,1354089327,1354089325,1354089322,1354089320,1354089362,1354089360,1354089391,1354089389,1354089435,1354089432,1354089427,1354089423,1354089418,1354089486,1354089482,1354089477,1354089473,1354089616,1354089610,1354089594,1354089554,1354089688,1354089683,1354089678,1354089673,1354089729,1354089726,1354089723,1354089827,1354089805,1354089768,1354089759,1354089756,1354089877,1354089875,1354089871,1354089868,1354089864,1354089860,1354089913); 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([22481033]) Inside saveOutput : final : False verbose : True original output for save of step final : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ('0.09461476065377317',), 1354089768: ('0.09461476065377317',), 1354089759: ('0.09461476065377317',), 1354089756: ('0.09461476065377317',)} new output for save of step final : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ('0.09461476065377317',), 1354089768: ('0.09461476065377317',), 1354089759: ('0.09461476065377317',), 1354089756: ('0.09461476065377317',)} [1354089913, 1354089877, 1354089875, 1354089871, 1354089868, 1354089864, 1354089860, 1354089827, 1354089805, 1354089768, 1354089759, 1354089756] map_info['map_portfolio_photo'] : {22481033: [1354089913, 1354089877, 1354089875, 1354089871, 1354089868, 1354089864, 1354089860, 1354089827, 1354089805, 1354089768, 1354089759, 1354089756, 1354089729, 1354089726, 1354089723, 1354089688, 1354089683, 1354089678, 1354089673, 1354089616, 1354089610, 1354089594, 1354089554, 1354089486, 1354089482, 1354089477, 1354089473, 1354089435, 1354089432, 1354089427, 1354089423, 1354089418, 1354089391, 1354089389, 1354089362, 1354089360, 1354089327, 1354089325, 1354089322, 1354089320, 1354089292, 1354089291, 1354089290, 1354089277, 1354089186, 1354089151, 1354089136, 1354089106]} final : False mtd_id 4302 list_pids : [1354089913, 1354089877, 1354089875, 1354089871, 1354089868, 1354089864, 1354089860, 1354089827, 1354089805, 1354089768, 1354089759, 1354089756] Looping around the photos to save general results len do output : 12 /1354089913.Didn't retrieve data . /1354089877.Didn't retrieve data . /1354089875.Didn't retrieve data . /1354089871.Didn't retrieve data . /1354089868.Didn't retrieve data . /1354089864.Didn't retrieve data . /1354089860.Didn't retrieve data . /1354089827.Didn't retrieve data . /1354089805.Didn't retrieve data . /1354089768.Didn't retrieve data . /1354089759.Didn't retrieve data . /1354089756.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, '2766970') ('4302', '22481033', '1354089913', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089877', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089875', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089871', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089868', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089864', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089860', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089827', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089805', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089768', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089759', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089756', None, None, None, None, None, '2766970') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 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', '22481033', '1354089913', '0.09461476065377317', None, None, None, None, '2766970'), ('4302', '22481033', '1354089877', '0.09461476065377317', None, None, None, None, '2766970'), ('4302', '22481033', '1354089875', '0.09461476065377317', None, None, None, None, '2766970'), ('4302', '22481033', '1354089871', '0.09461476065377317', None, None, None, None, '2766970'), ('4302', '22481033', '1354089868', '0.09461476065377317', None, None, None, None, '2766970'), ('4302', '22481033', '1354089864', '0.09461476065377317', None, None, None, None, '2766970'), ('4302', '22481033', '1354089860', '0.09461476065377317', None, None, None, None, '2766970'), ('4302', '22481033', '1354089827', '0.09461476065377317', None, None, None, None, '2766970'), ('4302', '22481033', '1354089805', '0.09461476065377317', None, None, None, None, '2766970'), ('4302', '22481033', '1354089768', '0.09461476065377317', None, None, None, None, '2766970'), ('4302', '22481033', '1354089759', '0.09461476065377317', None, None, None, None, '2766970'), ('4302', '22481033', '1354089756', '0.09461476065377317', None, None, None, None, '2766970')] time used for this insertion : 0.020194292068481445 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1670060157775879 time spend to save output : 0.020833492279052734 total time spend for step 2 : 0.18783950805664062 step3:velours_tree Tue Apr 29 02:16:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {22481033: [{'Carton_brun': 22481072, 'Carton_gris': 22481073, 'autre_refus': 22481074, 'metal': 22481075, 'kraft': 22481076, 'plastique': 22481078, 'cartonnette': 22481079, 'mal_croppe': 22481080, 'papier': 22481081, 'environnement': 22481082, 'flou': 22481083, 'Teint_Dans_La_Masse': 22481084}]} input_args_next_step : {22481033: ()} output_args : {22481033: [{'Carton_brun': 22481072, 'Carton_gris': 22481073, 'autre_refus': 22481074, 'metal': 22481075, 'kraft': 22481076, 'plastique': 22481078, 'cartonnette': 22481079, 'mal_croppe': 22481080, 'papier': 22481081, 'environnement': 22481082, 'flou': 22481083, 'Teint_Dans_La_Masse': 22481084}]} args : 22481033 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 22481072, 'Carton_gris': 22481073, 'autre_refus': 22481074, 'metal': 22481075, 'kraft': 22481076, 'plastique': 22481078, 'cartonnette': 22481079, 'mal_croppe': 22481080, 'papier': 22481081, 'environnement': 22481082, 'flou': 22481083, 'Teint_Dans_La_Masse': 22481084},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22481033) 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([22481033]) 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.36037588119506836 time spend to save output : 7.271766662597656e-05 total time spend for step 3 : 0.36044859886169434 step4:send_mail_cod Tue Apr 29 02:17:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ('0.09461476065377317',), 1354089768: ('0.09461476065377317',), 1354089759: ('0.09461476065377317',), 1354089756: ('0.09461476065377317',)} input_args_next_step : {1354089913: ()} output_args : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ('0.09461476065377317',), 1354089768: ('0.09461476065377317',), 1354089759: ('0.09461476065377317',), 1354089756: ('0.09461476065377317',)} args : 1354089913 depend.output_id : 0 input_args_next_step : {1354089913: ('0.09461476065377317',), 1354089877: ()} output_args : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ('0.09461476065377317',), 1354089768: ('0.09461476065377317',), 1354089759: ('0.09461476065377317',), 1354089756: ('0.09461476065377317',)} args : 1354089877 depend.output_id : 0 input_args_next_step : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ()} output_args : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ('0.09461476065377317',), 1354089768: ('0.09461476065377317',), 1354089759: ('0.09461476065377317',), 1354089756: ('0.09461476065377317',)} args : 1354089875 depend.output_id : 0 input_args_next_step : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ()} output_args : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ('0.09461476065377317',), 1354089768: ('0.09461476065377317',), 1354089759: ('0.09461476065377317',), 1354089756: ('0.09461476065377317',)} args : 1354089871 depend.output_id : 0 input_args_next_step : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ()} output_args : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ('0.09461476065377317',), 1354089768: ('0.09461476065377317',), 1354089759: ('0.09461476065377317',), 1354089756: ('0.09461476065377317',)} args : 1354089868 depend.output_id : 0 input_args_next_step : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ()} output_args : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ('0.09461476065377317',), 1354089768: ('0.09461476065377317',), 1354089759: ('0.09461476065377317',), 1354089756: ('0.09461476065377317',)} args : 1354089864 depend.output_id : 0 input_args_next_step : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ()} output_args : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ('0.09461476065377317',), 1354089768: ('0.09461476065377317',), 1354089759: ('0.09461476065377317',), 1354089756: ('0.09461476065377317',)} args : 1354089860 depend.output_id : 0 input_args_next_step : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ()} output_args : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ('0.09461476065377317',), 1354089768: ('0.09461476065377317',), 1354089759: ('0.09461476065377317',), 1354089756: ('0.09461476065377317',)} args : 1354089827 depend.output_id : 0 input_args_next_step : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ()} output_args : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ('0.09461476065377317',), 1354089768: ('0.09461476065377317',), 1354089759: ('0.09461476065377317',), 1354089756: ('0.09461476065377317',)} args : 1354089805 depend.output_id : 0 input_args_next_step : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ('0.09461476065377317',), 1354089768: ()} output_args : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ('0.09461476065377317',), 1354089768: ('0.09461476065377317',), 1354089759: ('0.09461476065377317',), 1354089756: ('0.09461476065377317',)} args : 1354089768 depend.output_id : 0 input_args_next_step : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ('0.09461476065377317',), 1354089768: ('0.09461476065377317',), 1354089759: ()} output_args : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ('0.09461476065377317',), 1354089768: ('0.09461476065377317',), 1354089759: ('0.09461476065377317',), 1354089756: ('0.09461476065377317',)} args : 1354089759 depend.output_id : 0 input_args_next_step : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ('0.09461476065377317',), 1354089768: ('0.09461476065377317',), 1354089759: ('0.09461476065377317',), 1354089756: ()} output_args : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ('0.09461476065377317',), 1354089768: ('0.09461476065377317',), 1354089759: ('0.09461476065377317',), 1354089756: ('0.09461476065377317',)} args : 1354089756 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 : {22481033: [{'Carton_brun': 22481072, 'Carton_gris': 22481073, 'autre_refus': 22481074, 'metal': 22481075, 'kraft': 22481076, 'plastique': 22481078, 'cartonnette': 22481079, 'mal_croppe': 22481080, 'papier': 22481081, 'environnement': 22481082, 'flou': 22481083, 'Teint_Dans_La_Masse': 22481084}]} input_args_next_step : {1354089913: ('0.09461476065377317',), 1354089877: ('0.09461476065377317',), 1354089875: ('0.09461476065377317',), 1354089871: ('0.09461476065377317',), 1354089868: ('0.09461476065377317',), 1354089864: ('0.09461476065377317',), 1354089860: ('0.09461476065377317',), 1354089827: ('0.09461476065377317',), 1354089805: ('0.09461476065377317',), 1354089768: ('0.09461476065377317',), 1354089759: ('0.09461476065377317',), 1354089756: ('0.09461476065377317',), 22481033: ()} output_args : {22481033: [{'Carton_brun': 22481072, 'Carton_gris': 22481073, 'autre_refus': 22481074, 'metal': 22481075, 'kraft': 22481076, 'plastique': 22481078, 'cartonnette': 22481079, 'mal_croppe': 22481080, 'papier': 22481081, 'environnement': 22481082, 'flou': 22481083, 'Teint_Dans_La_Masse': 22481084}]} args : 22481033 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 :13, first value : ('0.09461476065377317',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22481033) 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 (1354089913,1354089877,1354089875,1354089871,1354089868,1354089864,1354089860,1354089827,1354089805,1354089768,1354089759,1354089756) Found this number of photos: 12 ##### Call download_photos : nb_thread : 5 begin to download photo : 1354089756 begin to download photo : 1354089805 begin to download photo : 1354089864 begin to download photo : 1354089875 download finish for photo 1354089875 begin to download photo : 1354089877 download finish for photo 1354089756 begin to download photo : 1354089759 download finish for photo 1354089805 begin to download photo : 1354089827 download finish for photo 1354089864 begin to download photo : 1354089868 download finish for photo 1354089827 begin to download photo : 1354089860 download finish for photo 1354089877 begin to download photo : 1354089913 download finish for photo 1354089759 begin to download photo : 1354089768 download finish for photo 1354089868 begin to download photo : 1354089871 download finish for photo 1354089913 download finish for photo 1354089860 download finish for photo 1354089768 download finish for photo 1354089871 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 : 12 ; length of list_pids : 12 ; length of list_args : 12 results_Auto_P22481033_29-04-2025_02_17_00.pdf 22481074 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=22481074 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354089309: '1745885111_3839231_1354089136_409fb6e15510446b1f2aa65e389cbe7f_rle_crop_3771991246_0.png', 1354089496: '1745885383_3604249_1354089291_80ee6c63736948c06684f89aa0ac655a_rle_crop_3772000948_0.png', 1354089497: '1745885383_3604249_1354089291_80ee6c63736948c06684f89aa0ac655a_rle_crop_3772000941_0.png', 1354089844: '1745885651_3844330_1354089473_7a7bbe7c7f93a6a724249ed094188224_rle_crop_3772006491_0.png', 1354089888: '1745885712_3845052_1354089389_7fc3c0e1068b1bbc9ddb31604421a4eb_rle_crop_3772006604_0.png', 1354089928: '1745885743_3612511_1354089427_826095d58e8c7271f663c90cb4eaab8e_rle_crop_3772006993_0.png', 1354089930: '1745885743_3612511_1354089427_826095d58e8c7271f663c90cb4eaab8e_rle_crop_3772006984_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/a1aa8ba60f89d24f7712718e10f03449_57498714.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/4f6fe04c53da512b1c8c31a30a9e3d65_81461681.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/7c0afc5e568a60118d1ffddb136ed45c_23015890.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/d56b76b02101b9cd26f1fc226a930cf7_17830119.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/8ca770c6278ea64b25fe15ca36a8a7c7_62200162.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/83e1913c523c09fcab5ba49a34a7e1e1_45118426.png change filename to text .imagette224810741745885820/ imagette224810741745885820/1745885651_3844330_1354089473_7a7bbe7c7f93a6a724249ed094188224_rle_crop_3772006491_0.png.png imagette224810741745885820/1745885743_3612511_1354089427_826095d58e8c7271f663c90cb4eaab8e_rle_crop_3772006993_0.png.png imagette224810741745885820/1745885111_3839231_1354089136_409fb6e15510446b1f2aa65e389cbe7f_rle_crop_3771991246_0.png.png imagette224810741745885820/1745885383_3604249_1354089291_80ee6c63736948c06684f89aa0ac655a_rle_crop_3772000941_0.png.png imagette224810741745885820/1745885383_3604249_1354089291_80ee6c63736948c06684f89aa0ac655a_rle_crop_3772000948_0.png.png imagette224810741745885820/1745885743_3612511_1354089427_826095d58e8c7271f663c90cb4eaab8e_rle_crop_3772006984_0.png.png imagette224810741745885820/1745885712_3845052_1354089389_7fc3c0e1068b1bbc9ddb31604421a4eb_rle_crop_3772006604_0.png.png imagette224810751745885820/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/c7c7e853b86dd8b178e78acc4c608d8c_28097626.png imagette224810741745885820 22481075 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=22481075 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette224810751745885820 22481076 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=22481076 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354089852: '1745885651_3844330_1354089616_7f614d20bef9be07650247a38eba7d2b_rle_crop_3772006377_0.png', 1354089942: '1745885743_3612511_1354089432_75afeca014fd5d0c8d005c3bd28b4e4b_rle_crop_3772006966_0.png', 1354089943: '1745885743_3612511_1354089427_826095d58e8c7271f663c90cb4eaab8e_rle_crop_3772006989_0.png', 1354089944: '1745885743_3612511_1354089423_fa25ab2de31b78eadecba2dff4832b10_rle_crop_3772007072_0.png', 1354089945: '1745885743_3612511_1354089418_aced3f50f4597736babc0b07b3d1bec2_rle_crop_3772007084_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/e39b1d107aacb1eeded0e0ab3cd5b502_6678535.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/e16cc27922bd491a7dcc3a774ac7e6f9_59683396.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/98f814f90451b801e429341604fcdb12_47092899.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/7f13d71057b33c5124cae4e0208da2ad_42012995.png change filename to text .imagette224810761745885820/ imagette224810761745885820/1745885743_3612511_1354089418_aced3f50f4597736babc0b07b3d1bec2_rle_crop_3772007084_0.png.png imagette224810761745885820/1745885651_3844330_1354089616_7f614d20bef9be07650247a38eba7d2b_rle_crop_3772006377_0.png.png imagette224810761745885820/1745885743_3612511_1354089427_826095d58e8c7271f663c90cb4eaab8e_rle_crop_3772006989_0.png.png imagette224810761745885820/1745885743_3612511_1354089423_fa25ab2de31b78eadecba2dff4832b10_rle_crop_3772007072_0.png.png imagette224810761745885820/1745885743_3612511_1354089432_75afeca014fd5d0c8d005c3bd28b4e4b_rle_crop_3772006966_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/40f45837255969c805ccfba8490ce2dd_44974318.png imagette224810761745885820 22481078 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=22481078 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354089312: '1745885111_3839231_1354089186_84018b8bb777ffdd7ccdaf9cbf24d861_rle_crop_3771991232_0.png', 1354089313: '1745885111_3839231_1354089186_84018b8bb777ffdd7ccdaf9cbf24d861_rle_crop_3771991233_0.png', 1354089440: '1745885340_3841330_1354089360_e3ed35d7d5933dd231841c26db53788b_rle_crop_3771993670_0.png', 1354089851: '1745885651_3844330_1354089473_7a7bbe7c7f93a6a724249ed094188224_rle_crop_3772006496_0.png', 1354089939: '1745885743_3612511_1354089486_f7a79e66221057222724e80486d86d47_rle_crop_3772006943_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/320001a2d720ff02b66a025e7c3f6623_75057079.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/d54d4554e3f0d6ea81a204837d1c61f8_31721595.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/fe8e87725bfcb483822782e6f6c6ed57_13202477.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/48ff1e564a4525003eea4b01254cb0bc_69665985.png change filename to text .imagette224810781745885821/ imagette224810781745885821/1745885743_3612511_1354089486_f7a79e66221057222724e80486d86d47_rle_crop_3772006943_0.png.png imagette224810781745885821/1745885111_3839231_1354089186_84018b8bb777ffdd7ccdaf9cbf24d861_rle_crop_3771991233_0.png.png imagette224810781745885821/1745885111_3839231_1354089186_84018b8bb777ffdd7ccdaf9cbf24d861_rle_crop_3771991232_0.png.png imagette224810781745885821/1745885340_3841330_1354089360_e3ed35d7d5933dd231841c26db53788b_rle_crop_3771993670_0.png.png imagette224810781745885821/1745885651_3844330_1354089473_7a7bbe7c7f93a6a724249ed094188224_rle_crop_3772006496_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/8ea0416be5b235eebdd00bd65852fd02_84456719.png imagette224810781745885821 22481079 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=22481079 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354089463: '1745885351_3841528_1354089325_d805c4267ef410b2042ab7183abdf78c_rle_crop_3771993757_0.png', 1354089501: '1745885383_3604249_1354089327_15e8175344a282db72b923bc8d1b16de_rle_crop_3772000917_0.png', 1354089502: '1745885383_3604249_1354089277_ed392983890e70c47f7dbdd2a97e63fc_rle_crop_3772000985_0.png', 1354089746: '1745885593_3843722_1354089678_486a168f92adb6df233b7dcb0b39f593_rle_crop_3772006028_0.png', 1354089935: '1745885743_3612511_1354089432_75afeca014fd5d0c8d005c3bd28b4e4b_rle_crop_3772006963_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/ec05b6bdfea582d70a1c8c70b5353a2e_27005040.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/0fca480d6fc604443efea12436785130_74232774.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/9554ddd2ead374404aac89efa355aaa0_95469858.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/fbb556786ee6cf6512473237dd1aa3b2_85740770.png change filename to text .imagette224810791745885821/ imagette224810791745885821/1745885593_3843722_1354089678_486a168f92adb6df233b7dcb0b39f593_rle_crop_3772006028_0.png.png imagette224810791745885821/1745885383_3604249_1354089327_15e8175344a282db72b923bc8d1b16de_rle_crop_3772000917_0.png.png imagette224810791745885821/1745885351_3841528_1354089325_d805c4267ef410b2042ab7183abdf78c_rle_crop_3771993757_0.png.png imagette224810791745885821/1745885383_3604249_1354089277_ed392983890e70c47f7dbdd2a97e63fc_rle_crop_3772000985_0.png.png imagette224810791745885821/1745885743_3612511_1354089432_75afeca014fd5d0c8d005c3bd28b4e4b_rle_crop_3772006963_0.png.png imagette224810801745885821/ imagette224810831745885821/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/1a9f2e498c1c921e8e4791c18b1ee3ad_35254868.png imagette224810791745885821 22481080 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=22481080 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette224810801745885821 22481083 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=22481083 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette224810831745885821 22481072 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=22481072 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354089438: '1745885340_3841330_1354089360_e3ed35d7d5933dd231841c26db53788b_rle_crop_3771993672_0.png', 1354089439: '1745885340_3841330_1354089360_e3ed35d7d5933dd231841c26db53788b_rle_crop_3771993671_0.png', 1354089466: '1745885351_3841528_1354089362_912b5fe33cde9540df35475f8d0e3828_rle_crop_3771993748_0.png', 1354089504: '1745885383_3604249_1354089290_151709e9fdb40f1ba37899ca10aee5be_rle_crop_3772000958_0.png', 1354089849: '1745885651_3844330_1354089616_7f614d20bef9be07650247a38eba7d2b_rle_crop_3772006378_0.png', 1354089891: '1745885712_3845052_1354089389_7fc3c0e1068b1bbc9ddb31604421a4eb_rle_crop_3772006603_0.png', 1354089936: '1745885743_3612511_1354089423_fa25ab2de31b78eadecba2dff4832b10_rle_crop_3772007067_0.png', 1354089937: '1745885743_3612511_1354089423_fa25ab2de31b78eadecba2dff4832b10_rle_crop_3772007069_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/8ccb5541ce971d1c2b1abe66f8342282_98506106.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/188712c51e3a9c366b00f23d5120b86b_62320542.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/5afb8428ba0f1af1b4220cc1045b8101_50797449.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/166875ab77792a9dff1d3f3a82f98b8e_72837762.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/83b49a6949c426f64bccd79eec3048cf_24250846.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/d9e96b1a0b46e3e634542a06a858d86d_30809819.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/bf2c10946a1764bd248a039f9387542e_52466084.png change filename to text .imagette224810721745885821/ imagette224810721745885821/1745885743_3612511_1354089423_fa25ab2de31b78eadecba2dff4832b10_rle_crop_3772007069_0.png.png imagette224810721745885821/1745885340_3841330_1354089360_e3ed35d7d5933dd231841c26db53788b_rle_crop_3771993672_0.png.png imagette224810721745885821/1745885340_3841330_1354089360_e3ed35d7d5933dd231841c26db53788b_rle_crop_3771993671_0.png.png imagette224810721745885821/1745885651_3844330_1354089616_7f614d20bef9be07650247a38eba7d2b_rle_crop_3772006378_0.png.png imagette224810721745885821/1745885351_3841528_1354089362_912b5fe33cde9540df35475f8d0e3828_rle_crop_3771993748_0.png.png imagette224810721745885821/1745885712_3845052_1354089389_7fc3c0e1068b1bbc9ddb31604421a4eb_rle_crop_3772006603_0.png.png imagette224810721745885821/1745885383_3604249_1354089290_151709e9fdb40f1ba37899ca10aee5be_rle_crop_3772000958_0.png.png imagette224810721745885821/1745885743_3612511_1354089423_fa25ab2de31b78eadecba2dff4832b10_rle_crop_3772007067_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/2c22f59400dc87120923e6a52012d578_16944821.png imagette224810721745885821 22481073 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=22481073 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354089461: '1745885351_3841528_1354089320_2371a40fb7569fefd81c4ccf11763f6b_rle_crop_3771993778_0.png', 1354089500: '1745885383_3604249_1354089277_ed392983890e70c47f7dbdd2a97e63fc_rle_crop_3772000982_0.png', 1354089845: '1745885651_3844330_1354089477_559a3c01b04713bf285218592b78c2af_rle_crop_3772006410_0.png', 1354089846: '1745885651_3844330_1354089473_7a7bbe7c7f93a6a724249ed094188224_rle_crop_3772006494_0.png', 1354089932: '1745885743_3612511_1354089423_fa25ab2de31b78eadecba2dff4832b10_rle_crop_3772007066_0.png', 1354089933: '1745885743_3612511_1354089423_fa25ab2de31b78eadecba2dff4832b10_rle_crop_3772007065_0.png', 1354089934: '1745885743_3612511_1354089418_aced3f50f4597736babc0b07b3d1bec2_rle_crop_3772007083_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/02ba9315dcf38a1000c66f8e728415b3_89166664.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/64042ad2ebb0024e0528fb74a84e30e2_77521506.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/c2f95887885f26704af795bfc5e73cd0_57733964.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/8e1188741cabe53d6d099fe3c3462a82_93872070.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/a752d59b4e47822545e031e60cb81ec5_60174009.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/5cae01a6b2d2405fd9c1be5b423ace88_79752836.png change filename to text .imagette224810731745885822/ imagette224810731745885822/1745885651_3844330_1354089477_559a3c01b04713bf285218592b78c2af_rle_crop_3772006410_0.png.png imagette224810731745885822/1745885651_3844330_1354089473_7a7bbe7c7f93a6a724249ed094188224_rle_crop_3772006494_0.png.png imagette224810731745885822/1745885383_3604249_1354089277_ed392983890e70c47f7dbdd2a97e63fc_rle_crop_3772000982_0.png.png imagette224810731745885822/1745885743_3612511_1354089423_fa25ab2de31b78eadecba2dff4832b10_rle_crop_3772007066_0.png.png imagette224810731745885822/1745885743_3612511_1354089423_fa25ab2de31b78eadecba2dff4832b10_rle_crop_3772007065_0.png.png imagette224810731745885822/1745885351_3841528_1354089320_2371a40fb7569fefd81c4ccf11763f6b_rle_crop_3771993778_0.png.png imagette224810731745885822/1745885743_3612511_1354089418_aced3f50f4597736babc0b07b3d1bec2_rle_crop_3772007083_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/32cba2ad6ef4fb5f4ac86806c378686d_3190120.png imagette224810731745885822 22481084 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=22481084 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354089843: '1745885651_3844330_1354089477_559a3c01b04713bf285218592b78c2af_rle_crop_3772006412_0.png', 1354089927: '1745885743_3612511_1354089423_fa25ab2de31b78eadecba2dff4832b10_rle_crop_3772007070_0.png', 1354089926: '1745885743_3612511_1354089427_826095d58e8c7271f663c90cb4eaab8e_rle_crop_3772006990_0.png', 1354089925: '1745885743_3612511_1354089427_826095d58e8c7271f663c90cb4eaab8e_rle_crop_3772006994_0.png', 1354089924: '1745885743_3612511_1354089427_826095d58e8c7271f663c90cb4eaab8e_rle_crop_3772006992_0.png', 1354089923: '1745885743_3612511_1354089432_75afeca014fd5d0c8d005c3bd28b4e4b_rle_crop_3772006965_0.png', 1354089922: '1745885743_3612511_1354089432_75afeca014fd5d0c8d005c3bd28b4e4b_rle_crop_3772006968_0.png', 1354089887: '1745885712_3845052_1354089389_7fc3c0e1068b1bbc9ddb31604421a4eb_rle_crop_3772006605_0.png', 1354089886: '1745885712_3845052_1354089435_89bad4054945176a0ae111faf6dcc9cb_rle_crop_3772006598_0.png', 1354089307: '1745885111_3839231_1354089186_84018b8bb777ffdd7ccdaf9cbf24d861_rle_crop_3771991229_0.png', 1354089842: '1745885651_3844330_1354089477_559a3c01b04713bf285218592b78c2af_rle_crop_3772006411_0.png', 1354089492: '1745885383_3604249_1354089277_ed392983890e70c47f7dbdd2a97e63fc_rle_crop_3772000988_0.png', 1354089460: '1745885351_3841528_1354089320_2371a40fb7569fefd81c4ccf11763f6b_rle_crop_3771993780_0.png', 1354089459: '1745885351_3841528_1354089322_4fe1c9acadf7285ac14cd41d187b0360_rle_crop_3771993771_0.png', 1354089458: '1745885351_3841528_1354089325_d805c4267ef410b2042ab7183abdf78c_rle_crop_3771993759_0.png', 1354089457: '1745885351_3841528_1354089325_d805c4267ef410b2042ab7183abdf78c_rle_crop_3771993755_0.png', 1354089308: '1745885111_3839231_1354089186_84018b8bb777ffdd7ccdaf9cbf24d861_rle_crop_3771991234_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/bca87a3b043520c8e3b1fbf167ee462f_34212433.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/d7cff00a9fd456bf4a34059a0cb7aa38_3567122.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/b3772ca38745969653cb4c1d02644efa_96708148.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/eac89997f2e8984880f923c1d81ae6f7_56264232.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/7c74c489021de015ea9fd53b4ae3a072_82522021.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/f9b68bd824cc3dc59e7ba174362d7ccc_14129872.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/5dfb34db39a7a0f0af69144b3cfb8715_70653924.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/601c2955a3873a54013f2f087fd1689f_28990081.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/ad36fe0b0ac7143163bce84fce400325_5731157.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/fd73e095c3c0db9b5fb1d4a88e1148c1_23409309.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/d78de9e599d55c371335b0f1a9553309_42409727.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/ab6f28c4be9db62b417a1346d322862b_62604758.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/8e277da1abfa288cd3b6dc1e545c0375_51448907.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/a167d09286b5ce6a32bb91b8d151dd26_26549474.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/912866e03fd867a9c8efb3223f7071e4_68632258.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/8a2c807842587c21dbbdfb3f3722dc6a_4393846.png change filename to text .imagette224810841745885822/ imagette224810841745885822/1745885351_3841528_1354089325_d805c4267ef410b2042ab7183abdf78c_rle_crop_3771993755_0.png.png imagette224810841745885822/1745885743_3612511_1354089432_75afeca014fd5d0c8d005c3bd28b4e4b_rle_crop_3772006968_0.png.png imagette224810841745885822/1745885651_3844330_1354089477_559a3c01b04713bf285218592b78c2af_rle_crop_3772006412_0.png.png imagette224810841745885822/1745885712_3845052_1354089389_7fc3c0e1068b1bbc9ddb31604421a4eb_rle_crop_3772006605_0.png.png imagette224810841745885822/1745885743_3612511_1354089427_826095d58e8c7271f663c90cb4eaab8e_rle_crop_3772006990_0.png.png imagette224810841745885822/1745885743_3612511_1354089427_826095d58e8c7271f663c90cb4eaab8e_rle_crop_3772006992_0.png.png imagette224810841745885822/1745885743_3612511_1354089427_826095d58e8c7271f663c90cb4eaab8e_rle_crop_3772006994_0.png.png imagette224810841745885822/1745885651_3844330_1354089477_559a3c01b04713bf285218592b78c2af_rle_crop_3772006411_0.png.png imagette224810841745885822/1745885111_3839231_1354089186_84018b8bb777ffdd7ccdaf9cbf24d861_rle_crop_3771991234_0.png.png imagette224810841745885822/1745885383_3604249_1354089277_ed392983890e70c47f7dbdd2a97e63fc_rle_crop_3772000988_0.png.png imagette224810841745885822/1745885351_3841528_1354089325_d805c4267ef410b2042ab7183abdf78c_rle_crop_3771993759_0.png.png imagette224810841745885822/1745885743_3612511_1354089423_fa25ab2de31b78eadecba2dff4832b10_rle_crop_3772007070_0.png.png imagette224810841745885822/1745885351_3841528_1354089322_4fe1c9acadf7285ac14cd41d187b0360_rle_crop_3771993771_0.png.png imagette224810841745885822/1745885743_3612511_1354089432_75afeca014fd5d0c8d005c3bd28b4e4b_rle_crop_3772006965_0.png.png imagette224810841745885822/1745885111_3839231_1354089186_84018b8bb777ffdd7ccdaf9cbf24d861_rle_crop_3771991229_0.png.png imagette224810841745885822/1745885712_3845052_1354089435_89bad4054945176a0ae111faf6dcc9cb_rle_crop_3772006598_0.png.png imagette224810841745885822/1745885351_3841528_1354089320_2371a40fb7569fefd81c4ccf11763f6b_rle_crop_3771993780_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/e9e0d2802cbfa0a470d523bdc72059b9_35422242.png imagette224810841745885822 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22481033 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22481092,22481093,22481094,22481095,22481096,22481097,22481098,22481099,22481100,22481101,22481103,22481104?tags=Carton_brun,Carton_gris,autre_refus,metal,kraft,plastique,cartonnette,mal_croppe,papier,environnement,flou,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1354089913] : ('0.09461476065377317',) no score found for photo 1354089913 We are sending mail with results at report@fotonower.com args[1354089877] : ('0.09461476065377317',) no score found for photo 1354089877 We are sending mail with results at report@fotonower.com args[1354089875] : ('0.09461476065377317',) no score found for photo 1354089875 We are sending mail with results at report@fotonower.com args[1354089871] : ('0.09461476065377317',) no score found for photo 1354089871 We are sending mail with results at report@fotonower.com args[1354089868] : ('0.09461476065377317',) no score found for photo 1354089868 We are sending mail with results at report@fotonower.com args[1354089864] : ('0.09461476065377317',) no score found for photo 1354089864 We are sending mail with results at report@fotonower.com args[1354089860] : ('0.09461476065377317',) no score found for photo 1354089860 We are sending mail with results at report@fotonower.com args[1354089827] : ('0.09461476065377317',) no score found for photo 1354089827 We are sending mail with results at report@fotonower.com args[1354089805] : ('0.09461476065377317',) no score found for photo 1354089805 We are sending mail with results at report@fotonower.com args[1354089768] : ('0.09461476065377317',) no score found for photo 1354089768 We are sending mail with results at report@fotonower.com args[1354089759] : ('0.09461476065377317',) no score found for photo 1354089759 We are sending mail with results at report@fotonower.com args[1354089756] : ('0.09461476065377317',) no score found for photo 1354089756 We are sending mail with results at report@fotonower.com refus_total : 0.09461476065377317 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=22481033 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_P22481033_29-04-2025_02_17_00.pdf results_Auto_P22481033_29-04-2025_02_17_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22481033_29-04-2025_02_17_00.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','22481033','results_Auto_P22481033_29-04-2025_02_17_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22481033_29-04-2025_02_17_00.pdf','pdf','','0.3','0.09461476065377317') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22481033]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1354089913, 1354089877, 1354089875, 1354089871, 1354089868, 1354089864, 1354089860, 1354089827, 1354089805, 1354089768, 1354089759, 1354089756] map_info['map_portfolio_photo'] : {22481033: [1354089913, 1354089877, 1354089875, 1354089871, 1354089868, 1354089864, 1354089860, 1354089827, 1354089805, 1354089768, 1354089759, 1354089756, 1354089729, 1354089726, 1354089723, 1354089688, 1354089683, 1354089678, 1354089673, 1354089616, 1354089610, 1354089594, 1354089554, 1354089486, 1354089482, 1354089477, 1354089473, 1354089435, 1354089432, 1354089427, 1354089423, 1354089418, 1354089391, 1354089389, 1354089362, 1354089360, 1354089327, 1354089325, 1354089322, 1354089320, 1354089292, 1354089291, 1354089290, 1354089277, 1354089186, 1354089151, 1354089136, 1354089106]} final : False mtd_id 4302 list_pids : [1354089913, 1354089877, 1354089875, 1354089871, 1354089868, 1354089864, 1354089860, 1354089827, 1354089805, 1354089768, 1354089759, 1354089756] 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, '2766970') ('4302', '22481033', '1354089913', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089877', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089875', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089871', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089868', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089864', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089860', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089827', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089805', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089768', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089759', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089756', None, None, None, None, None, '2766970') 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', '22481033', '1354089913', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089877', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089875', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089871', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089868', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089864', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089860', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089827', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089805', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089768', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089759', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089756', None, None, None, None, None, '2766970')] time used for this insertion : 0.0930478572845459 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.083484649658203 time spend to save output : 0.0934457778930664 total time spend for step 4 : 12.17693042755127 step5:split_time_score Tue Apr 29 02:17:12 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 : ['22481033'] 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 : [('22481033',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22481033) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1354089875: {'path': 'temp/1745885820_363678_1354089875_80c3d45e9db751a6bd94f259bf839952.jpg', 'extension': 'jpg'}, 1354089877: {'path': 'temp/1745885820_363678_1354089877_c0c2586dac2102073fb9862068bd00a8.jpg', 'extension': 'jpg'}, 1354089913: {'path': 'temp/1745885820_363678_1354089913_9e7bd65c7a759856df320c2df74aa7f1.jpg', 'extension': 'jpg'}, 1354089805: {'path': 'temp/1745885820_363678_1354089805_265871748e8d03e8fc51e839cc3a186c.jpg', 'extension': 'jpg'}, 1354089827: {'path': 'temp/1745885820_363678_1354089827_115f0cc50ad5a82f80dff0fcbe4f5029.jpg', 'extension': 'jpg'}, 1354089860: {'path': 'temp/1745885820_363678_1354089860_5687e780a1673cea5a76bf0f1118587c.jpg', 'extension': 'jpg'}, 1354089756: {'path': 'temp/1745885820_363678_1354089756_8eddab517374ffbcd14417fc7b4d5f7f.jpg', 'extension': 'jpg'}, 1354089759: {'path': 'temp/1745885820_363678_1354089759_51b8557b7f30b44a954483d330531697.jpg', 'extension': 'jpg'}, 1354089768: {'path': 'temp/1745885820_363678_1354089768_d1411a230464e0e287a25743b79f28c5.jpg', 'extension': 'jpg'}, 1354089864: {'path': 'temp/1745885820_363678_1354089864_ff6a248713b6493b454c51fdd8369f39.jpg', 'extension': 'jpg'}, 1354089868: {'path': 'temp/1745885820_363678_1354089868_4780f84768618342354b63f99f0beb99.jpg', 'extension': 'jpg'}, 1354089871: {'path': 'temp/1745885820_363678_1354089871_1612f0b831663d96fbf406f20119fd1a.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 = 22481033; (('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 = 22481033 group by h (('02', 48),) 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=22481033 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 (22481033) 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 (22481033) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 29042025 22481033 Nombre de photos uploadées : 48 / 23040 (0%) 29042025 22481033 Nombre de photos taguées (types de déchets): 0 / 48 (0%) 29042025 22481033 Nombre de photos taguées (volume) : 0 / 48 (0%) [{'photo_id': 1354089106, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/2d0ff54905cf13f3d0d70cef0fc92c8d.jpg', 'username': None, 'uploaded_at': 1745884927, 'text': 'image_29042025_02_00_24_10136.jpg'}, {'photo_id': 1354089151, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/fbf59c6e02eea7bc9262ecfb1355584c.jpg', 'username': None, 'uploaded_at': 1745884988, 'text': 'image_29042025_02_01_34_10144.jpg'}, {'photo_id': 1354089136, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/409fb6e15510446b1f2aa65e389cbe7f.jpg', 'username': None, 'uploaded_at': 1745884988, 'text': 'image_29042025_02_02_44_010139m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1354089186, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/84018b8bb777ffdd7ccdaf9cbf24d861.jpg', 'username': None, 'uploaded_at': 1745885047, 'text': 'image_29042025_02_02_53_009128m0.jpg 2e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 6.4373016357421875e-06 elapsed_time : order_list_meta_photo_and_scores 1.1444091796875e-05 ???????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018987655639648438 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22481033, '2025-04-29' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1752875,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.057005882263183594 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= 1752875 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1752875, 'dashboard_run_id': 1760614, 'mtr_portfolio_id': 22480120, 'dashboard_result_id': 10130216, '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_P22480120_29-04-2025_01_51_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22480121, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22480122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22480123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22480124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22480125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22480126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22480127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22480128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22480129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22480130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22480131, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22480132, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1760614, 'mtr_portfolio_id': 22480527, 'dashboard_result_id': 10130217, '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_P22480527_29-04-2025_02_06_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22480528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22480529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22480530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22480531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22480532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22480533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22480534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22480535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22480536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22480537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22480538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22480539, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1760614, 'mtr_portfolio_id': 22481033, 'dashboard_result_id': 10130218, '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_P22481033_29-04-2025_02_14_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22481072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22481073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22481074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22481075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22481076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22481078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22481079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22481080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22481081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22481082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22481083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22481084, '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 = 22480120 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': 2766891, 'mtr_portfolio_id': 22480120, 'created_at': datetime.datetime(2025, 4, 29, 1, 51), 'result': '0.08933709995182879', 'result_long': None, 'result_double': None}] Qualite : 0.08933709995182879 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22480120 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22480120_29-04-2025_01_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22480120 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_P22480120_29-04-2025_01_51_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22480121, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22480122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22480123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22480124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22480125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22480126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22480127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22480128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22480129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22480130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22480131, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22480132, 'pht': 3726}}" where mtr_portfolio_id = 22480120 and dashboard_run_id = 1760614 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`=22480120 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10130216, 0.08933709995182879, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22480120_29-04-2025_01_51_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22480121, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22480122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22480123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22480124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22480125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22480126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22480127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22480128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22480129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22480130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22480131, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22480132, '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 = 22480527 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': 2766923, 'mtr_portfolio_id': 22480527, 'created_at': datetime.datetime(2025, 4, 29, 2, 6, 58), 'result': '0.06127366426777154', 'result_long': None, 'result_double': None}] Qualite : 0.06127366426777154 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22480527 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22480527_29-04-2025_02_06_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22480527 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_P22480527_29-04-2025_02_06_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22480528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22480529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22480530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22480531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22480532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22480533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22480534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22480535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22480536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22480537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22480538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22480539, 'pht': 3726}}" where mtr_portfolio_id = 22480527 and dashboard_run_id = 1760614 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`=22480527 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10130217, 0.06127366426777154, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22480527_29-04-2025_02_06_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22480528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22480529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22480530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22480531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22480532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22480533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22480534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22480535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22480536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22480537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22480538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22480539, '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 = 22481033 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': 2766970, 'mtr_portfolio_id': 22481033, 'created_at': datetime.datetime(2025, 4, 29, 2, 16, 59), 'result': '0.09461476065377317', 'result_long': None, 'result_double': None}] Qualite : 0.09461476065377317 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22481033 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22481033_29-04-2025_02_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22481033 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_P22481033_29-04-2025_02_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22481072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22481073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22481074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22481075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22481076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22481078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22481079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22481080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22481081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22481082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22481083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22481084, 'pht': 3726}}" where mtr_portfolio_id = 22481033 and dashboard_run_id = 1760614 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`=22481033 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10130218, 0.09461476065377317, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22481033_29-04-2025_02_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22481072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22481073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22481074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22481075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22481076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22481078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22481079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22481080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22481081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22481082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22481083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22481084, '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 (22480120,22480527,22481033) result : ((1354083921,), (1354083960,), (1354083989,), (1354083990,), (1354084008,), (1354084013,), (1354084016,), (1354084037,), (1354084040,), (1354084042,), (1354084060,), (1354084065,), (1354084069,), (1354084072,), (1354084091,), (1354084114,), (1354084117,), (1354084119,), (1354084121,), (1354084137,), (1354084138,), (1354084139,), (1354084141,), (1354084143,), (1354084171,), (1354084173,), (1354084175,), (1354084177,), (1354084215,), (1354084217,), (1354084221,), (1354084345,), (1354084397,), (1354084428,), (1354084455,), (1354084485,), (1354084701,), (1354084728,), (1354084753,), (1354084775,), (1354084796,), (1354084820,), (1354084959,), (1354084967,), (1354084971,), (1354084973,), (1354085043,), (1354085046,), (1354085048,), (1354085051,), (1354085112,), (1354085074,), (1354085083,), (1354085107,), (1354085109,), (1354085111,), (1354085133,), (1354085138,), (1354085141,), (1354085144,), (1354085245,), (1354085293,), (1354085296,), (1354085300,), (1354085318,), (1354085321,), (1354085324,), (1354085327,), (1354085355,), (1354085359,), (1354085362,), (1354085400,), (1354085405,), (1354085408,), (1354085432,), (1354085434,), (1354085437,), (1354085439,), (1354085442,), (1354085455,), (1354085463,), (1354085471,), (1354087337,), (1354087538,), (1354087657,), (1354087659,), (1354087724,), (1354087730,), (1354087738,), (1354087741,), (1354087744,), (1354087759,), (1354087761,), (1354087763,), (1354087765,), (1354087768,), (1354088287,), (1354088317,), (1354088498,), (1354088501,), (1354088504,), (1354088507,), (1354088514,), (1354088767,), (1354088774,), (1354088799,), (1354088829,), (1354088859,), (1354088890,), (1354088942,), (1354088947,), (1354088974,), (1354089045,), (1354089106,), (1354089136,), (1354089151,), (1354089186,), (1354089277,), (1354089290,), (1354089291,), (1354089292,), (1354089320,), (1354089322,), (1354089325,), (1354089327,), (1354089360,), (1354089362,), (1354089389,), (1354089391,), (1354089418,), (1354089423,), (1354089427,), (1354089432,), (1354089435,), (1354089473,), (1354089477,), (1354089482,), (1354089486,), (1354089554,), (1354089594,), (1354089610,), (1354089616,), (1354089673,), (1354089678,), (1354089683,), (1354089688,), (1354089723,), (1354089726,), (1354089729,), (1354089756,), (1354089759,), (1354089768,), (1354089805,), (1354089827,), (1354089860,), (1354089864,), (1354089868,), (1354089871,), (1354089875,), (1354089877,), (1354089913,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'29042025': {'nb_upload': 48, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22481033]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1354089913, 1354089877, 1354089875, 1354089871, 1354089868, 1354089864, 1354089860, 1354089827, 1354089805, 1354089768, 1354089759, 1354089756] map_info['map_portfolio_photo'] : {22481033: [1354089913, 1354089877, 1354089875, 1354089871, 1354089868, 1354089864, 1354089860, 1354089827, 1354089805, 1354089768, 1354089759, 1354089756, 1354089729, 1354089726, 1354089723, 1354089688, 1354089683, 1354089678, 1354089673, 1354089616, 1354089610, 1354089594, 1354089554, 1354089486, 1354089482, 1354089477, 1354089473, 1354089435, 1354089432, 1354089427, 1354089423, 1354089418, 1354089391, 1354089389, 1354089362, 1354089360, 1354089327, 1354089325, 1354089322, 1354089320, 1354089292, 1354089291, 1354089290, 1354089277, 1354089186, 1354089151, 1354089136, 1354089106]} final : True mtd_id 4302 list_pids : [1354089913, 1354089877, 1354089875, 1354089871, 1354089868, 1354089864, 1354089860, 1354089827, 1354089805, 1354089768, 1354089759, 1354089756] Looping around the photos to save general results len do output : 1 /22481033Didn'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, '2766970') ('4302', '22481033', '1354089913', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089877', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089875', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089871', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089868', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089864', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089860', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089827', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089805', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089768', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089759', None, None, None, None, None, '2766970') ('4302', None, None, None, None, None, None, None, '2766970') ('4302', '22481033', '1354089756', None, None, None, None, None, '2766970') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22481033', 'None', None, None, None, None, '2766970'), ('4302', '22481033', '1354089913', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089877', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089875', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089871', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089868', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089864', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089860', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089827', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089805', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089768', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089759', None, None, None, None, None, '2766970'), ('4302', '22481033', '1354089756', None, None, None, None, None, '2766970')] time used for this insertion : 0.09143686294555664 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3570530414581299 time spend to save output : 0.09182357788085938 total time spend for step 5 : 0.44887661933898926 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 (2766970) 2.27user 2.30system 0:17.45elapsed 26%CPU (0avgtext+0avgdata 160168maxresident)k 27800inputs+16512outputs (174major+77121minor)pagefaults 0swaps