returned map {'Carton_brun': {'main_port_id': 23292903, 'sub_port_id': 23336252, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565464, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 57)}, 'environnement': {'main_port_id': 23292903, 'sub_port_id': 23336253, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565465, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 57)}, 'kraft': {'main_port_id': 23292903, 'sub_port_id': 23336254, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565466, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 57)}, 'cartonnette': {'main_port_id': 23292903, 'sub_port_id': 23336255, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565467, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 57)}, 'plastique': {'main_port_id': 23292903, 'sub_port_id': 23336256, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565468, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 57)}, 'flou': {'main_port_id': 23292903, 'sub_port_id': 23336257, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565469, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 57)}, 'Carton_gris': {'main_port_id': 23292903, 'sub_port_id': 23336258, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565470, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 57)}, 'metal': {'main_port_id': 23292903, 'sub_port_id': 23336259, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565471, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 57)}, 'autre_refus': {'main_port_id': 23292903, 'sub_port_id': 23336260, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565472, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 57)}, 'mal_croppe': {'main_port_id': 23292903, 'sub_port_id': 23336261, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565473, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 23292903, 'sub_port_id': 23336262, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565474, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 57)}, 'papier': {'main_port_id': 23292903, 'sub_port_id': 23336263, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565475, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23336252 , 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=23292903 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Carton_brun' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23336252) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23292903) result : ((1360704931,), (1360704935,), (1360704977,), (1360705064,), (1360705106,), (1360705113,), (1360705159,), (1360705162,), (1360705199,), (1360705207,), (1360705211,), (1360705216,), (1360705244,), (1360705249,), (1360705254,), (1360705259,), (1360705295,), (1360705301,), (1360705306,), (1360705311,)) 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 23336253 , 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=23292903 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 (23336253) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23292903) result : ((1360704931,), (1360704935,), (1360704977,), (1360705064,), (1360705106,), (1360705113,), (1360705159,), (1360705162,), (1360705199,), (1360705207,), (1360705211,), (1360705216,), (1360705244,), (1360705249,), (1360705254,), (1360705259,), (1360705295,), (1360705301,), (1360705306,), (1360705311,)) 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 23336254 , 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=23292903 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 (23336254) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23292903) result : ((1360704931,), (1360704935,), (1360704977,), (1360705064,), (1360705106,), (1360705113,), (1360705159,), (1360705162,), (1360705199,), (1360705207,), (1360705211,), (1360705216,), (1360705244,), (1360705249,), (1360705254,), (1360705259,), (1360705295,), (1360705301,), (1360705306,), (1360705311,)) 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 23336255 , 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=23292903 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='cartonnette' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23336255) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23292903) result : ((1360704931,), (1360704935,), (1360704977,), (1360705064,), (1360705106,), (1360705113,), (1360705159,), (1360705162,), (1360705199,), (1360705207,), (1360705211,), (1360705216,), (1360705244,), (1360705249,), (1360705254,), (1360705259,), (1360705295,), (1360705301,), (1360705306,), (1360705311,)) 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 23336256 , 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=23292903 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 (23336256) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23292903) result : ((1360704931,), (1360704935,), (1360704977,), (1360705064,), (1360705106,), (1360705113,), (1360705159,), (1360705162,), (1360705199,), (1360705207,), (1360705211,), (1360705216,), (1360705244,), (1360705249,), (1360705254,), (1360705259,), (1360705295,), (1360705301,), (1360705306,), (1360705311,)) 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 23336257 , 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=23292903 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='flou' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23336257) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23292903) result : ((1360704931,), (1360704935,), (1360704977,), (1360705064,), (1360705106,), (1360705113,), (1360705159,), (1360705162,), (1360705199,), (1360705207,), (1360705211,), (1360705216,), (1360705244,), (1360705249,), (1360705254,), (1360705259,), (1360705295,), (1360705301,), (1360705306,), (1360705311,)) 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 23336258 , 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=23292903 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 (23336258) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23292903) result : ((1360704931,), (1360704935,), (1360704977,), (1360705064,), (1360705106,), (1360705113,), (1360705159,), (1360705162,), (1360705199,), (1360705207,), (1360705211,), (1360705216,), (1360705244,), (1360705249,), (1360705254,), (1360705259,), (1360705295,), (1360705301,), (1360705306,), (1360705311,)) 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 23336259 , 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=23292903 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 (23336259) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23292903) result : ((1360704931,), (1360704935,), (1360704977,), (1360705064,), (1360705106,), (1360705113,), (1360705159,), (1360705162,), (1360705199,), (1360705207,), (1360705211,), (1360705216,), (1360705244,), (1360705249,), (1360705254,), (1360705259,), (1360705295,), (1360705301,), (1360705306,), (1360705311,)) 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 23336260 , 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=23292903 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 (23336260) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23292903) result : ((1360704931,), (1360704935,), (1360704977,), (1360705064,), (1360705106,), (1360705113,), (1360705159,), (1360705162,), (1360705199,), (1360705207,), (1360705211,), (1360705216,), (1360705244,), (1360705249,), (1360705254,), (1360705259,), (1360705295,), (1360705301,), (1360705306,), (1360705311,)) 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 23336261 , 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=23292903 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='mal_croppe' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23336261) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23292903) result : ((1360704931,), (1360704935,), (1360704977,), (1360705064,), (1360705106,), (1360705113,), (1360705159,), (1360705162,), (1360705199,), (1360705207,), (1360705211,), (1360705216,), (1360705244,), (1360705249,), (1360705254,), (1360705259,), (1360705295,), (1360705301,), (1360705306,), (1360705311,)) 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 23336262 , 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=23292903 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 (23336262) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23292903) result : ((1360704931,), (1360704935,), (1360704977,), (1360705064,), (1360705106,), (1360705113,), (1360705159,), (1360705162,), (1360705199,), (1360705207,), (1360705211,), (1360705216,), (1360705244,), (1360705249,), (1360705254,), (1360705259,), (1360705295,), (1360705301,), (1360705306,), (1360705311,)) 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 23336263 , 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=23292903 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 (23336263) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23292903) result : ((1360704931,), (1360704935,), (1360704977,), (1360705064,), (1360705106,), (1360705113,), (1360705159,), (1360705162,), (1360705199,), (1360705207,), (1360705211,), (1360705216,), (1360705244,), (1360705249,), (1360705254,), (1360705259,), (1360705295,), (1360705301,), (1360705306,), (1360705311,)) 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`=23292903 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','environnement','kraft','cartonnette','plastique','flou','Carton_gris','metal','autre_refus','mal_croppe','Teint_Dans_La_Masse','papier')) 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`=23292903 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','environnement','kraft','cartonnette','plastique','flou','Carton_gris','metal','autre_refus','mal_croppe','Teint_Dans_La_Masse','papier')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__23052025_10_00_14_10207_4417_Carton_brun_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__23052025_10_00_14_10207_4417_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__23052025_10_00_14_10207_4417_kraft_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__23052025_10_00_14_10207_4417_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__23052025_10_00_14_10207_4417_plastique_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__23052025_10_00_14_10207_4417_flou_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__23052025_10_00_14_10207_4417_Carton_gris_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__23052025_10_00_14_10207_4417_metal_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__23052025_10_00_14_10207_4417_autre_refus_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__23052025_10_00_14_10207_4417_mal_croppe_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__23052025_10_00_14_10207_4417_Teint_Dans_La_Masse_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__23052025_10_00_14_10207_4417_papier_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio INSERT IGNORE INTO MTRPhoto.mtr_port_to_port_ids (`mtr_portfolio_id_1`, `mtr_portfolio_id_2`, `type`, `min_score`, `hashtag_id`, `mtr_user_id`) VALUES (%s,%s,%s,%s,%s,%s)[[23292903, 23336264, 4417, 0.5, 2107753024, 979], [23292903, 23336265, 4417, 0.5, 493012381, 979], [23292903, 23336266, 4417, 0.5, 493202403, 979], [23292903, 23336267, 4417, 0.5, 702398920, 979], [23292903, 23336268, 4417, 0.5, 492725882, 979], [23292903, 23336269, 4417, 0.5, 492777938, 979], [23292903, 23336270, 4417, 0.5, 2107753020, 979], [23292903, 23336271, 4417, 0.5, 492628673, 979], [23292903, 23336272, 4417, 0.5, 2107752406, 979], [23292903, 23336273, 4417, 0.5, 2107755527, 979], [23292903, 23336274, 4417, 0.5, 2107752385, 979], [23292903, 23336275, 4417, 0.5, 492668766, 979]] 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`=23292903 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','environnement','kraft','cartonnette','plastique','flou','Carton_gris','metal','autre_refus','mal_croppe','Teint_Dans_La_Masse','papier')) 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`=23292903 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','environnement','kraft','cartonnette','plastique','flou','Carton_gris','metal','autre_refus','mal_croppe','Teint_Dans_La_Masse','papier')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 23292903, 'sub_port_id': 23336264, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565476, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 59)}, 'environnement': {'main_port_id': 23292903, 'sub_port_id': 23336265, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565477, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 59)}, 'kraft': {'main_port_id': 23292903, 'sub_port_id': 23336266, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565478, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 59)}, 'cartonnette': {'main_port_id': 23292903, 'sub_port_id': 23336267, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565479, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 59)}, 'plastique': {'main_port_id': 23292903, 'sub_port_id': 23336268, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565480, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 59)}, 'flou': {'main_port_id': 23292903, 'sub_port_id': 23336269, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565481, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 59)}, 'Carton_gris': {'main_port_id': 23292903, 'sub_port_id': 23336270, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565482, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 59)}, 'metal': {'main_port_id': 23292903, 'sub_port_id': 23336271, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565483, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 59)}, 'autre_refus': {'main_port_id': 23292903, 'sub_port_id': 23336272, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565484, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 59)}, 'mal_croppe': {'main_port_id': 23292903, 'sub_port_id': 23336273, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565485, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 23292903, 'sub_port_id': 23336274, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565486, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 59)}, 'papier': {'main_port_id': 23292903, 'sub_port_id': 23336275, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565487, 'last_updated_at': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 13, 49, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 13, 49, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336264,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336252 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336265,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336253 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336266,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336254 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336267,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336255 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336268,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336256 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336269,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336257 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336270,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336258 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336271,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336259 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336272,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336260 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336273,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336261 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336274,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336262 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336275,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336263 lien utilise dans velours : https://www.fotonower.com/velours/23336264,23336265,23336266,23336267,23336268,23336269,23336270,23336271,23336272,23336273,23336274,23336275?tags=Carton_brun,environnement,kraft,cartonnette,plastique,flou,Carton_gris,metal,autre_refus,mal_croppe,Teint_Dans_La_Masse,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23292903]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1360705311, 1360705306, 1360705301, 1360705295, 1360705259, 1360705254, 1360705249, 1360705244, 1360705216, 1360705211, 1360705207, 1360705199, 1360705162, 1360705159, 1360705113, 1360705106, 1360705064, 1360704977, 1360704935, 1360704931] map_info['map_portfolio_photo'] : {23292903: [1360705311, 1360705306, 1360705301, 1360705295, 1360705259, 1360705254, 1360705249, 1360705244, 1360705216, 1360705211, 1360705207, 1360705199, 1360705162, 1360705159, 1360705113, 1360705106, 1360705064, 1360704977, 1360704935, 1360704931]} final : False mtd_id 4302 list_pids : [1360705311, 1360705306, 1360705301, 1360705295, 1360705259, 1360705254, 1360705249, 1360705244, 1360705216, 1360705211, 1360705207, 1360705199, 1360705162, 1360705159, 1360705113, 1360705106, 1360705064, 1360704977, 1360704935, 1360704931] Looping around the photos to save general results len do output : 1 /23292903. 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, '2944152') ('4302', '23292903', '1360705311', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705306', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705301', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705295', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705259', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705254', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705249', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705244', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705216', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705211', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705207', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705199', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705162', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705159', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705113', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705106', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705064', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360704977', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360704935', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360704931', None, None, None, None, None, '2944152') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 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, '23292903', "{'Carton_brun': 23336252, 'environnement': 23336253, 'kraft': 23336254, 'cartonnette': 23336255, 'plastique': 23336256, 'flou': 23336257, 'Carton_gris': 23336258, 'metal': 23336259, 'autre_refus': 23336260, 'mal_croppe': 23336261, 'Teint_Dans_La_Masse': 23336262, 'papier': 23336263}", None, None, None, None, '2944152'), ('4302', '23292903', '1360705311', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705306', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705301', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705295', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705259', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705254', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705249', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705244', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705216', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705211', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705207', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705199', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705162', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705159', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705113', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705106', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705064', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360704977', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360704935', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360704931', None, None, None, None, None, '2944152')] time used for this insertion : 0.020230770111083984 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.943030595779419 time spend to save output : 0.020804166793823242 total time spend for step 1 : 1.9638347625732422 step2:final Mon May 26 13:49:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23292903) 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 23292903 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1360704935,1360704931,1360704977,1360705064,1360705113,1360705106,1360705162,1360705159,1360705216,1360705199,1360705211,1360705207,1360705259,1360705254,1360705249,1360705244,1360705311,1360705306,1360705301,1360705295); 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([23292903]) Inside saveOutput : final : False verbose : True original output for save of step final : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} new output for save of step final : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} [1360705311, 1360705306, 1360705301, 1360705295, 1360705259, 1360705254, 1360705249, 1360705244, 1360705216, 1360705211, 1360705207, 1360705199, 1360705162, 1360705159, 1360705113, 1360705106, 1360705064, 1360704977, 1360704935, 1360704931] map_info['map_portfolio_photo'] : {23292903: [1360705311, 1360705306, 1360705301, 1360705295, 1360705259, 1360705254, 1360705249, 1360705244, 1360705216, 1360705211, 1360705207, 1360705199, 1360705162, 1360705159, 1360705113, 1360705106, 1360705064, 1360704977, 1360704935, 1360704931]} final : False mtd_id 4302 list_pids : [1360705311, 1360705306, 1360705301, 1360705295, 1360705259, 1360705254, 1360705249, 1360705244, 1360705216, 1360705211, 1360705207, 1360705199, 1360705162, 1360705159, 1360705113, 1360705106, 1360705064, 1360704977, 1360704935, 1360704931] Looping around the photos to save general results len do output : 20 /1360705311.Didn't retrieve data . /1360705306.Didn't retrieve data . /1360705301.Didn't retrieve data . /1360705295.Didn't retrieve data . /1360705259.Didn't retrieve data . /1360705254.Didn't retrieve data . /1360705249.Didn't retrieve data . /1360705244.Didn't retrieve data . /1360705216.Didn't retrieve data . /1360705211.Didn't retrieve data . /1360705207.Didn't retrieve data . /1360705199.Didn't retrieve data . /1360705162.Didn't retrieve data . /1360705159.Didn't retrieve data . /1360705113.Didn't retrieve data . /1360705106.Didn't retrieve data . /1360705064.Didn't retrieve data . /1360704977.Didn't retrieve data . /1360704935.Didn't retrieve data . /1360704931.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, '2944152') ('4302', '23292903', '1360705311', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705306', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705301', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705295', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705259', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705254', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705249', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705244', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705216', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705211', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705207', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705199', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705162', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705159', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705113', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705106', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705064', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360704977', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360704935', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360704931', None, None, None, None, None, '2944152') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 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', '23292903', '1360705311', '0.018205471114361688', None, None, None, None, '2944152'), ('4302', '23292903', '1360705306', '0.018205471114361688', None, None, None, None, '2944152'), ('4302', '23292903', '1360705301', '0.018205471114361688', None, None, None, None, '2944152'), ('4302', '23292903', '1360705295', '0.018205471114361688', None, None, None, None, '2944152'), ('4302', '23292903', '1360705259', '0.018205471114361688', None, None, None, None, '2944152'), ('4302', '23292903', '1360705254', '0.018205471114361688', None, None, None, None, '2944152'), ('4302', '23292903', '1360705249', '0.018205471114361688', None, None, None, None, '2944152'), ('4302', '23292903', '1360705244', '0.018205471114361688', None, None, None, None, '2944152'), ('4302', '23292903', '1360705216', '0.018205471114361688', None, None, None, None, '2944152'), ('4302', '23292903', '1360705211', '0.018205471114361688', None, None, None, None, '2944152'), ('4302', '23292903', '1360705207', '0.018205471114361688', None, None, None, None, '2944152'), ('4302', '23292903', '1360705199', '0.018205471114361688', None, None, None, None, '2944152'), ('4302', '23292903', '1360705162', '0.018205471114361688', None, None, None, None, '2944152'), ('4302', '23292903', '1360705159', '0.018205471114361688', None, None, None, None, '2944152'), ('4302', '23292903', '1360705113', '0.018205471114361688', None, None, None, None, '2944152'), ('4302', '23292903', '1360705106', '0.018205471114361688', None, None, None, None, '2944152'), ('4302', '23292903', '1360705064', '0.018205471114361688', None, None, None, None, '2944152'), ('4302', '23292903', '1360704977', '0.018205471114361688', None, None, None, None, '2944152'), ('4302', '23292903', '1360704935', '0.018205471114361688', None, None, None, None, '2944152'), ('4302', '23292903', '1360704931', '0.018205471114361688', None, None, None, None, '2944152')] time used for this insertion : 0.01548004150390625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.028710603713989258 time spend to save output : 0.016161441802978516 total time spend for step 2 : 0.04487204551696777 step3:velours_tree Mon May 26 13:49:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {23292903: [{'Carton_brun': 23336252, 'environnement': 23336253, 'kraft': 23336254, 'cartonnette': 23336255, 'plastique': 23336256, 'flou': 23336257, 'Carton_gris': 23336258, 'metal': 23336259, 'autre_refus': 23336260, 'mal_croppe': 23336261, 'Teint_Dans_La_Masse': 23336262, 'papier': 23336263}]} input_args_next_step : {23292903: ()} output_args : {23292903: [{'Carton_brun': 23336252, 'environnement': 23336253, 'kraft': 23336254, 'cartonnette': 23336255, 'plastique': 23336256, 'flou': 23336257, 'Carton_gris': 23336258, 'metal': 23336259, 'autre_refus': 23336260, 'mal_croppe': 23336261, 'Teint_Dans_La_Masse': 23336262, 'papier': 23336263}]} args : 23292903 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': 23336252, 'environnement': 23336253, 'kraft': 23336254, 'cartonnette': 23336255, 'plastique': 23336256, 'flou': 23336257, 'Carton_gris': 23336258, 'metal': 23336259, 'autre_refus': 23336260, 'mal_croppe': 23336261, 'Teint_Dans_La_Masse': 23336262, 'papier': 23336263},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23292903) 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([23292903]) 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.3374061584472656 time spend to save output : 3.7670135498046875e-05 total time spend for step 3 : 0.33744382858276367 step4:send_mail_cod Mon May 26 13:49:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} input_args_next_step : {1360705311: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360705311 depend.output_id : 0 input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360705306 depend.output_id : 0 input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360705301 depend.output_id : 0 input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360705295 depend.output_id : 0 input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360705259 depend.output_id : 0 input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360705254 depend.output_id : 0 input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360705249 depend.output_id : 0 input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360705244 depend.output_id : 0 input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360705216 depend.output_id : 0 input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360705211 depend.output_id : 0 input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360705207 depend.output_id : 0 input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360705199 depend.output_id : 0 input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360705162 depend.output_id : 0 input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360705159 depend.output_id : 0 input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360705113 depend.output_id : 0 input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360705106 depend.output_id : 0 input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360705064 depend.output_id : 0 input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360704977 depend.output_id : 0 input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360704935 depend.output_id : 0 input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ()} output_args : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',)} args : 1360704931 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 : {23292903: [{'Carton_brun': 23336252, 'environnement': 23336253, 'kraft': 23336254, 'cartonnette': 23336255, 'plastique': 23336256, 'flou': 23336257, 'Carton_gris': 23336258, 'metal': 23336259, 'autre_refus': 23336260, 'mal_croppe': 23336261, 'Teint_Dans_La_Masse': 23336262, 'papier': 23336263}]} input_args_next_step : {1360705311: ('0.018205471114361688',), 1360705306: ('0.018205471114361688',), 1360705301: ('0.018205471114361688',), 1360705295: ('0.018205471114361688',), 1360705259: ('0.018205471114361688',), 1360705254: ('0.018205471114361688',), 1360705249: ('0.018205471114361688',), 1360705244: ('0.018205471114361688',), 1360705216: ('0.018205471114361688',), 1360705211: ('0.018205471114361688',), 1360705207: ('0.018205471114361688',), 1360705199: ('0.018205471114361688',), 1360705162: ('0.018205471114361688',), 1360705159: ('0.018205471114361688',), 1360705113: ('0.018205471114361688',), 1360705106: ('0.018205471114361688',), 1360705064: ('0.018205471114361688',), 1360704977: ('0.018205471114361688',), 1360704935: ('0.018205471114361688',), 1360704931: ('0.018205471114361688',), 23292903: ()} output_args : {23292903: [{'Carton_brun': 23336252, 'environnement': 23336253, 'kraft': 23336254, 'cartonnette': 23336255, 'plastique': 23336256, 'flou': 23336257, 'Carton_gris': 23336258, 'metal': 23336259, 'autre_refus': 23336260, 'mal_croppe': 23336261, 'Teint_Dans_La_Masse': 23336262, 'papier': 23336263}]} args : 23292903 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 :21, first value : ('0.018205471114361688',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23292903) 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 (1360705311,1360705306,1360705301,1360705295,1360705259,1360705254,1360705249,1360705244,1360705216,1360705211,1360705207,1360705199,1360705162,1360705159,1360705113,1360705106,1360705064,1360704977,1360704935,1360704931) Found this number of photos: 20 ##### Call download_photos : nb_thread : 5 begin to download photo : 1360704931 begin to download photo : 1360705113 begin to download photo : 1360705211 begin to download photo : 1360705259 download finish for photo 1360705113 begin to download photo : 1360705159 download finish for photo 1360705259 begin to download photo : 1360705295 download finish for photo 1360705211 begin to download photo : 1360705216 download finish for photo 1360704931 begin to download photo : 1360704935 download finish for photo 1360705159 begin to download photo : 1360705162 download finish for photo 1360705295 begin to download photo : 1360705301 download finish for photo 1360704935 begin to download photo : 1360704977 download finish for photo 1360705216 begin to download photo : 1360705244 download finish for photo 1360704977 begin to download photo : 1360705064 download finish for photo 1360705162 begin to download photo : 1360705199 download finish for photo 1360705301 begin to download photo : 1360705306 download finish for photo 1360705244 begin to download photo : 1360705249 download finish for photo 1360705064 begin to download photo : 1360705106 download finish for photo 1360705199 begin to download photo : 1360705207 download finish for photo 1360705306 begin to download photo : 1360705311 download finish for photo 1360705249 begin to download photo : 1360705254 download finish for photo 1360705106 download finish for photo 1360705207 download finish for photo 1360705254 download finish for photo 1360705311 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette233362541748260200/ imagette233362551748260200/ imagette233362561748260200/ imagette233362571748260200/ imagette233362591748260200/ imagette233362601748260200/ imagette233362611748260200/ imagette233362521748260200/ imagette233362581748260200/ imagette233362621748260200/ length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 results_Auto_P23292903_26-05-2025_13_50_00.pdf 23336254 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=23336254 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233362541748260200 23336255 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=23336255 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233362551748260200 23336256 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=23336256 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233362561748260200 23336257 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=23336257 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233362571748260200 23336259 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=23336259 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233362591748260200 23336260 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=23336260 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233362601748260200 23336261 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=23336261 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233362611748260200 23336252 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=23336252 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233362521748260200 23336258 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=23336258 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233362581748260200 23336262 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=23336262 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233362621748260200 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=23292903 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/23336264,23336265,23336266,23336267,23336268,23336269,23336270,23336271,23336272,23336273,23336274,23336275?tags=Carton_brun,environnement,kraft,cartonnette,plastique,flou,Carton_gris,metal,autre_refus,mal_croppe,Teint_Dans_La_Masse,papier your option no_mail is active, we will not send the real mail to your client args[1360705311] : ('0.018205471114361688',) no score found for photo 1360705311 We are sending mail with results at report@fotonower.com args[1360705306] : ('0.018205471114361688',) no score found for photo 1360705306 We are sending mail with results at report@fotonower.com args[1360705301] : ('0.018205471114361688',) no score found for photo 1360705301 We are sending mail with results at report@fotonower.com args[1360705295] : ('0.018205471114361688',) no score found for photo 1360705295 We are sending mail with results at report@fotonower.com args[1360705259] : ('0.018205471114361688',) no score found for photo 1360705259 We are sending mail with results at report@fotonower.com args[1360705254] : ('0.018205471114361688',) no score found for photo 1360705254 We are sending mail with results at report@fotonower.com args[1360705249] : ('0.018205471114361688',) no score found for photo 1360705249 We are sending mail with results at report@fotonower.com args[1360705244] : ('0.018205471114361688',) no score found for photo 1360705244 We are sending mail with results at report@fotonower.com args[1360705216] : ('0.018205471114361688',) no score found for photo 1360705216 We are sending mail with results at report@fotonower.com args[1360705211] : ('0.018205471114361688',) no score found for photo 1360705211 We are sending mail with results at report@fotonower.com args[1360705207] : ('0.018205471114361688',) no score found for photo 1360705207 We are sending mail with results at report@fotonower.com args[1360705199] : ('0.018205471114361688',) no score found for photo 1360705199 We are sending mail with results at report@fotonower.com args[1360705162] : ('0.018205471114361688',) no score found for photo 1360705162 We are sending mail with results at report@fotonower.com args[1360705159] : ('0.018205471114361688',) no score found for photo 1360705159 We are sending mail with results at report@fotonower.com args[1360705113] : ('0.018205471114361688',) no score found for photo 1360705113 We are sending mail with results at report@fotonower.com args[1360705106] : ('0.018205471114361688',) no score found for photo 1360705106 We are sending mail with results at report@fotonower.com args[1360705064] : ('0.018205471114361688',) no score found for photo 1360705064 We are sending mail with results at report@fotonower.com args[1360704977] : ('0.018205471114361688',) no score found for photo 1360704977 We are sending mail with results at report@fotonower.com args[1360704935] : ('0.018205471114361688',) no score found for photo 1360704935 We are sending mail with results at report@fotonower.com args[1360704931] : ('0.018205471114361688',) no score found for photo 1360704931 We are sending mail with results at report@fotonower.com refus_total : 0.018205471114361688 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=23292903 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_P23292903_26-05-2025_13_50_00.pdf results_Auto_P23292903_26-05-2025_13_50_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23292903_26-05-2025_13_50_00.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','23292903','results_Auto_P23292903_26-05-2025_13_50_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23292903_26-05-2025_13_50_00.pdf','pdf','','0.17','0.018205471114361688') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23292903]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1360705311, 1360705306, 1360705301, 1360705295, 1360705259, 1360705254, 1360705249, 1360705244, 1360705216, 1360705211, 1360705207, 1360705199, 1360705162, 1360705159, 1360705113, 1360705106, 1360705064, 1360704977, 1360704935, 1360704931] map_info['map_portfolio_photo'] : {23292903: [1360705311, 1360705306, 1360705301, 1360705295, 1360705259, 1360705254, 1360705249, 1360705244, 1360705216, 1360705211, 1360705207, 1360705199, 1360705162, 1360705159, 1360705113, 1360705106, 1360705064, 1360704977, 1360704935, 1360704931]} final : False mtd_id 4302 list_pids : [1360705311, 1360705306, 1360705301, 1360705295, 1360705259, 1360705254, 1360705249, 1360705244, 1360705216, 1360705211, 1360705207, 1360705199, 1360705162, 1360705159, 1360705113, 1360705106, 1360705064, 1360704977, 1360704935, 1360704931] 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, '2944152') ('4302', '23292903', '1360705311', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705306', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705301', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705295', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705259', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705254', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705249', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705244', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705216', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705211', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705207', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705199', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705162', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705159', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705113', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705106', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705064', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360704977', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360704935', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360704931', None, None, None, None, None, '2944152') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 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', '23292903', '1360705311', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705306', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705301', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705295', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705259', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705254', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705249', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705244', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705216', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705211', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705207', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705199', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705162', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705159', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705113', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705106', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705064', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360704977', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360704935', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360704931', None, None, None, None, None, '2944152')] time used for this insertion : 0.014927387237548828 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.205981969833374 time spend to save output : 0.015310525894165039 total time spend for step 4 : 2.221292495727539 step5:split_time_score Mon May 26 13:50:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['23292903'] 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 : [('23292903',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23292903) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1360704931: {'path': 'temp/1748260199_3865516_1360704931_1175724e579d98c32367c744df025317.jpg', 'extension': 'jpg'}, 1360704935: {'path': 'temp/1748260199_3865516_1360704935_5cfdde1aec1162260afca308bb2f1b13.jpg', 'extension': 'jpg'}, 1360704977: {'path': 'temp/1748260199_3865516_1360704977_02bcbce152f3f71a3ba31df307a04f6f.jpg', 'extension': 'jpg'}, 1360705064: {'path': 'temp/1748260199_3865516_1360705064_c53f4edfd894050a8e93850efccb6b65.jpg', 'extension': 'jpg'}, 1360705106: {'path': 'temp/1748260199_3865516_1360705106_9c7848cae03b4c6bbe6ef5d17be50e57.jpg', 'extension': 'jpg'}, 1360705113: {'path': 'temp/1748260199_3865516_1360705113_b9c054241630eff74a35c78a3ad7e608.jpg', 'extension': 'jpg'}, 1360705159: {'path': 'temp/1748260199_3865516_1360705159_b7c7038d07e3da01bcfe847b7b8542a4.jpg', 'extension': 'jpg'}, 1360705162: {'path': 'temp/1748260199_3865516_1360705162_156d7a4c5c589ff648846e4ba3b7c7ef.jpg', 'extension': 'jpg'}, 1360705199: {'path': 'temp/1748260199_3865516_1360705199_82c0f85d9819b720bab805b52e813eea.jpg', 'extension': 'jpg'}, 1360705207: {'path': 'temp/1748260199_3865516_1360705207_a143bdd2c6af7aeea27b310884abe94e.jpg', 'extension': 'jpg'}, 1360705211: {'path': 'temp/1748260199_3865516_1360705211_fb312f58119086a561c4c37f89f5e79c.jpg', 'extension': 'jpg'}, 1360705216: {'path': 'temp/1748260199_3865516_1360705216_78ba9a6a14afae577d9c7487a7a6a8dd.jpg', 'extension': 'jpg'}, 1360705244: {'path': 'temp/1748260199_3865516_1360705244_486fece9c8302032ca7ec415fd483c6f.jpg', 'extension': 'jpg'}, 1360705249: {'path': 'temp/1748260199_3865516_1360705249_858d9ea9871852faaa80da7e009dbf34.jpg', 'extension': 'jpg'}, 1360705254: {'path': 'temp/1748260199_3865516_1360705254_f84eb34dc4a5e47c74074e2c2291459d.jpg', 'extension': 'jpg'}, 1360705259: {'path': 'temp/1748260199_3865516_1360705259_c5a91d771b69fccfd9117bff003b63d7.jpg', 'extension': 'jpg'}, 1360705295: {'path': 'temp/1748260199_3865516_1360705295_5a2bf7e17129ee2131a7871e165d900b.jpg', 'extension': 'jpg'}, 1360705301: {'path': 'temp/1748260199_3865516_1360705301_fd65272aa1a9eea13f4ddb29995c4ac5.jpg', 'extension': 'jpg'}, 1360705306: {'path': 'temp/1748260199_3865516_1360705306_3042d781ece4e2cd702d446dd06b601d.jpg', 'extension': 'jpg'}, 1360705311: {'path': 'temp/1748260199_3865516_1360705311_a4e03e55615d998c32809d98da5d54f6.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 = 23292903; Dont find camara_place_name for portfolio_id : 23292903 After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23292903]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1360705311, 1360705306, 1360705301, 1360705295, 1360705259, 1360705254, 1360705249, 1360705244, 1360705216, 1360705211, 1360705207, 1360705199, 1360705162, 1360705159, 1360705113, 1360705106, 1360705064, 1360704977, 1360704935, 1360704931] map_info['map_portfolio_photo'] : {23292903: [1360705311, 1360705306, 1360705301, 1360705295, 1360705259, 1360705254, 1360705249, 1360705244, 1360705216, 1360705211, 1360705207, 1360705199, 1360705162, 1360705159, 1360705113, 1360705106, 1360705064, 1360704977, 1360704935, 1360704931]} final : True mtd_id 4302 list_pids : [1360705311, 1360705306, 1360705301, 1360705295, 1360705259, 1360705254, 1360705249, 1360705244, 1360705216, 1360705211, 1360705207, 1360705199, 1360705162, 1360705159, 1360705113, 1360705106, 1360705064, 1360704977, 1360704935, 1360704931] Looping around the photos to save general results len do output : 0 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, '2944152') ('4302', '23292903', '1360705311', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705306', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705301', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705295', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705259', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705254', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705249', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705244', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705216', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705211', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705207', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705199', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705162', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705159', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705113', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705106', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360705064', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360704977', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360704935', None, None, None, None, None, '2944152') ('4302', None, None, None, None, None, None, None, '2944152') ('4302', '23292903', '1360704931', None, None, None, None, None, '2944152') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 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', '23292903', '1360705311', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705306', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705301', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705295', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705259', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705254', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705249', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705244', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705216', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705211', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705207', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705199', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705162', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705159', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705113', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705106', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360705064', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360704977', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360704935', None, None, None, None, None, '2944152'), ('4302', '23292903', '1360704931', None, None, None, None, None, '2944152')] time used for this insertion : 0.013877153396606445 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.029802799224853516 time spend to save output : 0.01424407958984375 total time spend for step 5 : 0.044046878814697266 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 (2944152) 2.44user 2.00system 0:07.01elapsed 63%CPU (0avgtext+0avgdata 160616maxresident)k 192inputs+11280outputs (15major+78345minor)pagefaults 0swaps