insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21805513 , 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=21805405 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 (21805513) result : ((1347951674,), (1347953557,), (1347953560,), (1347955164,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21805405) result : ((1347948121,), (1347948210,), (1347949137,), (1347949259,), (1347949352,), (1347949670,), (1347950147,), (1347950233,), (1347950320,), (1347950397,), (1347951079,), (1347951149,), (1347951208,), (1347951242,), (1347951277,), (1347951301,), (1347951715,), (1347951826,), (1347951886,), (1347953234,), (1347953574,), (1347953633,), (1347953676,), (1347953727,), (1347953781,), (1347953819,), (1347954006,), (1347954033,), (1347954049,), (1347954066,), (1347954102,), (1347954411,), (1347954465,), (1347954516,), (1347954638,), (1347954704,), (1347955070,), (1347955101,), (1347955124,), (1347955133,), (1347955174,), (1347955180,), (1347955184,), (1347955188,), (1347955207,), (1347955251,)) 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 21805514 , 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=21805405 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='kraft' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21805514) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21805405) result : ((1347948121,), (1347948210,), (1347949137,), (1347949259,), (1347949352,), (1347949670,), (1347950147,), (1347950233,), (1347950320,), (1347950397,), (1347951079,), (1347951149,), (1347951208,), (1347951242,), (1347951277,), (1347951301,), (1347951715,), (1347951826,), (1347951886,), (1347953234,), (1347953574,), (1347953633,), (1347953676,), (1347953727,), (1347953781,), (1347953819,), (1347954006,), (1347954033,), (1347954049,), (1347954066,), (1347954102,), (1347954411,), (1347954465,), (1347954516,), (1347954638,), (1347954704,), (1347955070,), (1347955101,), (1347955124,), (1347955133,), (1347955174,), (1347955180,), (1347955184,), (1347955188,), (1347955207,), (1347955251,)) 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 21805515 , 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=21805405 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 (21805515) result : ((1347953515,), (1347953597,), (1347954370,), (1347954372,), (1347955156,), (1347955176,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21805405) result : ((1347948121,), (1347948210,), (1347949137,), (1347949259,), (1347949352,), (1347949670,), (1347950147,), (1347950233,), (1347950320,), (1347950397,), (1347951079,), (1347951149,), (1347951208,), (1347951242,), (1347951277,), (1347951301,), (1347951715,), (1347951826,), (1347951886,), (1347953234,), (1347953574,), (1347953633,), (1347953676,), (1347953727,), (1347953781,), (1347953819,), (1347954006,), (1347954033,), (1347954049,), (1347954066,), (1347954102,), (1347954411,), (1347954465,), (1347954516,), (1347954638,), (1347954704,), (1347955070,), (1347955101,), (1347955124,), (1347955133,), (1347955174,), (1347955180,), (1347955184,), (1347955188,), (1347955207,), (1347955251,)) 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 21805516 , 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=21805405 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 (21805516) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21805405) result : ((1347948121,), (1347948210,), (1347949137,), (1347949259,), (1347949352,), (1347949670,), (1347950147,), (1347950233,), (1347950320,), (1347950397,), (1347951079,), (1347951149,), (1347951208,), (1347951242,), (1347951277,), (1347951301,), (1347951715,), (1347951826,), (1347951886,), (1347953234,), (1347953574,), (1347953633,), (1347953676,), (1347953727,), (1347953781,), (1347953819,), (1347954006,), (1347954033,), (1347954049,), (1347954066,), (1347954102,), (1347954411,), (1347954465,), (1347954516,), (1347954638,), (1347954704,), (1347955070,), (1347955101,), (1347955124,), (1347955133,), (1347955174,), (1347955180,), (1347955184,), (1347955188,), (1347955207,), (1347955251,)) 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 21805517 , 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=21805405 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='autre_refus' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21805517) result : ((1347953506,), (1347955175,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21805405) result : ((1347948121,), (1347948210,), (1347949137,), (1347949259,), (1347949352,), (1347949670,), (1347950147,), (1347950233,), (1347950320,), (1347950397,), (1347951079,), (1347951149,), (1347951208,), (1347951242,), (1347951277,), (1347951301,), (1347951715,), (1347951826,), (1347951886,), (1347953234,), (1347953574,), (1347953633,), (1347953676,), (1347953727,), (1347953781,), (1347953819,), (1347954006,), (1347954033,), (1347954049,), (1347954066,), (1347954102,), (1347954411,), (1347954465,), (1347954516,), (1347954638,), (1347954704,), (1347955070,), (1347955101,), (1347955124,), (1347955133,), (1347955174,), (1347955180,), (1347955184,), (1347955188,), (1347955207,), (1347955251,)) 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 21805518 , 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=21805405 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Teint_Dans_La_Masse' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21805518) result : ((1347951615,), (1347951617,), (1347951618,), (1347953497,), (1347953499,), (1347953585,), (1347953586,), (1347955154,), (1347955155,), (1347955168,), (1347955169,), (1347955170,), (1347955171,), (1347955172,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21805405) result : ((1347948121,), (1347948210,), (1347949137,), (1347949259,), (1347949352,), (1347949670,), (1347950147,), (1347950233,), (1347950320,), (1347950397,), (1347951079,), (1347951149,), (1347951208,), (1347951242,), (1347951277,), (1347951301,), (1347951715,), (1347951826,), (1347951886,), (1347953234,), (1347953574,), (1347953633,), (1347953676,), (1347953727,), (1347953781,), (1347953819,), (1347954006,), (1347954033,), (1347954049,), (1347954066,), (1347954102,), (1347954411,), (1347954465,), (1347954516,), (1347954638,), (1347954704,), (1347955070,), (1347955101,), (1347955124,), (1347955133,), (1347955174,), (1347955180,), (1347955184,), (1347955188,), (1347955207,), (1347955251,)) 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 21805519 , 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=21805405 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 (21805519) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21805405) result : ((1347948121,), (1347948210,), (1347949137,), (1347949259,), (1347949352,), (1347949670,), (1347950147,), (1347950233,), (1347950320,), (1347950397,), (1347951079,), (1347951149,), (1347951208,), (1347951242,), (1347951277,), (1347951301,), (1347951715,), (1347951826,), (1347951886,), (1347953234,), (1347953574,), (1347953633,), (1347953676,), (1347953727,), (1347953781,), (1347953819,), (1347954006,), (1347954033,), (1347954049,), (1347954066,), (1347954102,), (1347954411,), (1347954465,), (1347954516,), (1347954638,), (1347954704,), (1347955070,), (1347955101,), (1347955124,), (1347955133,), (1347955174,), (1347955180,), (1347955184,), (1347955188,), (1347955207,), (1347955251,)) 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 21805520 , 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=21805405 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='metal' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21805520) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21805405) result : ((1347948121,), (1347948210,), (1347949137,), (1347949259,), (1347949352,), (1347949670,), (1347950147,), (1347950233,), (1347950320,), (1347950397,), (1347951079,), (1347951149,), (1347951208,), (1347951242,), (1347951277,), (1347951301,), (1347951715,), (1347951826,), (1347951886,), (1347953234,), (1347953574,), (1347953633,), (1347953676,), (1347953727,), (1347953781,), (1347953819,), (1347954006,), (1347954033,), (1347954049,), (1347954066,), (1347954102,), (1347954411,), (1347954465,), (1347954516,), (1347954638,), (1347954704,), (1347955070,), (1347955101,), (1347955124,), (1347955133,), (1347955174,), (1347955180,), (1347955184,), (1347955188,), (1347955207,), (1347955251,)) 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`=21805405 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','autre_refus','flou','cartonnette','environnement','mal_croppe','plastique','kraft','Carton_brun','Teint_Dans_La_Masse','metal')) 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`=21805405 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','autre_refus','flou','cartonnette','environnement','mal_croppe','plastique','kraft','Carton_brun','Teint_Dans_La_Masse','metal')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 21805405, 'sub_port_id': 21805521, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14324719, 'last_updated_at': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 18, 7, 1)}, 'mal_croppe': {'main_port_id': 21805405, 'sub_port_id': 21805522, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14324720, 'last_updated_at': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 18, 7, 1)}, 'flou': {'main_port_id': 21805405, 'sub_port_id': 21805523, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14324721, 'last_updated_at': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 18, 7, 1)}, 'cartonnette': {'main_port_id': 21805405, 'sub_port_id': 21805524, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14324722, 'last_updated_at': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 18, 7, 1)}, 'plastique': {'main_port_id': 21805405, 'sub_port_id': 21805525, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14324723, 'last_updated_at': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 18, 7, 1)}, 'kraft': {'main_port_id': 21805405, 'sub_port_id': 21805526, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14324724, 'last_updated_at': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 18, 7, 1)}, 'Carton_gris': {'main_port_id': 21805405, 'sub_port_id': 21805527, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14324725, 'last_updated_at': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 18, 7, 1)}, 'environnement': {'main_port_id': 21805405, 'sub_port_id': 21805528, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14324726, 'last_updated_at': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 18, 7, 1)}, 'autre_refus': {'main_port_id': 21805405, 'sub_port_id': 21805529, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14324727, 'last_updated_at': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 18, 7, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 21805405, 'sub_port_id': 21805530, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14324728, 'last_updated_at': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 18, 7, 1)}, 'papier': {'main_port_id': 21805405, 'sub_port_id': 21805531, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14324729, 'last_updated_at': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 18, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 18, 7, 1)}, 'metal': {'main_port_id': 21805405, 'sub_port_id': 21805532, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14324730, 'last_updated_at': datetime.datetime(2025, 3, 27, 18, 12), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 18, 12), 'last_updated_at_asc': datetime.datetime(2025, 3, 27, 18, 7, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21805521,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21805509 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21805522,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21805510 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21805523,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21805511 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21805524,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21805512 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21805525,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21805513 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21805526,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21805514 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21805527,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21805515 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21805528,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21805516 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21805529,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21805517 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21805530,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21805518 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21805531,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21805519 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21805532,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21805520 lien utilise dans velours : https://www.fotonower.com/velours/21805521,21805522,21805523,21805524,21805525,21805526,21805527,21805528,21805529,21805530,21805531,21805532?tags=Carton_brun,mal_croppe,flou,cartonnette,plastique,kraft,Carton_gris,environnement,autre_refus,Teint_Dans_La_Masse,papier,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21805405]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1347955251, 1347955207, 1347955188, 1347955184, 1347955180, 1347955174, 1347955133, 1347955124, 1347955101, 1347955070, 1347954704, 1347954638, 1347954516, 1347954465, 1347954411] map_info['map_portfolio_photo'] : {21805405: [1347955251, 1347955207, 1347955188, 1347955184, 1347955180, 1347955174, 1347955133, 1347955124, 1347955101, 1347955070, 1347954704, 1347954638, 1347954516, 1347954465, 1347954411, 1347954102, 1347954066, 1347954049, 1347954033, 1347954006, 1347953819, 1347953781, 1347953727, 1347953676, 1347953633, 1347953574, 1347953234, 1347951886, 1347951826, 1347951715, 1347951301, 1347951277, 1347951242, 1347951208, 1347951149, 1347951079, 1347950397, 1347950320, 1347950233, 1347950147, 1347949670, 1347949352, 1347949259, 1347949137, 1347948210, 1347948121]} final : False mtd_id 4302 list_pids : [1347955251, 1347955207, 1347955188, 1347955184, 1347955180, 1347955174, 1347955133, 1347955124, 1347955101, 1347955070, 1347954704, 1347954638, 1347954516, 1347954465, 1347954411] Looping around the photos to save general results len do output : 1 /21805405. 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, '2698586') ('4302', '21805405', '1347955251', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955207', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955188', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955184', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955180', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955174', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955133', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955124', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955101', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955070', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954704', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954638', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954516', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954465', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954411', None, None, None, None, None, '2698586') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 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, '21805405', "{'Carton_brun': 21805509, 'mal_croppe': 21805510, 'flou': 21805511, 'cartonnette': 21805512, 'plastique': 21805513, 'kraft': 21805514, 'Carton_gris': 21805515, 'environnement': 21805516, 'autre_refus': 21805517, 'Teint_Dans_La_Masse': 21805518, 'papier': 21805519, 'metal': 21805520}", None, None, None, None, '2698586'), ('4302', '21805405', '1347955251', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955207', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955188', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955184', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955180', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955174', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955133', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955124', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955101', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955070', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347954704', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347954638', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347954516', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347954465', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347954411', None, None, None, None, None, '2698586')] time used for this insertion : 0.01935720443725586 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.75100302696228 time spend to save output : 0.019661903381347656 total time spend for step 1 : 4.770664930343628 step2:final Thu Mar 27 18:15:02 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 (21805405) 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 21805405 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1347948210,1347948121,1347949670,1347949352,1347949259,1347949137,1347950397,1347950320,1347950233,1347950147,1347951301,1347951277,1347951242,1347951208,1347951149,1347951079,1347951886,1347951826,1347951715,1347953234,1347953819,1347953781,1347953727,1347953676,1347953633,1347953574,1347954102,1347954066,1347954049,1347954033,1347954006,1347954704,1347954638,1347954516,1347954465,1347954411,1347955133,1347955124,1347955101,1347955070,1347955251,1347955207,1347955188,1347955184,1347955180,1347955174); 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([21805405]) Inside saveOutput : final : False verbose : True original output for save of step final : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ('0.04878728376753723',)} new output for save of step final : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ('0.04878728376753723',)} [1347955251, 1347955207, 1347955188, 1347955184, 1347955180, 1347955174, 1347955133, 1347955124, 1347955101, 1347955070, 1347954704, 1347954638, 1347954516, 1347954465, 1347954411] map_info['map_portfolio_photo'] : {21805405: [1347955251, 1347955207, 1347955188, 1347955184, 1347955180, 1347955174, 1347955133, 1347955124, 1347955101, 1347955070, 1347954704, 1347954638, 1347954516, 1347954465, 1347954411, 1347954102, 1347954066, 1347954049, 1347954033, 1347954006, 1347953819, 1347953781, 1347953727, 1347953676, 1347953633, 1347953574, 1347953234, 1347951886, 1347951826, 1347951715, 1347951301, 1347951277, 1347951242, 1347951208, 1347951149, 1347951079, 1347950397, 1347950320, 1347950233, 1347950147, 1347949670, 1347949352, 1347949259, 1347949137, 1347948210, 1347948121]} final : False mtd_id 4302 list_pids : [1347955251, 1347955207, 1347955188, 1347955184, 1347955180, 1347955174, 1347955133, 1347955124, 1347955101, 1347955070, 1347954704, 1347954638, 1347954516, 1347954465, 1347954411] Looping around the photos to save general results len do output : 15 /1347955251.Didn't retrieve data . /1347955207.Didn't retrieve data . /1347955188.Didn't retrieve data . /1347955184.Didn't retrieve data . /1347955180.Didn't retrieve data . /1347955174.Didn't retrieve data . /1347955133.Didn't retrieve data . /1347955124.Didn't retrieve data . /1347955101.Didn't retrieve data . /1347955070.Didn't retrieve data . /1347954704.Didn't retrieve data . /1347954638.Didn't retrieve data . /1347954516.Didn't retrieve data . /1347954465.Didn't retrieve data . /1347954411.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, '2698586') ('4302', '21805405', '1347955251', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955207', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955188', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955184', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955180', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955174', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955133', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955124', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955101', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955070', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954704', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954638', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954516', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954465', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954411', None, None, None, None, None, '2698586') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 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', '21805405', '1347955251', '0.04878728376753723', None, None, None, None, '2698586'), ('4302', '21805405', '1347955207', '0.04878728376753723', None, None, None, None, '2698586'), ('4302', '21805405', '1347955188', '0.04878728376753723', None, None, None, None, '2698586'), ('4302', '21805405', '1347955184', '0.04878728376753723', None, None, None, None, '2698586'), ('4302', '21805405', '1347955180', '0.04878728376753723', None, None, None, None, '2698586'), ('4302', '21805405', '1347955174', '0.04878728376753723', None, None, None, None, '2698586'), ('4302', '21805405', '1347955133', '0.04878728376753723', None, None, None, None, '2698586'), ('4302', '21805405', '1347955124', '0.04878728376753723', None, None, None, None, '2698586'), ('4302', '21805405', '1347955101', '0.04878728376753723', None, None, None, None, '2698586'), ('4302', '21805405', '1347955070', '0.04878728376753723', None, None, None, None, '2698586'), ('4302', '21805405', '1347954704', '0.04878728376753723', None, None, None, None, '2698586'), ('4302', '21805405', '1347954638', '0.04878728376753723', None, None, None, None, '2698586'), ('4302', '21805405', '1347954516', '0.04878728376753723', None, None, None, None, '2698586'), ('4302', '21805405', '1347954465', '0.04878728376753723', None, None, None, None, '2698586'), ('4302', '21805405', '1347954411', '0.04878728376753723', None, None, None, None, '2698586')] time used for this insertion : 0.0173032283782959 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06811857223510742 time spend to save output : 0.018083572387695312 total time spend for step 2 : 0.08620214462280273 step3:velours_tree Thu Mar 27 18:15:02 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 : {21805405: [{'Carton_brun': 21805509, 'mal_croppe': 21805510, 'flou': 21805511, 'cartonnette': 21805512, 'plastique': 21805513, 'kraft': 21805514, 'Carton_gris': 21805515, 'environnement': 21805516, 'autre_refus': 21805517, 'Teint_Dans_La_Masse': 21805518, 'papier': 21805519, 'metal': 21805520}]} input_args_next_step : {21805405: ()} output_args : {21805405: [{'Carton_brun': 21805509, 'mal_croppe': 21805510, 'flou': 21805511, 'cartonnette': 21805512, 'plastique': 21805513, 'kraft': 21805514, 'Carton_gris': 21805515, 'environnement': 21805516, 'autre_refus': 21805517, 'Teint_Dans_La_Masse': 21805518, 'papier': 21805519, 'metal': 21805520}]} args : 21805405 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 21805509, 'mal_croppe': 21805510, 'flou': 21805511, 'cartonnette': 21805512, 'plastique': 21805513, 'kraft': 21805514, 'Carton_gris': 21805515, 'environnement': 21805516, 'autre_refus': 21805517, 'Teint_Dans_La_Masse': 21805518, 'papier': 21805519, 'metal': 21805520},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21805405) 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([21805405]) 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.3039994239807129 time spend to save output : 6.318092346191406e-05 total time spend for step 3 : 0.3040626049041748 step4:send_mail_cod Thu Mar 27 18:15:02 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 : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ('0.04878728376753723',)} input_args_next_step : {1347955251: ()} output_args : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ('0.04878728376753723',)} args : 1347955251 depend.output_id : 0 input_args_next_step : {1347955251: ('0.04878728376753723',), 1347955207: ()} output_args : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ('0.04878728376753723',)} args : 1347955207 depend.output_id : 0 input_args_next_step : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ()} output_args : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ('0.04878728376753723',)} args : 1347955188 depend.output_id : 0 input_args_next_step : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ()} output_args : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ('0.04878728376753723',)} args : 1347955184 depend.output_id : 0 input_args_next_step : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ()} output_args : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ('0.04878728376753723',)} args : 1347955180 depend.output_id : 0 input_args_next_step : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ()} output_args : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ('0.04878728376753723',)} args : 1347955174 depend.output_id : 0 input_args_next_step : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ()} output_args : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ('0.04878728376753723',)} args : 1347955133 depend.output_id : 0 input_args_next_step : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ()} output_args : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ('0.04878728376753723',)} args : 1347955124 depend.output_id : 0 input_args_next_step : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ()} output_args : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ('0.04878728376753723',)} args : 1347955101 depend.output_id : 0 input_args_next_step : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ()} output_args : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ('0.04878728376753723',)} args : 1347955070 depend.output_id : 0 input_args_next_step : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ()} output_args : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ('0.04878728376753723',)} args : 1347954704 depend.output_id : 0 input_args_next_step : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ()} output_args : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ('0.04878728376753723',)} args : 1347954638 depend.output_id : 0 input_args_next_step : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ()} output_args : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ('0.04878728376753723',)} args : 1347954516 depend.output_id : 0 input_args_next_step : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ()} output_args : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ('0.04878728376753723',)} args : 1347954465 depend.output_id : 0 input_args_next_step : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ()} output_args : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ('0.04878728376753723',)} args : 1347954411 depend.output_id : 0 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 : {21805405: [{'Carton_brun': 21805509, 'mal_croppe': 21805510, 'flou': 21805511, 'cartonnette': 21805512, 'plastique': 21805513, 'kraft': 21805514, 'Carton_gris': 21805515, 'environnement': 21805516, 'autre_refus': 21805517, 'Teint_Dans_La_Masse': 21805518, 'papier': 21805519, 'metal': 21805520}]} input_args_next_step : {1347955251: ('0.04878728376753723',), 1347955207: ('0.04878728376753723',), 1347955188: ('0.04878728376753723',), 1347955184: ('0.04878728376753723',), 1347955180: ('0.04878728376753723',), 1347955174: ('0.04878728376753723',), 1347955133: ('0.04878728376753723',), 1347955124: ('0.04878728376753723',), 1347955101: ('0.04878728376753723',), 1347955070: ('0.04878728376753723',), 1347954704: ('0.04878728376753723',), 1347954638: ('0.04878728376753723',), 1347954516: ('0.04878728376753723',), 1347954465: ('0.04878728376753723',), 1347954411: ('0.04878728376753723',), 21805405: ()} output_args : {21805405: [{'Carton_brun': 21805509, 'mal_croppe': 21805510, 'flou': 21805511, 'cartonnette': 21805512, 'plastique': 21805513, 'kraft': 21805514, 'Carton_gris': 21805515, 'environnement': 21805516, 'autre_refus': 21805517, 'Teint_Dans_La_Masse': 21805518, 'papier': 21805519, 'metal': 21805520}]} args : 21805405 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 :16, first value : ('0.04878728376753723',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21805405) 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 (1347955251,1347955207,1347955188,1347955184,1347955180,1347955174,1347955133,1347955124,1347955101,1347955070,1347954704,1347954638,1347954516,1347954465,1347954411) Found this number of photos: 15 ##### Call download_photos : nb_thread : 5 begin to download photo : 1347954411 begin to download photo : 1347954704 begin to download photo : 1347955133 begin to download photo : 1347955188 download finish for photo 1347955133 begin to download photo : 1347955174 download finish for photo 1347954411 begin to download photo : 1347954465 download finish for photo 1347954704 begin to download photo : 1347955070 download finish for photo 1347955188 begin to download photo : 1347955207 download finish for photo 1347955174 begin to download photo : 1347955180 download finish for photo 1347955070 begin to download photo : 1347955101 download finish for photo 1347955207 begin to download photo : 1347955251 download finish for photo 1347955180 begin to download photo : 1347955184 download finish for photo 1347954465 begin to download photo : 1347954516 download finish for photo 1347955101 begin to download photo : 1347955124 download finish for photo 1347955184 download finish for photo 1347954516 begin to download photo : 1347954638 download finish for photo 1347955251 download finish for photo 1347955124 download finish for photo 1347954638 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette218055101743095703/ imagette218055111743095703/ length of list_filenames : 15 ; length of list_pids : 15 ; length of list_args : 15 results_Auto_P21805405_27-03-2025_18_15_03.pdf 21805510 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=21805510 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette218055101743095703 21805511 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=21805511 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette218055111743095703 21805512 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=21805512 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347953525: '1743095309_65623_1347951886_924f3f7250cfb2a527ff22ec088f12a2_rle_crop_3734298767_0.png', 1347954392: '1743095393_3988747_1347950233_18b8e37099bf4c70b986bf0b79579840_rle_crop_3734299963_0.png', 1347954393: '1743095393_3988747_1347950233_18b8e37099bf4c70b986bf0b79579840_rle_crop_3734299962_0.png', 1347954394: '1743095393_3988747_1347950147_e22eddf7e2b7e91e56589efb182a54fd_rle_crop_3734300535_0.png', 1347955158: '1743095548_70031_1347953633_932d40cfdd853b2f36ae1b604f235ae3_rle_crop_3734306718_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/f663811634572443a293e57474b4a16f_61084603.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/6aca6a182427bbf0bcdaf7510d5f11d3_51311215.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/bfd5b8b44781aac7321a307d3b04c8c7_55375516.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/6904620512f4b040342e016d4702a72f_92632178.png change filename to text .imagette218055121743095703/ imagette218055121743095703/1743095393_3988747_1347950233_18b8e37099bf4c70b986bf0b79579840_rle_crop_3734299962_0.png.png imagette218055121743095703/1743095548_70031_1347953633_932d40cfdd853b2f36ae1b604f235ae3_rle_crop_3734306718_0.png.png imagette218055121743095703/1743095309_65623_1347951886_924f3f7250cfb2a527ff22ec088f12a2_rle_crop_3734298767_0.png.png imagette218055121743095703/1743095393_3988747_1347950233_18b8e37099bf4c70b986bf0b79579840_rle_crop_3734299963_0.png.png imagette218055121743095703/1743095393_3988747_1347950147_e22eddf7e2b7e91e56589efb182a54fd_rle_crop_3734300535_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/9f384ff1b5a276ef19f7b815e4b5e383_34454078.png imagette218055121743095703 21805513 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=21805513 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347951674: '1743095133_3979614_1347949352_b3db7623cd92e675abb26bddc6505b8c_rle_crop_3734294118_0.png', 1347953557: '1743095309_65623_1347951277_f8d37756ac0f721e91d6e75328f84c38_rle_crop_3734298789_0.png', 1347953560: '1743095309_65623_1347951149_57b386af8ca75bc0bdf479dae29894e8_rle_crop_3734298912_0.png', 1347955164: '1743095548_70031_1347953781_c57586028aa38a240e5b23d1635a19f3_rle_crop_3734306685_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/b3a999b5768c7651bb2e35ac7475b553_712510.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/e57551630df09a985f1784cc474fdfea_49272510.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/f7548cf35c6672cd5701278c375f5f0a_59987153.png change filename to text .imagette218055131743095703/ imagette218055131743095703/1743095309_65623_1347951277_f8d37756ac0f721e91d6e75328f84c38_rle_crop_3734298789_0.png.png imagette218055131743095703/1743095548_70031_1347953781_c57586028aa38a240e5b23d1635a19f3_rle_crop_3734306685_0.png.png imagette218055131743095703/1743095309_65623_1347951149_57b386af8ca75bc0bdf479dae29894e8_rle_crop_3734298912_0.png.png imagette218055131743095703/1743095133_3979614_1347949352_b3db7623cd92e675abb26bddc6505b8c_rle_crop_3734294118_0.png.png imagette218055141743095703/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/2a773ccde48175fb866e619944c503f6_15776430.png imagette218055131743095703 21805514 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=21805514 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette218055141743095703 21805517 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=21805517 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347953506: '1743095309_65623_1347951208_8fd60fb4e69891f8537f7ebfd4463d48_rle_crop_3734298892_0.png', 1347955175: '1743095535_3993931_1347954049_218c8f104aea9eca403e52ce626ff3e4_rle_crop_3734307048_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/7e3cbe92c00e72003866e06bbe37de00_59879089.png change filename to text .imagette218055171743095703/ imagette218055171743095703/1743095309_65623_1347951208_8fd60fb4e69891f8537f7ebfd4463d48_rle_crop_3734298892_0.png.png imagette218055171743095703/1743095535_3993931_1347954049_218c8f104aea9eca403e52ce626ff3e4_rle_crop_3734307048_0.png.png imagette218055201743095704/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/b1d509dad41529fe31198177ba236273_64913510.png imagette218055171743095703 21805520 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=21805520 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette218055201743095704 21805509 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=21805509 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347954431: '1743095393_3988747_1347951301_7c5d1d7820fb2c1ff445bb8789d07450_rle_crop_3734299883_0.png', 1347955179: '1743095535_3993931_1347954066_8b71b83db0bbcba8a45ec1d99397e574_rle_crop_3734306889_0.png', 1347955178: '1743095535_3993931_1347954066_8b71b83db0bbcba8a45ec1d99397e574_rle_crop_3734306884_0.png', 1347955162: '1743095548_70031_1347953574_a050d3c9e0acfc4dc3cb9eb70f40b588_rle_crop_3734306735_0.png', 1347955161: '1743095548_70031_1347953781_c57586028aa38a240e5b23d1635a19f3_rle_crop_3734306687_0.png', 1347955160: '1743095548_70031_1347954102_bdf8707b974fa091fdb83d17686a5ecf_rle_crop_3734306668_0.png', 1347955159: '1743095548_70031_1347954102_bdf8707b974fa091fdb83d17686a5ecf_rle_crop_3734306663_0.png', 1347954434: '1743095393_3988747_1347950147_e22eddf7e2b7e91e56589efb182a54fd_rle_crop_3734300540_0.png', 1347954433: '1743095393_3988747_1347950233_18b8e37099bf4c70b986bf0b79579840_rle_crop_3734299971_0.png', 1347951642: '1743095133_3979614_1347949352_b3db7623cd92e675abb26bddc6505b8c_rle_crop_3734294121_0.png', 1347953607: '1743095312_3986528_1347951715_56a7814b74d9fdbe5935bd7636c4ddf9_rle_crop_3734299018_0.png', 1347953542: '1743095309_65623_1347951149_57b386af8ca75bc0bdf479dae29894e8_rle_crop_3734298907_0.png', 1347953540: '1743095309_65623_1347951242_09258b2e3f807be42c2eb3a742be5003_rle_crop_3734298882_0.png', 1347953535: '1743095309_65623_1347951242_09258b2e3f807be42c2eb3a742be5003_rle_crop_3734298874_0.png', 1347953533: '1743095309_65623_1347951277_f8d37756ac0f721e91d6e75328f84c38_rle_crop_3734298782_0.png', 1347953529: '1743095309_65623_1347951277_f8d37756ac0f721e91d6e75328f84c38_rle_crop_3734298788_0.png', 1347951644: '1743095133_3979614_1347949137_4439caec7531aea1636801ef01a721a3_rle_crop_3734294174_0.png', 1347951643: '1743095133_3979614_1347949259_13c3224d4d8ea92d9eaa009323c7c9d1_rle_crop_3734294150_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/ba281931a1bc5a0e64ca546badf70c92_84152028.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/1a0f6fe5e78cd4e3d94242ae0ddac145_11536592.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/01954136c35889422b91763c562dc1ef_21240938.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/fe6e39f25d4c425cdabd8cc99c8c6157_51485140.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/9b64930bb7afd0c67ed133f8471d7328_43452907.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/f91cc706125d34e51e49fc4ca968fc2b_79504403.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/58787d636afec90842c02594e53c06ed_52593323.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/e2a244a1c4811d8e31a94ad1627445e6_70810166.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/f7e67c9fdf82668c6fcc60f4cc7b980c_21139386.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/56feeb9f03a2a9d14fbb43871cde156e_26750002.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/77b07a43661fb4ed0331a3b4cb9012a8_93657173.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/4919f644da920584595781ac5c0e5e1a_8932339.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/aecdc81418c417917d7e7c3f37e9d64d_37321304.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/0e64bd957fe7ce1cd3cbe951b4f04506_76369064.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/2639e4a43ee68dfd97867bd57e39d368_25928514.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/ca8a85542c2243bc5a3d233ca795ce2b_15627358.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/b0da9da9d34ae0d0c7007be595bf0776_4958896.png change filename to text .imagette218055091743095704/ imagette218055091743095704/1743095548_70031_1347953781_c57586028aa38a240e5b23d1635a19f3_rle_crop_3734306687_0.png.png imagette218055091743095704/1743095133_3979614_1347949137_4439caec7531aea1636801ef01a721a3_rle_crop_3734294174_0.png.png imagette218055091743095704/1743095309_65623_1347951242_09258b2e3f807be42c2eb3a742be5003_rle_crop_3734298882_0.png.png imagette218055091743095704/1743095312_3986528_1347951715_56a7814b74d9fdbe5935bd7636c4ddf9_rle_crop_3734299018_0.png.png imagette218055091743095704/1743095133_3979614_1347949259_13c3224d4d8ea92d9eaa009323c7c9d1_rle_crop_3734294150_0.png.png imagette218055091743095704/1743095535_3993931_1347954066_8b71b83db0bbcba8a45ec1d99397e574_rle_crop_3734306884_0.png.png imagette218055091743095704/1743095548_70031_1347954102_bdf8707b974fa091fdb83d17686a5ecf_rle_crop_3734306663_0.png.png imagette218055091743095704/1743095548_70031_1347954102_bdf8707b974fa091fdb83d17686a5ecf_rle_crop_3734306668_0.png.png imagette218055091743095704/1743095393_3988747_1347950233_18b8e37099bf4c70b986bf0b79579840_rle_crop_3734299971_0.png.png imagette218055091743095704/1743095309_65623_1347951277_f8d37756ac0f721e91d6e75328f84c38_rle_crop_3734298788_0.png.png imagette218055091743095704/1743095393_3988747_1347951301_7c5d1d7820fb2c1ff445bb8789d07450_rle_crop_3734299883_0.png.png imagette218055091743095704/1743095133_3979614_1347949352_b3db7623cd92e675abb26bddc6505b8c_rle_crop_3734294121_0.png.png imagette218055091743095704/1743095548_70031_1347953574_a050d3c9e0acfc4dc3cb9eb70f40b588_rle_crop_3734306735_0.png.png imagette218055091743095704/1743095309_65623_1347951277_f8d37756ac0f721e91d6e75328f84c38_rle_crop_3734298782_0.png.png imagette218055091743095704/1743095535_3993931_1347954066_8b71b83db0bbcba8a45ec1d99397e574_rle_crop_3734306889_0.png.png imagette218055091743095704/1743095309_65623_1347951149_57b386af8ca75bc0bdf479dae29894e8_rle_crop_3734298907_0.png.png imagette218055091743095704/1743095393_3988747_1347950147_e22eddf7e2b7e91e56589efb182a54fd_rle_crop_3734300540_0.png.png imagette218055091743095704/1743095309_65623_1347951242_09258b2e3f807be42c2eb3a742be5003_rle_crop_3734298874_0.png.png wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/4b3d0b9dd76906387f37e888b0576d69_92412451.png imagette218055091743095704 21805515 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=21805515 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347953515: '1743095309_65623_1347951242_09258b2e3f807be42c2eb3a742be5003_rle_crop_3734298867_0.png', 1347953597: '1743095312_3986528_1347951715_56a7814b74d9fdbe5935bd7636c4ddf9_rle_crop_3734299016_0.png', 1347954370: '1743095393_3988747_1347950233_18b8e37099bf4c70b986bf0b79579840_rle_crop_3734299965_0.png', 1347954372: '1743095393_3988747_1347950147_e22eddf7e2b7e91e56589efb182a54fd_rle_crop_3734300536_0.png', 1347955156: '1743095548_70031_1347954102_bdf8707b974fa091fdb83d17686a5ecf_rle_crop_3734306654_0.png', 1347955176: '1743095535_3993931_1347954033_374587c5b8e2cf03707d63d59e21b65f_rle_crop_3734307056_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/ada8e11a35ba0df07f3d87c574ffdcfe_21041753.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/9c00c8252cfe579814d4e2b1c99f0306_17176033.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/96dbfa72935c42b67af37fbdb45529ea_5437155.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/34c0c62221071ce98dbb253f0653e809_6045780.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/d4eb270e6d9b84fc38c5918f3dde2f69_21026791.png change filename to text .imagette218055151743095705/ imagette218055151743095705/1743095393_3988747_1347950233_18b8e37099bf4c70b986bf0b79579840_rle_crop_3734299965_0.png.png imagette218055151743095705/1743095548_70031_1347954102_bdf8707b974fa091fdb83d17686a5ecf_rle_crop_3734306654_0.png.png imagette218055151743095705/1743095393_3988747_1347950147_e22eddf7e2b7e91e56589efb182a54fd_rle_crop_3734300536_0.png.png imagette218055151743095705/1743095309_65623_1347951242_09258b2e3f807be42c2eb3a742be5003_rle_crop_3734298867_0.png.png imagette218055151743095705/1743095535_3993931_1347954033_374587c5b8e2cf03707d63d59e21b65f_rle_crop_3734307056_0.png.png imagette218055151743095705/1743095312_3986528_1347951715_56a7814b74d9fdbe5935bd7636c4ddf9_rle_crop_3734299016_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/aa2f1154228496d97effa4a7525f3de4_491311.png imagette218055151743095705 21805518 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=21805518 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347951615: '1743095133_3979614_1347949352_b3db7623cd92e675abb26bddc6505b8c_rle_crop_3734294117_0.png', 1347951617: '1743095133_3979614_1347949352_b3db7623cd92e675abb26bddc6505b8c_rle_crop_3734294115_0.png', 1347951618: '1743095133_3979614_1347949137_4439caec7531aea1636801ef01a721a3_rle_crop_3734294168_0.png', 1347953497: '1743095309_65623_1347951208_8fd60fb4e69891f8537f7ebfd4463d48_rle_crop_3734298897_0.png', 1347953499: '1743095309_65623_1347951149_57b386af8ca75bc0bdf479dae29894e8_rle_crop_3734298908_0.png', 1347953585: '1743095312_3986528_1347951826_b0f55346b12ef00282e35d792010b005_rle_crop_3734299005_0.png', 1347953586: '1743095312_3986528_1347951715_56a7814b74d9fdbe5935bd7636c4ddf9_rle_crop_3734299020_0.png', 1347955154: '1743095548_70031_1347954102_bdf8707b974fa091fdb83d17686a5ecf_rle_crop_3734306660_0.png', 1347955155: '1743095548_70031_1347954102_bdf8707b974fa091fdb83d17686a5ecf_rle_crop_3734306657_0.png', 1347955168: '1743095535_3993931_1347954049_218c8f104aea9eca403e52ce626ff3e4_rle_crop_3734307046_0.png', 1347955169: '1743095535_3993931_1347954049_218c8f104aea9eca403e52ce626ff3e4_rle_crop_3734307044_0.png', 1347955170: '1743095535_3993931_1347954033_374587c5b8e2cf03707d63d59e21b65f_rle_crop_3734307055_0.png', 1347955171: '1743095535_3993931_1347954033_374587c5b8e2cf03707d63d59e21b65f_rle_crop_3734307060_0.png', 1347955172: '1743095535_3993931_1347954006_65dc69270fecd321980af7a8a7629b29_rle_crop_3734307098_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/bab2c04719de05e0c3f75b4fccb5f976_26146548.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/da3943c19c9aaf5ee694b4fa76f5cd12_54179643.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/50f8a8e262e78861b1f57e6fad684162_86123514.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/6a62fadd3c514573ad9ca7acc18db775_3853855.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/edcfbf420a1f20fba027ffdf03370d7b_177205.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/28699a97a8c9283740fd996a3c5b6983_68364523.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/ad9aff70b0576cb5010f31feb7ac01bd_49022989.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/8202720144771d76c932e09ab1333b36_4183193.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/1dba565518a4bbcb86c783c02dcf5fac_41570896.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/ae238c46a0ab4ed07863e1e381aae82f_79869800.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/2721060084ea7aea47fa39899f231d7a_8054917.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/05a3645553b46126fb599dbc987e4168_88131052.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/da29ed05ff9c85ba3b3d45d78e530b61_58057708.png change filename to text .imagette218055181743095705/ imagette218055181743095705/1743095535_3993931_1347954049_218c8f104aea9eca403e52ce626ff3e4_rle_crop_3734307044_0.png.png imagette218055181743095705/1743095535_3993931_1347954049_218c8f104aea9eca403e52ce626ff3e4_rle_crop_3734307046_0.png.png imagette218055181743095705/1743095548_70031_1347954102_bdf8707b974fa091fdb83d17686a5ecf_rle_crop_3734306657_0.png.png imagette218055181743095705/1743095133_3979614_1347949352_b3db7623cd92e675abb26bddc6505b8c_rle_crop_3734294115_0.png.png imagette218055181743095705/1743095535_3993931_1347954006_65dc69270fecd321980af7a8a7629b29_rle_crop_3734307098_0.png.png imagette218055181743095705/1743095133_3979614_1347949137_4439caec7531aea1636801ef01a721a3_rle_crop_3734294168_0.png.png imagette218055181743095705/1743095548_70031_1347954102_bdf8707b974fa091fdb83d17686a5ecf_rle_crop_3734306660_0.png.png imagette218055181743095705/1743095312_3986528_1347951715_56a7814b74d9fdbe5935bd7636c4ddf9_rle_crop_3734299020_0.png.png imagette218055181743095705/1743095133_3979614_1347949352_b3db7623cd92e675abb26bddc6505b8c_rle_crop_3734294117_0.png.png imagette218055181743095705/1743095309_65623_1347951149_57b386af8ca75bc0bdf479dae29894e8_rle_crop_3734298908_0.png.png imagette218055181743095705/1743095535_3993931_1347954033_374587c5b8e2cf03707d63d59e21b65f_rle_crop_3734307060_0.png.png imagette218055181743095705/1743095309_65623_1347951208_8fd60fb4e69891f8537f7ebfd4463d48_rle_crop_3734298897_0.png.png imagette218055181743095705/1743095535_3993931_1347954033_374587c5b8e2cf03707d63d59e21b65f_rle_crop_3734307055_0.png.png imagette218055181743095705/1743095312_3986528_1347951826_b0f55346b12ef00282e35d792010b005_rle_crop_3734299005_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/635fc994df033614319a3be09125ff3b_97748643.png imagette218055181743095705 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21805405 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21805521,21805522,21805523,21805524,21805525,21805526,21805527,21805528,21805529,21805530,21805531,21805532?tags=Carton_brun,mal_croppe,flou,cartonnette,plastique,kraft,Carton_gris,environnement,autre_refus,Teint_Dans_La_Masse,papier,metal your option no_mail is active, we will not send the real mail to your client args[1347955251] : ('0.04878728376753723',) no score found for photo 1347955251 We are sending mail with results at report@fotonower.com args[1347955207] : ('0.04878728376753723',) no score found for photo 1347955207 We are sending mail with results at report@fotonower.com args[1347955188] : ('0.04878728376753723',) no score found for photo 1347955188 We are sending mail with results at report@fotonower.com args[1347955184] : ('0.04878728376753723',) no score found for photo 1347955184 We are sending mail with results at report@fotonower.com args[1347955180] : ('0.04878728376753723',) no score found for photo 1347955180 We are sending mail with results at report@fotonower.com args[1347955174] : ('0.04878728376753723',) no score found for photo 1347955174 We are sending mail with results at report@fotonower.com args[1347955133] : ('0.04878728376753723',) no score found for photo 1347955133 We are sending mail with results at report@fotonower.com args[1347955124] : ('0.04878728376753723',) no score found for photo 1347955124 We are sending mail with results at report@fotonower.com args[1347955101] : ('0.04878728376753723',) no score found for photo 1347955101 We are sending mail with results at report@fotonower.com args[1347955070] : ('0.04878728376753723',) no score found for photo 1347955070 We are sending mail with results at report@fotonower.com args[1347954704] : ('0.04878728376753723',) no score found for photo 1347954704 We are sending mail with results at report@fotonower.com args[1347954638] : ('0.04878728376753723',) no score found for photo 1347954638 We are sending mail with results at report@fotonower.com args[1347954516] : ('0.04878728376753723',) no score found for photo 1347954516 We are sending mail with results at report@fotonower.com args[1347954465] : ('0.04878728376753723',) no score found for photo 1347954465 We are sending mail with results at report@fotonower.com args[1347954411] : ('0.04878728376753723',) no score found for photo 1347954411 We are sending mail with results at report@fotonower.com refus_total : 0.04878728376753723 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=21805405 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_P21805405_27-03-2025_18_15_03.pdf results_Auto_P21805405_27-03-2025_18_15_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21805405_27-03-2025_18_15_03.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','21805405','results_Auto_P21805405_27-03-2025_18_15_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21805405_27-03-2025_18_15_03.pdf','pdf','','0.26','0.04878728376753723') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21805405]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1347955251, 1347955207, 1347955188, 1347955184, 1347955180, 1347955174, 1347955133, 1347955124, 1347955101, 1347955070, 1347954704, 1347954638, 1347954516, 1347954465, 1347954411] map_info['map_portfolio_photo'] : {21805405: [1347955251, 1347955207, 1347955188, 1347955184, 1347955180, 1347955174, 1347955133, 1347955124, 1347955101, 1347955070, 1347954704, 1347954638, 1347954516, 1347954465, 1347954411, 1347954102, 1347954066, 1347954049, 1347954033, 1347954006, 1347953819, 1347953781, 1347953727, 1347953676, 1347953633, 1347953574, 1347953234, 1347951886, 1347951826, 1347951715, 1347951301, 1347951277, 1347951242, 1347951208, 1347951149, 1347951079, 1347950397, 1347950320, 1347950233, 1347950147, 1347949670, 1347949352, 1347949259, 1347949137, 1347948210, 1347948121]} final : False mtd_id 4302 list_pids : [1347955251, 1347955207, 1347955188, 1347955184, 1347955180, 1347955174, 1347955133, 1347955124, 1347955101, 1347955070, 1347954704, 1347954638, 1347954516, 1347954465, 1347954411] 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, '2698586') ('4302', '21805405', '1347955251', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955207', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955188', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955184', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955180', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955174', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955133', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955124', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955101', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955070', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954704', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954638', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954516', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954465', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954411', None, None, None, None, None, '2698586') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 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', '21805405', '1347955251', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955207', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955188', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955184', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955180', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955174', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955133', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955124', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955101', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955070', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347954704', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347954638', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347954516', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347954465', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347954411', None, None, None, None, None, '2698586')] time used for this insertion : 0.014145612716674805 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.398391485214233 time spend to save output : 0.014466285705566406 total time spend for step 4 : 5.4128577709198 step5:split_time_score Thu Mar 27 18:15:07 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 : ['21805405'] 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 : [('21805405',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21805405) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1347955133: {'path': 'temp/1743095702_1574111_1347955133_85e8a15b786bb58b2f564546e21764ca.jpg', 'extension': 'jpg'}, 1347955174: {'path': 'temp/1743095702_1574111_1347955174_22c3326f44ff13468b30e9a43a886665.jpg', 'extension': 'jpg'}, 1347955180: {'path': 'temp/1743095702_1574111_1347955180_dc1f703dba48e08fe5436d9c6a93ffb7.jpg', 'extension': 'jpg'}, 1347955184: {'path': 'temp/1743095702_1574111_1347955184_6a9f9f2cf38008238c2277397a7a311b.jpg', 'extension': 'jpg'}, 1347955188: {'path': 'temp/1743095702_1574111_1347955188_77bc4ef0bf234a0dffb129ae8e3fe8e6.jpg', 'extension': 'jpg'}, 1347955207: {'path': 'temp/1743095702_1574111_1347955207_f45b3f24bbb955a1c1f566e39c24c9eb.jpg', 'extension': 'jpg'}, 1347955251: {'path': 'temp/1743095702_1574111_1347955251_182cd4c181999d28a9acb643cb32c6d8.jpg', 'extension': 'jpg'}, 1347954704: {'path': 'temp/1743095702_1574111_1347954704_469d41278a8501ac4b2ae4b3d14da4b1.jpg', 'extension': 'jpg'}, 1347955070: {'path': 'temp/1743095702_1574111_1347955070_06cf8476edb0a34793e381b675bc7850.jpg', 'extension': 'jpg'}, 1347955101: {'path': 'temp/1743095702_1574111_1347955101_2cbb920f693e1795db07d45e559f15f6.jpg', 'extension': 'jpg'}, 1347955124: {'path': 'temp/1743095702_1574111_1347955124_fa1b3c30f500dd37d82721465bd440d8.jpg', 'extension': 'jpg'}, 1347954411: {'path': 'temp/1743095702_1574111_1347954411_2b13a40beb342b5f9df1192018e57824.jpg', 'extension': 'jpg'}, 1347954465: {'path': 'temp/1743095702_1574111_1347954465_27962ab1d31a4d5f060db5f8cd5474bc.jpg', 'extension': 'jpg'}, 1347954516: {'path': 'temp/1743095702_1574111_1347954516_2478cfc22d594f72ba7aae942a1e7f56.jpg', 'extension': 'jpg'}, 1347954638: {'path': 'temp/1743095702_1574111_1347954638_8bbc79b44e7322099ca92644ee5a11dc.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 = 21805405; (('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 = 21805405 group by h (('18', 46),) 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=21805405 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 (21805405) 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 (21805405) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 27032025 21805405 Nombre de photos uploadées : 46 / 23040 (0%) 27032025 21805405 Nombre de photos taguées (types de déchets): 0 / 46 (0%) 27032025 21805405 Nombre de photos taguées (volume) : 0 / 46 (0%) [{'photo_id': 1347948210, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/c84ace57c8cad9efa697a4c523fd649f.jpg', 'username': None, 'uploaded_at': 1743094937, 'text': 'image_27032025_18_00_04_010156m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1347948121, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/973271778368d033efd8f8628b21fb0f.jpg', 'username': None, 'uploaded_at': 1743094937, 'text': 'image_27032025_18_00_14_010138m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1347949670, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/e6736189db5ecf5db22892d0283f54d0.jpg', 'username': None, 'uploaded_at': 1743094997, 'text': 'image_27032025_18_00_53_010134m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1347949352, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/27/b3db7623cd92e675abb26bddc6505b8c.jpg', 'username': None, 'uploaded_at': 1743094997, 'text': 'image_27032025_18_01_03_010154m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ?????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002106904983520508 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21805405, '2025-03-27' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1692045,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.031034231185913086 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 1692045 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1692045, 'dashboard_run_id': 1702440, 'mtr_portfolio_id': 21803547, 'dashboard_result_id': 9688366, '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_P21803547_27-03-2025_18_01_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21803589, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21803590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21803591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21803592, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21803593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21803594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21803595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21803596, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21803597, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21803598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21803599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21803600, 'pht': 3726}}"}, {'dashboat_entry_day': 1692045, 'dashboard_run_id': 1702440, 'mtr_portfolio_id': 21805405, 'dashboard_result_id': 9688367, '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_P21805405_27-03-2025_18_12_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21805509, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21805510, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21805511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21805512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21805513, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21805514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21805515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21805516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21805517, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21805518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21805519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21805520, '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 = 21803547 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': 2698410, 'mtr_portfolio_id': 21803547, 'created_at': datetime.datetime(2025, 3, 27, 18, 1, 1), 'result': '0.041558153664353094', 'result_long': None, 'result_double': None}] Qualite : 0.041558153664353094 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21803547 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21803547_27-03-2025_18_01_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21803547 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_P21803547_27-03-2025_18_01_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21803589, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21803590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21803591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21803592, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21803593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21803594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21803595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21803596, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21803597, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21803598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21803599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21803600, 'pht': 3726}}" where mtr_portfolio_id = 21803547 and dashboard_run_id = 1702440 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`=21803547 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9688366, 0.041558153664353094, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21803547_27-03-2025_18_01_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21803589, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21803590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21803591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21803592, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21803593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21803594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21803595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21803596, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21803597, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21803598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21803599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21803600, '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 = 21805405 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': 2698586, 'mtr_portfolio_id': 21805405, 'created_at': datetime.datetime(2025, 3, 27, 18, 15, 2), 'result': '0.04878728376753723', 'result_long': None, 'result_double': None}] Qualite : 0.04878728376753723 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21805405 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21805405_27-03-2025_18_15_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21805405 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_P21805405_27-03-2025_18_15_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21805509, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21805510, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21805511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21805512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21805513, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21805514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21805515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21805516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21805517, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21805518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21805519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21805520, 'pht': 3726}}" where mtr_portfolio_id = 21805405 and dashboard_run_id = 1702440 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`=21805405 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9688367, 0.04878728376753723, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21805405_27-03-2025_18_15_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21805509, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21805510, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21805511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21805512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21805513, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21805514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21805515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21805516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21805517, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21805518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21805519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21805520, '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 (21803547,21805405) result : ((1347938597,), (1347938600,), (1347938605,), (1347938925,), (1347938929,), (1347938991,), (1347938995,), (1347939422,), (1347939440,), (1347939452,), (1347939581,), (1347939584,), (1347939635,), (1347939652,), (1347939734,), (1347939739,), (1347939746,), (1347939754,), (1347939759,), (1347939801,), (1347939806,), (1347939809,), (1347939966,), (1347940004,), (1347940009,), (1347940016,), (1347940021,), (1347940082,), (1347940085,), (1347940090,), (1347940096,), (1347940101,), (1347940105,), (1347940137,), (1347940139,), (1347940159,), (1347940267,), (1347940269,), (1347940275,), (1347940280,), (1347940286,), (1347940289,), (1347940349,), (1347940359,), (1347940367,), (1347940378,), (1347940383,), (1347940390,), (1347940442,), (1347940444,), (1347940452,), (1347940456,), (1347940513,), (1347940517,), (1347940520,), (1347940524,), (1347940556,), (1347940559,), (1347940563,), (1347940567,), (1347940602,), (1347940608,), (1347946524,), (1347948121,), (1347948210,), (1347949137,), (1347949259,), (1347949352,), (1347949670,), (1347950147,), (1347950233,), (1347950320,), (1347950397,), (1347951079,), (1347951149,), (1347951208,), (1347951242,), (1347951277,), (1347951301,), (1347951715,), (1347951826,), (1347951886,), (1347953234,), (1347953574,), (1347953633,), (1347953676,), (1347953727,), (1347953781,), (1347953819,), (1347954006,), (1347954033,), (1347954049,), (1347954066,), (1347954102,), (1347954411,), (1347954465,), (1347954516,), (1347954638,), (1347954704,), (1347955070,), (1347955101,), (1347955124,), (1347955133,), (1347955174,), (1347955180,), (1347955184,), (1347955188,), (1347955207,), (1347955251,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'27032025': {'nb_upload': 46, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21805405]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1347955251, 1347955207, 1347955188, 1347955184, 1347955180, 1347955174, 1347955133, 1347955124, 1347955101, 1347955070, 1347954704, 1347954638, 1347954516, 1347954465, 1347954411] map_info['map_portfolio_photo'] : {21805405: [1347955251, 1347955207, 1347955188, 1347955184, 1347955180, 1347955174, 1347955133, 1347955124, 1347955101, 1347955070, 1347954704, 1347954638, 1347954516, 1347954465, 1347954411, 1347954102, 1347954066, 1347954049, 1347954033, 1347954006, 1347953819, 1347953781, 1347953727, 1347953676, 1347953633, 1347953574, 1347953234, 1347951886, 1347951826, 1347951715, 1347951301, 1347951277, 1347951242, 1347951208, 1347951149, 1347951079, 1347950397, 1347950320, 1347950233, 1347950147, 1347949670, 1347949352, 1347949259, 1347949137, 1347948210, 1347948121]} final : True mtd_id 4302 list_pids : [1347955251, 1347955207, 1347955188, 1347955184, 1347955180, 1347955174, 1347955133, 1347955124, 1347955101, 1347955070, 1347954704, 1347954638, 1347954516, 1347954465, 1347954411] Looping around the photos to save general results len do output : 1 /21805405Didn'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, '2698586') ('4302', '21805405', '1347955251', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955207', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955188', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955184', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955180', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955174', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955133', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955124', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955101', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347955070', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954704', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954638', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954516', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954465', None, None, None, None, None, '2698586') ('4302', None, None, None, None, None, None, None, '2698586') ('4302', '21805405', '1347954411', None, None, None, None, None, '2698586') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 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, '21805405', 'None', None, None, None, None, '2698586'), ('4302', '21805405', '1347955251', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955207', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955188', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955184', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955180', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955174', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955133', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955124', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955101', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347955070', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347954704', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347954638', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347954516', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347954465', None, None, None, None, None, '2698586'), ('4302', '21805405', '1347954411', None, None, None, None, None, '2698586')] time used for this insertion : 0.019759654998779297 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.257371187210083 time spend to save output : 0.020009279251098633 total time spend for step 5 : 0.27738046646118164 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 (2698586) 2.23user 2.41system 0:13.65elapsed 34%CPU (0avgtext+0avgdata 160476maxresident)k 568inputs+13696outputs (20major+75442minor)pagefaults 0swaps