SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22185710) result : ((1350911809,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22185668) result : ((1350904113,), (1350904166,), (1350904217,), (1350904865,), (1350904925,), (1350904968,), (1350904990,), (1350905001,), (1350905010,), (1350905244,), (1350905272,), (1350905317,), (1350905358,), (1350905674,), (1350905699,), (1350905724,), (1350905753,), (1350905809,), (1350905847,), (1350906124,), (1350906232,), (1350906266,), (1350906464,), (1350907067,), (1350907327,), (1350907828,), (1350908038,), (1350908097,), (1350908194,), (1350908291,), (1350908338,), (1350908601,), (1350908752,), (1350908879,), (1350909161,), (1350909294,), (1350909444,), (1350909646,), (1350909714,), (1350909823,), (1350909858,), (1350909956,), (1350910042,), (1350910094,), (1350910492,), (1350910515,), (1350910568,), (1350910614,), (1350910647,), (1350910699,), (1350911048,), (1350911121,), (1350911147,), (1350911181,), (1350911481,), (1350911485,), (1350911489,), (1350911512,), (1350911532,), (1350911992,), (1350912015,), (1350912054,), (1350912084,)) 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 22185711 , 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=22185668 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Carton_brun' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22185711) result : ((1350908409,), (1350908414,), (1350909508,), (1350909510,), (1350909530,), (1350910687,), (1350911479,), (1350911783,), (1350911784,), (1350912312,), (1350912313,), (1350912325,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22185668) result : ((1350904113,), (1350904166,), (1350904217,), (1350904865,), (1350904925,), (1350904968,), (1350904990,), (1350905001,), (1350905010,), (1350905244,), (1350905272,), (1350905317,), (1350905358,), (1350905674,), (1350905699,), (1350905724,), (1350905753,), (1350905809,), (1350905847,), (1350906124,), (1350906232,), (1350906266,), (1350906464,), (1350907067,), (1350907327,), (1350907828,), (1350908038,), (1350908097,), (1350908194,), (1350908291,), (1350908338,), (1350908601,), (1350908752,), (1350908879,), (1350909161,), (1350909294,), (1350909444,), (1350909646,), (1350909714,), (1350909823,), (1350909858,), (1350909956,), (1350910042,), (1350910094,), (1350910492,), (1350910515,), (1350910568,), (1350910614,), (1350910647,), (1350910699,), (1350911048,), (1350911121,), (1350911147,), (1350911181,), (1350911481,), (1350911485,), (1350911489,), (1350911512,), (1350911532,), (1350911992,), (1350912015,), (1350912054,), (1350912084,)) 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 22185712 , 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=22185668 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 (22185712) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22185668) result : ((1350904113,), (1350904166,), (1350904217,), (1350904865,), (1350904925,), (1350904968,), (1350904990,), (1350905001,), (1350905010,), (1350905244,), (1350905272,), (1350905317,), (1350905358,), (1350905674,), (1350905699,), (1350905724,), (1350905753,), (1350905809,), (1350905847,), (1350906124,), (1350906232,), (1350906266,), (1350906464,), (1350907067,), (1350907327,), (1350907828,), (1350908038,), (1350908097,), (1350908194,), (1350908291,), (1350908338,), (1350908601,), (1350908752,), (1350908879,), (1350909161,), (1350909294,), (1350909444,), (1350909646,), (1350909714,), (1350909823,), (1350909858,), (1350909956,), (1350910042,), (1350910094,), (1350910492,), (1350910515,), (1350910568,), (1350910614,), (1350910647,), (1350910699,), (1350911048,), (1350911121,), (1350911147,), (1350911181,), (1350911481,), (1350911485,), (1350911489,), (1350911512,), (1350911532,), (1350911992,), (1350912015,), (1350912054,), (1350912084,)) 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 22185713 , 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=22185668 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 (22185713) result : ((1350908349,), (1350908353,), (1350909500,), (1350910616,), (1350911478,), (1350911683,), (1350911685,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22185668) result : ((1350904113,), (1350904166,), (1350904217,), (1350904865,), (1350904925,), (1350904968,), (1350904990,), (1350905001,), (1350905010,), (1350905244,), (1350905272,), (1350905317,), (1350905358,), (1350905674,), (1350905699,), (1350905724,), (1350905753,), (1350905809,), (1350905847,), (1350906124,), (1350906232,), (1350906266,), (1350906464,), (1350907067,), (1350907327,), (1350907828,), (1350908038,), (1350908097,), (1350908194,), (1350908291,), (1350908338,), (1350908601,), (1350908752,), (1350908879,), (1350909161,), (1350909294,), (1350909444,), (1350909646,), (1350909714,), (1350909823,), (1350909858,), (1350909956,), (1350910042,), (1350910094,), (1350910492,), (1350910515,), (1350910568,), (1350910614,), (1350910647,), (1350910699,), (1350911048,), (1350911121,), (1350911147,), (1350911181,), (1350911481,), (1350911485,), (1350911489,), (1350911512,), (1350911532,), (1350911992,), (1350912015,), (1350912054,), (1350912084,)) 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 22185714 , 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=22185668 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 (22185714) result : ((1350908027,), (1350908403,), (1350910645,), (1350910651,), (1350910654,), (1350910657,), (1350911763,), (1350911765,), (1350912303,), (1350912305,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22185668) result : ((1350904113,), (1350904166,), (1350904217,), (1350904865,), (1350904925,), (1350904968,), (1350904990,), (1350905001,), (1350905010,), (1350905244,), (1350905272,), (1350905317,), (1350905358,), (1350905674,), (1350905699,), (1350905724,), (1350905753,), (1350905809,), (1350905847,), (1350906124,), (1350906232,), (1350906266,), (1350906464,), (1350907067,), (1350907327,), (1350907828,), (1350908038,), (1350908097,), (1350908194,), (1350908291,), (1350908338,), (1350908601,), (1350908752,), (1350908879,), (1350909161,), (1350909294,), (1350909444,), (1350909646,), (1350909714,), (1350909823,), (1350909858,), (1350909956,), (1350910042,), (1350910094,), (1350910492,), (1350910515,), (1350910568,), (1350910614,), (1350910647,), (1350910699,), (1350911048,), (1350911121,), (1350911147,), (1350911181,), (1350911481,), (1350911485,), (1350911489,), (1350911512,), (1350911532,), (1350911992,), (1350912015,), (1350912054,), (1350912084,)) 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 22185715 , 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=22185668 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 (22185715) result : ((1350907987,), (1350907996,), (1350907999,), (1350908002,), (1350908363,), (1350908365,), (1350909495,), (1350909518,), (1350909519,), (1350910623,), (1350910625,), (1350910669,), (1350911745,), (1350911746,), (1350911747,), (1350911749,), (1350911750,), (1350912281,), (1350912282,), (1350912283,), (1350912284,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22185668) result : ((1350904113,), (1350904166,), (1350904217,), (1350904865,), (1350904925,), (1350904968,), (1350904990,), (1350905001,), (1350905010,), (1350905244,), (1350905272,), (1350905317,), (1350905358,), (1350905674,), (1350905699,), (1350905724,), (1350905753,), (1350905809,), (1350905847,), (1350906124,), (1350906232,), (1350906266,), (1350906464,), (1350907067,), (1350907327,), (1350907828,), (1350908038,), (1350908097,), (1350908194,), (1350908291,), (1350908338,), (1350908601,), (1350908752,), (1350908879,), (1350909161,), (1350909294,), (1350909444,), (1350909646,), (1350909714,), (1350909823,), (1350909858,), (1350909956,), (1350910042,), (1350910094,), (1350910492,), (1350910515,), (1350910568,), (1350910614,), (1350910647,), (1350910699,), (1350911048,), (1350911121,), (1350911147,), (1350911181,), (1350911481,), (1350911485,), (1350911489,), (1350911512,), (1350911532,), (1350911992,), (1350912015,), (1350912054,), (1350912084,)) 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 22185716 , 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=22185668 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 (22185716) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22185668) result : ((1350904113,), (1350904166,), (1350904217,), (1350904865,), (1350904925,), (1350904968,), (1350904990,), (1350905001,), (1350905010,), (1350905244,), (1350905272,), (1350905317,), (1350905358,), (1350905674,), (1350905699,), (1350905724,), (1350905753,), (1350905809,), (1350905847,), (1350906124,), (1350906232,), (1350906266,), (1350906464,), (1350907067,), (1350907327,), (1350907828,), (1350908038,), (1350908097,), (1350908194,), (1350908291,), (1350908338,), (1350908601,), (1350908752,), (1350908879,), (1350909161,), (1350909294,), (1350909444,), (1350909646,), (1350909714,), (1350909823,), (1350909858,), (1350909956,), (1350910042,), (1350910094,), (1350910492,), (1350910515,), (1350910568,), (1350910614,), (1350910647,), (1350910699,), (1350911048,), (1350911121,), (1350911147,), (1350911181,), (1350911481,), (1350911485,), (1350911489,), (1350911512,), (1350911532,), (1350911992,), (1350912015,), (1350912054,), (1350912084,)) 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 22185717 , 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=22185668 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 (22185717) result : ((1350907932,), (1350907935,), (1350908337,), (1350909472,), (1350909475,), (1350909477,), (1350910599,), (1350910602,), (1350910605,), (1350910608,), (1350910646,), (1350910648,), (1350911669,), (1350911672,), (1350911673,), (1350912317,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22185668) result : ((1350904113,), (1350904166,), (1350904217,), (1350904865,), (1350904925,), (1350904968,), (1350904990,), (1350905001,), (1350905010,), (1350905244,), (1350905272,), (1350905317,), (1350905358,), (1350905674,), (1350905699,), (1350905724,), (1350905753,), (1350905809,), (1350905847,), (1350906124,), (1350906232,), (1350906266,), (1350906464,), (1350907067,), (1350907327,), (1350907828,), (1350908038,), (1350908097,), (1350908194,), (1350908291,), (1350908338,), (1350908601,), (1350908752,), (1350908879,), (1350909161,), (1350909294,), (1350909444,), (1350909646,), (1350909714,), (1350909823,), (1350909858,), (1350909956,), (1350910042,), (1350910094,), (1350910492,), (1350910515,), (1350910568,), (1350910614,), (1350910647,), (1350910699,), (1350911048,), (1350911121,), (1350911147,), (1350911181,), (1350911481,), (1350911485,), (1350911489,), (1350911512,), (1350911532,), (1350911992,), (1350912015,), (1350912054,), (1350912084,)) 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 22185718 , 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=22185668 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 (22185718) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22185668) result : ((1350904113,), (1350904166,), (1350904217,), (1350904865,), (1350904925,), (1350904968,), (1350904990,), (1350905001,), (1350905010,), (1350905244,), (1350905272,), (1350905317,), (1350905358,), (1350905674,), (1350905699,), (1350905724,), (1350905753,), (1350905809,), (1350905847,), (1350906124,), (1350906232,), (1350906266,), (1350906464,), (1350907067,), (1350907327,), (1350907828,), (1350908038,), (1350908097,), (1350908194,), (1350908291,), (1350908338,), (1350908601,), (1350908752,), (1350908879,), (1350909161,), (1350909294,), (1350909444,), (1350909646,), (1350909714,), (1350909823,), (1350909858,), (1350909956,), (1350910042,), (1350910094,), (1350910492,), (1350910515,), (1350910568,), (1350910614,), (1350910647,), (1350910699,), (1350911048,), (1350911121,), (1350911147,), (1350911181,), (1350911481,), (1350911485,), (1350911489,), (1350911512,), (1350911532,), (1350911992,), (1350912015,), (1350912054,), (1350912084,)) 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 22185719 , 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=22185668 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 (22185719) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22185668) result : ((1350904113,), (1350904166,), (1350904217,), (1350904865,), (1350904925,), (1350904968,), (1350904990,), (1350905001,), (1350905010,), (1350905244,), (1350905272,), (1350905317,), (1350905358,), (1350905674,), (1350905699,), (1350905724,), (1350905753,), (1350905809,), (1350905847,), (1350906124,), (1350906232,), (1350906266,), (1350906464,), (1350907067,), (1350907327,), (1350907828,), (1350908038,), (1350908097,), (1350908194,), (1350908291,), (1350908338,), (1350908601,), (1350908752,), (1350908879,), (1350909161,), (1350909294,), (1350909444,), (1350909646,), (1350909714,), (1350909823,), (1350909858,), (1350909956,), (1350910042,), (1350910094,), (1350910492,), (1350910515,), (1350910568,), (1350910614,), (1350910647,), (1350910699,), (1350911048,), (1350911121,), (1350911147,), (1350911181,), (1350911481,), (1350911485,), (1350911489,), (1350911512,), (1350911532,), (1350911992,), (1350912015,), (1350912054,), (1350912084,)) 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 22185720 , 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=22185668 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 (22185720) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22185668) result : ((1350904113,), (1350904166,), (1350904217,), (1350904865,), (1350904925,), (1350904968,), (1350904990,), (1350905001,), (1350905010,), (1350905244,), (1350905272,), (1350905317,), (1350905358,), (1350905674,), (1350905699,), (1350905724,), (1350905753,), (1350905809,), (1350905847,), (1350906124,), (1350906232,), (1350906266,), (1350906464,), (1350907067,), (1350907327,), (1350907828,), (1350908038,), (1350908097,), (1350908194,), (1350908291,), (1350908338,), (1350908601,), (1350908752,), (1350908879,), (1350909161,), (1350909294,), (1350909444,), (1350909646,), (1350909714,), (1350909823,), (1350909858,), (1350909956,), (1350910042,), (1350910094,), (1350910492,), (1350910515,), (1350910568,), (1350910614,), (1350910647,), (1350910699,), (1350911048,), (1350911121,), (1350911147,), (1350911181,), (1350911481,), (1350911485,), (1350911489,), (1350911512,), (1350911532,), (1350911992,), (1350912015,), (1350912054,), (1350912084,)) 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 22185721 , 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=22185668 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 (22185721) result : ((1350908428,), (1350910689,), (1350910691,), (1350910693,), (1350910696,), (1350911800,), (1350912321,), (1350912323,), (1350912332,), (1350912334,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22185668) result : ((1350904113,), (1350904166,), (1350904217,), (1350904865,), (1350904925,), (1350904968,), (1350904990,), (1350905001,), (1350905010,), (1350905244,), (1350905272,), (1350905317,), (1350905358,), (1350905674,), (1350905699,), (1350905724,), (1350905753,), (1350905809,), (1350905847,), (1350906124,), (1350906232,), (1350906266,), (1350906464,), (1350907067,), (1350907327,), (1350907828,), (1350908038,), (1350908097,), (1350908194,), (1350908291,), (1350908338,), (1350908601,), (1350908752,), (1350908879,), (1350909161,), (1350909294,), (1350909444,), (1350909646,), (1350909714,), (1350909823,), (1350909858,), (1350909956,), (1350910042,), (1350910094,), (1350910492,), (1350910515,), (1350910568,), (1350910614,), (1350910647,), (1350910699,), (1350911048,), (1350911121,), (1350911147,), (1350911181,), (1350911481,), (1350911485,), (1350911489,), (1350911512,), (1350911532,), (1350911992,), (1350912015,), (1350912054,), (1350912084,)) 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`=22185668 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','environnement','plastique','flou','papier','Carton_gris','kraft','mal_croppe','Carton_brun','Teint_Dans_La_Masse','metal','autre_refus')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22185668 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','environnement','plastique','flou','papier','Carton_gris','kraft','mal_croppe','Carton_brun','Teint_Dans_La_Masse','metal','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 22185668, 'sub_port_id': 22185723, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14660056, 'last_updated_at': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 9, 22, 49)}, 'Carton_brun': {'main_port_id': 22185668, 'sub_port_id': 22185724, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14660057, 'last_updated_at': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 9, 22, 49)}, 'mal_croppe': {'main_port_id': 22185668, 'sub_port_id': 22185725, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14660058, 'last_updated_at': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 9, 22, 49)}, 'autre_refus': {'main_port_id': 22185668, 'sub_port_id': 22185726, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14660059, 'last_updated_at': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 9, 22, 49)}, 'cartonnette': {'main_port_id': 22185668, 'sub_port_id': 22185727, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14660060, 'last_updated_at': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 9, 22, 49)}, 'Carton_gris': {'main_port_id': 22185668, 'sub_port_id': 22185728, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14660061, 'last_updated_at': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 9, 22, 49)}, 'flou': {'main_port_id': 22185668, 'sub_port_id': 22185729, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14660062, 'last_updated_at': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 9, 22, 49)}, 'Teint_Dans_La_Masse': {'main_port_id': 22185668, 'sub_port_id': 22185730, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14660063, 'last_updated_at': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 9, 22, 49)}, 'environnement': {'main_port_id': 22185668, 'sub_port_id': 22185731, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14660064, 'last_updated_at': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 9, 22, 49)}, 'papier': {'main_port_id': 22185668, 'sub_port_id': 22185732, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14660065, 'last_updated_at': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 9, 22, 49)}, 'kraft': {'main_port_id': 22185668, 'sub_port_id': 22185733, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14660066, 'last_updated_at': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_desc': datetime.datetime(2025, 4, 9, 22, 49), 'last_updated_at_asc': datetime.datetime(2025, 4, 9, 22, 49)}, 'plastique': {'main_port_id': 22185668, 'sub_port_id': 22185734, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14660067, 'last_updated_at': datetime.datetime(2025, 4, 9, 22, 56, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 9, 22, 56, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 9, 22, 49)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22185723,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22185710 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22185724,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22185711 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22185725,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22185712 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22185726,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22185713 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22185727,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22185714 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22185728,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22185715 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22185729,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22185716 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22185730,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22185717 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22185731,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22185718 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22185732,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22185719 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22185733,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22185720 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22185734,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22185721 lien utilise dans velours : https://www.fotonower.com/velours/22185723,22185724,22185725,22185726,22185727,22185728,22185729,22185730,22185731,22185732,22185733,22185734?tags=metal,Carton_brun,mal_croppe,autre_refus,cartonnette,Carton_gris,flou,Teint_Dans_La_Masse,environnement,papier,kraft,plastique After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22185668]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1350912084, 1350912054, 1350912015, 1350911992, 1350911532, 1350911512, 1350911489, 1350911485, 1350911481] map_info['map_portfolio_photo'] : {22185668: [1350912084, 1350912054, 1350912015, 1350911992, 1350911532, 1350911512, 1350911489, 1350911485, 1350911481, 1350911181, 1350911147, 1350911121, 1350911048, 1350910699, 1350910647, 1350910614, 1350910568, 1350910515, 1350910492, 1350910094, 1350910042, 1350909956, 1350909858, 1350909823, 1350909714, 1350909646, 1350909444, 1350909294, 1350909161, 1350908879, 1350908752, 1350908601, 1350908338, 1350908291, 1350908194, 1350908097, 1350908038, 1350907828, 1350907327, 1350907067, 1350906464, 1350906266, 1350906232, 1350906124, 1350905847, 1350905809, 1350905753, 1350905724, 1350905699, 1350905674, 1350905358, 1350905317, 1350905272, 1350905244, 1350905010, 1350905001, 1350904990, 1350904968, 1350904925, 1350904865, 1350904217, 1350904166, 1350904113]} final : False mtd_id 4302 list_pids : [1350912084, 1350912054, 1350912015, 1350911992, 1350911532, 1350911512, 1350911489, 1350911485, 1350911481] Looping around the photos to save general results len do output : 1 /22185668. 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, '2736666') ('4302', '22185668', '1350912084', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350912054', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350912015', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911992', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911532', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911512', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911489', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911485', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911481', None, None, None, None, None, '2736666') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22185668', "{'metal': 22185710, 'Carton_brun': 22185711, 'mal_croppe': 22185712, 'autre_refus': 22185713, 'cartonnette': 22185714, 'Carton_gris': 22185715, 'flou': 22185716, 'Teint_Dans_La_Masse': 22185717, 'environnement': 22185718, 'papier': 22185719, 'kraft': 22185720, 'plastique': 22185721}", None, None, None, None, '2736666'), ('4302', '22185668', '1350912084', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350912054', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350912015', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350911992', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350911532', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350911512', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350911489', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350911485', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350911481', None, None, None, None, None, '2736666')] time used for this insertion : 0.021357059478759766 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5302224159240723 time spend to save output : 0.021655559539794922 total time spend for step 1 : 1.5518779754638672 step2:final Wed Apr 9 22:58:57 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 (22185668) 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 22185668 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1350904217,1350904166,1350904113,1350905010,1350905001,1350904990,1350904968,1350904925,1350904865,1350905358,1350905317,1350905272,1350905244,1350905847,1350905809,1350905753,1350905724,1350905699,1350905674,1350909714,1350907327,1350907067,1350909646,1350906464,1350909444,1350908338,1350906266,1350908291,1350906232,1350908194,1350906124,1350908097,1350908038,1350907828,1350909294,1350909161,1350908879,1350908752,1350908601,1350910094,1350910042,1350909956,1350909858,1350909823,1350910699,1350910647,1350910614,1350910568,1350910515,1350910492,1350911181,1350911147,1350911121,1350911048,1350911532,1350911512,1350911489,1350911485,1350911481,1350912084,1350912054,1350912015,1350911992); 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([22185668]) Inside saveOutput : final : False verbose : True original output for save of step final : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ('0.04249637500085169',), 1350911992: ('0.04249637500085169',), 1350911532: ('0.04249637500085169',), 1350911512: ('0.04249637500085169',), 1350911489: ('0.04249637500085169',), 1350911485: ('0.04249637500085169',), 1350911481: ('0.04249637500085169',)} new output for save of step final : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ('0.04249637500085169',), 1350911992: ('0.04249637500085169',), 1350911532: ('0.04249637500085169',), 1350911512: ('0.04249637500085169',), 1350911489: ('0.04249637500085169',), 1350911485: ('0.04249637500085169',), 1350911481: ('0.04249637500085169',)} [1350912084, 1350912054, 1350912015, 1350911992, 1350911532, 1350911512, 1350911489, 1350911485, 1350911481] map_info['map_portfolio_photo'] : {22185668: [1350912084, 1350912054, 1350912015, 1350911992, 1350911532, 1350911512, 1350911489, 1350911485, 1350911481, 1350911181, 1350911147, 1350911121, 1350911048, 1350910699, 1350910647, 1350910614, 1350910568, 1350910515, 1350910492, 1350910094, 1350910042, 1350909956, 1350909858, 1350909823, 1350909714, 1350909646, 1350909444, 1350909294, 1350909161, 1350908879, 1350908752, 1350908601, 1350908338, 1350908291, 1350908194, 1350908097, 1350908038, 1350907828, 1350907327, 1350907067, 1350906464, 1350906266, 1350906232, 1350906124, 1350905847, 1350905809, 1350905753, 1350905724, 1350905699, 1350905674, 1350905358, 1350905317, 1350905272, 1350905244, 1350905010, 1350905001, 1350904990, 1350904968, 1350904925, 1350904865, 1350904217, 1350904166, 1350904113]} final : False mtd_id 4302 list_pids : [1350912084, 1350912054, 1350912015, 1350911992, 1350911532, 1350911512, 1350911489, 1350911485, 1350911481] Looping around the photos to save general results len do output : 9 /1350912084.Didn't retrieve data . /1350912054.Didn't retrieve data . /1350912015.Didn't retrieve data . /1350911992.Didn't retrieve data . /1350911532.Didn't retrieve data . /1350911512.Didn't retrieve data . /1350911489.Didn't retrieve data . /1350911485.Didn't retrieve data . /1350911481.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, '2736666') ('4302', '22185668', '1350912084', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350912054', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350912015', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911992', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911532', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911512', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911489', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911485', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911481', None, None, None, None, None, '2736666') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22185668', '1350912084', '0.04249637500085169', None, None, None, None, '2736666'), ('4302', '22185668', '1350912054', '0.04249637500085169', None, None, None, None, '2736666'), ('4302', '22185668', '1350912015', '0.04249637500085169', None, None, None, None, '2736666'), ('4302', '22185668', '1350911992', '0.04249637500085169', None, None, None, None, '2736666'), ('4302', '22185668', '1350911532', '0.04249637500085169', None, None, None, None, '2736666'), ('4302', '22185668', '1350911512', '0.04249637500085169', None, None, None, None, '2736666'), ('4302', '22185668', '1350911489', '0.04249637500085169', None, None, None, None, '2736666'), ('4302', '22185668', '1350911485', '0.04249637500085169', None, None, None, None, '2736666'), ('4302', '22185668', '1350911481', '0.04249637500085169', None, None, None, None, '2736666')] time used for this insertion : 0.01305532455444336 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0729837417602539 time spend to save output : 0.013640403747558594 total time spend for step 2 : 0.0866241455078125 step3:velours_tree Wed Apr 9 22:58:57 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 : {22185668: [{'metal': 22185710, 'Carton_brun': 22185711, 'mal_croppe': 22185712, 'autre_refus': 22185713, 'cartonnette': 22185714, 'Carton_gris': 22185715, 'flou': 22185716, 'Teint_Dans_La_Masse': 22185717, 'environnement': 22185718, 'papier': 22185719, 'kraft': 22185720, 'plastique': 22185721}]} input_args_next_step : {22185668: ()} output_args : {22185668: [{'metal': 22185710, 'Carton_brun': 22185711, 'mal_croppe': 22185712, 'autre_refus': 22185713, 'cartonnette': 22185714, 'Carton_gris': 22185715, 'flou': 22185716, 'Teint_Dans_La_Masse': 22185717, 'environnement': 22185718, 'papier': 22185719, 'kraft': 22185720, 'plastique': 22185721}]} args : 22185668 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 : ({'metal': 22185710, 'Carton_brun': 22185711, 'mal_croppe': 22185712, 'autre_refus': 22185713, 'cartonnette': 22185714, 'Carton_gris': 22185715, 'flou': 22185716, 'Teint_Dans_La_Masse': 22185717, 'environnement': 22185718, 'papier': 22185719, 'kraft': 22185720, 'plastique': 22185721},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22185668) 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([22185668]) 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.3978414535522461 time spend to save output : 8.106231689453125e-05 total time spend for step 3 : 0.3979225158691406 step4:send_mail_cod Wed Apr 9 22:58:57 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 : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ('0.04249637500085169',), 1350911992: ('0.04249637500085169',), 1350911532: ('0.04249637500085169',), 1350911512: ('0.04249637500085169',), 1350911489: ('0.04249637500085169',), 1350911485: ('0.04249637500085169',), 1350911481: ('0.04249637500085169',)} input_args_next_step : {1350912084: ()} output_args : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ('0.04249637500085169',), 1350911992: ('0.04249637500085169',), 1350911532: ('0.04249637500085169',), 1350911512: ('0.04249637500085169',), 1350911489: ('0.04249637500085169',), 1350911485: ('0.04249637500085169',), 1350911481: ('0.04249637500085169',)} args : 1350912084 depend.output_id : 0 input_args_next_step : {1350912084: ('0.04249637500085169',), 1350912054: ()} output_args : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ('0.04249637500085169',), 1350911992: ('0.04249637500085169',), 1350911532: ('0.04249637500085169',), 1350911512: ('0.04249637500085169',), 1350911489: ('0.04249637500085169',), 1350911485: ('0.04249637500085169',), 1350911481: ('0.04249637500085169',)} args : 1350912054 depend.output_id : 0 input_args_next_step : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ()} output_args : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ('0.04249637500085169',), 1350911992: ('0.04249637500085169',), 1350911532: ('0.04249637500085169',), 1350911512: ('0.04249637500085169',), 1350911489: ('0.04249637500085169',), 1350911485: ('0.04249637500085169',), 1350911481: ('0.04249637500085169',)} args : 1350912015 depend.output_id : 0 input_args_next_step : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ('0.04249637500085169',), 1350911992: ()} output_args : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ('0.04249637500085169',), 1350911992: ('0.04249637500085169',), 1350911532: ('0.04249637500085169',), 1350911512: ('0.04249637500085169',), 1350911489: ('0.04249637500085169',), 1350911485: ('0.04249637500085169',), 1350911481: ('0.04249637500085169',)} args : 1350911992 depend.output_id : 0 input_args_next_step : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ('0.04249637500085169',), 1350911992: ('0.04249637500085169',), 1350911532: ()} output_args : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ('0.04249637500085169',), 1350911992: ('0.04249637500085169',), 1350911532: ('0.04249637500085169',), 1350911512: ('0.04249637500085169',), 1350911489: ('0.04249637500085169',), 1350911485: ('0.04249637500085169',), 1350911481: ('0.04249637500085169',)} args : 1350911532 depend.output_id : 0 input_args_next_step : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ('0.04249637500085169',), 1350911992: ('0.04249637500085169',), 1350911532: ('0.04249637500085169',), 1350911512: ()} output_args : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ('0.04249637500085169',), 1350911992: ('0.04249637500085169',), 1350911532: ('0.04249637500085169',), 1350911512: ('0.04249637500085169',), 1350911489: ('0.04249637500085169',), 1350911485: ('0.04249637500085169',), 1350911481: ('0.04249637500085169',)} args : 1350911512 depend.output_id : 0 input_args_next_step : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ('0.04249637500085169',), 1350911992: ('0.04249637500085169',), 1350911532: ('0.04249637500085169',), 1350911512: ('0.04249637500085169',), 1350911489: ()} output_args : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ('0.04249637500085169',), 1350911992: ('0.04249637500085169',), 1350911532: ('0.04249637500085169',), 1350911512: ('0.04249637500085169',), 1350911489: ('0.04249637500085169',), 1350911485: ('0.04249637500085169',), 1350911481: ('0.04249637500085169',)} args : 1350911489 depend.output_id : 0 input_args_next_step : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ('0.04249637500085169',), 1350911992: ('0.04249637500085169',), 1350911532: ('0.04249637500085169',), 1350911512: ('0.04249637500085169',), 1350911489: ('0.04249637500085169',), 1350911485: ()} output_args : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ('0.04249637500085169',), 1350911992: ('0.04249637500085169',), 1350911532: ('0.04249637500085169',), 1350911512: ('0.04249637500085169',), 1350911489: ('0.04249637500085169',), 1350911485: ('0.04249637500085169',), 1350911481: ('0.04249637500085169',)} args : 1350911485 depend.output_id : 0 input_args_next_step : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ('0.04249637500085169',), 1350911992: ('0.04249637500085169',), 1350911532: ('0.04249637500085169',), 1350911512: ('0.04249637500085169',), 1350911489: ('0.04249637500085169',), 1350911485: ('0.04249637500085169',), 1350911481: ()} output_args : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ('0.04249637500085169',), 1350911992: ('0.04249637500085169',), 1350911532: ('0.04249637500085169',), 1350911512: ('0.04249637500085169',), 1350911489: ('0.04249637500085169',), 1350911485: ('0.04249637500085169',), 1350911481: ('0.04249637500085169',)} args : 1350911481 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 : {22185668: [{'metal': 22185710, 'Carton_brun': 22185711, 'mal_croppe': 22185712, 'autre_refus': 22185713, 'cartonnette': 22185714, 'Carton_gris': 22185715, 'flou': 22185716, 'Teint_Dans_La_Masse': 22185717, 'environnement': 22185718, 'papier': 22185719, 'kraft': 22185720, 'plastique': 22185721}]} input_args_next_step : {1350912084: ('0.04249637500085169',), 1350912054: ('0.04249637500085169',), 1350912015: ('0.04249637500085169',), 1350911992: ('0.04249637500085169',), 1350911532: ('0.04249637500085169',), 1350911512: ('0.04249637500085169',), 1350911489: ('0.04249637500085169',), 1350911485: ('0.04249637500085169',), 1350911481: ('0.04249637500085169',), 22185668: ()} output_args : {22185668: [{'metal': 22185710, 'Carton_brun': 22185711, 'mal_croppe': 22185712, 'autre_refus': 22185713, 'cartonnette': 22185714, 'Carton_gris': 22185715, 'flou': 22185716, 'Teint_Dans_La_Masse': 22185717, 'environnement': 22185718, 'papier': 22185719, 'kraft': 22185720, 'plastique': 22185721}]} args : 22185668 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :10, first value : ('0.04249637500085169',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22185668) 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 (1350912084,1350912054,1350912015,1350911992,1350911532,1350911512,1350911489,1350911485,1350911481) Found this number of photos: 9 ##### Call download_photos : nb_thread : 5 begin to download photo : 1350911481 begin to download photo : 1350911489 begin to download photo : 1350911532 begin to download photo : 1350912015 begin to download photo : 1350912084 download finish for photo 1350911489 begin to download photo : 1350911512 download finish for photo 1350912084 download finish for photo 1350912015 begin to download photo : 1350912054 download finish for photo 1350911532 begin to download photo : 1350911992 download finish for photo 1350911481 begin to download photo : 1350911485 download finish for photo 1350911512 download finish for photo 1350912054 download finish for photo 1350911485 download finish for photo 1350911992 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 : 9 ; length of list_pids : 9 ; length of list_args : 9 results_Auto_P22185668_09-04-2025_22_58_58.pdf 22185710 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=22185710 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350911809: '1744232151_3320497_1350910094_9f76aa8f8d3a65be613314612ff70cd9_rle_crop_3752448878_0.png'} change filename to text .imagette221857101744232338/ imagette221857101744232338/1744232151_3320497_1350910094_9f76aa8f8d3a65be613314612ff70cd9_rle_crop_3752448878_0.png.png imagette221857121744232338/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e0e3cf5cd38123a6da2390e1fe568cdc_13082606.png imagette221857101744232338 22185712 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=22185712 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette221857121744232338 22185713 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=22185713 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350908349: '1744231886_2984092_1350905699_0dbce249108a68898848c199e246ac63_rle_crop_3752425131_0.png', 1350908353: '1744231886_2984092_1350905674_f32d9316a2faa52995eb0ad627c747ae_rle_crop_3752425143_0.png', 1350909500: '1744231893_3315584_1350905847_7479d8a0ee1e21a4545741e5a8d655ee_rle_crop_3752425559_0.png', 1350910616: '1744232006_2987088_1350906464_d12820871e8e297ef335b99836395445_rle_crop_3752436221_0.png', 1350911478: '1744232132_3320233_1350909823_63b56788527569d0c57826b665e1e86f_rle_crop_3752441450_0.png', 1350911683: '1744232151_3320497_1350908879_b975f9acff2babe9b96a76db113670c2_rle_crop_3752450083_0.png', 1350911685: '1744232151_3320497_1350908879_b975f9acff2babe9b96a76db113670c2_rle_crop_3752450084_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/22d6fc4358c2eae10855c98e1603fcd4_13544159.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/138c6e37b68bcf34de1320f4ec965442_33881927.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fbc09ed93f974c9fa9668900becd58a6_63217599.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/1765229631374e7d1ac07fcf18d10c3f_90556079.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d61473526cbc8f02f18ef6d9140387f2_33200975.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6668dff709608a34bc4320361d955cfb_21909566.png change filename to text .imagette221857131744232338/ imagette221857131744232338/1744232151_3320497_1350908879_b975f9acff2babe9b96a76db113670c2_rle_crop_3752450084_0.png.png imagette221857131744232338/1744231886_2984092_1350905674_f32d9316a2faa52995eb0ad627c747ae_rle_crop_3752425143_0.png.png imagette221857131744232338/1744232006_2987088_1350906464_d12820871e8e297ef335b99836395445_rle_crop_3752436221_0.png.png imagette221857131744232338/1744232132_3320233_1350909823_63b56788527569d0c57826b665e1e86f_rle_crop_3752441450_0.png.png imagette221857131744232338/1744232151_3320497_1350908879_b975f9acff2babe9b96a76db113670c2_rle_crop_3752450083_0.png.png imagette221857131744232338/1744231893_3315584_1350905847_7479d8a0ee1e21a4545741e5a8d655ee_rle_crop_3752425559_0.png.png imagette221857131744232338/1744231886_2984092_1350905699_0dbce249108a68898848c199e246ac63_rle_crop_3752425131_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b5ae185c27f13499ced28271b6379e21_27835995.png imagette221857131744232338 22185714 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=22185714 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350908027: '1744231792_3313914_1350904968_5a3b10b3dc87585b4b6088bbf445c7dd_rle_crop_3752422216_0.png', 1350908403: '1744231886_2984092_1350905809_19e87c12de8df858d5c98f73c8d9b88f_rle_crop_3752424899_0.png', 1350910645: '1744232006_2987088_1350908291_cf670aff938ef17a2a9589be6642be18_rle_crop_3752436173_0.png', 1350910651: '1744232006_2987088_1350908291_cf670aff938ef17a2a9589be6642be18_rle_crop_3752436168_0.png', 1350910654: '1744232006_2987088_1350906232_ad7e5f08f89d557d9de648fcf9d4c772_rle_crop_3752436255_0.png', 1350910657: '1744232006_2987088_1350906232_ad7e5f08f89d557d9de648fcf9d4c772_rle_crop_3752436250_0.png', 1350911763: '1744232151_3320497_1350910094_9f76aa8f8d3a65be613314612ff70cd9_rle_crop_3752448880_0.png', 1350911765: '1744232151_3320497_1350908601_9a2da158e280be93c2c80d7c382d9e51_rle_crop_3752452905_0.png', 1350912303: '1744232233_3321678_1350910568_f191b441255629513e0859aa8b8fc39b_rle_crop_3752462134_0.png', 1350912305: '1744232233_3321678_1350910568_f191b441255629513e0859aa8b8fc39b_rle_crop_3752462135_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/572bddc988c3264209b28c0ee8652092_61660517.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/683bbd9b5b8590d28064b2e1d5cdaad5_92767194.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cfc11a5c88215a2e6cfdbaeeb39ad051_1874478.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ad24653fd3a3128af0a0f663d426391c_2417741.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cfc11a5c88215a2e6cfdbaeeb39ad051_54691291.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ad24653fd3a3128af0a0f663d426391c_24348032.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/11ed0d5e7a7c7b5dc4e390e404c67127_86889522.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/fe35cc1126c0bbfece1952f675d9b661_10092172.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/62d8c66dc072a7bdc2bedafe1ad0b08a_5179470.png change filename to text .imagette221857141744232338/ imagette221857141744232338/1744232151_3320497_1350908601_9a2da158e280be93c2c80d7c382d9e51_rle_crop_3752452905_0.png.png imagette221857141744232338/1744231886_2984092_1350905809_19e87c12de8df858d5c98f73c8d9b88f_rle_crop_3752424899_0.png.png imagette221857141744232338/1744232006_2987088_1350908291_cf670aff938ef17a2a9589be6642be18_rle_crop_3752436168_0.png.png imagette221857141744232338/1744232006_2987088_1350906232_ad7e5f08f89d557d9de648fcf9d4c772_rle_crop_3752436255_0.png.png imagette221857141744232338/1744232006_2987088_1350908291_cf670aff938ef17a2a9589be6642be18_rle_crop_3752436173_0.png.png imagette221857141744232338/1744231792_3313914_1350904968_5a3b10b3dc87585b4b6088bbf445c7dd_rle_crop_3752422216_0.png.png imagette221857141744232338/1744232151_3320497_1350910094_9f76aa8f8d3a65be613314612ff70cd9_rle_crop_3752448880_0.png.png imagette221857141744232338/1744232233_3321678_1350910568_f191b441255629513e0859aa8b8fc39b_rle_crop_3752462134_0.png.png imagette221857141744232338/1744232233_3321678_1350910568_f191b441255629513e0859aa8b8fc39b_rle_crop_3752462135_0.png.png imagette221857141744232338/1744232006_2987088_1350906232_ad7e5f08f89d557d9de648fcf9d4c772_rle_crop_3752436250_0.png.png imagette221857161744232339/ imagette221857201744232339/ wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3139051d920841f18471b4b9c6416fd6_72604402.png imagette221857141744232338 22185716 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=22185716 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette221857161744232339 22185720 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=22185720 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette221857201744232339 22185721 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=22185721 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350908428: '1744231886_2984092_1350905753_80c10e7e32e18afc0d48a5fa5e6480d1_rle_crop_3752425105_0.png', 1350910689: '1744232006_2987088_1350908338_43b89e206d3e929b3f796135e1390f50_rle_crop_3752436157_0.png', 1350910691: '1744232006_2987088_1350906464_d12820871e8e297ef335b99836395445_rle_crop_3752436214_0.png', 1350910693: '1744232006_2987088_1350906266_c1581de6e1eb26051d9c4880ce254f49_rle_crop_3752436237_0.png', 1350910696: '1744232012_3318611_1350907828_30a5327539761b1bc1eec90647aed7e4_rle_crop_3752436312_0.png', 1350911800: '1744232151_3320497_1350910094_9f76aa8f8d3a65be613314612ff70cd9_rle_crop_3752448893_0.png', 1350912321: '1744232233_3321678_1350910515_b0be9cd1ead9f6bb0849be393cf8527e_rle_crop_3752462227_0.png', 1350912323: '1744232233_3321678_1350910515_b0be9cd1ead9f6bb0849be393cf8527e_rle_crop_3752462223_0.png', 1350912332: '1744232247_2993148_1350911121_35895ee3b0e0c7027a96676754c46a61_rle_crop_3752462242_0.png', 1350912334: '1744232247_2993148_1350911048_bfb7a39694ecc05da7e41b8dd863ec9a_rle_crop_3752462260_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3cd5dca17cda3d007dc8510888812b88_33273014.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/55d7922721a60259450dd4d0d7343ef7_67139947.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2542924e9f8adb573905663364391513_29650893.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/55d7922721a60259450dd4d0d7343ef7_29829422.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/e525cf2dd3504bfd1b91c69631095150_93031611.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ff73ae8a952e0a7493337603d7e45bab_99505798.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/41d57b9028ab09b702d83101712ec797_90509440.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/953bcbb043b941953ebd8d5a172f9e33_91019215.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d571bc77e01a8cc6926f9592878c1e52_94744847.png change filename to text .imagette221857211744232339/ imagette221857211744232339/1744231886_2984092_1350905753_80c10e7e32e18afc0d48a5fa5e6480d1_rle_crop_3752425105_0.png.png imagette221857211744232339/1744232012_3318611_1350907828_30a5327539761b1bc1eec90647aed7e4_rle_crop_3752436312_0.png.png imagette221857211744232339/1744232233_3321678_1350910515_b0be9cd1ead9f6bb0849be393cf8527e_rle_crop_3752462223_0.png.png imagette221857211744232339/1744232247_2993148_1350911048_bfb7a39694ecc05da7e41b8dd863ec9a_rle_crop_3752462260_0.png.png imagette221857211744232339/1744232006_2987088_1350906464_d12820871e8e297ef335b99836395445_rle_crop_3752436214_0.png.png imagette221857211744232339/1744232151_3320497_1350910094_9f76aa8f8d3a65be613314612ff70cd9_rle_crop_3752448893_0.png.png imagette221857211744232339/1744232247_2993148_1350911121_35895ee3b0e0c7027a96676754c46a61_rle_crop_3752462242_0.png.png imagette221857211744232339/1744232233_3321678_1350910515_b0be9cd1ead9f6bb0849be393cf8527e_rle_crop_3752462227_0.png.png imagette221857211744232339/1744232006_2987088_1350908338_43b89e206d3e929b3f796135e1390f50_rle_crop_3752436157_0.png.png imagette221857211744232339/1744232006_2987088_1350906266_c1581de6e1eb26051d9c4880ce254f49_rle_crop_3752436237_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/99a2a292f7ad8507e0bce3c3e0002cdb_90192002.png imagette221857211744232339 22185711 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=22185711 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350908409: '1744231886_2984092_1350905724_89bf4e9bcb1f8059ecb3cff1654c6521_rle_crop_3752425119_0.png', 1350908414: '1744231886_2984092_1350905674_f32d9316a2faa52995eb0ad627c747ae_rle_crop_3752425152_0.png', 1350909508: '1744231876_3315310_1350904217_548fccb1fb18d794e2cb6cbe8a93a9be_rle_crop_3752424891_0.png', 1350909510: '1744231876_3315310_1350904113_eb2a281615c134ceaa23c79a888e1c22_rle_crop_3752425163_0.png', 1350909530: '1744231893_3315584_1350905272_22be82603f46fd2f566f2ea3824846ab_rle_crop_3752422300_0.png', 1350910687: '1744232012_3318611_1350908038_bc13a0b04f791a93f7bf4470c71a8ed2_rle_crop_3752436289_0.png', 1350911479: '1744232132_3320233_1350910042_5bdafa8dff1f1f26c870065fb0604d82_rle_crop_3752441409_0.png', 1350911783: '1744232151_3320497_1350910094_9f76aa8f8d3a65be613314612ff70cd9_rle_crop_3752448882_0.png', 1350911784: '1744232151_3320497_1350908879_b975f9acff2babe9b96a76db113670c2_rle_crop_3752450088_0.png', 1350912312: '1744232233_3321678_1350910647_49b8781734a2d17c954e31cd7a69e75e_rle_crop_3752462095_0.png', 1350912313: '1744232233_3321678_1350910647_49b8781734a2d17c954e31cd7a69e75e_rle_crop_3752462092_0.png', 1350912325: '1744232247_2993148_1350911121_35895ee3b0e0c7027a96676754c46a61_rle_crop_3752462248_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/497bc5dee0ba41593b234bcb0b5bdce1_39707344.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f87af9c38bf2b8ca09b4e1d1003f5305_50424988.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cd00f8e25781ad2cde30ce791fa41e1b_53640863.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/cb806bce4924e79b4bdaeede2c1729a0_90227689.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/c7e3cd2a21ffd52a43d1bbf6c06ed002_73662405.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4da3930ef850b4dd9ed49a82d16fe3d3_18322262.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f29f653e148d19171f5a0422182669d4_92715526.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4342b41c9afa04968505aa345a20220c_18840886.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9254ab27a693a1368fc3cf9a26c891ec_36355327.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/298db04e5dd237e6e9b781e4c6917893_17337650.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/3f50cc962675966b10cfd6e6ec2d101e_67905464.png change filename to text .imagette221857111744232339/ imagette221857111744232339/1744231876_3315310_1350904217_548fccb1fb18d794e2cb6cbe8a93a9be_rle_crop_3752424891_0.png.png imagette221857111744232339/1744232151_3320497_1350910094_9f76aa8f8d3a65be613314612ff70cd9_rle_crop_3752448882_0.png.png imagette221857111744232339/1744232132_3320233_1350910042_5bdafa8dff1f1f26c870065fb0604d82_rle_crop_3752441409_0.png.png imagette221857111744232339/1744232012_3318611_1350908038_bc13a0b04f791a93f7bf4470c71a8ed2_rle_crop_3752436289_0.png.png imagette221857111744232339/1744231886_2984092_1350905674_f32d9316a2faa52995eb0ad627c747ae_rle_crop_3752425152_0.png.png imagette221857111744232339/1744232151_3320497_1350908879_b975f9acff2babe9b96a76db113670c2_rle_crop_3752450088_0.png.png imagette221857111744232339/1744231886_2984092_1350905724_89bf4e9bcb1f8059ecb3cff1654c6521_rle_crop_3752425119_0.png.png imagette221857111744232339/1744232233_3321678_1350910647_49b8781734a2d17c954e31cd7a69e75e_rle_crop_3752462095_0.png.png imagette221857111744232339/1744231876_3315310_1350904113_eb2a281615c134ceaa23c79a888e1c22_rle_crop_3752425163_0.png.png imagette221857111744232339/1744231893_3315584_1350905272_22be82603f46fd2f566f2ea3824846ab_rle_crop_3752422300_0.png.png imagette221857111744232339/1744232247_2993148_1350911121_35895ee3b0e0c7027a96676754c46a61_rle_crop_3752462248_0.png.png imagette221857111744232339/1744232233_3321678_1350910647_49b8781734a2d17c954e31cd7a69e75e_rle_crop_3752462092_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/f5b38df9e43776b682d7b4fcc49da3ed_8663703.png imagette221857111744232339 22185715 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=22185715 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350910625: '1744232006_2987088_1350906266_c1581de6e1eb26051d9c4880ce254f49_rle_crop_3752436231_0.png', 1350912284: '1744232233_3321678_1350910515_b0be9cd1ead9f6bb0849be393cf8527e_rle_crop_3752462222_0.png', 1350912283: '1744232233_3321678_1350910515_b0be9cd1ead9f6bb0849be393cf8527e_rle_crop_3752462226_0.png', 1350912282: '1744232233_3321678_1350910515_b0be9cd1ead9f6bb0849be393cf8527e_rle_crop_3752462215_0.png', 1350912281: '1744232233_3321678_1350910614_7baa84105930b8cf3ff1676cd964b8b0_rle_crop_3752462123_0.png', 1350911750: '1744232151_3320497_1350908752_f4316b7814f4d0a7f599930d5cf3a7bc_rle_crop_3752450129_0.png', 1350911749: '1744232151_3320497_1350908752_f4316b7814f4d0a7f599930d5cf3a7bc_rle_crop_3752450132_0.png', 1350911747: '1744232151_3320497_1350908752_f4316b7814f4d0a7f599930d5cf3a7bc_rle_crop_3752450126_0.png', 1350911746: '1744232151_3320497_1350908879_b975f9acff2babe9b96a76db113670c2_rle_crop_3752450086_0.png', 1350911745: '1744232151_3320497_1350910094_9f76aa8f8d3a65be613314612ff70cd9_rle_crop_3752448891_0.png', 1350910669: '1744232012_3318611_1350907828_30a5327539761b1bc1eec90647aed7e4_rle_crop_3752436305_0.png', 1350907987: '1744231792_3313914_1350905001_1f68037df72e1050cac98519aca2711e_rle_crop_3752420465_0.png', 1350910623: '1744232006_2987088_1350908338_43b89e206d3e929b3f796135e1390f50_rle_crop_3752436151_0.png', 1350909519: '1744231893_3315584_1350905317_d46a12ebc6dcecd9eb51da028346cdf0_rle_crop_3752422241_0.png', 1350909518: '1744231893_3315584_1350905317_d46a12ebc6dcecd9eb51da028346cdf0_rle_crop_3752422239_0.png', 1350909495: '1744231876_3315310_1350905010_85d539205443b41c07b23418629bffa0_rle_crop_3752424878_0.png', 1350908365: '1744231886_2984092_1350905674_f32d9316a2faa52995eb0ad627c747ae_rle_crop_3752425147_0.png', 1350908363: '1744231886_2984092_1350905724_89bf4e9bcb1f8059ecb3cff1654c6521_rle_crop_3752425124_0.png', 1350908002: '1744231792_3313914_1350904925_d0a68aa11b4ea4aff0a3db58ef2dee60_rle_crop_3752422286_0.png', 1350907999: '1744231792_3313914_1350904925_d0a68aa11b4ea4aff0a3db58ef2dee60_rle_crop_3752422285_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6cc05d190897525e75234cc0d6959b64_6282047.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a528b1b0a77dcb45b19ba6366606e393_59172449.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/791bbad1a8ff7c1738eafef522ba7d49_17102297.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8ae1dbb1ad12a3c3a894b4d25aba00a7_27179728.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/7f507c186d6c088b50f6105868ae1e64_67739157.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/59fdac1e1c738856b4bcd257e956e3fd_10523734.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/b5d11b8c732ebfb77af64ccebecec26d_59237168.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/88caec1d152b5ba7c7237f15a097e65c_22562988.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/73ff11fc81f78f0de5442343caf7e94a_80324751.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/a9559c609bc7410110ffaf256444837d_84084148.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/4964c5584384603c8aa29f5d5ac59df0_24829418.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d92f4fa9d25ffb088f526be24e76fa28_92049047.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/6cc05d190897525e75234cc0d6959b64_16317838.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/137f00fe8e9c0d3b56ee5cc3f6325ade_13499034.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/bf7f95cf21d307f614c13477ea6326b6_10055881.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/881f439e16d574699093d6929dc5489f_7004377.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ab0e4046be007ae970b005d5a6df8a29_24864859.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/05b67b2d2e4b6be34b2f5803828f33fa_263796.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d43428d054462855aa7134296147e280_86996282.png change filename to text .imagette221857151744232340/ imagette221857151744232340/1744231792_3313914_1350904925_d0a68aa11b4ea4aff0a3db58ef2dee60_rle_crop_3752422285_0.png.png imagette221857151744232340/1744232006_2987088_1350908338_43b89e206d3e929b3f796135e1390f50_rle_crop_3752436151_0.png.png imagette221857151744232340/1744231886_2984092_1350905724_89bf4e9bcb1f8059ecb3cff1654c6521_rle_crop_3752425124_0.png.png imagette221857151744232340/1744232233_3321678_1350910614_7baa84105930b8cf3ff1676cd964b8b0_rle_crop_3752462123_0.png.png imagette221857151744232340/1744231792_3313914_1350905001_1f68037df72e1050cac98519aca2711e_rle_crop_3752420465_0.png.png imagette221857151744232340/1744231893_3315584_1350905317_d46a12ebc6dcecd9eb51da028346cdf0_rle_crop_3752422241_0.png.png imagette221857151744232340/1744231886_2984092_1350905674_f32d9316a2faa52995eb0ad627c747ae_rle_crop_3752425147_0.png.png imagette221857151744232340/1744232151_3320497_1350910094_9f76aa8f8d3a65be613314612ff70cd9_rle_crop_3752448891_0.png.png imagette221857151744232340/1744232151_3320497_1350908879_b975f9acff2babe9b96a76db113670c2_rle_crop_3752450086_0.png.png imagette221857151744232340/1744232233_3321678_1350910515_b0be9cd1ead9f6bb0849be393cf8527e_rle_crop_3752462215_0.png.png imagette221857151744232340/1744231876_3315310_1350905010_85d539205443b41c07b23418629bffa0_rle_crop_3752424878_0.png.png imagette221857151744232340/1744232006_2987088_1350906266_c1581de6e1eb26051d9c4880ce254f49_rle_crop_3752436231_0.png.png imagette221857151744232340/1744232151_3320497_1350908752_f4316b7814f4d0a7f599930d5cf3a7bc_rle_crop_3752450129_0.png.png imagette221857151744232340/1744232012_3318611_1350907828_30a5327539761b1bc1eec90647aed7e4_rle_crop_3752436305_0.png.png imagette221857151744232340/1744232151_3320497_1350908752_f4316b7814f4d0a7f599930d5cf3a7bc_rle_crop_3752450126_0.png.png imagette221857151744232340/1744232233_3321678_1350910515_b0be9cd1ead9f6bb0849be393cf8527e_rle_crop_3752462222_0.png.png imagette221857151744232340/1744232151_3320497_1350908752_f4316b7814f4d0a7f599930d5cf3a7bc_rle_crop_3752450132_0.png.png imagette221857151744232340/1744231792_3313914_1350904925_d0a68aa11b4ea4aff0a3db58ef2dee60_rle_crop_3752422286_0.png.png imagette221857151744232340/1744231893_3315584_1350905317_d46a12ebc6dcecd9eb51da028346cdf0_rle_crop_3752422239_0.png.png imagette221857151744232340/1744232233_3321678_1350910515_b0be9cd1ead9f6bb0849be393cf8527e_rle_crop_3752462226_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ca7a8f4df3953178a1f3f6385273c4f9_38224514.png imagette221857151744232340 22185717 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=22185717 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350907932: '1744231792_3313914_1350904968_5a3b10b3dc87585b4b6088bbf445c7dd_rle_crop_3752422233_0.png', 1350907935: '1744231792_3313914_1350904865_59514845271069a819d7857adbc78d08_rle_crop_3752422338_0.png', 1350908337: '1744231886_2984092_1350905809_19e87c12de8df858d5c98f73c8d9b88f_rle_crop_3752424903_0.png', 1350909472: '1744231893_3315584_1350905317_d46a12ebc6dcecd9eb51da028346cdf0_rle_crop_3752422243_0.png', 1350909475: '1744231876_3315310_1350904166_9d99564a529479f48093a1b237492669_rle_crop_3752424912_0.png', 1350909477: '1744231876_3315310_1350904113_eb2a281615c134ceaa23c79a888e1c22_rle_crop_3752425164_0.png', 1350910599: '1744232006_2987088_1350908338_43b89e206d3e929b3f796135e1390f50_rle_crop_3752436149_0.png', 1350910602: '1744232006_2987088_1350908291_cf670aff938ef17a2a9589be6642be18_rle_crop_3752436180_0.png', 1350910605: '1744232006_2987088_1350906266_c1581de6e1eb26051d9c4880ce254f49_rle_crop_3752436229_0.png', 1350910608: '1744232006_2987088_1350906232_ad7e5f08f89d557d9de648fcf9d4c772_rle_crop_3752436262_0.png', 1350910646: '1744232012_3318611_1350908038_bc13a0b04f791a93f7bf4470c71a8ed2_rle_crop_3752436290_0.png', 1350910648: '1744232012_3318611_1350907828_30a5327539761b1bc1eec90647aed7e4_rle_crop_3752436303_0.png', 1350911669: '1744232151_3320497_1350910094_9f76aa8f8d3a65be613314612ff70cd9_rle_crop_3752448883_0.png', 1350911672: '1744232151_3320497_1350908752_f4316b7814f4d0a7f599930d5cf3a7bc_rle_crop_3752450138_0.png', 1350911673: '1744232151_3320497_1350908601_9a2da158e280be93c2c80d7c382d9e51_rle_crop_3752452903_0.png', 1350912317: '1744232247_2993148_1350911121_35895ee3b0e0c7027a96676754c46a61_rle_crop_3752462247_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/ce9de0f416c6f1e471d708988ab9fc0a_28164277.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9e7102ec6d8ccce959a3857a3c6fcd4f_23812434.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8188f8bb1d36116dbc375f5a93e13578_4518444.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/2c97cccddbab559f58389723af4f96bb_61341860.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/8969a077cf160c65728dcc1e1ad70ade_5584368.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/5906ddbbd00a0025a7eceaffa4a19825_72515732.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/80f4f4e52da3c57344c631269d1169f2_60876252.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/56b610fc02d419b57f618e58a2c29b1e_60633831.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/80f4f4e52da3c57344c631269d1169f2_5528402.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/56b610fc02d419b57f618e58a2c29b1e_78429264.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/dcd713c8357e8b853be65a6496bc17e2_7065158.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/42a66493d7b9342770dd6304283849c8_580490.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/d3374e05b8c341466e681ed6e67861a5_90455479.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/50fcf75f4de26f4798a2d5fd3e16e223_99573433.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/927c1a45a95baa8d55c0840374907514_7457864.png change filename to text .imagette221857171744232341/ imagette221857171744232341/1744232006_2987088_1350908291_cf670aff938ef17a2a9589be6642be18_rle_crop_3752436180_0.png.png imagette221857171744232341/1744232151_3320497_1350908601_9a2da158e280be93c2c80d7c382d9e51_rle_crop_3752452903_0.png.png imagette221857171744232341/1744231792_3313914_1350904865_59514845271069a819d7857adbc78d08_rle_crop_3752422338_0.png.png imagette221857171744232341/1744232012_3318611_1350908038_bc13a0b04f791a93f7bf4470c71a8ed2_rle_crop_3752436290_0.png.png imagette221857171744232341/1744232151_3320497_1350910094_9f76aa8f8d3a65be613314612ff70cd9_rle_crop_3752448883_0.png.png imagette221857171744232341/1744232006_2987088_1350906232_ad7e5f08f89d557d9de648fcf9d4c772_rle_crop_3752436262_0.png.png imagette221857171744232341/1744232151_3320497_1350908752_f4316b7814f4d0a7f599930d5cf3a7bc_rle_crop_3752450138_0.png.png imagette221857171744232341/1744231876_3315310_1350904166_9d99564a529479f48093a1b237492669_rle_crop_3752424912_0.png.png imagette221857171744232341/1744232006_2987088_1350906266_c1581de6e1eb26051d9c4880ce254f49_rle_crop_3752436229_0.png.png imagette221857171744232341/1744231886_2984092_1350905809_19e87c12de8df858d5c98f73c8d9b88f_rle_crop_3752424903_0.png.png imagette221857171744232341/1744232006_2987088_1350908338_43b89e206d3e929b3f796135e1390f50_rle_crop_3752436149_0.png.png imagette221857171744232341/1744232247_2993148_1350911121_35895ee3b0e0c7027a96676754c46a61_rle_crop_3752462247_0.png.png imagette221857171744232341/1744231876_3315310_1350904113_eb2a281615c134ceaa23c79a888e1c22_rle_crop_3752425164_0.png.png imagette221857171744232341/1744231792_3313914_1350904968_5a3b10b3dc87585b4b6088bbf445c7dd_rle_crop_3752422233_0.png.png imagette221857171744232341/1744231893_3315584_1350905317_d46a12ebc6dcecd9eb51da028346cdf0_rle_crop_3752422243_0.png.png imagette221857171744232341/1744232012_3318611_1350907828_30a5327539761b1bc1eec90647aed7e4_rle_crop_3752436303_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/09ce9cfafb9c6394b7380f4c4ce06f09_6721843.png imagette221857171744232341 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22185668 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22185723,22185724,22185725,22185726,22185727,22185728,22185729,22185730,22185731,22185732,22185733,22185734?tags=metal,Carton_brun,mal_croppe,autre_refus,cartonnette,Carton_gris,flou,Teint_Dans_La_Masse,environnement,papier,kraft,plastique your option no_mail is active, we will not send the real mail to your client args[1350912084] : ('0.04249637500085169',) no score found for photo 1350912084 We are sending mail with results at report@fotonower.com args[1350912054] : ('0.04249637500085169',) no score found for photo 1350912054 We are sending mail with results at report@fotonower.com args[1350912015] : ('0.04249637500085169',) no score found for photo 1350912015 We are sending mail with results at report@fotonower.com args[1350911992] : ('0.04249637500085169',) no score found for photo 1350911992 We are sending mail with results at report@fotonower.com args[1350911532] : ('0.04249637500085169',) no score found for photo 1350911532 We are sending mail with results at report@fotonower.com args[1350911512] : ('0.04249637500085169',) no score found for photo 1350911512 We are sending mail with results at report@fotonower.com args[1350911489] : ('0.04249637500085169',) no score found for photo 1350911489 We are sending mail with results at report@fotonower.com args[1350911485] : ('0.04249637500085169',) no score found for photo 1350911485 We are sending mail with results at report@fotonower.com args[1350911481] : ('0.04249637500085169',) no score found for photo 1350911481 We are sending mail with results at report@fotonower.com refus_total : 0.04249637500085169 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=22185668 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_P22185668_09-04-2025_22_58_58.pdf results_Auto_P22185668_09-04-2025_22_58_58.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22185668_09-04-2025_22_58_58.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','22185668','results_Auto_P22185668_09-04-2025_22_58_58.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22185668_09-04-2025_22_58_58.pdf','pdf','','0.3','0.04249637500085169') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22185668]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1350912084, 1350912054, 1350912015, 1350911992, 1350911532, 1350911512, 1350911489, 1350911485, 1350911481] map_info['map_portfolio_photo'] : {22185668: [1350912084, 1350912054, 1350912015, 1350911992, 1350911532, 1350911512, 1350911489, 1350911485, 1350911481, 1350911181, 1350911147, 1350911121, 1350911048, 1350910699, 1350910647, 1350910614, 1350910568, 1350910515, 1350910492, 1350910094, 1350910042, 1350909956, 1350909858, 1350909823, 1350909714, 1350909646, 1350909444, 1350909294, 1350909161, 1350908879, 1350908752, 1350908601, 1350908338, 1350908291, 1350908194, 1350908097, 1350908038, 1350907828, 1350907327, 1350907067, 1350906464, 1350906266, 1350906232, 1350906124, 1350905847, 1350905809, 1350905753, 1350905724, 1350905699, 1350905674, 1350905358, 1350905317, 1350905272, 1350905244, 1350905010, 1350905001, 1350904990, 1350904968, 1350904925, 1350904865, 1350904217, 1350904166, 1350904113]} final : False mtd_id 4302 list_pids : [1350912084, 1350912054, 1350912015, 1350911992, 1350911532, 1350911512, 1350911489, 1350911485, 1350911481] 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, '2736666') ('4302', '22185668', '1350912084', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350912054', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350912015', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911992', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911532', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911512', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911489', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911485', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911481', None, None, None, None, None, '2736666') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22185668', '1350912084', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350912054', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350912015', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350911992', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350911532', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350911512', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350911489', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350911485', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350911481', None, None, None, None, None, '2736666')] time used for this insertion : 0.01806497573852539 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.98076057434082 time spend to save output : 0.018371105194091797 total time spend for step 4 : 5.999131679534912 step5:split_time_score Wed Apr 9 22:59:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['22185668'] 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 : [('22185668',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22185668) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1350912084: {'path': 'temp/1744232338_3418346_1350912084_471e03abdd98c8429d1afefe36c7a9f8.jpg', 'extension': 'jpg'}, 1350911489: {'path': 'temp/1744232338_3418346_1350911489_7ea75a610d83fd53942273efbdc2085b.jpg', 'extension': 'jpg'}, 1350911512: {'path': 'temp/1744232338_3418346_1350911512_f2e4ea15d5300894fbb55d71a050727a.jpg', 'extension': 'jpg'}, 1350912015: {'path': 'temp/1744232338_3418346_1350912015_c39a5a1f8d403957830855f6545ae76e.jpg', 'extension': 'jpg'}, 1350912054: {'path': 'temp/1744232338_3418346_1350912054_e4d3d3b41e50121fe6a0152d032f9eae.jpg', 'extension': 'jpg'}, 1350911481: {'path': 'temp/1744232338_3418346_1350911481_b64860262a827b904118268618415903.jpg', 'extension': 'jpg'}, 1350911485: {'path': 'temp/1744232338_3418346_1350911485_8dad6f509027e419800be8a1f435f87f.jpg', 'extension': 'jpg'}, 1350911532: {'path': 'temp/1744232338_3418346_1350911532_1769d6533991e65b5318d791334256f1.jpg', 'extension': 'jpg'}, 1350911992: {'path': 'temp/1744232338_3418346_1350911992_1aa8a24fd9dc601ee530ebc017257862.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 = 22185668; (('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 = 22185668 group by h (('22', 63),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22185668 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 (22185668) 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 (22185668) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 09042025 22185668 Nombre de photos uploadées : 63 / 23040 (0%) 09042025 22185668 Nombre de photos taguées (types de déchets): 0 / 63 (0%) 09042025 22185668 Nombre de photos taguées (volume) : 0 / 63 (0%) [{'photo_id': 1350904217, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/548fccb1fb18d794e2cb6cbe8a93a9be.jpg', 'username': None, 'uploaded_at': 1744231567, 'text': 'image_09042025_22_45_24_10133.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1350904166, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/9d99564a529479f48093a1b237492669.jpg', 'username': None, 'uploaded_at': 1744231567, 'text': 'image_09042025_22_45_34_10134.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1350904113, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/eb2a281615c134ceaa23c79a888e1c22.jpg', 'username': None, 'uploaded_at': 1744231567, 'text': 'image_09042025_22_45_45_10136.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1350905010, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/9/85d539205443b41c07b23418629bffa0.jpg', 'username': None, 'uploaded_at': 1744231627, 'text': 'image_09042025_22_45_54_9132.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 6.4373016357421875e-06 ??????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002206563949584961 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22185668, '2025-04-09' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1725367,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.030768632888793945 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= 1725367 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1725367, 'dashboard_run_id': 1735667, 'mtr_portfolio_id': 22182674, 'dashboard_result_id': 9962705, '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_P22182674_09-04-2025_22_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22182731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22182732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22182733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22182734, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22182735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22182736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22182737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22182738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22182739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22182740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22182741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22182742, 'pht': 3726}}"}, {'dashboat_entry_day': 1725367, 'dashboard_run_id': 1735667, 'mtr_portfolio_id': 22183767, 'dashboard_result_id': 9962706, '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_P22183767_09-04-2025_22_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22183858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22183859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22183860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22183861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22183862, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22183863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22183864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22183865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22183866, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22183867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22183868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22183869, 'pht': 3726}}"}, {'dashboat_entry_day': 1725367, 'dashboard_run_id': 1735667, 'mtr_portfolio_id': 22184816, 'dashboard_result_id': 9962707, '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_P22184816_09-04-2025_22_47_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22184821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22184822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22184823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22184824, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22184825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22184826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22184827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22184828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22184829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22184830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22184831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22184832, 'pht': 3726}}"}, {'dashboat_entry_day': 1725367, 'dashboard_run_id': 1735667, 'mtr_portfolio_id': 22185668, 'dashboard_result_id': 9962708, '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_P22185668_09-04-2025_22_57_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22185710, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22185711, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22185712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22185713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22185714, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22185715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22185716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22185717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22185718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22185719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22185720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22185721, '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 = 22182674 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': 2736491, 'mtr_portfolio_id': 22182674, 'created_at': datetime.datetime(2025, 4, 9, 22, 18, 58), 'result': '0.05082935326043171', 'result_long': None, 'result_double': None}] Qualite : 0.05082935326043171 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22182674 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22182674_09-04-2025_22_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22182674 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_P22182674_09-04-2025_22_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22182731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22182732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22182733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22182734, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22182735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22182736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22182737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22182738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22182739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22182740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22182741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22182742, 'pht': 3726}}" where mtr_portfolio_id = 22182674 and dashboard_run_id = 1735667 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`=22182674 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9962705, 0.05082935326043171, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22182674_09-04-2025_22_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22182731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22182732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22182733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22182734, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22182735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22182736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22182737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22182738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22182739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22182740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22182741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22182742, '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 = 22183767 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': 2736543, 'mtr_portfolio_id': 22183767, 'created_at': datetime.datetime(2025, 4, 9, 22, 32, 58), 'result': '0.061382679873776845', 'result_long': None, 'result_double': None}] Qualite : 0.061382679873776845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22183767 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22183767_09-04-2025_22_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22183767 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_P22183767_09-04-2025_22_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22183858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22183859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22183860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22183861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22183862, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22183863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22183864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22183865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22183866, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22183867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22183868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22183869, 'pht': 3726}}" where mtr_portfolio_id = 22183767 and dashboard_run_id = 1735667 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`=22183767 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9962706, 0.061382679873776845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22183767_09-04-2025_22_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22183858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22183859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22183860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22183861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22183862, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22183863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22183864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22183865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22183866, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22183867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22183868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22183869, '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 = 22184816 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': 2736617, 'mtr_portfolio_id': 22184816, 'created_at': datetime.datetime(2025, 4, 9, 22, 47, 1), 'result': '0.05167313815221132', 'result_long': None, 'result_double': None}] Qualite : 0.05167313815221132 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22184816 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22184816_09-04-2025_22_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22184816 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_P22184816_09-04-2025_22_47_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22184821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22184822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22184823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22184824, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22184825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22184826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22184827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22184828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22184829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22184830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22184831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22184832, 'pht': 3726}}" where mtr_portfolio_id = 22184816 and dashboard_run_id = 1735667 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`=22184816 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9962707, 0.05167313815221132, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22184816_09-04-2025_22_47_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22184821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22184822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22184823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22184824, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22184825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22184826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22184827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22184828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22184829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22184830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22184831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22184832, '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 = 22185668 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': 2736666, 'mtr_portfolio_id': 22185668, 'created_at': datetime.datetime(2025, 4, 9, 22, 58, 57), 'result': '0.04249637500085169', 'result_long': None, 'result_double': None}] Qualite : 0.04249637500085169 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22185668 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22185668_09-04-2025_22_58_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22185668 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_P22185668_09-04-2025_22_58_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22185710, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22185711, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22185712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22185713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22185714, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22185715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22185716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22185717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22185718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22185719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22185720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22185721, 'pht': 3726}}" where mtr_portfolio_id = 22185668 and dashboard_run_id = 1735667 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`=22185668 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9962708, 0.04249637500085169, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22185668_09-04-2025_22_58_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22185710, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22185711, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22185712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22185713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22185714, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22185715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22185716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22185717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22185718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22185719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22185720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22185721, '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 (22182674,22183767,22184816,22185668) result : ((1350876617,), (1350876644,), (1350876648,), (1350876850,), (1350876876,), (1350876899,), (1350876924,), (1350877166,), (1350877197,), (1350877224,), (1350877261,), (1350877298,), (1350877724,), (1350877770,), (1350877823,), (1350878358,), (1350878438,), (1350878502,), (1350878542,), (1350879467,), (1350879710,), (1350879812,), (1350879846,), (1350879957,), (1350880021,), (1350880457,), (1350880511,), (1350880559,), (1350880641,), (1350880721,), (1350880755,), (1350880978,), (1350881062,), (1350881113,), (1350881139,), (1350881499,), (1350881562,), (1350881603,), (1350881627,), (1350881656,), (1350881687,), (1350881937,), (1350881964,), (1350882117,), (1350882145,), (1350882373,), (1350882404,), (1350882437,), (1350882490,), (1350882947,), (1350882978,), (1350883017,), (1350883272,), (1350883304,), (1350883340,), (1350883373,), (1350883727,), (1350883768,), (1350883795,), (1350883846,), (1350884135,), (1350884181,), (1350884229,), (1350884271,), (1350884281,), (1350884737,), (1350884560,), (1350884603,), (1350884660,), (1350885116,), (1350885177,), (1350885222,), (1350885259,), (1350885350,), (1350886112,), (1350886236,), (1350886345,), (1350889603,), (1350889634,), (1350889669,), (1350889747,), (1350889789,), (1350890143,), (1350890212,), (1350890951,), (1350891042,), (1350891087,), (1350891722,), (1350891784,), (1350891859,), (1350891923,), (1350892358,), (1350892390,), (1350892412,), (1350892420,), (1350892582,), (1350892611,), (1350892645,), (1350892717,), (1350893094,), (1350893176,), (1350893248,), (1350893990,), (1350894072,), (1350894131,), (1350894200,), (1350894805,), (1350895812,), (1350895886,), (1350895924,), (1350896743,), (1350897160,), (1350897189,), (1350897212,), (1350897392,), (1350897409,), (1350897413,), (1350897418,), (1350897420,), (1350897507,), (1350897533,), (1350897563,), (1350897584,), (1350897869,), (1350897950,), (1350898006,), (1350898039,), (1350898124,), (1350898154,), (1350898785,), (1350898867,), (1350898932,), (1350898994,), (1350899052,), (1350899525,), (1350899555,), (1350899581,), (1350899637,), (1350900269,), (1350900341,), (1350900409,), (1350900475,), (1350900547,), (1350900607,), (1350900974,), (1350901033,), (1350901085,), (1350901119,), (1350901191,), (1350901768,), (1350901839,), (1350901907,), (1350901934,), (1350901958,), (1350902288,), (1350902350,), (1350902375,), (1350902531,), (1350902574,), (1350902988,), (1350903017,), (1350903033,), (1350903046,), (1350903072,), (1350903101,), (1350903672,), (1350903703,), (1350903771,), (1350903790,), (1350903814,), (1350904306,), (1350904113,), (1350904166,), (1350904217,), (1350904865,), (1350904925,), (1350904968,), (1350904990,), (1350905001,), (1350905010,), (1350905244,), (1350905272,), (1350905317,), (1350905358,), (1350905674,), (1350905699,), (1350905724,), (1350905753,), (1350905809,), (1350905847,), (1350906124,), (1350906232,), (1350906266,), (1350906464,), (1350907067,), (1350907327,), (1350907828,), (1350908038,), (1350908097,), (1350908194,), (1350908291,), (1350908338,), (1350908601,), (1350908752,), (1350908879,), (1350909161,), (1350909294,), (1350909444,), (1350909646,), (1350909714,), (1350909823,), (1350909858,), (1350909956,), (1350910042,), (1350910094,), (1350910492,), (1350910515,), (1350910568,), (1350910614,), (1350910647,), (1350910699,), (1350911048,), (1350911121,), (1350911147,), (1350911181,), (1350911481,), (1350911485,), (1350911489,), (1350911512,), (1350911532,), (1350911992,), (1350912015,), (1350912054,), (1350912084,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'09042025': {'nb_upload': 63, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22185668]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1350912084, 1350912054, 1350912015, 1350911992, 1350911532, 1350911512, 1350911489, 1350911485, 1350911481] map_info['map_portfolio_photo'] : {22185668: [1350912084, 1350912054, 1350912015, 1350911992, 1350911532, 1350911512, 1350911489, 1350911485, 1350911481, 1350911181, 1350911147, 1350911121, 1350911048, 1350910699, 1350910647, 1350910614, 1350910568, 1350910515, 1350910492, 1350910094, 1350910042, 1350909956, 1350909858, 1350909823, 1350909714, 1350909646, 1350909444, 1350909294, 1350909161, 1350908879, 1350908752, 1350908601, 1350908338, 1350908291, 1350908194, 1350908097, 1350908038, 1350907828, 1350907327, 1350907067, 1350906464, 1350906266, 1350906232, 1350906124, 1350905847, 1350905809, 1350905753, 1350905724, 1350905699, 1350905674, 1350905358, 1350905317, 1350905272, 1350905244, 1350905010, 1350905001, 1350904990, 1350904968, 1350904925, 1350904865, 1350904217, 1350904166, 1350904113]} final : True mtd_id 4302 list_pids : [1350912084, 1350912054, 1350912015, 1350911992, 1350911532, 1350911512, 1350911489, 1350911485, 1350911481] Looping around the photos to save general results len do output : 1 /22185668Didn'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, '2736666') ('4302', '22185668', '1350912084', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350912054', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350912015', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911992', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911532', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911512', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911489', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911485', None, None, None, None, None, '2736666') ('4302', None, None, None, None, None, None, None, '2736666') ('4302', '22185668', '1350911481', None, None, None, None, None, '2736666') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22185668', 'None', None, None, None, None, '2736666'), ('4302', '22185668', '1350912084', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350912054', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350912015', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350911992', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350911532', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350911512', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350911489', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350911485', None, None, None, None, None, '2736666'), ('4302', '22185668', '1350911481', None, None, None, None, None, '2736666')] time used for this insertion : 0.013492822647094727 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.37628698348999023 time spend to save output : 0.013714075088500977 total time spend for step 5 : 0.3900010585784912 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 (2736666) 2.33user 2.15system 0:10.05elapsed 44%CPU (0avgtext+0avgdata 160060maxresident)k 5400inputs+16616outputs (77major+74918minor)pagefaults 0swaps