(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 22152057 , 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=22151992 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 (22152057) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22151992) result : ((1350830147,), (1350830155,), (1350830167,), (1350830180,), (1350830240,), (1350830242,), (1350830245,), (1350830248,), (1350830343,), (1350830378,), (1350830415,), (1350830444,), (1350830467,), (1350830847,), (1350830850,), (1350830870,), (1350830898,), (1350830962,), (1350831075,), (1350831242,), (1350831255,), (1350831260,), (1350831264,), (1350831306,), (1350831308,), (1350831319,), (1350831326,), (1350831331,), (1350831694,), (1350831726,), (1350831772,), (1350831820,), (1350832015,), (1350832017,), (1350832038,), (1350832418,), (1350832430,), (1350832435,), (1350832455,), (1350832476,), (1350832479,), (1350832530,), (1350832537,), (1350832539,), (1350832541,), (1350832543,), (1350832590,), (1350832593,), (1350832597,), (1350832648,), (1350832650,), (1350838590,)) 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 22152058 , 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=22151992 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='plastique' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22152058) result : ((1350830846,), (1350831321,), (1350831322,), (1350831323,), (1350832105,), (1350832506,), (1350832587,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22151992) result : ((1350830147,), (1350830155,), (1350830167,), (1350830180,), (1350830240,), (1350830242,), (1350830245,), (1350830248,), (1350830343,), (1350830378,), (1350830415,), (1350830444,), (1350830467,), (1350830847,), (1350830850,), (1350830870,), (1350830898,), (1350830962,), (1350831075,), (1350831242,), (1350831255,), (1350831260,), (1350831264,), (1350831306,), (1350831308,), (1350831319,), (1350831326,), (1350831331,), (1350831694,), (1350831726,), (1350831772,), (1350831820,), (1350832015,), (1350832017,), (1350832038,), (1350832418,), (1350832430,), (1350832435,), (1350832455,), (1350832476,), (1350832479,), (1350832530,), (1350832537,), (1350832539,), (1350832541,), (1350832543,), (1350832590,), (1350832593,), (1350832597,), (1350832648,), (1350832650,), (1350838590,)) 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 22152059 , 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=22151992 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 (22152059) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22151992) result : ((1350830147,), (1350830155,), (1350830167,), (1350830180,), (1350830240,), (1350830242,), (1350830245,), (1350830248,), (1350830343,), (1350830378,), (1350830415,), (1350830444,), (1350830467,), (1350830847,), (1350830850,), (1350830870,), (1350830898,), (1350830962,), (1350831075,), (1350831242,), (1350831255,), (1350831260,), (1350831264,), (1350831306,), (1350831308,), (1350831319,), (1350831326,), (1350831331,), (1350831694,), (1350831726,), (1350831772,), (1350831820,), (1350832015,), (1350832017,), (1350832038,), (1350832418,), (1350832430,), (1350832435,), (1350832455,), (1350832476,), (1350832479,), (1350832530,), (1350832537,), (1350832539,), (1350832541,), (1350832543,), (1350832590,), (1350832593,), (1350832597,), (1350832648,), (1350832650,), (1350838590,)) 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 22152060 , 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=22151992 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 (22152060) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22151992) result : ((1350830147,), (1350830155,), (1350830167,), (1350830180,), (1350830240,), (1350830242,), (1350830245,), (1350830248,), (1350830343,), (1350830378,), (1350830415,), (1350830444,), (1350830467,), (1350830847,), (1350830850,), (1350830870,), (1350830898,), (1350830962,), (1350831075,), (1350831242,), (1350831255,), (1350831260,), (1350831264,), (1350831306,), (1350831308,), (1350831319,), (1350831326,), (1350831331,), (1350831694,), (1350831726,), (1350831772,), (1350831820,), (1350832015,), (1350832017,), (1350832038,), (1350832418,), (1350832430,), (1350832435,), (1350832455,), (1350832476,), (1350832479,), (1350832530,), (1350832537,), (1350832539,), (1350832541,), (1350832543,), (1350832590,), (1350832593,), (1350832597,), (1350832648,), (1350832650,), (1350838590,)) 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 22152061 , 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=22151992 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 (22152061) result : ((1350830845,), (1350831294,), (1350831295,), (1350831312,), (1350831313,), (1350831314,), (1350832082,), (1350832084,), (1350832086,), (1350832496,), (1350832531,), (1350832532,), (1350832533,), (1350832582,), (1350832583,), (1350832584,), (1350832634,), (1350833301,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22151992) result : ((1350830147,), (1350830155,), (1350830167,), (1350830180,), (1350830240,), (1350830242,), (1350830245,), (1350830248,), (1350830343,), (1350830378,), (1350830415,), (1350830444,), (1350830467,), (1350830847,), (1350830850,), (1350830870,), (1350830898,), (1350830962,), (1350831075,), (1350831242,), (1350831255,), (1350831260,), (1350831264,), (1350831306,), (1350831308,), (1350831319,), (1350831326,), (1350831331,), (1350831694,), (1350831726,), (1350831772,), (1350831820,), (1350832015,), (1350832017,), (1350832038,), (1350832418,), (1350832430,), (1350832435,), (1350832455,), (1350832476,), (1350832479,), (1350832530,), (1350832537,), (1350832539,), (1350832541,), (1350832543,), (1350832590,), (1350832593,), (1350832597,), (1350832648,), (1350832650,), (1350838590,)) 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 22152062 , 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=22151992 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 (22152062) result : ((1350831318,), (1350831886,), (1350831887,), (1350832503,), (1350832504,), (1350832586,), (1350833012,), (1350833215,), (1350833217,), (1350833219,), (1350833221,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22151992) result : ((1350830147,), (1350830155,), (1350830167,), (1350830180,), (1350830240,), (1350830242,), (1350830245,), (1350830248,), (1350830343,), (1350830378,), (1350830415,), (1350830444,), (1350830467,), (1350830847,), (1350830850,), (1350830870,), (1350830898,), (1350830962,), (1350831075,), (1350831242,), (1350831255,), (1350831260,), (1350831264,), (1350831306,), (1350831308,), (1350831319,), (1350831326,), (1350831331,), (1350831694,), (1350831726,), (1350831772,), (1350831820,), (1350832015,), (1350832017,), (1350832038,), (1350832418,), (1350832430,), (1350832435,), (1350832455,), (1350832476,), (1350832479,), (1350832530,), (1350832537,), (1350832539,), (1350832541,), (1350832543,), (1350832590,), (1350832593,), (1350832597,), (1350832648,), (1350832650,), (1350838590,)) 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 22152063 , 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=22151992 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 (22152063) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22151992) result : ((1350830147,), (1350830155,), (1350830167,), (1350830180,), (1350830240,), (1350830242,), (1350830245,), (1350830248,), (1350830343,), (1350830378,), (1350830415,), (1350830444,), (1350830467,), (1350830847,), (1350830850,), (1350830870,), (1350830898,), (1350830962,), (1350831075,), (1350831242,), (1350831255,), (1350831260,), (1350831264,), (1350831306,), (1350831308,), (1350831319,), (1350831326,), (1350831331,), (1350831694,), (1350831726,), (1350831772,), (1350831820,), (1350832015,), (1350832017,), (1350832038,), (1350832418,), (1350832430,), (1350832435,), (1350832455,), (1350832476,), (1350832479,), (1350832530,), (1350832537,), (1350832539,), (1350832541,), (1350832543,), (1350832590,), (1350832593,), (1350832597,), (1350832648,), (1350832650,), (1350838590,)) 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 22152065 , 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=22151992 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 (22152065) result : ((1350831315,), (1350832098,), (1350832499,), (1350832500,), (1350832501,), (1350832535,), (1350832536,), (1350832585,), (1350832635,), (1350833008,), (1350833009,), (1350833204,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22151992) result : ((1350830147,), (1350830155,), (1350830167,), (1350830180,), (1350830240,), (1350830242,), (1350830245,), (1350830248,), (1350830343,), (1350830378,), (1350830415,), (1350830444,), (1350830467,), (1350830847,), (1350830850,), (1350830870,), (1350830898,), (1350830962,), (1350831075,), (1350831242,), (1350831255,), (1350831260,), (1350831264,), (1350831306,), (1350831308,), (1350831319,), (1350831326,), (1350831331,), (1350831694,), (1350831726,), (1350831772,), (1350831820,), (1350832015,), (1350832017,), (1350832038,), (1350832418,), (1350832430,), (1350832435,), (1350832455,), (1350832476,), (1350832479,), (1350832530,), (1350832537,), (1350832539,), (1350832541,), (1350832543,), (1350832590,), (1350832593,), (1350832597,), (1350832648,), (1350832650,), (1350838590,)) 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`=22151992 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','plastique','flou','autre_refus','Teint_Dans_La_Masse','Carton_gris','environnement','Carton_brun','metal','papier','mal_croppe','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`=22151992 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','plastique','flou','autre_refus','Teint_Dans_La_Masse','Carton_gris','environnement','Carton_brun','metal','papier','mal_croppe','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 22151992, 'sub_port_id': 22152066, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14631542, 'last_updated_at': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 20, 34)}, 'kraft': {'main_port_id': 22151992, 'sub_port_id': 22152068, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14631543, 'last_updated_at': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 20, 34)}, 'Teint_Dans_La_Masse': {'main_port_id': 22151992, 'sub_port_id': 22152069, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14631544, 'last_updated_at': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 20, 34)}, 'metal': {'main_port_id': 22151992, 'sub_port_id': 22152070, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14631545, 'last_updated_at': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 20, 34)}, 'flou': {'main_port_id': 22151992, 'sub_port_id': 22152071, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14631546, 'last_updated_at': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 20, 34)}, 'plastique': {'main_port_id': 22151992, 'sub_port_id': 22152072, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14631547, 'last_updated_at': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 20, 34)}, 'mal_croppe': {'main_port_id': 22151992, 'sub_port_id': 22152073, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14631548, 'last_updated_at': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 20, 34)}, 'papier': {'main_port_id': 22151992, 'sub_port_id': 22152074, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14631549, 'last_updated_at': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 20, 34)}, 'Carton_gris': {'main_port_id': 22151992, 'sub_port_id': 22152075, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14631550, 'last_updated_at': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 20, 34)}, 'Carton_brun': {'main_port_id': 22151992, 'sub_port_id': 22152076, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14631551, 'last_updated_at': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 20, 34)}, 'environnement': {'main_port_id': 22151992, 'sub_port_id': 22152077, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14631552, 'last_updated_at': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 20, 34), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 20, 34)}, 'cartonnette': {'main_port_id': 22151992, 'sub_port_id': 22152078, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14631553, 'last_updated_at': datetime.datetime(2025, 4, 17, 20, 42, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 20, 42, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 20, 34)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22152066,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22152053 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22152068,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22152054 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22152069,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22152055 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22152070,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22152056 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22152071,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22152057 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22152072,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22152058 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22152073,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22152059 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22152074,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22152060 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22152075,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22152061 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22152076,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22152062 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22152077,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22152063 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22152078,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22152065 lien utilise dans velours : https://www.fotonower.com/velours/22152066,22152068,22152069,22152070,22152071,22152072,22152073,22152074,22152075,22152076,22152077,22152078?tags=autre_refus,kraft,Teint_Dans_La_Masse,metal,flou,plastique,mal_croppe,papier,Carton_gris,Carton_brun,environnement,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22151992]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1350838590] map_info['map_portfolio_photo'] : {22151992: [1350838590, 1350832650, 1350832648, 1350832597, 1350832593, 1350832590, 1350832543, 1350832541, 1350832539, 1350832537, 1350832530, 1350832479, 1350832476, 1350832455, 1350832435, 1350832430, 1350832418, 1350832038, 1350832017, 1350832015, 1350831820, 1350831772, 1350831726, 1350831694, 1350831331, 1350831326, 1350831319, 1350831308, 1350831306, 1350831264, 1350831260, 1350831255, 1350831242, 1350831075, 1350830962, 1350830898, 1350830870, 1350830850, 1350830847, 1350830467, 1350830444, 1350830415, 1350830378, 1350830343, 1350830248, 1350830245, 1350830242, 1350830240, 1350830180, 1350830167, 1350830155, 1350830147]} final : False mtd_id 4302 list_pids : [1350838590] Looping around the photos to save general results len do output : 1 /22151992. 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, '2732486') ('4302', '22151992', '1350838590', None, None, None, None, None, '2732486') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 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, '22151992', "{'autre_refus': 22152053, 'kraft': 22152054, 'Teint_Dans_La_Masse': 22152055, 'metal': 22152056, 'flou': 22152057, 'plastique': 22152058, 'mal_croppe': 22152059, 'papier': 22152060, 'Carton_gris': 22152061, 'Carton_brun': 22152062, 'environnement': 22152063, 'cartonnette': 22152065}", None, None, None, None, '2732486'), ('4302', '22151992', '1350838590', None, None, None, None, None, '2732486')] time used for this insertion : 0.016764163970947266 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5166015625 time spend to save output : 0.017023324966430664 total time spend for step 1 : 1.5336248874664307 step2:final Thu Apr 17 21:02:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22151992) 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 22151992 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1350830180,1350830167,1350830155,1350830147,1350830248,1350830245,1350830242,1350830240,1350830467,1350830444,1350830415,1350830378,1350830343,1350831075,1350830962,1350830898,1350830870,1350830850,1350830847,1350831264,1350831260,1350831255,1350831242,1350831331,1350831326,1350831319,1350831308,1350831306,1350831820,1350831772,1350831726,1350831694,1350832038,1350832017,1350832015,1350832479,1350832476,1350832455,1350832435,1350832430,1350832418,1350832543,1350832541,1350832539,1350832537,1350832530,1350832597,1350832593,1350832590,1350832650,1350838590,1350832648); 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([22151992]) Inside saveOutput : final : False verbose : True original output for save of step final : {1350838590: ('0.04713630305415385',)} new output for save of step final : {1350838590: ('0.04713630305415385',)} [1350838590] map_info['map_portfolio_photo'] : {22151992: [1350838590, 1350832650, 1350832648, 1350832597, 1350832593, 1350832590, 1350832543, 1350832541, 1350832539, 1350832537, 1350832530, 1350832479, 1350832476, 1350832455, 1350832435, 1350832430, 1350832418, 1350832038, 1350832017, 1350832015, 1350831820, 1350831772, 1350831726, 1350831694, 1350831331, 1350831326, 1350831319, 1350831308, 1350831306, 1350831264, 1350831260, 1350831255, 1350831242, 1350831075, 1350830962, 1350830898, 1350830870, 1350830850, 1350830847, 1350830467, 1350830444, 1350830415, 1350830378, 1350830343, 1350830248, 1350830245, 1350830242, 1350830240, 1350830180, 1350830167, 1350830155, 1350830147]} final : False mtd_id 4302 list_pids : [1350838590] Looping around the photos to save general results len do output : 1 /1350838590.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, '2732486') ('4302', '22151992', '1350838590', None, None, None, None, None, '2732486') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 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', '22151992', '1350838590', '0.04713630305415385', None, None, None, None, '2732486')] time used for this insertion : 0.015039443969726562 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08094477653503418 time spend to save output : 0.015238046646118164 total time spend for step 2 : 0.09618282318115234 step3:velours_tree Thu Apr 17 21:03: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 : {22151992: [{'autre_refus': 22152053, 'kraft': 22152054, 'Teint_Dans_La_Masse': 22152055, 'metal': 22152056, 'flou': 22152057, 'plastique': 22152058, 'mal_croppe': 22152059, 'papier': 22152060, 'Carton_gris': 22152061, 'Carton_brun': 22152062, 'environnement': 22152063, 'cartonnette': 22152065}]} input_args_next_step : {22151992: ()} output_args : {22151992: [{'autre_refus': 22152053, 'kraft': 22152054, 'Teint_Dans_La_Masse': 22152055, 'metal': 22152056, 'flou': 22152057, 'plastique': 22152058, 'mal_croppe': 22152059, 'papier': 22152060, 'Carton_gris': 22152061, 'Carton_brun': 22152062, 'environnement': 22152063, 'cartonnette': 22152065}]} args : 22151992 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'autre_refus': 22152053, 'kraft': 22152054, 'Teint_Dans_La_Masse': 22152055, 'metal': 22152056, 'flou': 22152057, 'plastique': 22152058, 'mal_croppe': 22152059, 'papier': 22152060, 'Carton_gris': 22152061, 'Carton_brun': 22152062, 'environnement': 22152063, 'cartonnette': 22152065},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22151992) 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([22151992]) 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.330580472946167 time spend to save output : 5.364418029785156e-05 total time spend for step 3 : 0.33063411712646484 step4:send_mail_cod Thu Apr 17 21:03:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1350838590: ('0.04713630305415385',)} input_args_next_step : {1350838590: ()} output_args : {1350838590: ('0.04713630305415385',)} args : 1350838590 depend.output_id : 0 complete output_args for input 3 : {22151992: [{'autre_refus': 22152053, 'kraft': 22152054, 'Teint_Dans_La_Masse': 22152055, 'metal': 22152056, 'flou': 22152057, 'plastique': 22152058, 'mal_croppe': 22152059, 'papier': 22152060, 'Carton_gris': 22152061, 'Carton_brun': 22152062, 'environnement': 22152063, 'cartonnette': 22152065}]} input_args_next_step : {1350838590: ('0.04713630305415385',), 22151992: ()} output_args : {22151992: [{'autre_refus': 22152053, 'kraft': 22152054, 'Teint_Dans_La_Masse': 22152055, 'metal': 22152056, 'flou': 22152057, 'plastique': 22152058, 'mal_croppe': 22152059, 'papier': 22152060, 'Carton_gris': 22152061, 'Carton_brun': 22152062, 'environnement': 22152063, 'cartonnette': 22152065}]} args : 22151992 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 :2, first value : ('0.04713630305415385',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22151992) 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 (1350838590) Found this number of photos: 1 ##### Call download_photos : nb_thread : 5 begin to download photo : 1350838590 download finish for photo 1350838590 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 : 1 ; length of list_pids : 1 ; length of list_args : 1 results_Auto_P22151992_17-04-2025_21_03_00.pdf 22152053 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=22152053 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350830839: '1744914822_1180360_1350830245_1c9fb305edecede7982b90a58888227d_rle_crop_3752427907_0.png', 1350831292: '1744914911_3269451_1350830444_be8e0c715a20e9ce7eb700c3f6ef8739_rle_crop_3752432676_0.png', 1350831293: '1744914911_3269451_1350830378_17a95a7fde869c658e750e1b3d499e65_rle_crop_3752432707_0.png', 1350832631: '1744915272_3273559_1350832541_7919d3b7a74da341cad1278725611d12_rle_crop_3752442641_0.png', 1350832632: '1744915272_3273559_1350832541_7919d3b7a74da341cad1278725611d12_rle_crop_3752442638_0.png', 1350832633: '1744915272_3273559_1350832539_a6ad737280443fa856d041714dd7cb94_rle_crop_3752442657_0.png', 1350833003: '1744915389_3274893_1350832650_e8745dacc546029ff3a80d43b264b924_rle_crop_3752447638_0.png', 1350833004: '1744915389_3274893_1350832590_42778b16cddfeb49f3a56ecf258fed7b_rle_crop_3752447727_0.png', 1350833289: '1744915451_3275523_1350831331_475d2e0a08daa36ce83dfc4fabbbd0da_rle_crop_3752452229_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/377075113ba247cd306988a3688e2d9e_4521295.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/0cd233a7986f53fe472d6346f722548d_27516014.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/601f59bb43bcb6401b68524d63de7777_1775292.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/ce8d8aedcf395de22c9b02e14a654417_8547636.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/9568988e34539aba0c0115e4fe4ced2c_21461241.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/1e239a8033a4a18a778bf2571bbe7d3f_79844567.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/ad2d42d689c9d4e1b722f7344327fe6d_55826961.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/3c04fd78fb10d2b1b9adfa093619d428_6977075.png change filename to text .imagette221520531744916580/ imagette221520531744916580/1744915272_3273559_1350832541_7919d3b7a74da341cad1278725611d12_rle_crop_3752442638_0.png.png imagette221520531744916580/1744914911_3269451_1350830378_17a95a7fde869c658e750e1b3d499e65_rle_crop_3752432707_0.png.png imagette221520531744916580/1744915389_3274893_1350832590_42778b16cddfeb49f3a56ecf258fed7b_rle_crop_3752447727_0.png.png imagette221520531744916580/1744914911_3269451_1350830444_be8e0c715a20e9ce7eb700c3f6ef8739_rle_crop_3752432676_0.png.png imagette221520531744916580/1744915272_3273559_1350832541_7919d3b7a74da341cad1278725611d12_rle_crop_3752442641_0.png.png imagette221520531744916580/1744914822_1180360_1350830245_1c9fb305edecede7982b90a58888227d_rle_crop_3752427907_0.png.png imagette221520531744916580/1744915272_3273559_1350832539_a6ad737280443fa856d041714dd7cb94_rle_crop_3752442657_0.png.png imagette221520531744916580/1744915389_3274893_1350832650_e8745dacc546029ff3a80d43b264b924_rle_crop_3752447638_0.png.png imagette221520531744916580/1744915451_3275523_1350831331_475d2e0a08daa36ce83dfc4fabbbd0da_rle_crop_3752452229_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/37b8fedbc66a13a696713cf271282e29_56802133.png imagette221520531744916580 22152054 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=22152054 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350831296: '1744914911_3269451_1350830444_be8e0c715a20e9ce7eb700c3f6ef8739_rle_crop_3752432680_0.png', 1350831297: '1744914911_3269451_1350830378_17a95a7fde869c658e750e1b3d499e65_rle_crop_3752432714_0.png', 1350832636: '1744915272_3273559_1350832541_7919d3b7a74da341cad1278725611d12_rle_crop_3752442643_0.png', 1350833230: '1744915427_1197755_1350832543_af3d8033e0fa4fc0f899f0b59f7ca4bf_rle_crop_3752446991_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/9e5efb8bcb7ba2744734cde73846a1d9_13248567.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/8978107f735cb8078418255d91f0db2b_80353494.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/2778077d966c43d3a14908186819bdf8_80701982.png change filename to text .imagette221520541744916581/ imagette221520541744916581/1744914911_3269451_1350830378_17a95a7fde869c658e750e1b3d499e65_rle_crop_3752432714_0.png.png imagette221520541744916581/1744915427_1197755_1350832543_af3d8033e0fa4fc0f899f0b59f7ca4bf_rle_crop_3752446991_0.png.png imagette221520541744916581/1744915272_3273559_1350832541_7919d3b7a74da341cad1278725611d12_rle_crop_3752442643_0.png.png imagette221520541744916581/1744914911_3269451_1350830444_be8e0c715a20e9ce7eb700c3f6ef8739_rle_crop_3752432680_0.png.png imagette221520561744916581/ imagette221520571744916581/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/6e3edca287486896a757ff950d09b287_85400110.png imagette221520541744916581 22152056 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=22152056 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette221520561744916581 22152057 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=22152057 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette221520571744916581 22152058 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=22152058 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350830846: '1744914822_1180360_1350830242_42fda8d8a8ba4bd36d1747be837ac872_rle_crop_3752427921_0.png', 1350831321: '1744914944_1183546_1350830180_8cb76b3ea9170372be7a27236299a220_rle_crop_3752428152_0.png', 1350831322: '1744914944_1183546_1350830180_8cb76b3ea9170372be7a27236299a220_rle_crop_3752428157_0.png', 1350831323: '1744914944_1183546_1350830147_4a3db61051ec6b4aa4dbb5039ec59cd7_rle_crop_3752428193_0.png', 1350832105: '1744915067_1186903_1350830962_c26ecb2305a00e895bcdaf3ff798e99c_rle_crop_3752437548_0.png', 1350832506: '1744915152_3271929_1350832015_a7ccf253d51a6e4acffbffdfb6010046_rle_crop_3752437942_0.png', 1350832587: '1744915212_3272611_1350831326_cfd3f54312a28a41eb34c831ade44015_rle_crop_3752438597_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/7b2f3c556c4c29ad88cf0553fc70c7f1_98660101.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/0a72b677af3f497cc01543a36330f661_42346277.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/673089355a4b34b8814508a7bb829b13_19572597.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/c6e437e068f7bb3ee5c420eaa9b356f7_44763912.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/050b780f6bc025a5c512e9d9343a0715_71074513.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/26ab45d38cc3e457cfa2907cd025e551_19371923.png change filename to text .imagette221520581744916581/ imagette221520581744916581/1744915212_3272611_1350831326_cfd3f54312a28a41eb34c831ade44015_rle_crop_3752438597_0.png.png imagette221520581744916581/1744914822_1180360_1350830242_42fda8d8a8ba4bd36d1747be837ac872_rle_crop_3752427921_0.png.png imagette221520581744916581/1744915152_3271929_1350832015_a7ccf253d51a6e4acffbffdfb6010046_rle_crop_3752437942_0.png.png imagette221520581744916581/1744915067_1186903_1350830962_c26ecb2305a00e895bcdaf3ff798e99c_rle_crop_3752437548_0.png.png imagette221520581744916581/1744914944_1183546_1350830180_8cb76b3ea9170372be7a27236299a220_rle_crop_3752428157_0.png.png imagette221520581744916581/1744914944_1183546_1350830180_8cb76b3ea9170372be7a27236299a220_rle_crop_3752428152_0.png.png imagette221520581744916581/1744914944_1183546_1350830147_4a3db61051ec6b4aa4dbb5039ec59cd7_rle_crop_3752428193_0.png.png imagette221520591744916581/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/6c9145cee261e1d83acb02a099897b84_17241459.png imagette221520581744916581 22152059 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=22152059 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette221520591744916581 22152065 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=22152065 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350831315: '1744914944_1183546_1350830167_2d4791c14248216750ec8dd7cc92a16d_rle_crop_3752428168_0.png', 1350832098: '1744915067_1186903_1350830898_6569fded8c0c530f5d2bfe073d2b23c1_rle_crop_3752437556_0.png', 1350832499: '1744915152_3271929_1350832017_58438b16f4cc791a5b068c7061855e6b_rle_crop_3752437922_0.png', 1350832500: '1744915152_3271929_1350832015_a7ccf253d51a6e4acffbffdfb6010046_rle_crop_3752437941_0.png', 1350832501: '1744915152_3271929_1350832015_a7ccf253d51a6e4acffbffdfb6010046_rle_crop_3752437938_0.png', 1350832535: '1744915181_1190011_1350831772_e74778e9d10ff4209437a2ac9b2abee4_rle_crop_3752438156_0.png', 1350832536: '1744915181_1190011_1350831772_e74778e9d10ff4209437a2ac9b2abee4_rle_crop_3752438161_0.png', 1350832585: '1744915212_3272611_1350831820_379c4e9ee3b4fc2904290989e2cb20dc_rle_crop_3752438568_0.png', 1350832635: '1744915272_3273559_1350832537_6ce76dfe2e369977e672ee42f7740e36_rle_crop_3752442673_0.png', 1350833008: '1744915389_3274893_1350832650_e8745dacc546029ff3a80d43b264b924_rle_crop_3752447639_0.png', 1350833009: '1744915389_3274893_1350832590_42778b16cddfeb49f3a56ecf258fed7b_rle_crop_3752447730_0.png', 1350833204: '1744915427_1197755_1350832418_4885a1cec095daa0b3871e6163002f65_rle_crop_3752447087_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/1e4d1fe320af9f67c216492cc7c7d2c6_89384423.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/f10b5c631aaeb03cff5fd0c841bf4019_67060831.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/fae0df4e7b7f7f0a9f6c9330630047ab_61688146.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/ec3b48ff7211584d8725fcd196efd9c1_571665.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/70d2fd285398af99dbbc811daef65e94_87346522.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/146783b0b09b6001f06e74fd446cad06_12990290.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/0cd5e44854e6499932865baf79d529ab_35140059.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/0f43e9fb490766e13897647dbe08be30_49147368.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/eeb9ffab0c9686ecfc33c2f8c88f5bd0_79001628.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/41bd2effaa30f47de315561bda32f1a1_9479826.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/202f401f75c2fe9af8b9110a15f1f882_34951113.png change filename to text .imagette221520651744916581/ imagette221520651744916581/1744915272_3273559_1350832537_6ce76dfe2e369977e672ee42f7740e36_rle_crop_3752442673_0.png.png imagette221520651744916581/1744915152_3271929_1350832015_a7ccf253d51a6e4acffbffdfb6010046_rle_crop_3752437941_0.png.png imagette221520651744916581/1744915181_1190011_1350831772_e74778e9d10ff4209437a2ac9b2abee4_rle_crop_3752438161_0.png.png imagette221520651744916581/1744915389_3274893_1350832650_e8745dacc546029ff3a80d43b264b924_rle_crop_3752447639_0.png.png imagette221520651744916581/1744915152_3271929_1350832015_a7ccf253d51a6e4acffbffdfb6010046_rle_crop_3752437938_0.png.png imagette221520651744916581/1744915212_3272611_1350831820_379c4e9ee3b4fc2904290989e2cb20dc_rle_crop_3752438568_0.png.png imagette221520651744916581/1744914944_1183546_1350830167_2d4791c14248216750ec8dd7cc92a16d_rle_crop_3752428168_0.png.png imagette221520651744916581/1744915181_1190011_1350831772_e74778e9d10ff4209437a2ac9b2abee4_rle_crop_3752438156_0.png.png imagette221520651744916581/1744915067_1186903_1350830898_6569fded8c0c530f5d2bfe073d2b23c1_rle_crop_3752437556_0.png.png imagette221520651744916581/1744915389_3274893_1350832590_42778b16cddfeb49f3a56ecf258fed7b_rle_crop_3752447730_0.png.png imagette221520651744916581/1744915152_3271929_1350832017_58438b16f4cc791a5b068c7061855e6b_rle_crop_3752437922_0.png.png imagette221520651744916581/1744915427_1197755_1350832418_4885a1cec095daa0b3871e6163002f65_rle_crop_3752447087_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/d06e063567eed4d1cb04682f3b27ce9e_66267061.png imagette221520651744916581 22152055 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=22152055 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350831288: '1744914911_3269451_1350830415_3cef5beb1277cf22f5b25beb6884c4f5_rle_crop_3752432694_0.png', 1350831289: '1744914911_3269451_1350830343_c0e0f19aa3cf6cc385f8dd791b6ae6e1_rle_crop_3752432737_0.png', 1350831310: '1744914944_1183546_1350830248_30fd1967d479804c77a8c36b2b23cd1a_rle_crop_3752428150_0.png', 1350831918: '1744915047_1800337_1350831075_345e3efe50389ef4f9561b3a261bcb18_rle_crop_3752436115_0.png', 1350831920: '1744915047_1800337_1350831075_345e3efe50389ef4f9561b3a261bcb18_rle_crop_3752436116_0.png', 1350832070: '1744915067_1186903_1350830962_c26ecb2305a00e895bcdaf3ff798e99c_rle_crop_3752437546_0.png', 1350832072: '1744915067_1186903_1350830898_6569fded8c0c530f5d2bfe073d2b23c1_rle_crop_3752437562_0.png', 1350832494: '1744915152_3271929_1350832015_a7ccf253d51a6e4acffbffdfb6010046_rle_crop_3752437949_0.png', 1350833002: '1744915389_3274893_1350832650_e8745dacc546029ff3a80d43b264b924_rle_crop_3752447646_0.png', 1350833191: '1744915427_1197755_1350832435_f4bb64542cb36a24fe225214192275d5_rle_crop_3752447013_0.png', 1350833193: '1744915427_1197755_1350832435_f4bb64542cb36a24fe225214192275d5_rle_crop_3752447014_0.png', 1350833195: '1744915427_1197755_1350832430_2c93d3fb5197c707241f9334eec0325d_rle_crop_3752447022_0.png', 1350833197: '1744915427_1197755_1350832430_2c93d3fb5197c707241f9334eec0325d_rle_crop_3752447028_0.png', 1350833284: '1744915451_3275523_1350831331_475d2e0a08daa36ce83dfc4fabbbd0da_rle_crop_3752452234_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/636776f305b8f6767316404b8692eac0_5700336.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/96edeb4e72fe95656b17986d4a43b434_83312748.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/ac4b1dc0aca16f421f754ce3257733ba_82560510.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/2374ed7cccb79301ce94352e31865bf8_51223354.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/5db4e2c0c9d7fcd9f9eade106b9273b1_89981739.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/3a092174c61a5124ab54e129d4d84238_5163713.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/8d28e67e16177cde6669d0c19ac34ed3_73820851.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/3d76feb2199e72c912be217f12f261da_36408129.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/95f9e73774624f07be15cc35a21b3733_73787461.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/484d05f55beb7881462fc7bd31bd65eb_5723601.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/e6280eb742da4a1cdd41a05c08d30012_74934435.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/67e8459c8cddd7110033b7f1bbc5a895_64476173.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/2898614726864b966a3c32f32cf958c9_91917010.png change filename to text .imagette221520551744916582/ imagette221520551744916582/1744915427_1197755_1350832435_f4bb64542cb36a24fe225214192275d5_rle_crop_3752447014_0.png.png imagette221520551744916582/1744915427_1197755_1350832430_2c93d3fb5197c707241f9334eec0325d_rle_crop_3752447028_0.png.png imagette221520551744916582/1744915067_1186903_1350830962_c26ecb2305a00e895bcdaf3ff798e99c_rle_crop_3752437546_0.png.png imagette221520551744916582/1744915427_1197755_1350832435_f4bb64542cb36a24fe225214192275d5_rle_crop_3752447013_0.png.png imagette221520551744916582/1744914944_1183546_1350830248_30fd1967d479804c77a8c36b2b23cd1a_rle_crop_3752428150_0.png.png imagette221520551744916582/1744915047_1800337_1350831075_345e3efe50389ef4f9561b3a261bcb18_rle_crop_3752436115_0.png.png imagette221520551744916582/1744915451_3275523_1350831331_475d2e0a08daa36ce83dfc4fabbbd0da_rle_crop_3752452234_0.png.png imagette221520551744916582/1744915152_3271929_1350832015_a7ccf253d51a6e4acffbffdfb6010046_rle_crop_3752437949_0.png.png imagette221520551744916582/1744915427_1197755_1350832430_2c93d3fb5197c707241f9334eec0325d_rle_crop_3752447022_0.png.png imagette221520551744916582/1744914911_3269451_1350830343_c0e0f19aa3cf6cc385f8dd791b6ae6e1_rle_crop_3752432737_0.png.png imagette221520551744916582/1744915067_1186903_1350830898_6569fded8c0c530f5d2bfe073d2b23c1_rle_crop_3752437562_0.png.png imagette221520551744916582/1744914911_3269451_1350830415_3cef5beb1277cf22f5b25beb6884c4f5_rle_crop_3752432694_0.png.png imagette221520551744916582/1744915047_1800337_1350831075_345e3efe50389ef4f9561b3a261bcb18_rle_crop_3752436116_0.png.png imagette221520551744916582/1744915389_3274893_1350832650_e8745dacc546029ff3a80d43b264b924_rle_crop_3752447646_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/b801ce13fce65eebc76770aaceb535b0_8015995.png imagette221520551744916582 22152061 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=22152061 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350832496: '1744915152_3271929_1350832015_a7ccf253d51a6e4acffbffdfb6010046_rle_crop_3752437948_0.png', 1350833301: '1744915451_3275523_1350831331_475d2e0a08daa36ce83dfc4fabbbd0da_rle_crop_3752452232_0.png', 1350832634: '1744915272_3273559_1350832537_6ce76dfe2e369977e672ee42f7740e36_rle_crop_3752442669_0.png', 1350832584: '1744915212_3272611_1350831308_24f99ea18acb881ebe9cde38a732c9b2_rle_crop_3752438629_0.png', 1350832583: '1744915212_3272611_1350831319_e236a64f582040040013f1eb7c5ca57a_rle_crop_3752438610_0.png', 1350832582: '1744915212_3272611_1350831326_cfd3f54312a28a41eb34c831ade44015_rle_crop_3752438589_0.png', 1350832533: '1744915181_1190011_1350831694_b58da80a38a95a6a45d04c6d34bfadb6_rle_crop_3752438190_0.png', 1350832532: '1744915181_1190011_1350831772_e74778e9d10ff4209437a2ac9b2abee4_rle_crop_3752438159_0.png', 1350832531: '1744915181_1190011_1350832038_04cf569538a1e1d2313436676155020a_rle_crop_3752438144_0.png', 1350830845: '1744914822_1180360_1350830245_1c9fb305edecede7982b90a58888227d_rle_crop_3752427910_0.png', 1350832086: '1744915067_1186903_1350830850_b468a30bbdbdc51c7d0007650715d23c_rle_crop_3752437587_0.png', 1350832084: '1744915067_1186903_1350830870_f27ff2ce9dceccfbd466c44e00c76c3c_rle_crop_3752437569_0.png', 1350832082: '1744915067_1186903_1350830870_f27ff2ce9dceccfbd466c44e00c76c3c_rle_crop_3752437571_0.png', 1350831314: '1744914944_1183546_1350830167_2d4791c14248216750ec8dd7cc92a16d_bib_crop_3752428171_0.jpg', 1350831313: '1744914944_1183546_1350830167_2d4791c14248216750ec8dd7cc92a16d_rle_crop_3752432903_0.png', 1350831312: '1744914944_1183546_1350830248_30fd1967d479804c77a8c36b2b23cd1a_rle_crop_3752428145_0.png', 1350831295: '1744914911_3269451_1350830343_c0e0f19aa3cf6cc385f8dd791b6ae6e1_rle_crop_3752432725_0.png', 1350831294: '1744914911_3269451_1350830343_c0e0f19aa3cf6cc385f8dd791b6ae6e1_rle_crop_3752432724_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/f0c810e967c288f877d382f8c0969b12_30259541.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/435751defc96a76d4a42a62bd5247abc_53542812.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/8fa7a982686725411794f74fdf9b385d_83113236.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/6a192a808489f8beae36131a30924f83_4404899.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/32c5c7e6bce865265615b98f6c8be2fe_34634559.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/9782f87e808634c7d64dce696273b9fd_62188784.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/9e41a438183d9f624eaf2543e1268cc1_91712653.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/6aaae5964c7ee6d75c8a4c147d2f2534_93631002.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/19ef26f8b4632ba1985c9f60177bc382_9130158.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/328fba1cc82702d1d7ca15a0752bb03a_23549043.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/8ec2f0cfd51c724e08511853e3469fe7_30546760.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/61bd72dfc74002f1628183498147a9e5_34972298.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/bc86e5898699f05509ea6d28553a15eb_99988574.png change filename to text .wget -O 14.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/f5fef1b8a941b1b44f4af07921e38b91_67679621.jpg change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/a4b24de8164d8f4e11079277c50c1e1f_62108101.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/8541ef40a55b6e621347ed7e5243c522_45296824.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/4b1acea38f0a96de963ea4ea8c97b36a_73411430.png change filename to text .imagette221520611744916583/ imagette221520611744916583/1744915181_1190011_1350832038_04cf569538a1e1d2313436676155020a_rle_crop_3752438144_0.png.png imagette221520611744916583/1744915067_1186903_1350830870_f27ff2ce9dceccfbd466c44e00c76c3c_rle_crop_3752437569_0.png.png imagette221520611744916583/1744914911_3269451_1350830343_c0e0f19aa3cf6cc385f8dd791b6ae6e1_rle_crop_3752432724_0.png.png imagette221520611744916583/1744915067_1186903_1350830850_b468a30bbdbdc51c7d0007650715d23c_rle_crop_3752437587_0.png.png imagette221520611744916583/1744915272_3273559_1350832537_6ce76dfe2e369977e672ee42f7740e36_rle_crop_3752442669_0.png.png imagette221520611744916583/1744915152_3271929_1350832015_a7ccf253d51a6e4acffbffdfb6010046_rle_crop_3752437948_0.png.png imagette221520611744916583/1744915212_3272611_1350831326_cfd3f54312a28a41eb34c831ade44015_rle_crop_3752438589_0.png.png imagette221520611744916583/1744914944_1183546_1350830248_30fd1967d479804c77a8c36b2b23cd1a_rle_crop_3752428145_0.png.png imagette221520611744916583/1744915067_1186903_1350830870_f27ff2ce9dceccfbd466c44e00c76c3c_rle_crop_3752437571_0.png.png imagette221520611744916583/1744914911_3269451_1350830343_c0e0f19aa3cf6cc385f8dd791b6ae6e1_rle_crop_3752432725_0.png.png imagette221520611744916583/1744914944_1183546_1350830167_2d4791c14248216750ec8dd7cc92a16d_rle_crop_3752432903_0.png.png imagette221520611744916583/1744915451_3275523_1350831331_475d2e0a08daa36ce83dfc4fabbbd0da_rle_crop_3752452232_0.png.png imagette221520611744916583/1744914822_1180360_1350830245_1c9fb305edecede7982b90a58888227d_rle_crop_3752427910_0.png.png imagette221520611744916583/1744915212_3272611_1350831308_24f99ea18acb881ebe9cde38a732c9b2_rle_crop_3752438629_0.png.png imagette221520611744916583/1744915181_1190011_1350831694_b58da80a38a95a6a45d04c6d34bfadb6_rle_crop_3752438190_0.png.png imagette221520611744916583/1744915212_3272611_1350831319_e236a64f582040040013f1eb7c5ca57a_rle_crop_3752438610_0.png.png imagette221520611744916583/1744914944_1183546_1350830167_2d4791c14248216750ec8dd7cc92a16d_bib_crop_3752428171_0.jpg.jpg imagette221520611744916583/1744915181_1190011_1350831772_e74778e9d10ff4209437a2ac9b2abee4_rle_crop_3752438159_0.png.png wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/2590e639b364ad1a42242817bea90835_56480193.png imagette221520611744916583 22152062 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=22152062 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350831318: '1744914944_1183546_1350830167_2d4791c14248216750ec8dd7cc92a16d_rle_crop_3752428176_0.png', 1350831886: '1744915030_3270761_1350831255_1f66b31d00922e8cceb5c15a9538c195_rle_crop_3752436093_0.png', 1350831887: '1744915030_3270761_1350831242_c3bf06ecbc59968b905c3726ac00211f_rle_crop_3752436103_0.png', 1350832503: '1744915152_3271929_1350832017_58438b16f4cc791a5b068c7061855e6b_rle_crop_3752437930_0.png', 1350832504: '1744915152_3271929_1350832017_58438b16f4cc791a5b068c7061855e6b_rle_crop_3752437924_0.png', 1350832586: '1744915212_3272611_1350831306_e3d867496af25da9238edcfc28d7666a_rle_crop_3752438648_0.png', 1350833012: '1744915389_3274893_1350832650_e8745dacc546029ff3a80d43b264b924_rle_crop_3752447642_0.png', 1350833215: '1744915427_1197755_1350832543_af3d8033e0fa4fc0f899f0b59f7ca4bf_rle_crop_3752446989_0.png', 1350833217: '1744915427_1197755_1350832543_af3d8033e0fa4fc0f899f0b59f7ca4bf_rle_crop_3752446990_0.png', 1350833219: '1744915427_1197755_1350832418_4885a1cec095daa0b3871e6163002f65_rle_crop_3752447089_0.png', 1350833221: '1744915427_1197755_1350832418_4885a1cec095daa0b3871e6163002f65_rle_crop_3752447090_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/3d6fbebf42550bf223b05be16f9d1a92_89304532.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/05ddf76745455aa0cd7a8dfb963ceaad_79754918.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/657bc420740912962691fdbfea7cf217_78783059.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/53bac55a1800954be8fe2cb31adb40c0_62800363.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/7b340d4a034e4018e37a12a2ea053913_28421036.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/f03b40b7030f389209cab669afcde20e_54404137.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/e74a4ddf754454a519cdebcb80a77f50_22496063.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/97bb7563ee6adfa842bdb20e61c7f03d_71858023.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/077c4741db078954a9d2680fcd064f6b_52573737.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/b6a521af6ba3f87265640eee45bff841_39052637.png change filename to text .imagette221520621744916584/ imagette221520621744916584/1744915152_3271929_1350832017_58438b16f4cc791a5b068c7061855e6b_rle_crop_3752437930_0.png.png imagette221520621744916584/1744915030_3270761_1350831242_c3bf06ecbc59968b905c3726ac00211f_rle_crop_3752436103_0.png.png imagette221520621744916584/1744915427_1197755_1350832418_4885a1cec095daa0b3871e6163002f65_rle_crop_3752447089_0.png.png imagette221520621744916584/1744915427_1197755_1350832543_af3d8033e0fa4fc0f899f0b59f7ca4bf_rle_crop_3752446990_0.png.png imagette221520621744916584/1744915152_3271929_1350832017_58438b16f4cc791a5b068c7061855e6b_rle_crop_3752437924_0.png.png imagette221520621744916584/1744915427_1197755_1350832543_af3d8033e0fa4fc0f899f0b59f7ca4bf_rle_crop_3752446989_0.png.png imagette221520621744916584/1744915030_3270761_1350831255_1f66b31d00922e8cceb5c15a9538c195_rle_crop_3752436093_0.png.png imagette221520621744916584/1744915212_3272611_1350831306_e3d867496af25da9238edcfc28d7666a_rle_crop_3752438648_0.png.png imagette221520621744916584/1744915389_3274893_1350832650_e8745dacc546029ff3a80d43b264b924_rle_crop_3752447642_0.png.png imagette221520621744916584/1744915427_1197755_1350832418_4885a1cec095daa0b3871e6163002f65_rle_crop_3752447090_0.png.png imagette221520621744916584/1744914944_1183546_1350830167_2d4791c14248216750ec8dd7cc92a16d_rle_crop_3752428176_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/25a1b05c4686968b1d77fd11bed72a57_16181283.png imagette221520621744916584 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22151992 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22152066,22152068,22152069,22152070,22152071,22152072,22152073,22152074,22152075,22152076,22152077,22152078?tags=autre_refus,kraft,Teint_Dans_La_Masse,metal,flou,plastique,mal_croppe,papier,Carton_gris,Carton_brun,environnement,cartonnette your option no_mail is active, we will not send the real mail to your client args[1350838590] : ('0.04713630305415385',) no score found for photo 1350838590 We are sending mail with results at report@fotonower.com refus_total : 0.04713630305415385 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=22151992 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_P22151992_17-04-2025_21_03_00.pdf results_Auto_P22151992_17-04-2025_21_03_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22151992_17-04-2025_21_03_00.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','22151992','results_Auto_P22151992_17-04-2025_21_03_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22151992_17-04-2025_21_03_00.pdf','pdf','','0.24','0.04713630305415385') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22151992]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1350838590] map_info['map_portfolio_photo'] : {22151992: [1350838590, 1350832650, 1350832648, 1350832597, 1350832593, 1350832590, 1350832543, 1350832541, 1350832539, 1350832537, 1350832530, 1350832479, 1350832476, 1350832455, 1350832435, 1350832430, 1350832418, 1350832038, 1350832017, 1350832015, 1350831820, 1350831772, 1350831726, 1350831694, 1350831331, 1350831326, 1350831319, 1350831308, 1350831306, 1350831264, 1350831260, 1350831255, 1350831242, 1350831075, 1350830962, 1350830898, 1350830870, 1350830850, 1350830847, 1350830467, 1350830444, 1350830415, 1350830378, 1350830343, 1350830248, 1350830245, 1350830242, 1350830240, 1350830180, 1350830167, 1350830155, 1350830147]} final : False mtd_id 4302 list_pids : [1350838590] 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, '2732486') ('4302', '22151992', '1350838590', None, None, None, None, None, '2732486') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 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', '22151992', '1350838590', None, None, None, None, None, '2732486')] time used for this insertion : 0.014130830764770508 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.182325601577759 time spend to save output : 0.014362096786499023 total time spend for step 4 : 6.196687698364258 step5:split_time_score Thu Apr 17 21:03:06 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['22151992'] 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 : [('22151992',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22151992) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1350838590: {'path': 'temp/1744916580_2519713_1350838590_bc1cc3e76bfa6641095000e79c6f538b.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 = 22151992; (('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 = 22151992 group by h (('20', 52),) 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=22151992 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 (22151992) 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 (22151992) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17042025 22151992 Nombre de photos uploadées : 52 / 23040 (0%) 17042025 22151992 Nombre de photos taguées (types de déchets): 0 / 52 (0%) 17042025 22151992 Nombre de photos taguées (volume) : 0 / 52 (0%) [{'photo_id': 1350830180, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/8cb76b3ea9170372be7a27236299a220.jpg', 'username': None, 'uploaded_at': 1744914668, 'text': 'image_17042025_20_30_04_010153m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1350830167, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/2d4791c14248216750ec8dd7cc92a16d.jpg', 'username': None, 'uploaded_at': 1744914668, 'text': 'image_17042025_20_30_14_010141m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1350830155, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/2c61c3c3daf69ae1e3ed81407329bc71.jpg', 'username': None, 'uploaded_at': 1744914668, 'text': 'image_17042025_20_30_33_010134m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1350830147, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/4a3db61051ec6b4aa4dbb5039ec59cd7.jpg', 'username': None, 'uploaded_at': 1744914668, 'text': 'image_17042025_20_30_43_010138m0.jpg 4e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.9604644775390625e-06 ???????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0025177001953125 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22151992, '2025-04-17' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1721208,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.028412342071533203 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= 1721208 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1721208, 'dashboard_run_id': 1732136, 'mtr_portfolio_id': 22151606, 'dashboard_result_id': 9948789, '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_P22151606_17-04-2025_20_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22151608, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22151609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22151610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22151611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22151612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22151613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22151614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22151615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22151616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22151617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22151618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22151619, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1732136, 'mtr_portfolio_id': 22151992, 'dashboard_result_id': 9948790, '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_P22151992_17-04-2025_20_43_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22152053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22152054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22152055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22152056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22152057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22152058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22152059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22152060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22152061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22152062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22152063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22152065, '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 = 22151606 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': 2732439, 'mtr_portfolio_id': 22151606, 'created_at': datetime.datetime(2025, 4, 17, 20, 32, 57), 'result': '0.05243456456753769', 'result_long': None, 'result_double': None}] Qualite : 0.05243456456753769 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22151606 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22151606_17-04-2025_20_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22151606 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_P22151606_17-04-2025_20_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22151608, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22151609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22151610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22151611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22151612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22151613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22151614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22151615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22151616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22151617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22151618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22151619, 'pht': 3726}}" where mtr_portfolio_id = 22151606 and dashboard_run_id = 1732136 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`=22151606 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9948789, 0.05243456456753769, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22151606_17-04-2025_20_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22151608, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22151609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22151610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22151611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22151612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22151613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22151614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22151615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22151616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22151617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22151618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22151619, '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 = 22151992 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': 2732486, 'mtr_portfolio_id': 22151992, 'created_at': datetime.datetime(2025, 4, 17, 21, 3), 'result': '0.04713630305415385', 'result_long': None, 'result_double': None}] Qualite : 0.04713630305415385 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22151992 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22151992_17-04-2025_21_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22151992 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_P22151992_17-04-2025_21_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22152053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22152054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22152055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22152056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22152057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22152058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22152059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22152060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22152061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22152062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22152063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22152065, 'pht': 3726}}" where mtr_portfolio_id = 22151992 and dashboard_run_id = 1732136 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`=22151992 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9948790, 0.04713630305415385, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22151992_17-04-2025_21_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22152053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22152054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22152055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22152056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22152057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22152058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22152059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22152060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22152061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22152062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22152063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22152065, '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 (22151606,22151992) result : ((1350826861,), (1350827329,), (1350827363,), (1350827369,), (1350827503,), (1350827511,), (1350827522,), (1350828132,), (1350828136,), (1350828141,), (1350828146,), (1350828159,), (1350828175,), (1350828479,), (1350828508,), (1350828578,), (1350828627,), (1350828630,), (1350828636,), (1350828844,), (1350828848,), (1350828852,), (1350829161,), (1350829191,), (1350829225,), (1350829249,), (1350829296,), (1350829300,), (1350829305,), (1350829311,), (1350829323,), (1350829369,), (1350829374,), (1350829375,), (1350829377,), (1350829441,), (1350829459,), (1350829468,), (1350829473,), (1350829484,), (1350829487,), (1350829590,), (1350829592,), (1350829594,), (1350829901,), (1350829904,), (1350829910,), (1350829915,), (1350829961,), (1350829965,), (1350829969,), (1350829974,), (1350829978,), (1350829984,), (1350830017,), (1350830020,), (1350830022,), (1350830026,), (1350830089,), (1350830098,), (1350830100,), (1350830103,), (1350830105,), (1350830185,), (1350830147,), (1350830155,), (1350830167,), (1350830180,), (1350830240,), (1350830242,), (1350830245,), (1350830248,), (1350830343,), (1350830378,), (1350830415,), (1350830444,), (1350830467,), (1350830847,), (1350830850,), (1350830870,), (1350830898,), (1350830962,), (1350831075,), (1350831242,), (1350831255,), (1350831260,), (1350831264,), (1350831306,), (1350831308,), (1350831319,), (1350831326,), (1350831331,), (1350831694,), (1350831726,), (1350831772,), (1350831820,), (1350832015,), (1350832017,), (1350832038,), (1350832418,), (1350832430,), (1350832435,), (1350832455,), (1350832476,), (1350832479,), (1350832530,), (1350832537,), (1350832539,), (1350832541,), (1350832543,), (1350832590,), (1350832593,), (1350832597,), (1350832648,), (1350832650,), (1350838590,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17042025': {'nb_upload': 52, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22151992]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1350838590] map_info['map_portfolio_photo'] : {22151992: [1350838590, 1350832650, 1350832648, 1350832597, 1350832593, 1350832590, 1350832543, 1350832541, 1350832539, 1350832537, 1350832530, 1350832479, 1350832476, 1350832455, 1350832435, 1350832430, 1350832418, 1350832038, 1350832017, 1350832015, 1350831820, 1350831772, 1350831726, 1350831694, 1350831331, 1350831326, 1350831319, 1350831308, 1350831306, 1350831264, 1350831260, 1350831255, 1350831242, 1350831075, 1350830962, 1350830898, 1350830870, 1350830850, 1350830847, 1350830467, 1350830444, 1350830415, 1350830378, 1350830343, 1350830248, 1350830245, 1350830242, 1350830240, 1350830180, 1350830167, 1350830155, 1350830147]} final : True mtd_id 4302 list_pids : [1350838590] Looping around the photos to save general results len do output : 1 /22151992Didn'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, '2732486') ('4302', '22151992', '1350838590', None, None, None, None, None, '2732486') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 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, '22151992', 'None', None, None, None, None, '2732486'), ('4302', '22151992', '1350838590', None, None, None, None, None, '2732486')] time used for this insertion : 0.014763116836547852 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.24284076690673828 time spend to save output : 0.014978885650634766 total time spend for step 5 : 0.25781965255737305 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 (2732486) 2.03user 2.43system 0:10.95elapsed 40%CPU (0avgtext+0avgdata 155092maxresident)k 3800inputs+10768outputs (77major+61785minor)pagefaults 0swaps