result : ((1349725053,), (1349725163,), (1349725177,), (1349725178,), (1349725203,), (1349725204,), (1349725205,), (1349725332,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22006414) result : ((1349724563,), (1349724703,), (1349724705,), (1349724762,), (1349724766,), (1349724770,), (1349724865,), (1349724868,), (1349724870,), (1349724871,), (1349724875,), (1349724938,), (1349724985,), (1349724990,), (1349724994,), (1349724997,), (1349725001,), (1349725024,), (1349725028,), (1349725030,), (1349725032,), (1349725068,), (1349725071,), (1349725075,), (1349725080,), (1349725083,), (1349725086,), (1349725106,), (1349725109,), (1349725113,), (1349725139,), (1349725151,), (1349725158,), (1349725171,), (1349725182,), (1349725183,), (1349725217,), (1349725221,), (1349725226,), (1349725229,), (1349725234,), (1349725239,), (1349725252,), (1349725256,), (1349725258,), (1349725275,), (1349725278,), (1349725281,), (1349725284,), (1349725288,), (1349725310,), (1349725312,), (1349725318,), (1349725327,), (1349725334,)) 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 22006417 , 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=22006414 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 (22006417) result : ((1349724974,), (1349724976,), (1349724977,), (1349725047,), (1349725048,), (1349725172,), (1349725173,), (1349725192,), (1349725193,), (1349725194,), (1349725198,), (1349725297,), (1349725322,), (1349725323,), (1349725324,), (1349725325,), (1349725378,), (1349725380,), (1349725381,), (1349725382,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22006414) result : ((1349724563,), (1349724703,), (1349724705,), (1349724762,), (1349724766,), (1349724770,), (1349724865,), (1349724868,), (1349724870,), (1349724871,), (1349724875,), (1349724938,), (1349724985,), (1349724990,), (1349724994,), (1349724997,), (1349725001,), (1349725024,), (1349725028,), (1349725030,), (1349725032,), (1349725068,), (1349725071,), (1349725075,), (1349725080,), (1349725083,), (1349725086,), (1349725106,), (1349725109,), (1349725113,), (1349725139,), (1349725151,), (1349725158,), (1349725171,), (1349725182,), (1349725183,), (1349725217,), (1349725221,), (1349725226,), (1349725229,), (1349725234,), (1349725239,), (1349725252,), (1349725256,), (1349725258,), (1349725275,), (1349725278,), (1349725281,), (1349725284,), (1349725288,), (1349725310,), (1349725312,), (1349725318,), (1349725327,), (1349725334,)) 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 22006418 , 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=22006414 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='metal' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22006418) result : ((1349724981,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22006414) result : ((1349724563,), (1349724703,), (1349724705,), (1349724762,), (1349724766,), (1349724770,), (1349724865,), (1349724868,), (1349724870,), (1349724871,), (1349724875,), (1349724938,), (1349724985,), (1349724990,), (1349724994,), (1349724997,), (1349725001,), (1349725024,), (1349725028,), (1349725030,), (1349725032,), (1349725068,), (1349725071,), (1349725075,), (1349725080,), (1349725083,), (1349725086,), (1349725106,), (1349725109,), (1349725113,), (1349725139,), (1349725151,), (1349725158,), (1349725171,), (1349725182,), (1349725183,), (1349725217,), (1349725221,), (1349725226,), (1349725229,), (1349725234,), (1349725239,), (1349725252,), (1349725256,), (1349725258,), (1349725275,), (1349725278,), (1349725281,), (1349725284,), (1349725288,), (1349725310,), (1349725312,), (1349725318,), (1349725327,), (1349725334,)) 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 22006419 , 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=22006414 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 (22006419) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22006414) result : ((1349724563,), (1349724703,), (1349724705,), (1349724762,), (1349724766,), (1349724770,), (1349724865,), (1349724868,), (1349724870,), (1349724871,), (1349724875,), (1349724938,), (1349724985,), (1349724990,), (1349724994,), (1349724997,), (1349725001,), (1349725024,), (1349725028,), (1349725030,), (1349725032,), (1349725068,), (1349725071,), (1349725075,), (1349725080,), (1349725083,), (1349725086,), (1349725106,), (1349725109,), (1349725113,), (1349725139,), (1349725151,), (1349725158,), (1349725171,), (1349725182,), (1349725183,), (1349725217,), (1349725221,), (1349725226,), (1349725229,), (1349725234,), (1349725239,), (1349725252,), (1349725256,), (1349725258,), (1349725275,), (1349725278,), (1349725281,), (1349725284,), (1349725288,), (1349725310,), (1349725312,), (1349725318,), (1349725327,), (1349725334,)) 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 22006420 , 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=22006414 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 (22006420) result : ((1349724979,), (1349724980,), (1349725052,), (1349725159,), (1349725160,), (1349725161,), (1349725162,), (1349725174,), (1349725175,), (1349725176,), (1349725200,), (1349725202,), (1349725222,), (1349725223,), (1349725329,), (1349725330,), (1349725392,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22006414) result : ((1349724563,), (1349724703,), (1349724705,), (1349724762,), (1349724766,), (1349724770,), (1349724865,), (1349724868,), (1349724870,), (1349724871,), (1349724875,), (1349724938,), (1349724985,), (1349724990,), (1349724994,), (1349724997,), (1349725001,), (1349725024,), (1349725028,), (1349725030,), (1349725032,), (1349725068,), (1349725071,), (1349725075,), (1349725080,), (1349725083,), (1349725086,), (1349725106,), (1349725109,), (1349725113,), (1349725139,), (1349725151,), (1349725158,), (1349725171,), (1349725182,), (1349725183,), (1349725217,), (1349725221,), (1349725226,), (1349725229,), (1349725234,), (1349725239,), (1349725252,), (1349725256,), (1349725258,), (1349725275,), (1349725278,), (1349725281,), (1349725284,), (1349725288,), (1349725310,), (1349725312,), (1349725318,), (1349725327,), (1349725334,)) 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 22006421 , 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=22006414 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 (22006421) result : ((1349724962,), (1349725042,), (1349725141,), (1349725143,), (1349725144,), (1349725145,), (1349725146,), (1349725148,), (1349725149,), (1349725164,), (1349725165,), (1349725166,), (1349725167,), (1349725188,), (1349725189,), (1349725190,), (1349725191,), (1349725295,), (1349725315,), (1349725316,), (1349725317,), (1349725366,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22006414) result : ((1349724563,), (1349724703,), (1349724705,), (1349724762,), (1349724766,), (1349724770,), (1349724865,), (1349724868,), (1349724870,), (1349724871,), (1349724875,), (1349724938,), (1349724985,), (1349724990,), (1349724994,), (1349724997,), (1349725001,), (1349725024,), (1349725028,), (1349725030,), (1349725032,), (1349725068,), (1349725071,), (1349725075,), (1349725080,), (1349725083,), (1349725086,), (1349725106,), (1349725109,), (1349725113,), (1349725139,), (1349725151,), (1349725158,), (1349725171,), (1349725182,), (1349725183,), (1349725217,), (1349725221,), (1349725226,), (1349725229,), (1349725234,), (1349725239,), (1349725252,), (1349725256,), (1349725258,), (1349725275,), (1349725278,), (1349725281,), (1349725284,), (1349725288,), (1349725310,), (1349725312,), (1349725318,), (1349725327,), (1349725334,)) 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 22006422 , 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=22006414 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 (22006422) result : ((1349724978,), (1349725049,), (1349725050,), (1349725153,), (1349725154,), (1349725156,), (1349725197,), (1349725328,), (1349725390,), (1349725391,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22006414) result : ((1349724563,), (1349724703,), (1349724705,), (1349724762,), (1349724766,), (1349724770,), (1349724865,), (1349724868,), (1349724870,), (1349724871,), (1349724875,), (1349724938,), (1349724985,), (1349724990,), (1349724994,), (1349724997,), (1349725001,), (1349725024,), (1349725028,), (1349725030,), (1349725032,), (1349725068,), (1349725071,), (1349725075,), (1349725080,), (1349725083,), (1349725086,), (1349725106,), (1349725109,), (1349725113,), (1349725139,), (1349725151,), (1349725158,), (1349725171,), (1349725182,), (1349725183,), (1349725217,), (1349725221,), (1349725226,), (1349725229,), (1349725234,), (1349725239,), (1349725252,), (1349725256,), (1349725258,), (1349725275,), (1349725278,), (1349725281,), (1349725284,), (1349725288,), (1349725310,), (1349725312,), (1349725318,), (1349725327,), (1349725334,)) 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 22006423 , 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=22006414 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 (22006423) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22006414) result : ((1349724563,), (1349724703,), (1349724705,), (1349724762,), (1349724766,), (1349724770,), (1349724865,), (1349724868,), (1349724870,), (1349724871,), (1349724875,), (1349724938,), (1349724985,), (1349724990,), (1349724994,), (1349724997,), (1349725001,), (1349725024,), (1349725028,), (1349725030,), (1349725032,), (1349725068,), (1349725071,), (1349725075,), (1349725080,), (1349725083,), (1349725086,), (1349725106,), (1349725109,), (1349725113,), (1349725139,), (1349725151,), (1349725158,), (1349725171,), (1349725182,), (1349725183,), (1349725217,), (1349725221,), (1349725226,), (1349725229,), (1349725234,), (1349725239,), (1349725252,), (1349725256,), (1349725258,), (1349725275,), (1349725278,), (1349725281,), (1349725284,), (1349725288,), (1349725310,), (1349725312,), (1349725318,), (1349725327,), (1349725334,)) 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 22006424 , 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=22006414 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 (22006424) result : ((1349725043,), (1349725044,), (1349725152,), (1349725195,), (1349725196,), (1349725320,), (1349725321,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22006414) result : ((1349724563,), (1349724703,), (1349724705,), (1349724762,), (1349724766,), (1349724770,), (1349724865,), (1349724868,), (1349724870,), (1349724871,), (1349724875,), (1349724938,), (1349724985,), (1349724990,), (1349724994,), (1349724997,), (1349725001,), (1349725024,), (1349725028,), (1349725030,), (1349725032,), (1349725068,), (1349725071,), (1349725075,), (1349725080,), (1349725083,), (1349725086,), (1349725106,), (1349725109,), (1349725113,), (1349725139,), (1349725151,), (1349725158,), (1349725171,), (1349725182,), (1349725183,), (1349725217,), (1349725221,), (1349725226,), (1349725229,), (1349725234,), (1349725239,), (1349725252,), (1349725256,), (1349725258,), (1349725275,), (1349725278,), (1349725281,), (1349725284,), (1349725288,), (1349725310,), (1349725312,), (1349725318,), (1349725327,), (1349725334,)) 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 22006425 , 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=22006414 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 (22006425) result : ((1349725169,), (1349725180,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22006414) result : ((1349724563,), (1349724703,), (1349724705,), (1349724762,), (1349724766,), (1349724770,), (1349724865,), (1349724868,), (1349724870,), (1349724871,), (1349724875,), (1349724938,), (1349724985,), (1349724990,), (1349724994,), (1349724997,), (1349725001,), (1349725024,), (1349725028,), (1349725030,), (1349725032,), (1349725068,), (1349725071,), (1349725075,), (1349725080,), (1349725083,), (1349725086,), (1349725106,), (1349725109,), (1349725113,), (1349725139,), (1349725151,), (1349725158,), (1349725171,), (1349725182,), (1349725183,), (1349725217,), (1349725221,), (1349725226,), (1349725229,), (1349725234,), (1349725239,), (1349725252,), (1349725256,), (1349725258,), (1349725275,), (1349725278,), (1349725281,), (1349725284,), (1349725288,), (1349725310,), (1349725312,), (1349725318,), (1349725327,), (1349725334,)) 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 22006426 , 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=22006414 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 (22006426) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22006414) result : ((1349724563,), (1349724703,), (1349724705,), (1349724762,), (1349724766,), (1349724770,), (1349724865,), (1349724868,), (1349724870,), (1349724871,), (1349724875,), (1349724938,), (1349724985,), (1349724990,), (1349724994,), (1349724997,), (1349725001,), (1349725024,), (1349725028,), (1349725030,), (1349725032,), (1349725068,), (1349725071,), (1349725075,), (1349725080,), (1349725083,), (1349725086,), (1349725106,), (1349725109,), (1349725113,), (1349725139,), (1349725151,), (1349725158,), (1349725171,), (1349725182,), (1349725183,), (1349725217,), (1349725221,), (1349725226,), (1349725229,), (1349725234,), (1349725239,), (1349725252,), (1349725256,), (1349725258,), (1349725275,), (1349725278,), (1349725281,), (1349725284,), (1349725288,), (1349725310,), (1349725312,), (1349725318,), (1349725327,), (1349725334,)) 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 22006427 , 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=22006414 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 (22006427) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22006414) result : ((1349724563,), (1349724703,), (1349724705,), (1349724762,), (1349724766,), (1349724770,), (1349724865,), (1349724868,), (1349724870,), (1349724871,), (1349724875,), (1349724938,), (1349724985,), (1349724990,), (1349724994,), (1349724997,), (1349725001,), (1349725024,), (1349725028,), (1349725030,), (1349725032,), (1349725068,), (1349725071,), (1349725075,), (1349725080,), (1349725083,), (1349725086,), (1349725106,), (1349725109,), (1349725113,), (1349725139,), (1349725151,), (1349725158,), (1349725171,), (1349725182,), (1349725183,), (1349725217,), (1349725221,), (1349725226,), (1349725229,), (1349725234,), (1349725239,), (1349725252,), (1349725256,), (1349725258,), (1349725275,), (1349725278,), (1349725281,), (1349725284,), (1349725288,), (1349725310,), (1349725312,), (1349725318,), (1349725327,), (1349725334,)) 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`=22006414 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_gris','autre_refus','Teint_Dans_La_Masse','mal_croppe','flou','kraft','papier','plastique','Carton_brun','environnement','cartonnette')) 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`=22006414 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_gris','autre_refus','Teint_Dans_La_Masse','mal_croppe','flou','kraft','papier','plastique','Carton_brun','environnement','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 22006414, 'sub_port_id': 22006428, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14502107, 'last_updated_at': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 5, 22, 58)}, 'Carton_gris': {'main_port_id': 22006414, 'sub_port_id': 22006429, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14502108, 'last_updated_at': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 5, 22, 58)}, 'metal': {'main_port_id': 22006414, 'sub_port_id': 22006430, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14502109, 'last_updated_at': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 5, 22, 58)}, 'mal_croppe': {'main_port_id': 22006414, 'sub_port_id': 22006431, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14502110, 'last_updated_at': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 5, 22, 58)}, 'Carton_brun': {'main_port_id': 22006414, 'sub_port_id': 22006432, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14502111, 'last_updated_at': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 5, 22, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 22006414, 'sub_port_id': 22006433, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14502112, 'last_updated_at': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 5, 22, 58)}, 'cartonnette': {'main_port_id': 22006414, 'sub_port_id': 22006434, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14502113, 'last_updated_at': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 5, 22, 58)}, 'flou': {'main_port_id': 22006414, 'sub_port_id': 22006435, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14502114, 'last_updated_at': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 5, 22, 58)}, 'autre_refus': {'main_port_id': 22006414, 'sub_port_id': 22006436, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14502115, 'last_updated_at': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 5, 22, 58)}, 'kraft': {'main_port_id': 22006414, 'sub_port_id': 22006437, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14502116, 'last_updated_at': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 5, 22, 58)}, 'papier': {'main_port_id': 22006414, 'sub_port_id': 22006438, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14502117, 'last_updated_at': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 5, 22, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 5, 22, 58)}, 'environnement': {'main_port_id': 22006414, 'sub_port_id': 22006439, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14502118, 'last_updated_at': datetime.datetime(2025, 4, 3, 5, 29, 2), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 5, 29, 2), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 5, 22, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22006428,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22006416 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22006429,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22006417 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22006430,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22006418 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22006431,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22006419 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22006432,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22006420 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22006433,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22006421 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22006434,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22006422 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22006435,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22006423 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22006436,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22006424 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22006437,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22006425 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22006438,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22006426 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22006439,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22006427 lien utilise dans velours : https://www.fotonower.com/velours/22006428,22006429,22006430,22006431,22006432,22006433,22006434,22006435,22006436,22006437,22006438,22006439?tags=plastique,Carton_gris,metal,mal_croppe,Carton_brun,Teint_Dans_La_Masse,cartonnette,flou,autre_refus,kraft,papier,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22006414]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1349725334, 1349725327, 1349725318, 1349725312, 1349725310, 1349725288, 1349725284, 1349725281, 1349725278, 1349725275] map_info['map_portfolio_photo'] : {22006414: [1349725334, 1349725327, 1349725318, 1349725312, 1349725310, 1349725288, 1349725284, 1349725281, 1349725278, 1349725275, 1349725258, 1349725256, 1349725252, 1349725239, 1349725234, 1349725229, 1349725226, 1349725221, 1349725217, 1349725183, 1349725182, 1349725171, 1349725158, 1349725151, 1349725139, 1349725113, 1349725109, 1349725106, 1349725086, 1349725083, 1349725080, 1349725075, 1349725071, 1349725068, 1349725032, 1349725030, 1349725028, 1349725024, 1349725001, 1349724997, 1349724994, 1349724990, 1349724985, 1349724938, 1349724875, 1349724871, 1349724870, 1349724868, 1349724865, 1349724770, 1349724766, 1349724762, 1349724705, 1349724703, 1349724563]} final : False mtd_id 4302 list_pids : [1349725334, 1349725327, 1349725318, 1349725312, 1349725310, 1349725288, 1349725284, 1349725281, 1349725278, 1349725275] Looping around the photos to save general results len do output : 1 /22006414. 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, '2718981') ('4302', '22006414', '1349725334', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725327', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725318', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725312', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725310', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725288', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725284', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725281', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725278', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725275', None, None, None, None, None, '2718981') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22006414', "{'plastique': 22006416, 'Carton_gris': 22006417, 'metal': 22006418, 'mal_croppe': 22006419, 'Carton_brun': 22006420, 'Teint_Dans_La_Masse': 22006421, 'cartonnette': 22006422, 'flou': 22006423, 'autre_refus': 22006424, 'kraft': 22006425, 'papier': 22006426, 'environnement': 22006427}", None, None, None, None, '2718981'), ('4302', '22006414', '1349725334', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725327', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725318', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725312', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725310', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725288', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725284', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725281', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725278', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725275', None, None, None, None, None, '2718981')] time used for this insertion : 0.04096651077270508 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.830625295639038 time spend to save output : 0.04127192497253418 total time spend for step 1 : 1.8718972206115723 step2:final Thu Apr 3 05:31:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (22006414) 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 22006414 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1349724563,1349724705,1349724703,1349724770,1349724766,1349724762,1349724938,1349724875,1349724871,1349724870,1349724868,1349724865,1349725001,1349724997,1349724994,1349724990,1349724985,1349725032,1349725030,1349725028,1349725024,1349725086,1349725083,1349725080,1349725075,1349725071,1349725068,1349725113,1349725109,1349725106,1349725183,1349725182,1349725171,1349725158,1349725151,1349725139,1349725239,1349725234,1349725229,1349725226,1349725217,1349725221,1349725258,1349725256,1349725252,1349725288,1349725284,1349725281,1349725278,1349725275,1349725334,1349725327,1349725318,1349725312,1349725310); 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([22006414]) Inside saveOutput : final : False verbose : True original output for save of step final : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ('0.045450063865432',), 1349725288: ('0.045450063865432',), 1349725284: ('0.045450063865432',), 1349725281: ('0.045450063865432',), 1349725278: ('0.045450063865432',), 1349725275: ('0.045450063865432',)} new output for save of step final : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ('0.045450063865432',), 1349725288: ('0.045450063865432',), 1349725284: ('0.045450063865432',), 1349725281: ('0.045450063865432',), 1349725278: ('0.045450063865432',), 1349725275: ('0.045450063865432',)} [1349725334, 1349725327, 1349725318, 1349725312, 1349725310, 1349725288, 1349725284, 1349725281, 1349725278, 1349725275] map_info['map_portfolio_photo'] : {22006414: [1349725334, 1349725327, 1349725318, 1349725312, 1349725310, 1349725288, 1349725284, 1349725281, 1349725278, 1349725275, 1349725258, 1349725256, 1349725252, 1349725239, 1349725234, 1349725229, 1349725226, 1349725221, 1349725217, 1349725183, 1349725182, 1349725171, 1349725158, 1349725151, 1349725139, 1349725113, 1349725109, 1349725106, 1349725086, 1349725083, 1349725080, 1349725075, 1349725071, 1349725068, 1349725032, 1349725030, 1349725028, 1349725024, 1349725001, 1349724997, 1349724994, 1349724990, 1349724985, 1349724938, 1349724875, 1349724871, 1349724870, 1349724868, 1349724865, 1349724770, 1349724766, 1349724762, 1349724705, 1349724703, 1349724563]} final : False mtd_id 4302 list_pids : [1349725334, 1349725327, 1349725318, 1349725312, 1349725310, 1349725288, 1349725284, 1349725281, 1349725278, 1349725275] Looping around the photos to save general results len do output : 10 /1349725334.Didn't retrieve data . /1349725327.Didn't retrieve data . /1349725318.Didn't retrieve data . /1349725312.Didn't retrieve data . /1349725310.Didn't retrieve data . /1349725288.Didn't retrieve data . /1349725284.Didn't retrieve data . /1349725281.Didn't retrieve data . /1349725278.Didn't retrieve data . /1349725275.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, '2718981') ('4302', '22006414', '1349725334', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725327', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725318', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725312', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725310', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725288', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725284', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725281', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725278', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725275', None, None, None, None, None, '2718981') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22006414', '1349725334', '0.045450063865432', None, None, None, None, '2718981'), ('4302', '22006414', '1349725327', '0.045450063865432', None, None, None, None, '2718981'), ('4302', '22006414', '1349725318', '0.045450063865432', None, None, None, None, '2718981'), ('4302', '22006414', '1349725312', '0.045450063865432', None, None, None, None, '2718981'), ('4302', '22006414', '1349725310', '0.045450063865432', None, None, None, None, '2718981'), ('4302', '22006414', '1349725288', '0.045450063865432', None, None, None, None, '2718981'), ('4302', '22006414', '1349725284', '0.045450063865432', None, None, None, None, '2718981'), ('4302', '22006414', '1349725281', '0.045450063865432', None, None, None, None, '2718981'), ('4302', '22006414', '1349725278', '0.045450063865432', None, None, None, None, '2718981'), ('4302', '22006414', '1349725275', '0.045450063865432', None, None, None, None, '2718981')] time used for this insertion : 0.03055715560913086 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11458683013916016 time spend to save output : 0.03164839744567871 total time spend for step 2 : 0.14623522758483887 step3:velours_tree Thu Apr 3 05:31:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {22006414: [{'plastique': 22006416, 'Carton_gris': 22006417, 'metal': 22006418, 'mal_croppe': 22006419, 'Carton_brun': 22006420, 'Teint_Dans_La_Masse': 22006421, 'cartonnette': 22006422, 'flou': 22006423, 'autre_refus': 22006424, 'kraft': 22006425, 'papier': 22006426, 'environnement': 22006427}]} input_args_next_step : {22006414: ()} output_args : {22006414: [{'plastique': 22006416, 'Carton_gris': 22006417, 'metal': 22006418, 'mal_croppe': 22006419, 'Carton_brun': 22006420, 'Teint_Dans_La_Masse': 22006421, 'cartonnette': 22006422, 'flou': 22006423, 'autre_refus': 22006424, 'kraft': 22006425, 'papier': 22006426, 'environnement': 22006427}]} args : 22006414 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'plastique': 22006416, 'Carton_gris': 22006417, 'metal': 22006418, 'mal_croppe': 22006419, 'Carton_brun': 22006420, 'Teint_Dans_La_Masse': 22006421, 'cartonnette': 22006422, 'flou': 22006423, 'autre_refus': 22006424, 'kraft': 22006425, 'papier': 22006426, 'environnement': 22006427},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22006414) 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([22006414]) 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.9587416648864746 time spend to save output : 5.1975250244140625e-05 total time spend for step 3 : 0.9587936401367188 step4:send_mail_cod Thu Apr 3 05:31:01 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 : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ('0.045450063865432',), 1349725288: ('0.045450063865432',), 1349725284: ('0.045450063865432',), 1349725281: ('0.045450063865432',), 1349725278: ('0.045450063865432',), 1349725275: ('0.045450063865432',)} input_args_next_step : {1349725334: ()} output_args : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ('0.045450063865432',), 1349725288: ('0.045450063865432',), 1349725284: ('0.045450063865432',), 1349725281: ('0.045450063865432',), 1349725278: ('0.045450063865432',), 1349725275: ('0.045450063865432',)} args : 1349725334 depend.output_id : 0 input_args_next_step : {1349725334: ('0.045450063865432',), 1349725327: ()} output_args : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ('0.045450063865432',), 1349725288: ('0.045450063865432',), 1349725284: ('0.045450063865432',), 1349725281: ('0.045450063865432',), 1349725278: ('0.045450063865432',), 1349725275: ('0.045450063865432',)} args : 1349725327 depend.output_id : 0 input_args_next_step : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ()} output_args : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ('0.045450063865432',), 1349725288: ('0.045450063865432',), 1349725284: ('0.045450063865432',), 1349725281: ('0.045450063865432',), 1349725278: ('0.045450063865432',), 1349725275: ('0.045450063865432',)} args : 1349725318 depend.output_id : 0 input_args_next_step : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ()} output_args : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ('0.045450063865432',), 1349725288: ('0.045450063865432',), 1349725284: ('0.045450063865432',), 1349725281: ('0.045450063865432',), 1349725278: ('0.045450063865432',), 1349725275: ('0.045450063865432',)} args : 1349725312 depend.output_id : 0 input_args_next_step : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ()} output_args : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ('0.045450063865432',), 1349725288: ('0.045450063865432',), 1349725284: ('0.045450063865432',), 1349725281: ('0.045450063865432',), 1349725278: ('0.045450063865432',), 1349725275: ('0.045450063865432',)} args : 1349725310 depend.output_id : 0 input_args_next_step : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ('0.045450063865432',), 1349725288: ()} output_args : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ('0.045450063865432',), 1349725288: ('0.045450063865432',), 1349725284: ('0.045450063865432',), 1349725281: ('0.045450063865432',), 1349725278: ('0.045450063865432',), 1349725275: ('0.045450063865432',)} args : 1349725288 depend.output_id : 0 input_args_next_step : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ('0.045450063865432',), 1349725288: ('0.045450063865432',), 1349725284: ()} output_args : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ('0.045450063865432',), 1349725288: ('0.045450063865432',), 1349725284: ('0.045450063865432',), 1349725281: ('0.045450063865432',), 1349725278: ('0.045450063865432',), 1349725275: ('0.045450063865432',)} args : 1349725284 depend.output_id : 0 input_args_next_step : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ('0.045450063865432',), 1349725288: ('0.045450063865432',), 1349725284: ('0.045450063865432',), 1349725281: ()} output_args : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ('0.045450063865432',), 1349725288: ('0.045450063865432',), 1349725284: ('0.045450063865432',), 1349725281: ('0.045450063865432',), 1349725278: ('0.045450063865432',), 1349725275: ('0.045450063865432',)} args : 1349725281 depend.output_id : 0 input_args_next_step : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ('0.045450063865432',), 1349725288: ('0.045450063865432',), 1349725284: ('0.045450063865432',), 1349725281: ('0.045450063865432',), 1349725278: ()} output_args : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ('0.045450063865432',), 1349725288: ('0.045450063865432',), 1349725284: ('0.045450063865432',), 1349725281: ('0.045450063865432',), 1349725278: ('0.045450063865432',), 1349725275: ('0.045450063865432',)} args : 1349725278 depend.output_id : 0 input_args_next_step : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ('0.045450063865432',), 1349725288: ('0.045450063865432',), 1349725284: ('0.045450063865432',), 1349725281: ('0.045450063865432',), 1349725278: ('0.045450063865432',), 1349725275: ()} output_args : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ('0.045450063865432',), 1349725288: ('0.045450063865432',), 1349725284: ('0.045450063865432',), 1349725281: ('0.045450063865432',), 1349725278: ('0.045450063865432',), 1349725275: ('0.045450063865432',)} args : 1349725275 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 : {22006414: [{'plastique': 22006416, 'Carton_gris': 22006417, 'metal': 22006418, 'mal_croppe': 22006419, 'Carton_brun': 22006420, 'Teint_Dans_La_Masse': 22006421, 'cartonnette': 22006422, 'flou': 22006423, 'autre_refus': 22006424, 'kraft': 22006425, 'papier': 22006426, 'environnement': 22006427}]} input_args_next_step : {1349725334: ('0.045450063865432',), 1349725327: ('0.045450063865432',), 1349725318: ('0.045450063865432',), 1349725312: ('0.045450063865432',), 1349725310: ('0.045450063865432',), 1349725288: ('0.045450063865432',), 1349725284: ('0.045450063865432',), 1349725281: ('0.045450063865432',), 1349725278: ('0.045450063865432',), 1349725275: ('0.045450063865432',), 22006414: ()} output_args : {22006414: [{'plastique': 22006416, 'Carton_gris': 22006417, 'metal': 22006418, 'mal_croppe': 22006419, 'Carton_brun': 22006420, 'Teint_Dans_La_Masse': 22006421, 'cartonnette': 22006422, 'flou': 22006423, 'autre_refus': 22006424, 'kraft': 22006425, 'papier': 22006426, 'environnement': 22006427}]} args : 22006414 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :11, first value : ('0.045450063865432',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22006414) 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 (1349725334,1349725327,1349725318,1349725312,1349725310,1349725288,1349725284,1349725281,1349725278,1349725275) Found this number of photos: 10 ##### Call download_photos : nb_thread : 5 begin to download photo : 1349725275 begin to download photo : 1349725284 begin to download photo : 1349725312 begin to download photo : 1349725334 download finish for photo 1349725312 begin to download photo : 1349725318 download finish for photo 1349725275 begin to download photo : 1349725278 download finish for photo 1349725334 download finish for photo 1349725284 begin to download photo : 1349725288 download finish for photo 1349725318 begin to download photo : 1349725327 download finish for photo 1349725278 begin to download photo : 1349725281 download finish for photo 1349725288 begin to download photo : 1349725310 download finish for photo 1349725327 download finish for photo 1349725281 download finish for photo 1349725310 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 results_Auto_P22006414_03-04-2025_05_31_02.pdf 22006416 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=22006416 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349725053: '1743650571_1873427_1349724865_914c88ad67f7492d5cce90af845a2a83_rle_crop_3745688502_0.png', 1349725163: '1743650728_201548_1349725068_d10291d39ade488c385bc857bf0ab6d9_rle_crop_3745688901_0.png', 1349725177: '1743650731_1874842_1349725028_cb4a74b9707753687a059abf664c873f_rle_crop_3745689104_0.png', 1349725178: '1743650731_1874842_1349725028_cb4a74b9707753687a059abf664c873f_rle_crop_3745689091_0.png', 1349725203: '1743650751_1875025_1349724990_8ec354e8f95d56544a4154d8549312bb_rle_crop_3745689198_0.png', 1349725204: '1743650751_1875025_1349724990_8ec354e8f95d56544a4154d8549312bb_rle_crop_3745689194_0.png', 1349725205: '1743650751_1875025_1349724990_8ec354e8f95d56544a4154d8549312bb_rle_crop_3745689201_0.png', 1349725332: '1743650966_202475_1349725229_49deb73bcbe70f32a55e2c6850e9221f_rle_crop_3745689543_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/8573d14235b177a3b937615ccbfabe15_54367416.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/87b615b4e935a313c3042b335fa59511_55358419.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/31c848207ba11a8fe868cbab4edd72ea_30860689.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/41b859bed018553f555ab546e21a31c1_41219276.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/f8220722034b0411132e69073ed4bbba_32397414.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/b91fdc71f50f35e6ea69894fdc1e8e5b_5089826.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/981c9226747c012496e2f04cfd0490e1_32927898.png change filename to text .imagette220064161743651062/ imagette220064161743651062/1743650751_1875025_1349724990_8ec354e8f95d56544a4154d8549312bb_rle_crop_3745689198_0.png.png imagette220064161743651062/1743650571_1873427_1349724865_914c88ad67f7492d5cce90af845a2a83_rle_crop_3745688502_0.png.png imagette220064161743651062/1743650728_201548_1349725068_d10291d39ade488c385bc857bf0ab6d9_rle_crop_3745688901_0.png.png imagette220064161743651062/1743650731_1874842_1349725028_cb4a74b9707753687a059abf664c873f_rle_crop_3745689091_0.png.png imagette220064161743651062/1743650751_1875025_1349724990_8ec354e8f95d56544a4154d8549312bb_rle_crop_3745689194_0.png.png imagette220064161743651062/1743650966_202475_1349725229_49deb73bcbe70f32a55e2c6850e9221f_rle_crop_3745689543_0.png.png imagette220064161743651062/1743650731_1874842_1349725028_cb4a74b9707753687a059abf664c873f_rle_crop_3745689104_0.png.png imagette220064161743651062/1743650751_1875025_1349724990_8ec354e8f95d56544a4154d8549312bb_rle_crop_3745689201_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/5ade77e696fb12e20c0abf74908a5ccb_28000255.png imagette220064161743651062 22006418 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=22006418 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349724981: '1743650471_1872564_1349724705_cbfba768c123bdc507ac7e16aed4ce72_rle_crop_3745688140_0.png'} change filename to text .imagette220064181743651062/ imagette220064181743651062/1743650471_1872564_1349724705_cbfba768c123bdc507ac7e16aed4ce72_rle_crop_3745688140_0.png.png imagette220064191743651062/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/c5164a2eb25db3a1aa3435564cf3783d_34637496.png imagette220064181743651062 22006419 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=22006419 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220064191743651062 22006422 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=22006422 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349724978: '1743650471_1872564_1349724703_03ea2cf096dfb8af503fd5d415fc0c6d_rle_crop_3745688158_0.png', 1349725049: '1743650571_1873427_1349724871_9d9341c2ae18436c4672da2f9b45c948_rle_crop_3745688455_0.png', 1349725050: '1743650571_1873427_1349724871_9d9341c2ae18436c4672da2f9b45c948_rle_crop_3745688461_0.png', 1349725153: '1743650728_201548_1349725080_ec682499953aa5e89838950a9871294d_rle_crop_3745688859_0.png', 1349725154: '1743650728_201548_1349725068_d10291d39ade488c385bc857bf0ab6d9_rle_crop_3745688900_0.png', 1349725156: '1743650728_201548_1349725068_d10291d39ade488c385bc857bf0ab6d9_rle_crop_3745688905_0.png', 1349725197: '1743650751_1875025_1349724997_d2a3e6d637c4732859b836a5fc770795_rle_crop_3745689159_0.png', 1349725328: '1743650966_202475_1349725229_49deb73bcbe70f32a55e2c6850e9221f_rle_crop_3745689540_0.png', 1349725390: '1743650992_1877231_1349725158_3b37d8dddf8b7a71fb9737fa7d75f2a5_rle_crop_3745689806_0.png', 1349725391: '1743650992_1877231_1349725151_98631af0229f072e9fdefb3ee85d8b44_rle_crop_3745689870_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/aea6b81eb0380c1b7db070e73750961b_73094.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/a391eeeb6ff0f8ecabfcae02e989c0e3_69903115.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/31ef74c31c8b819ae1afe2f36179e3e9_92630589.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/34471e7f2d3afce4d612dd8eca647c3a_92995611.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/31014bea27563cab7982d867634c007d_21612337.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/9afe7917807bee789156062a53dc3965_59998328.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/809c6866df14b6799271ccf828a1144f_99414932.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/53f456410810c6970b54a2bbcf005b10_18206421.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/d1fe32d2b982f80ad9bb96471d81e070_78075284.png change filename to text .imagette220064221743651062/ imagette220064221743651062/1743650728_201548_1349725068_d10291d39ade488c385bc857bf0ab6d9_rle_crop_3745688905_0.png.png imagette220064221743651062/1743650728_201548_1349725080_ec682499953aa5e89838950a9871294d_rle_crop_3745688859_0.png.png imagette220064221743651062/1743650571_1873427_1349724871_9d9341c2ae18436c4672da2f9b45c948_rle_crop_3745688461_0.png.png imagette220064221743651062/1743650751_1875025_1349724997_d2a3e6d637c4732859b836a5fc770795_rle_crop_3745689159_0.png.png imagette220064221743651062/1743650992_1877231_1349725151_98631af0229f072e9fdefb3ee85d8b44_rle_crop_3745689870_0.png.png imagette220064221743651062/1743650471_1872564_1349724703_03ea2cf096dfb8af503fd5d415fc0c6d_rle_crop_3745688158_0.png.png imagette220064221743651062/1743650992_1877231_1349725158_3b37d8dddf8b7a71fb9737fa7d75f2a5_rle_crop_3745689806_0.png.png imagette220064221743651062/1743650966_202475_1349725229_49deb73bcbe70f32a55e2c6850e9221f_rle_crop_3745689540_0.png.png imagette220064221743651062/1743650728_201548_1349725068_d10291d39ade488c385bc857bf0ab6d9_rle_crop_3745688900_0.png.png imagette220064221743651062/1743650571_1873427_1349724871_9d9341c2ae18436c4672da2f9b45c948_rle_crop_3745688455_0.png.png imagette220064231743651063/ wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/c878ff64f1211d4d930177f27525c9a9_66034310.png imagette220064221743651062 22006423 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=22006423 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220064231743651063 22006424 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=22006424 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349725043: '1743650591_1873647_1349724938_46e5b01ea4527e21090b3b81a26a3e59_rle_crop_3745688510_0.png', 1349725044: '1743650571_1873427_1349724871_9d9341c2ae18436c4672da2f9b45c948_rle_crop_3745688466_0.png', 1349725152: '1743650728_201548_1349725080_ec682499953aa5e89838950a9871294d_rle_crop_3745688857_0.png', 1349725195: '1743650771_1875271_1349725001_c889ba5b9498f173eec88d14a42adf2d_rle_crop_3745689225_0.png', 1349725196: '1743650771_1875271_1349725001_c889ba5b9498f173eec88d14a42adf2d_rle_crop_3745689226_0.png', 1349725320: '1743650966_202475_1349725229_49deb73bcbe70f32a55e2c6850e9221f_rle_crop_3745689549_0.png', 1349725321: '1743650966_202475_1349725221_654562d29a463ad4aa7d74f724482394_rle_crop_3745689571_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/afbbb28f6347f025d4204e68b9a04d01_81313227.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/145a5f73f2a823b7b29cdc2f42df492f_25470837.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/5fa0349feafa05c0c7fb484c6316fb9f_46415107.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/bc07650996c33b61269bd9e0940e7650_59102326.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/36da35507af178b82ff8b013df8e0273_84730760.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/e9f88d71657db0f4ccb120f9e8a6a853_31617051.png change filename to text .imagette220064241743651063/ imagette220064241743651063/1743650966_202475_1349725221_654562d29a463ad4aa7d74f724482394_rle_crop_3745689571_0.png.png imagette220064241743651063/1743650571_1873427_1349724871_9d9341c2ae18436c4672da2f9b45c948_rle_crop_3745688466_0.png.png imagette220064241743651063/1743650771_1875271_1349725001_c889ba5b9498f173eec88d14a42adf2d_rle_crop_3745689225_0.png.png imagette220064241743651063/1743650591_1873647_1349724938_46e5b01ea4527e21090b3b81a26a3e59_rle_crop_3745688510_0.png.png imagette220064241743651063/1743650771_1875271_1349725001_c889ba5b9498f173eec88d14a42adf2d_rle_crop_3745689226_0.png.png imagette220064241743651063/1743650728_201548_1349725080_ec682499953aa5e89838950a9871294d_rle_crop_3745688857_0.png.png imagette220064241743651063/1743650966_202475_1349725229_49deb73bcbe70f32a55e2c6850e9221f_rle_crop_3745689549_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/381699b58edda8fa3d854b0141828367_3014578.png imagette220064241743651063 22006425 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=22006425 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349725169: '1743650728_201548_1349725083_82f04165b27b1419bfbf658f74bf7471_rle_crop_3745688841_0.png', 1349725180: '1743650731_1874842_1349725086_794d075ec348a968b525e4707a0b234a_rle_crop_3745689060_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/ea99749925b7783b513857730e950b2f_83474463.png change filename to text .imagette220064251743651063/ imagette220064251743651063/1743650728_201548_1349725083_82f04165b27b1419bfbf658f74bf7471_rle_crop_3745688841_0.png.png imagette220064251743651063/1743650731_1874842_1349725086_794d075ec348a968b525e4707a0b234a_rle_crop_3745689060_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/a034b5a15cfc241ba76b4102fdc41684_84059872.png imagette220064251743651063 22006417 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=22006417 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349725198: '1743650771_1875271_1349725001_c889ba5b9498f173eec88d14a42adf2d_rle_crop_3745689224_0.png', 1349725382: '1743650992_1877231_1349725139_6c64238af6edcc8ef18e2e8c045a6608_rle_crop_3745689881_0.png', 1349725381: '1743650992_1877231_1349725139_6c64238af6edcc8ef18e2e8c045a6608_rle_crop_3745689884_0.png', 1349725380: '1743650992_1877231_1349725158_3b37d8dddf8b7a71fb9737fa7d75f2a5_rle_crop_3745689808_0.png', 1349725378: '1743650992_1877231_1349725239_b6832bff516ebd14782994ef0ba89dc7_rle_crop_3745689732_0.png', 1349725325: '1743650966_202475_1349725217_85d612137f4550f0c79dfe2614d57203_rle_crop_3745689719_0.png', 1349725324: '1743650966_202475_1349725217_85d612137f4550f0c79dfe2614d57203_rle_crop_3745689720_0.png', 1349725323: '1743650966_202475_1349725226_058cc02336e6cdf74d54eb6dcbf58687_rle_crop_3745689563_0.png', 1349725322: '1743650966_202475_1349725226_058cc02336e6cdf74d54eb6dcbf58687_rle_crop_3745689562_0.png', 1349725297: '1743650951_1876800_1349725256_f6780da1bf5297c811db45fdc27fd5d9_rle_crop_3745689353_0.png', 1349724974: '1743650471_1872564_1349724770_bbdfe373079cf54c0798336469e49f1b_rle_crop_3745688115_0.png', 1349725194: '1743650751_1875025_1349724985_60508abd853c99e3e4b66d076e1f04ca_rle_crop_3745689215_0.png', 1349725193: '1743650751_1875025_1349724990_8ec354e8f95d56544a4154d8549312bb_rle_crop_3745689202_0.png', 1349725192: '1743650751_1875025_1349724997_d2a3e6d637c4732859b836a5fc770795_rle_crop_3745689165_0.png', 1349725173: '1743650731_1874842_1349725024_ef3200ae02bac205185f176212944c42_rle_crop_3745689110_0.png', 1349725172: '1743650731_1874842_1349725086_794d075ec348a968b525e4707a0b234a_rle_crop_3745689058_0.png', 1349725048: '1743650571_1873427_1349724865_914c88ad67f7492d5cce90af845a2a83_rle_crop_3745688498_0.png', 1349725047: '1743650571_1873427_1349724870_3f43813c31bc3fe0565c1b5d76fec110_rle_crop_3745688474_0.png', 1349724977: '1743650471_1872564_1349724705_cbfba768c123bdc507ac7e16aed4ce72_rle_crop_3745688134_0.png', 1349724976: '1743650471_1872564_1349724770_bbdfe373079cf54c0798336469e49f1b_rle_crop_3745688121_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/0422c50e9585981885df6a2558b57acb_39432185.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/0d5cec1ca8d4f58fd95c24280ed489d7_1239726.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/fd176252867116e8e0a59c62803797d3_89152664.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/0fd2eafb9e2ef3700fdc3df0963174e2_61005692.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/ddd4f54ba070d4ba294c94f6e3c080b6_27429491.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/3d0bbbe2066cabee420fa88b6a3d2ecd_99722117.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/08e70bd41bd5ed137a8cf0dda0684dc5_93880137.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/5d6b2ea4da1bd364f05702ac1ca02519_98366149.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/358a1589188415d5d6636e09f0274034_3204733.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/3ba97c41b4231da03e62c4621a2a7802_26020239.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/e99f519ddb157b056e2e549f3a2bbe86_81082839.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/80ddc066e813ad7c6bbbb51acdbfac0a_34994834.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/b7c2e7cda7e6a15653dc549851cea1e1_7044490.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/783a381dbc9ec9cf82ee53b4aafe82d8_41218577.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/ea03d79413f26c4a97a4e885ffe7fbce_96617874.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/ac4706de230e5a95d629337852b09169_42097924.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/2ceccb280cf80306875b938da3398ee1_30426056.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/eb802e6a75a0b115ae53145838c5bf2b_66796510.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/46d27a4d3eac71ad4bc9d0734814e220_90496941.png change filename to text .imagette220064171743651063/ imagette220064171743651063/1743650471_1872564_1349724705_cbfba768c123bdc507ac7e16aed4ce72_rle_crop_3745688134_0.png.png imagette220064171743651063/1743650966_202475_1349725217_85d612137f4550f0c79dfe2614d57203_rle_crop_3745689720_0.png.png imagette220064171743651063/1743650751_1875025_1349724985_60508abd853c99e3e4b66d076e1f04ca_rle_crop_3745689215_0.png.png imagette220064171743651063/1743650992_1877231_1349725139_6c64238af6edcc8ef18e2e8c045a6608_rle_crop_3745689884_0.png.png imagette220064171743651063/1743650471_1872564_1349724770_bbdfe373079cf54c0798336469e49f1b_rle_crop_3745688121_0.png.png imagette220064171743651063/1743650992_1877231_1349725239_b6832bff516ebd14782994ef0ba89dc7_rle_crop_3745689732_0.png.png imagette220064171743651063/1743650966_202475_1349725217_85d612137f4550f0c79dfe2614d57203_rle_crop_3745689719_0.png.png imagette220064171743651063/1743650471_1872564_1349724770_bbdfe373079cf54c0798336469e49f1b_rle_crop_3745688115_0.png.png imagette220064171743651063/1743650992_1877231_1349725139_6c64238af6edcc8ef18e2e8c045a6608_rle_crop_3745689881_0.png.png imagette220064171743651063/1743650966_202475_1349725226_058cc02336e6cdf74d54eb6dcbf58687_rle_crop_3745689563_0.png.png imagette220064171743651063/1743650731_1874842_1349725086_794d075ec348a968b525e4707a0b234a_rle_crop_3745689058_0.png.png imagette220064171743651063/1743650571_1873427_1349724870_3f43813c31bc3fe0565c1b5d76fec110_rle_crop_3745688474_0.png.png imagette220064171743651063/1743650751_1875025_1349724997_d2a3e6d637c4732859b836a5fc770795_rle_crop_3745689165_0.png.png imagette220064171743651063/1743650771_1875271_1349725001_c889ba5b9498f173eec88d14a42adf2d_rle_crop_3745689224_0.png.png imagette220064171743651063/1743650992_1877231_1349725158_3b37d8dddf8b7a71fb9737fa7d75f2a5_rle_crop_3745689808_0.png.png imagette220064171743651063/1743650731_1874842_1349725024_ef3200ae02bac205185f176212944c42_rle_crop_3745689110_0.png.png imagette220064171743651063/1743650751_1875025_1349724990_8ec354e8f95d56544a4154d8549312bb_rle_crop_3745689202_0.png.png imagette220064171743651063/1743650966_202475_1349725226_058cc02336e6cdf74d54eb6dcbf58687_rle_crop_3745689562_0.png.png imagette220064171743651063/1743650951_1876800_1349725256_f6780da1bf5297c811db45fdc27fd5d9_rle_crop_3745689353_0.png.png imagette220064171743651063/1743650571_1873427_1349724865_914c88ad67f7492d5cce90af845a2a83_rle_crop_3745688498_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/8554c0dd5428e205451f66c66d1af4b7_81143113.png imagette220064171743651063 22006420 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=22006420 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349725175: '1743650731_1874842_1349725028_cb4a74b9707753687a059abf664c873f_rle_crop_3745689095_0.png', 1349725392: '1743650992_1877231_1349725139_6c64238af6edcc8ef18e2e8c045a6608_rle_crop_3745689886_0.png', 1349725330: '1743650966_202475_1349725226_058cc02336e6cdf74d54eb6dcbf58687_rle_crop_3745689565_0.png', 1349725329: '1743650966_202475_1349725234_1d66e6a9457e0c280afae69247a67654_rle_crop_3745689532_0.png', 1349725223: '1743650811_1875707_1349725109_ea062f70e6bef1383643e962b277d17c_rle_crop_3745689276_0.png', 1349725222: '1743650811_1875707_1349725109_ea062f70e6bef1383643e962b277d17c_rle_crop_3745689282_0.png', 1349725202: '1743650751_1875025_1349724985_60508abd853c99e3e4b66d076e1f04ca_rle_crop_3745689212_0.png', 1349725200: '1743650751_1875025_1349724994_514c48e3dd0afa9200b09326e89e8fd2_rle_crop_3745689185_0.png', 1349725176: '1743650731_1874842_1349725024_ef3200ae02bac205185f176212944c42_rle_crop_3745689118_0.png', 1349724979: '1743650471_1872564_1349724705_cbfba768c123bdc507ac7e16aed4ce72_rle_crop_3745688136_0.png', 1349725174: '1743650731_1874842_1349725028_cb4a74b9707753687a059abf664c873f_rle_crop_3745689093_0.png', 1349725162: '1743650728_201548_1349725068_d10291d39ade488c385bc857bf0ab6d9_rle_crop_3745688906_0.png', 1349725161: '1743650728_201548_1349725071_9f4b271ad3295622d4990f93bfb9f819_rle_crop_3745688887_0.png', 1349725160: '1743650728_201548_1349725075_53fe86fac016dc674875292c9387f395_rle_crop_3745688876_0.png', 1349725159: '1743650728_201548_1349725083_82f04165b27b1419bfbf658f74bf7471_rle_crop_3745688842_0.png', 1349725052: '1743650571_1873427_1349724868_af4ebf5fe2b1fb9389095151d7c44581_rle_crop_3745688489_0.png', 1349724980: '1743650471_1872564_1349724705_cbfba768c123bdc507ac7e16aed4ce72_rle_crop_3745688135_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/f558c6d5d46b63205925d1d87fb7d8a6_2686289.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/0ecf2eedbdfeabef9f63fa7ba20bc834_68069758.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/9d40cff64ddacaae601e1c4097070a68_68195500.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/235fbfa793da63a9b264e5757e145cf4_37355514.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/6a868fa3fd24f494ad90dd6393530407_26356279.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/e6d82cda177de659936f6e4e8f3b4249_4907628.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/abc20778d600c9e21d2783da6d32a964_62250046.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/54da5e778cc4af4b1cbaf7ea45001d03_62664894.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/7a9496f4bce466a8c540a77bdebf7f66_53862485.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/779cbd135fdc5d1b63c4ae6dced9227c_48318255.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/d876796cf49309bfa12f9fe673d32fd7_66138178.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/6e66778ae8ff98983f75ce7684c75d3d_52984289.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/d164de7f1284346a3564c76bc7146337_30531706.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/b422a58666233766bc08af7d80f81364_21922809.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/b3294ad352db12cc44021836aa3372f6_95009887.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/0daff8286d55ed759db8219a5553a22f_53663578.png change filename to text .imagette220064201743651064/ imagette220064201743651064/1743650811_1875707_1349725109_ea062f70e6bef1383643e962b277d17c_rle_crop_3745689282_0.png.png imagette220064201743651064/1743650471_1872564_1349724705_cbfba768c123bdc507ac7e16aed4ce72_rle_crop_3745688136_0.png.png imagette220064201743651064/1743650728_201548_1349725075_53fe86fac016dc674875292c9387f395_rle_crop_3745688876_0.png.png imagette220064201743651064/1743650731_1874842_1349725028_cb4a74b9707753687a059abf664c873f_rle_crop_3745689093_0.png.png imagette220064201743651064/1743650728_201548_1349725083_82f04165b27b1419bfbf658f74bf7471_rle_crop_3745688842_0.png.png imagette220064201743651064/1743650731_1874842_1349725024_ef3200ae02bac205185f176212944c42_rle_crop_3745689118_0.png.png imagette220064201743651064/1743650966_202475_1349725234_1d66e6a9457e0c280afae69247a67654_rle_crop_3745689532_0.png.png imagette220064201743651064/1743650811_1875707_1349725109_ea062f70e6bef1383643e962b277d17c_rle_crop_3745689276_0.png.png imagette220064201743651064/1743650751_1875025_1349724994_514c48e3dd0afa9200b09326e89e8fd2_rle_crop_3745689185_0.png.png imagette220064201743651064/1743650966_202475_1349725226_058cc02336e6cdf74d54eb6dcbf58687_rle_crop_3745689565_0.png.png imagette220064201743651064/1743650731_1874842_1349725028_cb4a74b9707753687a059abf664c873f_rle_crop_3745689095_0.png.png imagette220064201743651064/1743650751_1875025_1349724985_60508abd853c99e3e4b66d076e1f04ca_rle_crop_3745689212_0.png.png imagette220064201743651064/1743650728_201548_1349725068_d10291d39ade488c385bc857bf0ab6d9_rle_crop_3745688906_0.png.png imagette220064201743651064/1743650571_1873427_1349724868_af4ebf5fe2b1fb9389095151d7c44581_rle_crop_3745688489_0.png.png imagette220064201743651064/1743650992_1877231_1349725139_6c64238af6edcc8ef18e2e8c045a6608_rle_crop_3745689886_0.png.png imagette220064201743651064/1743650471_1872564_1349724705_cbfba768c123bdc507ac7e16aed4ce72_rle_crop_3745688135_0.png.png imagette220064201743651064/1743650728_201548_1349725071_9f4b271ad3295622d4990f93bfb9f819_rle_crop_3745688887_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/33b4192c52d6d0256013dcf908617252_42914075.png imagette220064201743651064 22006421 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=22006421 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349725166: '1743650731_1874842_1349725028_cb4a74b9707753687a059abf664c873f_rle_crop_3745689101_0.png', 1349725366: '1743650992_1877231_1349725171_24583fdcf778a58dbf1369c59db9d3ce_rle_crop_3745689744_0.png', 1349725317: '1743650966_202475_1349725217_85d612137f4550f0c79dfe2614d57203_rle_crop_3745689722_0.png', 1349725316: '1743650966_202475_1349725226_058cc02336e6cdf74d54eb6dcbf58687_rle_crop_3745689566_0.png', 1349725315: '1743650966_202475_1349725234_1d66e6a9457e0c280afae69247a67654_rle_crop_3745689529_0.png', 1349725295: '1743650951_1876800_1349725256_f6780da1bf5297c811db45fdc27fd5d9_rle_crop_3745689359_0.png', 1349725191: '1743650771_1875271_1349725001_c889ba5b9498f173eec88d14a42adf2d_rle_crop_3745689231_0.png', 1349725190: '1743650751_1875025_1349724994_514c48e3dd0afa9200b09326e89e8fd2_rle_crop_3745689191_0.png', 1349725189: '1743650751_1875025_1349724997_d2a3e6d637c4732859b836a5fc770795_rle_crop_3745689169_0.png', 1349725188: '1743650751_1875025_1349724997_d2a3e6d637c4732859b836a5fc770795_rle_crop_3745689171_0.png', 1349725167: '1743650731_1874842_1349725024_ef3200ae02bac205185f176212944c42_rle_crop_3745689116_0.png', 1349724962: '1743650471_1872564_1349724770_bbdfe373079cf54c0798336469e49f1b_rle_crop_3745688117_0.png', 1349725165: '1743650731_1874842_1349725086_794d075ec348a968b525e4707a0b234a_rle_crop_3745689068_0.png', 1349725164: '1743650731_1874842_1349725086_794d075ec348a968b525e4707a0b234a_rle_crop_3745689069_0.png', 1349725149: '1743650728_201548_1349725068_d10291d39ade488c385bc857bf0ab6d9_rle_crop_3745688908_0.png', 1349725148: '1743650728_201548_1349725071_9f4b271ad3295622d4990f93bfb9f819_rle_crop_3745688895_0.png', 1349725146: '1743650728_201548_1349725075_53fe86fac016dc674875292c9387f395_rle_crop_3745688873_0.png', 1349725145: '1743650728_201548_1349725075_53fe86fac016dc674875292c9387f395_rle_crop_3745688872_0.png', 1349725144: '1743650728_201548_1349725075_53fe86fac016dc674875292c9387f395_rle_crop_3745688874_0.png', 1349725143: '1743650728_201548_1349725083_82f04165b27b1419bfbf658f74bf7471_rle_crop_3745688844_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/95424507b8958962613f9668dd02ff28_104200.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/92d944d113e675f248f8b5543ea74822_92682701.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/a9654e734587b9fc6009aec35239dc9a_71029142.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/22d6c162471c1112565e44045d53078a_11473294.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/a7bfffc3413b65bea7e764d013fa2443_97759914.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/f44b0aea14529de29ad4dfc344de4817_49095652.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/ff2e8e808bd45d0bfd1eaec60ca598ac_44570832.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/d361f1e560beab5507bc11d680119e9f_5618527.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/601b99a36dfb4a94b8314b9fb83baf9b_24672275.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/4e61121e16c5d101618862c1d32fea13_20773923.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/2bb88dd18572ca4788ad7ffa556eea8d_73359124.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/50010b6960581e1d9e4f76a38ba1b61c_38882405.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/03e9c7d3ad4e253b51cefc4f4b9f23b0_38285518.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/ed909f77331a6f470051b2886af7c64a_67739421.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/f5317aa2a0f50e8c774efef88941777b_62733412.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/84c02af82e0c208f9240227c0d2bcf11_10020463.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/dff695b4457048451658dc3b867a200c_86518502.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/d4eed8f0c69fa9ef5cfb30b8e27c9d2d_67820685.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/e3e6f300360903fb8937359c9e7a68f3_48993795.png change filename to text .imagette220064211743651065/ imagette220064211743651065/1743650728_201548_1349725068_d10291d39ade488c385bc857bf0ab6d9_rle_crop_3745688908_0.png.png imagette220064211743651065/1743650771_1875271_1349725001_c889ba5b9498f173eec88d14a42adf2d_rle_crop_3745689231_0.png.png imagette220064211743651065/1743650966_202475_1349725234_1d66e6a9457e0c280afae69247a67654_rle_crop_3745689529_0.png.png imagette220064211743651065/1743650728_201548_1349725083_82f04165b27b1419bfbf658f74bf7471_rle_crop_3745688844_0.png.png imagette220064211743651065/1743650992_1877231_1349725171_24583fdcf778a58dbf1369c59db9d3ce_rle_crop_3745689744_0.png.png imagette220064211743651065/1743650728_201548_1349725075_53fe86fac016dc674875292c9387f395_rle_crop_3745688874_0.png.png imagette220064211743651065/1743650751_1875025_1349724997_d2a3e6d637c4732859b836a5fc770795_rle_crop_3745689171_0.png.png imagette220064211743651065/1743650966_202475_1349725217_85d612137f4550f0c79dfe2614d57203_rle_crop_3745689722_0.png.png imagette220064211743651065/1743650751_1875025_1349724997_d2a3e6d637c4732859b836a5fc770795_rle_crop_3745689169_0.png.png imagette220064211743651065/1743650731_1874842_1349725024_ef3200ae02bac205185f176212944c42_rle_crop_3745689116_0.png.png imagette220064211743651065/1743650966_202475_1349725226_058cc02336e6cdf74d54eb6dcbf58687_rle_crop_3745689566_0.png.png imagette220064211743651065/1743650731_1874842_1349725086_794d075ec348a968b525e4707a0b234a_rle_crop_3745689069_0.png.png imagette220064211743651065/1743650731_1874842_1349725028_cb4a74b9707753687a059abf664c873f_rle_crop_3745689101_0.png.png imagette220064211743651065/1743650728_201548_1349725071_9f4b271ad3295622d4990f93bfb9f819_rle_crop_3745688895_0.png.png imagette220064211743651065/1743650728_201548_1349725075_53fe86fac016dc674875292c9387f395_rle_crop_3745688872_0.png.png imagette220064211743651065/1743650728_201548_1349725075_53fe86fac016dc674875292c9387f395_rle_crop_3745688873_0.png.png imagette220064211743651065/1743650471_1872564_1349724770_bbdfe373079cf54c0798336469e49f1b_rle_crop_3745688117_0.png.png imagette220064211743651065/1743650951_1876800_1349725256_f6780da1bf5297c811db45fdc27fd5d9_rle_crop_3745689359_0.png.png imagette220064211743651065/1743650731_1874842_1349725086_794d075ec348a968b525e4707a0b234a_rle_crop_3745689068_0.png.png imagette220064211743651065/1743650751_1875025_1349724994_514c48e3dd0afa9200b09326e89e8fd2_rle_crop_3745689191_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/14530056a17f8eafa359e1183d0c45ea_75230897.png imagette220064211743651065 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22006414 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22006428,22006429,22006430,22006431,22006432,22006433,22006434,22006435,22006436,22006437,22006438,22006439?tags=plastique,Carton_gris,metal,mal_croppe,Carton_brun,Teint_Dans_La_Masse,cartonnette,flou,autre_refus,kraft,papier,environnement your option no_mail is active, we will not send the real mail to your client args[1349725334] : ('0.045450063865432',) no score found for photo 1349725334 We are sending mail with results at report@fotonower.com args[1349725327] : ('0.045450063865432',) no score found for photo 1349725327 We are sending mail with results at report@fotonower.com args[1349725318] : ('0.045450063865432',) no score found for photo 1349725318 We are sending mail with results at report@fotonower.com args[1349725312] : ('0.045450063865432',) no score found for photo 1349725312 We are sending mail with results at report@fotonower.com args[1349725310] : ('0.045450063865432',) no score found for photo 1349725310 We are sending mail with results at report@fotonower.com args[1349725288] : ('0.045450063865432',) no score found for photo 1349725288 We are sending mail with results at report@fotonower.com args[1349725284] : ('0.045450063865432',) no score found for photo 1349725284 We are sending mail with results at report@fotonower.com args[1349725281] : ('0.045450063865432',) no score found for photo 1349725281 We are sending mail with results at report@fotonower.com args[1349725278] : ('0.045450063865432',) no score found for photo 1349725278 We are sending mail with results at report@fotonower.com args[1349725275] : ('0.045450063865432',) no score found for photo 1349725275 We are sending mail with results at report@fotonower.com refus_total : 0.045450063865432 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=22006414 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_P22006414_03-04-2025_05_31_02.pdf results_Auto_P22006414_03-04-2025_05_31_02.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22006414_03-04-2025_05_31_02.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','22006414','results_Auto_P22006414_03-04-2025_05_31_02.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22006414_03-04-2025_05_31_02.pdf','pdf','','0.3','0.045450063865432') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22006414]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1349725334, 1349725327, 1349725318, 1349725312, 1349725310, 1349725288, 1349725284, 1349725281, 1349725278, 1349725275] map_info['map_portfolio_photo'] : {22006414: [1349725334, 1349725327, 1349725318, 1349725312, 1349725310, 1349725288, 1349725284, 1349725281, 1349725278, 1349725275, 1349725258, 1349725256, 1349725252, 1349725239, 1349725234, 1349725229, 1349725226, 1349725221, 1349725217, 1349725183, 1349725182, 1349725171, 1349725158, 1349725151, 1349725139, 1349725113, 1349725109, 1349725106, 1349725086, 1349725083, 1349725080, 1349725075, 1349725071, 1349725068, 1349725032, 1349725030, 1349725028, 1349725024, 1349725001, 1349724997, 1349724994, 1349724990, 1349724985, 1349724938, 1349724875, 1349724871, 1349724870, 1349724868, 1349724865, 1349724770, 1349724766, 1349724762, 1349724705, 1349724703, 1349724563]} final : False mtd_id 4302 list_pids : [1349725334, 1349725327, 1349725318, 1349725312, 1349725310, 1349725288, 1349725284, 1349725281, 1349725278, 1349725275] 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, '2718981') ('4302', '22006414', '1349725334', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725327', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725318', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725312', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725310', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725288', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725284', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725281', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725278', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725275', None, None, None, None, None, '2718981') 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', '22006414', '1349725334', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725327', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725318', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725312', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725310', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725288', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725284', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725281', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725278', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725275', None, None, None, None, None, '2718981')] time used for this insertion : 0.0273590087890625 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.697369813919067 time spend to save output : 0.027719736099243164 total time spend for step 4 : 6.7250895500183105 step5:split_time_score Thu Apr 3 05:31:08 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 : ['22006414'] 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 : [('22006414',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22006414) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1349725334: {'path': 'temp/1743651061_1428714_1349725334_29c014e4c1e5f9f8c70b84b904c61e9b.jpg', 'extension': 'jpg'}, 1349725312: {'path': 'temp/1743651061_1428714_1349725312_af3fbec32981e735dbf9efdb278ad277.jpg', 'extension': 'jpg'}, 1349725318: {'path': 'temp/1743651061_1428714_1349725318_be58d1f7e116c12355bb510bedee11eb.jpg', 'extension': 'jpg'}, 1349725327: {'path': 'temp/1743651061_1428714_1349725327_ad9d5e3093dfb5ab92cac37c853ff689.jpg', 'extension': 'jpg'}, 1349725275: {'path': 'temp/1743651061_1428714_1349725275_7819cab417579d2cb70c291921de9763.jpg', 'extension': 'jpg'}, 1349725278: {'path': 'temp/1743651061_1428714_1349725278_48e6dea2383537d0b3a001617eca8fd5.jpg', 'extension': 'jpg'}, 1349725281: {'path': 'temp/1743651061_1428714_1349725281_a99c59f33ea0e60c33bdc2748e713c45.jpg', 'extension': 'jpg'}, 1349725284: {'path': 'temp/1743651061_1428714_1349725284_542b956e9256e3742ab173ea10f89921.jpg', 'extension': 'jpg'}, 1349725288: {'path': 'temp/1743651061_1428714_1349725288_21dcc98758488ea6ea5bac8f0cfbf5fd.jpg', 'extension': 'jpg'}, 1349725310: {'path': 'temp/1743651061_1428714_1349725310_4605ba518468dca4e7ae26becf6a2389.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 = 22006414; (('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 = 22006414 group by h (('05', 55),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22006414 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 (22006414) 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 (22006414) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 03042025 22006414 Nombre de photos uploadées : 55 / 23040 (0%) 03042025 22006414 Nombre de photos taguées (types de déchets): 0 / 55 (0%) 03042025 22006414 Nombre de photos taguées (volume) : 0 / 55 (0%) [{'photo_id': 1349724563, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/a97480765e00223182c3043966b28943.jpg', 'username': None, 'uploaded_at': 1743650287, 'text': 'image_03042025_05_17_24_10138.jpg'}, {'photo_id': 1349724705, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/cbfba768c123bdc507ac7e16aed4ce72.jpg', 'username': None, 'uploaded_at': 1743650347, 'text': 'image_03042025_05_18_14_010141m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1349724703, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/03ea2cf096dfb8af503fd5d415fc0c6d.jpg', 'username': None, 'uploaded_at': 1743650347, 'text': 'image_03042025_05_18_44_010141m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1349724770, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/bbdfe373079cf54c0798336469e49f1b.jpg', 'username': None, 'uploaded_at': 1743650408, 'text': 'image_03042025_05_18_54_010141m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 1.3113021850585938e-05 ??????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002763509750366211 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22006414, '2025-04-03' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1712161,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.12198209762573242 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= 1712161 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1712161, 'dashboard_run_id': 1720375, 'mtr_portfolio_id': 22006079, 'dashboard_result_id': 9834809, '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_P22006079_03-04-2025_05_20_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22006082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22006083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22006084, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22006085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22006086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22006087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22006088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22006089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22006090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22006091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22006092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22006093, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1720375, 'mtr_portfolio_id': 22006414, 'dashboard_result_id': 9834810, '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_P22006414_03-04-2025_05_29_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22006416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22006417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22006418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22006419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22006420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22006421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22006422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22006423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22006424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22006425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22006426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22006427, '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 = 22006079 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': 2718957, 'mtr_portfolio_id': 22006079, 'created_at': datetime.datetime(2025, 4, 3, 5, 20, 58), 'result': '0.039462823823642974', 'result_long': None, 'result_double': None}] Qualite : 0.039462823823642974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22006079 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22006079_03-04-2025_05_20_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22006079 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_P22006079_03-04-2025_05_20_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22006082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22006083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22006084, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22006085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22006086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22006087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22006088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22006089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22006090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22006091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22006092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22006093, 'pht': 3726}}" where mtr_portfolio_id = 22006079 and dashboard_run_id = 1720375 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`=22006079 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9834809, 0.039462823823642974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22006079_03-04-2025_05_20_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22006082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22006083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22006084, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22006085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22006086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22006087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22006088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22006089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22006090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22006091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22006092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22006093, '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 = 22006414 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': 2718981, 'mtr_portfolio_id': 22006414, 'created_at': datetime.datetime(2025, 4, 3, 5, 31), 'result': '0.045450063865432', 'result_long': None, 'result_double': None}] Qualite : 0.045450063865432 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22006414 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22006414_03-04-2025_05_31_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22006414 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_P22006414_03-04-2025_05_31_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22006416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22006417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22006418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22006419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22006420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22006421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22006422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22006423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22006424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22006425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22006426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22006427, 'pht': 3726}}" where mtr_portfolio_id = 22006414 and dashboard_run_id = 1720375 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`=22006414 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9834810, 0.045450063865432, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22006414_03-04-2025_05_31_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22006416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22006417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22006418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22006419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22006420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22006421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22006422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22006423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22006424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22006425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22006426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22006427, '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 (22006079,22006414) result : ((1349723148,), (1349723463,), (1349723468,), (1349723981,), (1349724014,), (1349724018,), (1349724109,), (1349724114,), (1349724117,), (1349724147,), (1349724151,), (1349724154,), (1349724159,), (1349724163,), (1349724166,), (1349724185,), (1349724188,), (1349724224,), (1349724228,), (1349724234,), (1349724237,), (1349724304,), (1349724307,), (1349724309,), (1349724312,), (1349724315,), (1349724319,), (1349724343,), (1349724347,), (1349724391,), (1349724428,), (1349724707,), (1349724563,), (1349724703,), (1349724705,), (1349724762,), (1349724766,), (1349724770,), (1349724865,), (1349724868,), (1349724870,), (1349724871,), (1349724875,), (1349724938,), (1349724985,), (1349724990,), (1349724994,), (1349724997,), (1349725001,), (1349725024,), (1349725028,), (1349725030,), (1349725032,), (1349725068,), (1349725071,), (1349725075,), (1349725080,), (1349725083,), (1349725086,), (1349725106,), (1349725109,), (1349725113,), (1349725139,), (1349725151,), (1349725158,), (1349725171,), (1349725182,), (1349725183,), (1349725217,), (1349725221,), (1349725226,), (1349725229,), (1349725234,), (1349725239,), (1349725252,), (1349725256,), (1349725258,), (1349725275,), (1349725278,), (1349725281,), (1349725284,), (1349725288,), (1349725310,), (1349725312,), (1349725318,), (1349725327,), (1349725334,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03042025': {'nb_upload': 55, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22006414]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1349725334, 1349725327, 1349725318, 1349725312, 1349725310, 1349725288, 1349725284, 1349725281, 1349725278, 1349725275] map_info['map_portfolio_photo'] : {22006414: [1349725334, 1349725327, 1349725318, 1349725312, 1349725310, 1349725288, 1349725284, 1349725281, 1349725278, 1349725275, 1349725258, 1349725256, 1349725252, 1349725239, 1349725234, 1349725229, 1349725226, 1349725221, 1349725217, 1349725183, 1349725182, 1349725171, 1349725158, 1349725151, 1349725139, 1349725113, 1349725109, 1349725106, 1349725086, 1349725083, 1349725080, 1349725075, 1349725071, 1349725068, 1349725032, 1349725030, 1349725028, 1349725024, 1349725001, 1349724997, 1349724994, 1349724990, 1349724985, 1349724938, 1349724875, 1349724871, 1349724870, 1349724868, 1349724865, 1349724770, 1349724766, 1349724762, 1349724705, 1349724703, 1349724563]} final : True mtd_id 4302 list_pids : [1349725334, 1349725327, 1349725318, 1349725312, 1349725310, 1349725288, 1349725284, 1349725281, 1349725278, 1349725275] Looping around the photos to save general results len do output : 1 /22006414Didn'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, '2718981') ('4302', '22006414', '1349725334', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725327', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725318', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725312', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725310', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725288', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725284', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725281', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725278', None, None, None, None, None, '2718981') ('4302', None, None, None, None, None, None, None, '2718981') ('4302', '22006414', '1349725275', None, None, None, None, None, '2718981') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22006414', 'None', None, None, None, None, '2718981'), ('4302', '22006414', '1349725334', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725327', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725318', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725312', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725310', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725288', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725284', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725281', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725278', None, None, None, None, None, '2718981'), ('4302', '22006414', '1349725275', None, None, None, None, None, '2718981')] time used for this insertion : 0.04229140281677246 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3396461009979248 time spend to save output : 0.042679548263549805 total time spend for step 5 : 0.3823256492614746 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 (2718981) 2.34user 2.63system 0:13.61elapsed 36%CPU (0avgtext+0avgdata 159172maxresident)k 87288inputs+16400outputs (357major+74843minor)pagefaults 0swaps