SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (22200511) and hide_status = 0 ) AND ph.photo_id not in (SELECT mtr_photo_id from MTRPhoto.mtr_datou_result_search where mtr_current_id in (2737555 ) ) ORDER BY ph.photo_id DESC LIMIT 0, 200 We have 1 , {} SELECT mtr_photo_id, mtr_portfolio_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (22200511) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1351012572, 'portfolio_id': 22200511}, {'photo_id': 1351012531, 'portfolio_id': 22200511}, {'photo_id': 1351012462, 'portfolio_id': 22200511}, {'photo_id': 1351012418, 'portfolio_id': 22200511}, {'photo_id': 1351012316, 'portfolio_id': 22200511}, {'photo_id': 1351012311, 'portfolio_id': 22200511}, {'photo_id': 1351012310, 'portfolio_id': 22200511}, {'photo_id': 1351012309, 'portfolio_id': 22200511}, {'photo_id': 1351012308, 'portfolio_id': 22200511}, {'photo_id': 1351012304, 'portfolio_id': 22200511}, {'photo_id': 1351012260, 'portfolio_id': 22200511}, {'photo_id': 1351012241, 'portfolio_id': 22200511}, {'photo_id': 1351012219, 'portfolio_id': 22200511}, {'photo_id': 1351012194, 'portfolio_id': 22200511}, {'photo_id': 1351012184, 'portfolio_id': 22200511}, {'photo_id': 1351012157, 'portfolio_id': 22200511}, {'photo_id': 1351011816, 'portfolio_id': 22200511}, {'photo_id': 1351011811, 'portfolio_id': 22200511}, {'photo_id': 1351011797, 'portfolio_id': 22200511}, {'photo_id': 1351011734, 'portfolio_id': 22200511}, {'photo_id': 1351011725, 'portfolio_id': 22200511}, {'photo_id': 1351011705, 'portfolio_id': 22200511}, {'photo_id': 1351011675, 'portfolio_id': 22200511}, {'photo_id': 1351011670, 'portfolio_id': 22200511}, {'photo_id': 1351011639, 'portfolio_id': 22200511}, {'photo_id': 1351011625, 'portfolio_id': 22200511}, {'photo_id': 1351011605, 'portfolio_id': 22200511}, {'photo_id': 1351011590, 'portfolio_id': 22200511}, {'photo_id': 1351011490, 'portfolio_id': 22200511}, {'photo_id': 1351011484, 'portfolio_id': 22200511}, {'photo_id': 1351011478, 'portfolio_id': 22200511}, {'photo_id': 1351011440, 'portfolio_id': 22200511}, {'photo_id': 1351011381, 'portfolio_id': 22200511}, {'photo_id': 1351011290, 'portfolio_id': 22200511}, {'photo_id': 1351011283, 'portfolio_id': 22200511}, {'photo_id': 1351011281, 'portfolio_id': 22200511}, {'photo_id': 1351011276, 'portfolio_id': 22200511}, {'photo_id': 1351011273, 'portfolio_id': 22200511}, {'photo_id': 1351011270, 'portfolio_id': 22200511}, {'photo_id': 1351011189, 'portfolio_id': 22200511}, {'photo_id': 1351011186, 'portfolio_id': 22200511}, {'photo_id': 1351011173, 'portfolio_id': 22200511}, {'photo_id': 1351011154, 'portfolio_id': 22200511}, {'photo_id': 1351011151, 'portfolio_id': 22200511}, {'photo_id': 1351011125, 'portfolio_id': 22200511}, {'photo_id': 1351011124, 'portfolio_id': 22200511}, {'photo_id': 1351011115, 'portfolio_id': 22200511}, {'photo_id': 1351011109, 'portfolio_id': 22200511}, {'photo_id': 1351011101, 'portfolio_id': 22200511}, {'photo_id': 1351011083, 'portfolio_id': 22200511}, {'photo_id': 1351010877, 'portfolio_id': 22200511}, {'photo_id': 1351010838, 'portfolio_id': 22200511}, {'photo_id': 1351010722, 'portfolio_id': 22200511}, {'photo_id': 1351010669, 'portfolio_id': 22200511}, {'photo_id': 1351010590, 'portfolio_id': 22200511}, {'photo_id': 1351009999, 'portfolio_id': 22200511}, {'photo_id': 1351009947, 'portfolio_id': 22200511}] map_portfolio_id_photo_id: {22200511: [1351012572, 1351012531, 1351012462, 1351012418, 1351012316, 1351012311, 1351012310, 1351012309, 1351012308, 1351012304, 1351012260, 1351012241, 1351012219, 1351012194, 1351012184, 1351012157, 1351011816, 1351011811, 1351011797, 1351011734, 1351011725, 1351011705, 1351011675, 1351011670, 1351011639, 1351011625, 1351011605, 1351011590, 1351011490, 1351011484, 1351011478, 1351011440, 1351011381, 1351011290, 1351011283, 1351011281, 1351011276, 1351011273, 1351011270, 1351011189, 1351011186, 1351011173, 1351011154, 1351011151, 1351011125, 1351011124, 1351011115, 1351011109, 1351011101, 1351011083, 1351010877, 1351010838, 1351010722, 1351010669, 1351010590, 1351009999, 1351009947]} ##### Call download_photos : nb_thread : 1 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos ##### After load_data_input time to download the photos : 0.014555692672729492 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Apr 10 03:58: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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22200511) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} beginning of datou step ventilate_hashtags_in_portfolio : To implement ! To do loadFromThcl(), then load ParamDescType : thcl2725 get_desc_type_from_thcl : type of cat SELECT id, mtr_user_id, name, pb_hashtag_id, hashtag_id_list, button_legend_list, portfolio_id_lists, photo_hashtag_type, photo_desc_type, svm_limit, limit_tagging, is_public, live, created_at, updated_at, type_classification FROM MTRDatou.classification_theme WHERE `id` IN (2725) thcls : [{'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5186 remove imagettes from duplicated photo Iterating over portfolio : 22200511 get user id for portfolio 22200511 get sub ptf for main ptf 22200511, type 3726 and hashtags ['kraft', 'mal_croppe', 'autre_refus', 'flou', 'cartonnette', 'Teint_Dans_La_Masse', 'plastique', 'environnement', 'metal', 'Carton_gris', 'Carton_brun', 'papier'] 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`=22200511 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','mal_croppe','autre_refus','flou','cartonnette','Teint_Dans_La_Masse','plastique','environnement','metal','Carton_gris','Carton_brun','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`=22200511 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','mal_croppe','autre_refus','flou','cartonnette','Teint_Dans_La_Masse','plastique','environnement','metal','Carton_gris','Carton_brun','papier')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 22200511, 'sub_port_id': 22200526, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673949, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 50, 59)}, 'cartonnette': {'main_port_id': 22200511, 'sub_port_id': 22200527, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673950, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 50, 59)}, 'papier': {'main_port_id': 22200511, 'sub_port_id': 22200528, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673951, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 50, 59)}, 'plastique': {'main_port_id': 22200511, 'sub_port_id': 22200529, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673952, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 50, 59)}, 'flou': {'main_port_id': 22200511, 'sub_port_id': 22200530, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673953, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 50, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 22200511, 'sub_port_id': 22200531, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673954, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 50, 59)}, 'environnement': {'main_port_id': 22200511, 'sub_port_id': 22200532, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673955, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 50, 59)}, 'Carton_brun': {'main_port_id': 22200511, 'sub_port_id': 22200533, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673956, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 50, 59)}, 'autre_refus': {'main_port_id': 22200511, 'sub_port_id': 22200534, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673957, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 50, 59)}, 'Carton_gris': {'main_port_id': 22200511, 'sub_port_id': 22200535, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673958, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 50, 59)}, 'kraft': {'main_port_id': 22200511, 'sub_port_id': 22200536, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673959, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 50, 59)}, 'mal_croppe': {'main_port_id': 22200511, 'sub_port_id': 22200537, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673960, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 50, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22200526 , 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=22200511 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 (22200526) result : ((1351011693,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22200511) result : ((1351009947,), (1351009999,), (1351010590,), (1351010669,), (1351010722,), (1351010838,), (1351010877,), (1351011083,), (1351011101,), (1351011109,), (1351011115,), (1351011124,), (1351011125,), (1351011151,), (1351011154,), (1351011173,), (1351011186,), (1351011189,), (1351011270,), (1351011273,), (1351011276,), (1351011281,), (1351011283,), (1351011290,), (1351011381,), (1351011440,), (1351011478,), (1351011484,), (1351011490,), (1351011590,), (1351011605,), (1351011625,), (1351011639,), (1351011670,), (1351011675,), (1351011705,), (1351011725,), (1351011734,), (1351011797,), (1351011811,), (1351011816,), (1351012157,), (1351012184,), (1351012194,), (1351012219,), (1351012241,), (1351012260,), (1351012304,), (1351012308,), (1351012309,), (1351012310,), (1351012311,), (1351012316,), (1351012418,), (1351012462,), (1351012531,), (1351012572,)) 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 22200527 , 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=22200511 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 (22200527) result : ((1351011497,), (1351011498,), (1351011500,), (1351011684,), (1351011685,), (1351011686,), (1351011687,), (1351011729,), (1351012124,), (1351012318,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22200511) result : ((1351009947,), (1351009999,), (1351010590,), (1351010669,), (1351010722,), (1351010838,), (1351010877,), (1351011083,), (1351011101,), (1351011109,), (1351011115,), (1351011124,), (1351011125,), (1351011151,), (1351011154,), (1351011173,), (1351011186,), (1351011189,), (1351011270,), (1351011273,), (1351011276,), (1351011281,), (1351011283,), (1351011290,), (1351011381,), (1351011440,), (1351011478,), (1351011484,), (1351011490,), (1351011590,), (1351011605,), (1351011625,), (1351011639,), (1351011670,), (1351011675,), (1351011705,), (1351011725,), (1351011734,), (1351011797,), (1351011811,), (1351011816,), (1351012157,), (1351012184,), (1351012194,), (1351012219,), (1351012241,), (1351012260,), (1351012304,), (1351012308,), (1351012309,), (1351012310,), (1351012311,), (1351012316,), (1351012418,), (1351012462,), (1351012531,), (1351012572,)) 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 22200528 , 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=22200511 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 (22200528) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22200511) result : ((1351009947,), (1351009999,), (1351010590,), (1351010669,), (1351010722,), (1351010838,), (1351010877,), (1351011083,), (1351011101,), (1351011109,), (1351011115,), (1351011124,), (1351011125,), (1351011151,), (1351011154,), (1351011173,), (1351011186,), (1351011189,), (1351011270,), (1351011273,), (1351011276,), (1351011281,), (1351011283,), (1351011290,), (1351011381,), (1351011440,), (1351011478,), (1351011484,), (1351011490,), (1351011590,), (1351011605,), (1351011625,), (1351011639,), (1351011670,), (1351011675,), (1351011705,), (1351011725,), (1351011734,), (1351011797,), (1351011811,), (1351011816,), (1351012157,), (1351012184,), (1351012194,), (1351012219,), (1351012241,), (1351012260,), (1351012304,), (1351012308,), (1351012309,), (1351012310,), (1351012311,), (1351012316,), (1351012418,), (1351012462,), (1351012531,), (1351012572,)) 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 22200529 , 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=22200511 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 (22200529) result : ((1351011527,), (1351011732,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22200511) result : ((1351009947,), (1351009999,), (1351010590,), (1351010669,), (1351010722,), (1351010838,), (1351010877,), (1351011083,), (1351011101,), (1351011109,), (1351011115,), (1351011124,), (1351011125,), (1351011151,), (1351011154,), (1351011173,), (1351011186,), (1351011189,), (1351011270,), (1351011273,), (1351011276,), (1351011281,), (1351011283,), (1351011290,), (1351011381,), (1351011440,), (1351011478,), (1351011484,), (1351011490,), (1351011590,), (1351011605,), (1351011625,), (1351011639,), (1351011670,), (1351011675,), (1351011705,), (1351011725,), (1351011734,), (1351011797,), (1351011811,), (1351011816,), (1351012157,), (1351012184,), (1351012194,), (1351012219,), (1351012241,), (1351012260,), (1351012304,), (1351012308,), (1351012309,), (1351012310,), (1351012311,), (1351012316,), (1351012418,), (1351012462,), (1351012531,), (1351012572,)) 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 22200530 , 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=22200511 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 (22200530) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22200511) result : ((1351009947,), (1351009999,), (1351010590,), (1351010669,), (1351010722,), (1351010838,), (1351010877,), (1351011083,), (1351011101,), (1351011109,), (1351011115,), (1351011124,), (1351011125,), (1351011151,), (1351011154,), (1351011173,), (1351011186,), (1351011189,), (1351011270,), (1351011273,), (1351011276,), (1351011281,), (1351011283,), (1351011290,), (1351011381,), (1351011440,), (1351011478,), (1351011484,), (1351011490,), (1351011590,), (1351011605,), (1351011625,), (1351011639,), (1351011670,), (1351011675,), (1351011705,), (1351011725,), (1351011734,), (1351011797,), (1351011811,), (1351011816,), (1351012157,), (1351012184,), (1351012194,), (1351012219,), (1351012241,), (1351012260,), (1351012304,), (1351012308,), (1351012309,), (1351012310,), (1351012311,), (1351012316,), (1351012418,), (1351012462,), (1351012531,), (1351012572,)) 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 22200531 , 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=22200511 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 (22200531) result : ((1351011513,), (1351011514,), (1351011677,), (1351011678,), (1351011679,), (1351011727,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22200511) result : ((1351009947,), (1351009999,), (1351010590,), (1351010669,), (1351010722,), (1351010838,), (1351010877,), (1351011083,), (1351011101,), (1351011109,), (1351011115,), (1351011124,), (1351011125,), (1351011151,), (1351011154,), (1351011173,), (1351011186,), (1351011189,), (1351011270,), (1351011273,), (1351011276,), (1351011281,), (1351011283,), (1351011290,), (1351011381,), (1351011440,), (1351011478,), (1351011484,), (1351011490,), (1351011590,), (1351011605,), (1351011625,), (1351011639,), (1351011670,), (1351011675,), (1351011705,), (1351011725,), (1351011734,), (1351011797,), (1351011811,), (1351011816,), (1351012157,), (1351012184,), (1351012194,), (1351012219,), (1351012241,), (1351012260,), (1351012304,), (1351012308,), (1351012309,), (1351012310,), (1351012311,), (1351012316,), (1351012418,), (1351012462,), (1351012531,), (1351012572,)) 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 22200532 , 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=22200511 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 (22200532) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22200511) result : ((1351009947,), (1351009999,), (1351010590,), (1351010669,), (1351010722,), (1351010838,), (1351010877,), (1351011083,), (1351011101,), (1351011109,), (1351011115,), (1351011124,), (1351011125,), (1351011151,), (1351011154,), (1351011173,), (1351011186,), (1351011189,), (1351011270,), (1351011273,), (1351011276,), (1351011281,), (1351011283,), (1351011290,), (1351011381,), (1351011440,), (1351011478,), (1351011484,), (1351011490,), (1351011590,), (1351011605,), (1351011625,), (1351011639,), (1351011670,), (1351011675,), (1351011705,), (1351011725,), (1351011734,), (1351011797,), (1351011811,), (1351011816,), (1351012157,), (1351012184,), (1351012194,), (1351012219,), (1351012241,), (1351012260,), (1351012304,), (1351012308,), (1351012309,), (1351012310,), (1351012311,), (1351012316,), (1351012418,), (1351012462,), (1351012531,), (1351012572,)) 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 22200533 , 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=22200511 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 (22200533) result : ((1351011131,), (1351011515,), (1351011516,), (1351011517,), (1351011518,), (1351011519,), (1351011520,), (1351011522,), (1351011523,), (1351011524,), (1351011525,), (1351011689,), (1351011690,), (1351012312,), (1351012326,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22200511) result : ((1351009947,), (1351009999,), (1351010590,), (1351010669,), (1351010722,), (1351010838,), (1351010877,), (1351011083,), (1351011101,), (1351011109,), (1351011115,), (1351011124,), (1351011125,), (1351011151,), (1351011154,), (1351011173,), (1351011186,), (1351011189,), (1351011270,), (1351011273,), (1351011276,), (1351011281,), (1351011283,), (1351011290,), (1351011381,), (1351011440,), (1351011478,), (1351011484,), (1351011490,), (1351011590,), (1351011605,), (1351011625,), (1351011639,), (1351011670,), (1351011675,), (1351011705,), (1351011725,), (1351011734,), (1351011797,), (1351011811,), (1351011816,), (1351012157,), (1351012184,), (1351012194,), (1351012219,), (1351012241,), (1351012260,), (1351012304,), (1351012308,), (1351012309,), (1351012310,), (1351012311,), (1351012316,), (1351012418,), (1351012462,), (1351012531,), (1351012572,)) 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 22200534 , 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=22200511 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 (22200534) result : ((1351011130,), (1351011681,), (1351011682,), (1351012059,), (1351012125,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22200511) result : ((1351009947,), (1351009999,), (1351010590,), (1351010669,), (1351010722,), (1351010838,), (1351010877,), (1351011083,), (1351011101,), (1351011109,), (1351011115,), (1351011124,), (1351011125,), (1351011151,), (1351011154,), (1351011173,), (1351011186,), (1351011189,), (1351011270,), (1351011273,), (1351011276,), (1351011281,), (1351011283,), (1351011290,), (1351011381,), (1351011440,), (1351011478,), (1351011484,), (1351011490,), (1351011590,), (1351011605,), (1351011625,), (1351011639,), (1351011670,), (1351011675,), (1351011705,), (1351011725,), (1351011734,), (1351011797,), (1351011811,), (1351011816,), (1351012157,), (1351012184,), (1351012194,), (1351012219,), (1351012241,), (1351012260,), (1351012304,), (1351012308,), (1351012309,), (1351012310,), (1351012311,), (1351012316,), (1351012418,), (1351012462,), (1351012531,), (1351012572,)) 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 22200535 , 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=22200511 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 (22200535) result : ((1351011728,), (1351012313,), (1351012314,), (1351012315,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22200511) result : ((1351009947,), (1351009999,), (1351010590,), (1351010669,), (1351010722,), (1351010838,), (1351010877,), (1351011083,), (1351011101,), (1351011109,), (1351011115,), (1351011124,), (1351011125,), (1351011151,), (1351011154,), (1351011173,), (1351011186,), (1351011189,), (1351011270,), (1351011273,), (1351011276,), (1351011281,), (1351011283,), (1351011290,), (1351011381,), (1351011440,), (1351011478,), (1351011484,), (1351011490,), (1351011590,), (1351011605,), (1351011625,), (1351011639,), (1351011670,), (1351011675,), (1351011705,), (1351011725,), (1351011734,), (1351011797,), (1351011811,), (1351011816,), (1351012157,), (1351012184,), (1351012194,), (1351012219,), (1351012241,), (1351012260,), (1351012304,), (1351012308,), (1351012309,), (1351012310,), (1351012311,), (1351012316,), (1351012418,), (1351012462,), (1351012531,), (1351012572,)) 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 22200536 , 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=22200511 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 (22200536) result : ((1351011132,), (1351011533,), (1351011534,), (1351011691,), (1351011692,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22200511) result : ((1351009947,), (1351009999,), (1351010590,), (1351010669,), (1351010722,), (1351010838,), (1351010877,), (1351011083,), (1351011101,), (1351011109,), (1351011115,), (1351011124,), (1351011125,), (1351011151,), (1351011154,), (1351011173,), (1351011186,), (1351011189,), (1351011270,), (1351011273,), (1351011276,), (1351011281,), (1351011283,), (1351011290,), (1351011381,), (1351011440,), (1351011478,), (1351011484,), (1351011490,), (1351011590,), (1351011605,), (1351011625,), (1351011639,), (1351011670,), (1351011675,), (1351011705,), (1351011725,), (1351011734,), (1351011797,), (1351011811,), (1351011816,), (1351012157,), (1351012184,), (1351012194,), (1351012219,), (1351012241,), (1351012260,), (1351012304,), (1351012308,), (1351012309,), (1351012310,), (1351012311,), (1351012316,), (1351012418,), (1351012462,), (1351012531,), (1351012572,)) 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 22200537 , 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=22200511 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 (22200537) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22200511) result : ((1351009947,), (1351009999,), (1351010590,), (1351010669,), (1351010722,), (1351010838,), (1351010877,), (1351011083,), (1351011101,), (1351011109,), (1351011115,), (1351011124,), (1351011125,), (1351011151,), (1351011154,), (1351011173,), (1351011186,), (1351011189,), (1351011270,), (1351011273,), (1351011276,), (1351011281,), (1351011283,), (1351011290,), (1351011381,), (1351011440,), (1351011478,), (1351011484,), (1351011490,), (1351011590,), (1351011605,), (1351011625,), (1351011639,), (1351011670,), (1351011675,), (1351011705,), (1351011725,), (1351011734,), (1351011797,), (1351011811,), (1351011816,), (1351012157,), (1351012184,), (1351012194,), (1351012219,), (1351012241,), (1351012260,), (1351012304,), (1351012308,), (1351012309,), (1351012310,), (1351012311,), (1351012316,), (1351012418,), (1351012462,), (1351012531,), (1351012572,)) 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`=22200511 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','mal_croppe','autre_refus','flou','cartonnette','Teint_Dans_La_Masse','plastique','environnement','metal','Carton_gris','Carton_brun','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`=22200511 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','mal_croppe','autre_refus','flou','cartonnette','Teint_Dans_La_Masse','plastique','environnement','metal','Carton_gris','Carton_brun','papier')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 22200511, 'sub_port_id': 22200538, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673961, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 51, 1)}, 'cartonnette': {'main_port_id': 22200511, 'sub_port_id': 22200539, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673962, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 51, 1)}, 'papier': {'main_port_id': 22200511, 'sub_port_id': 22200540, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673963, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 51, 1)}, 'plastique': {'main_port_id': 22200511, 'sub_port_id': 22200541, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673964, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 51, 1)}, 'flou': {'main_port_id': 22200511, 'sub_port_id': 22200542, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673965, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 51, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 22200511, 'sub_port_id': 22200543, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673966, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 51, 1)}, 'environnement': {'main_port_id': 22200511, 'sub_port_id': 22200544, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673967, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 51, 1)}, 'Carton_brun': {'main_port_id': 22200511, 'sub_port_id': 22200545, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673968, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 51, 1)}, 'autre_refus': {'main_port_id': 22200511, 'sub_port_id': 22200546, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673969, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 51, 1)}, 'Carton_gris': {'main_port_id': 22200511, 'sub_port_id': 22200547, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673970, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 51, 1)}, 'kraft': {'main_port_id': 22200511, 'sub_port_id': 22200548, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673971, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 51, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 51, 1)}, 'mal_croppe': {'main_port_id': 22200511, 'sub_port_id': 22200549, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14673972, 'last_updated_at': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_desc': datetime.datetime(2025, 4, 10, 3, 55), 'last_updated_at_asc': datetime.datetime(2025, 4, 10, 3, 51, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22200538,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22200526 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22200539,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22200527 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22200540,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22200528 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22200541,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22200529 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22200542,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22200530 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22200543,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22200531 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22200544,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22200532 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22200545,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22200533 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22200546,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22200534 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22200547,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22200535 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22200548,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22200536 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22200549,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22200537 lien utilise dans velours : https://www.fotonower.com/velours/22200538,22200539,22200540,22200541,22200542,22200543,22200544,22200545,22200546,22200547,22200548,22200549?tags=metal,cartonnette,papier,plastique,flou,Teint_Dans_La_Masse,environnement,Carton_brun,autre_refus,Carton_gris,kraft,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22200511]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1351012572, 1351012531, 1351012462, 1351012418, 1351012316, 1351012311, 1351012310, 1351012309, 1351012308, 1351012304, 1351012260, 1351012241, 1351012219, 1351012194, 1351012184, 1351012157, 1351011816, 1351011811, 1351011797, 1351011734, 1351011725, 1351011705, 1351011675, 1351011670] map_info['map_portfolio_photo'] : {22200511: [1351012572, 1351012531, 1351012462, 1351012418, 1351012316, 1351012311, 1351012310, 1351012309, 1351012308, 1351012304, 1351012260, 1351012241, 1351012219, 1351012194, 1351012184, 1351012157, 1351011816, 1351011811, 1351011797, 1351011734, 1351011725, 1351011705, 1351011675, 1351011670, 1351011639, 1351011625, 1351011605, 1351011590, 1351011490, 1351011484, 1351011478, 1351011440, 1351011381, 1351011290, 1351011283, 1351011281, 1351011276, 1351011273, 1351011270, 1351011189, 1351011186, 1351011173, 1351011154, 1351011151, 1351011125, 1351011124, 1351011115, 1351011109, 1351011101, 1351011083, 1351010877, 1351010838, 1351010722, 1351010669, 1351010590, 1351009999, 1351009947]} final : False mtd_id 4302 list_pids : [1351012572, 1351012531, 1351012462, 1351012418, 1351012316, 1351012311, 1351012310, 1351012309, 1351012308, 1351012304, 1351012260, 1351012241, 1351012219, 1351012194, 1351012184, 1351012157, 1351011816, 1351011811, 1351011797, 1351011734, 1351011725, 1351011705, 1351011675, 1351011670] Looping around the photos to save general results len do output : 1 /22200511. 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, '2737555') ('4302', '22200511', '1351012572', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012531', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012462', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012418', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012316', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012311', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012310', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012309', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012308', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012304', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012260', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012241', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012219', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012194', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012184', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012157', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011816', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011811', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011797', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011734', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011725', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011705', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011675', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011670', None, None, None, None, None, '2737555') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 25 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, '22200511', "{'metal': 22200526, 'cartonnette': 22200527, 'papier': 22200528, 'plastique': 22200529, 'flou': 22200530, 'Teint_Dans_La_Masse': 22200531, 'environnement': 22200532, 'Carton_brun': 22200533, 'autre_refus': 22200534, 'Carton_gris': 22200535, 'kraft': 22200536, 'mal_croppe': 22200537}", None, None, None, None, '2737555'), ('4302', '22200511', '1351012572', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012531', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012462', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012418', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012316', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012311', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012310', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012309', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012308', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012304', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012260', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012241', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012219', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012194', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012184', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012157', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011816', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011811', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011797', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011734', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011725', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011705', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011675', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011670', None, None, None, None, None, '2737555')] time used for this insertion : 0.7242424488067627 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5355229377746582 time spend to save output : 0.7246406078338623 total time spend for step 1 : 2.2601635456085205 step2:final Thu Apr 10 03:59:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (22200511) 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 22200511 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1351009999,1351009947,1351010722,1351010669,1351010590,1351010877,1351010838,1351011125,1351011124,1351011115,1351011109,1351011101,1351011083,1351011189,1351011186,1351011173,1351011154,1351011151,1351011290,1351011283,1351011281,1351011276,1351011273,1351011270,1351011490,1351011484,1351011478,1351011440,1351011381,1351011639,1351011625,1351011605,1351011590,1351011734,1351011725,1351011705,1351011675,1351011670,1351011816,1351011811,1351011797,1351012572,1351012260,1351012241,1351012531,1351012219,1351012462,1351012194,1351012418,1351012184,1351012316,1351012311,1351012157,1351012310,1351012309,1351012308,1351012304); 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([22200511]) Inside saveOutput : final : False verbose : True original output for save of step final : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} new output for save of step final : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} [1351012572, 1351012531, 1351012462, 1351012418, 1351012316, 1351012311, 1351012310, 1351012309, 1351012308, 1351012304, 1351012260, 1351012241, 1351012219, 1351012194, 1351012184, 1351012157, 1351011816, 1351011811, 1351011797, 1351011734, 1351011725, 1351011705, 1351011675, 1351011670] map_info['map_portfolio_photo'] : {22200511: [1351012572, 1351012531, 1351012462, 1351012418, 1351012316, 1351012311, 1351012310, 1351012309, 1351012308, 1351012304, 1351012260, 1351012241, 1351012219, 1351012194, 1351012184, 1351012157, 1351011816, 1351011811, 1351011797, 1351011734, 1351011725, 1351011705, 1351011675, 1351011670, 1351011639, 1351011625, 1351011605, 1351011590, 1351011490, 1351011484, 1351011478, 1351011440, 1351011381, 1351011290, 1351011283, 1351011281, 1351011276, 1351011273, 1351011270, 1351011189, 1351011186, 1351011173, 1351011154, 1351011151, 1351011125, 1351011124, 1351011115, 1351011109, 1351011101, 1351011083, 1351010877, 1351010838, 1351010722, 1351010669, 1351010590, 1351009999, 1351009947]} final : False mtd_id 4302 list_pids : [1351012572, 1351012531, 1351012462, 1351012418, 1351012316, 1351012311, 1351012310, 1351012309, 1351012308, 1351012304, 1351012260, 1351012241, 1351012219, 1351012194, 1351012184, 1351012157, 1351011816, 1351011811, 1351011797, 1351011734, 1351011725, 1351011705, 1351011675, 1351011670] Looping around the photos to save general results len do output : 24 /1351012572.Didn't retrieve data . /1351012531.Didn't retrieve data . /1351012462.Didn't retrieve data . /1351012418.Didn't retrieve data . /1351012316.Didn't retrieve data . /1351012311.Didn't retrieve data . /1351012310.Didn't retrieve data . /1351012309.Didn't retrieve data . /1351012308.Didn't retrieve data . /1351012304.Didn't retrieve data . /1351012260.Didn't retrieve data . /1351012241.Didn't retrieve data . /1351012219.Didn't retrieve data . /1351012194.Didn't retrieve data . /1351012184.Didn't retrieve data . /1351012157.Didn't retrieve data . /1351011816.Didn't retrieve data . /1351011811.Didn't retrieve data . /1351011797.Didn't retrieve data . /1351011734.Didn't retrieve data . /1351011725.Didn't retrieve data . /1351011705.Didn't retrieve data . /1351011675.Didn't retrieve data . /1351011670.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, '2737555') ('4302', '22200511', '1351012572', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012531', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012462', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012418', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012316', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012311', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012310', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012309', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012308', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012304', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012260', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012241', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012219', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012194', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012184', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012157', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011816', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011811', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011797', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011734', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011725', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011705', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011675', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011670', None, None, None, None, None, '2737555') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 72 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', '22200511', '1351012572', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351012531', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351012462', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351012418', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351012316', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351012311', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351012310', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351012309', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351012308', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351012304', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351012260', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351012241', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351012219', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351012194', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351012184', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351012157', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351011816', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351011811', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351011797', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351011734', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351011725', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351011705', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351011675', '0.04484688987561398', None, None, None, None, '2737555'), ('4302', '22200511', '1351011670', '0.04484688987561398', None, None, None, None, '2737555')] time used for this insertion : 0.018332481384277344 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1516127586364746 time spend to save output : 0.019390344619750977 total time spend for step 2 : 0.17100310325622559 step3:velours_tree Thu Apr 10 03:59: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 : {22200511: [{'metal': 22200526, 'cartonnette': 22200527, 'papier': 22200528, 'plastique': 22200529, 'flou': 22200530, 'Teint_Dans_La_Masse': 22200531, 'environnement': 22200532, 'Carton_brun': 22200533, 'autre_refus': 22200534, 'Carton_gris': 22200535, 'kraft': 22200536, 'mal_croppe': 22200537}]} input_args_next_step : {22200511: ()} output_args : {22200511: [{'metal': 22200526, 'cartonnette': 22200527, 'papier': 22200528, 'plastique': 22200529, 'flou': 22200530, 'Teint_Dans_La_Masse': 22200531, 'environnement': 22200532, 'Carton_brun': 22200533, 'autre_refus': 22200534, 'Carton_gris': 22200535, 'kraft': 22200536, 'mal_croppe': 22200537}]} args : 22200511 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'metal': 22200526, 'cartonnette': 22200527, 'papier': 22200528, 'plastique': 22200529, 'flou': 22200530, 'Teint_Dans_La_Masse': 22200531, 'environnement': 22200532, 'Carton_brun': 22200533, 'autre_refus': 22200534, 'Carton_gris': 22200535, 'kraft': 22200536, 'mal_croppe': 22200537},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22200511) 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([22200511]) 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.36464858055114746 time spend to save output : 7.271766662597656e-05 total time spend for step 3 : 0.36472129821777344 step4:send_mail_cod Thu Apr 10 03:59:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} input_args_next_step : {1351012572: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351012572 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351012531 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351012462 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351012418 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351012316 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351012311 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351012310 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351012309 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351012308 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351012304 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351012260 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351012241 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351012219 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351012194 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351012184 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351012157 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351011816 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351011811 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351011797 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351011734 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351011725 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351011705 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351011675 depend.output_id : 0 input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ()} output_args : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',)} args : 1351011670 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 : {22200511: [{'metal': 22200526, 'cartonnette': 22200527, 'papier': 22200528, 'plastique': 22200529, 'flou': 22200530, 'Teint_Dans_La_Masse': 22200531, 'environnement': 22200532, 'Carton_brun': 22200533, 'autre_refus': 22200534, 'Carton_gris': 22200535, 'kraft': 22200536, 'mal_croppe': 22200537}]} input_args_next_step : {1351012572: ('0.04484688987561398',), 1351012531: ('0.04484688987561398',), 1351012462: ('0.04484688987561398',), 1351012418: ('0.04484688987561398',), 1351012316: ('0.04484688987561398',), 1351012311: ('0.04484688987561398',), 1351012310: ('0.04484688987561398',), 1351012309: ('0.04484688987561398',), 1351012308: ('0.04484688987561398',), 1351012304: ('0.04484688987561398',), 1351012260: ('0.04484688987561398',), 1351012241: ('0.04484688987561398',), 1351012219: ('0.04484688987561398',), 1351012194: ('0.04484688987561398',), 1351012184: ('0.04484688987561398',), 1351012157: ('0.04484688987561398',), 1351011816: ('0.04484688987561398',), 1351011811: ('0.04484688987561398',), 1351011797: ('0.04484688987561398',), 1351011734: ('0.04484688987561398',), 1351011725: ('0.04484688987561398',), 1351011705: ('0.04484688987561398',), 1351011675: ('0.04484688987561398',), 1351011670: ('0.04484688987561398',), 22200511: ()} output_args : {22200511: [{'metal': 22200526, 'cartonnette': 22200527, 'papier': 22200528, 'plastique': 22200529, 'flou': 22200530, 'Teint_Dans_La_Masse': 22200531, 'environnement': 22200532, 'Carton_brun': 22200533, 'autre_refus': 22200534, 'Carton_gris': 22200535, 'kraft': 22200536, 'mal_croppe': 22200537}]} args : 22200511 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 :25, first value : ('0.04484688987561398',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22200511) 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 (1351012572,1351012531,1351012462,1351012418,1351012316,1351012311,1351012310,1351012309,1351012308,1351012304,1351012260,1351012241,1351012219,1351012194,1351012184,1351012157,1351011816,1351011811,1351011797,1351011734,1351011725,1351011705,1351011675,1351011670) Found this number of photos: 24 ##### Call download_photos : nb_thread : 5 begin to download photo : 1351011670 begin to download photo : 1351011797 begin to download photo : 1351012194 begin to download photo : 1351012308 begin to download photo : 1351012418 download finish for photo 1351011797 begin to download photo : 1351011811 download finish for photo 1351012308 begin to download photo : 1351012309 download finish for photo 1351012194 begin to download photo : 1351012219 download finish for photo 1351011670 begin to download photo : 1351011675 download finish for photo 1351012418 begin to download photo : 1351012462 download finish for photo 1351011811 begin to download photo : 1351011816 download finish for photo 1351012219 begin to download photo : 1351012241 download finish for photo 1351012462 begin to download photo : 1351012531 download finish for photo 1351011675 begin to download photo : 1351011705 download finish for photo 1351012309 begin to download photo : 1351012310 download finish for photo 1351012241 begin to download photo : 1351012260 download finish for photo 1351012531 begin to download photo : 1351012572 download finish for photo 1351011816 begin to download photo : 1351012157 download finish for photo 1351011705 begin to download photo : 1351011725 download finish for photo 1351012310 begin to download photo : 1351012311 download finish for photo 1351012260 begin to download photo : 1351012304 download finish for photo 1351012157 begin to download photo : 1351012184 download finish for photo 1351012572 download finish for photo 1351011725 begin to download photo : 1351011734 download finish for photo 1351012311 begin to download photo : 1351012316 download finish for photo 1351012304 download finish for photo 1351012184 download finish for photo 1351012316 download finish for photo 1351011734 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 24 ; length of list_pids : 24 ; length of list_args : 24 results_Auto_P22200511_10-04-2025_03_59_02.pdf 22200526 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=22200526 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351011693: '1744250010_3653913_1351011270_3ea8157ba25880c563bba0c3d4dd5b2b_rle_crop_3753099246_0.png'} change filename to text .imagette222005261744250342/ imagette222005261744250342/1744250010_3653913_1351011270_3ea8157ba25880c563bba0c3d4dd5b2b_rle_crop_3753099246_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/59f64397bedb6bb268862283de3654a4_28424702.png imagette222005261744250342 22200527 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=22200527 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351011497: '1744249872_3652268_1351011124_9fd7ea418f8fe28957f7599798c13b00_rle_crop_3753095740_0.png', 1351011498: '1744249872_3652268_1351011124_9fd7ea418f8fe28957f7599798c13b00_rle_crop_3753095737_0.png', 1351011500: '1744249872_3652268_1351011083_0359efc8a2b9d8eb9c05d0fdf66a3ac9_rle_crop_3753095910_0.png', 1351011684: '1744250010_3653913_1351011283_3a9d63a18b1ad33c22502cc759d34eb3_rle_crop_3753098991_0.png', 1351011685: '1744250010_3653913_1351011273_6c13c67f9e888d2ac9dcc6583fca65c4_rle_crop_3753099205_0.png', 1351011686: '1744250010_3653913_1351011270_3ea8157ba25880c563bba0c3d4dd5b2b_rle_crop_3753099244_0.png', 1351011687: '1744250010_3653913_1351011270_3ea8157ba25880c563bba0c3d4dd5b2b_rle_crop_3753099245_0.png', 1351011729: '1744250032_3654153_1351011186_70c459cc096b244f6d68a647182ce072_rle_crop_3753099372_0.png', 1351012124: '1744250125_3459587_1351011605_62041b02eb94128b953b85a413dc6b28_rle_crop_3753101160_0.png', 1351012318: '1744250127_3874404_1351011381_38e3988ef3333c06821b7f193f86cce0_rle_crop_3753101348_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/548f4f8dd3cfd3bb2b3ceea5fe91e678_97152695.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/69c120d8c60f2b9cd09f2632d325cd20_15488772.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1da4e50edb5090f1e66c563908f99545_74939745.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/273041857f935a6a27e72e2cea9dc3f3_36693970.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/4a1cb84f405fffed3c628c25f471739e_46764080.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/48de2ab9aee3c59241fd936e1669c442_73413281.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/00e83e8a6d3b68865e35e37d64b2510b_75032639.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0dec40bfca79a5d8ef3f57b31fd307bf_94926717.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5d4ae06b099d6c32502643b3bdeddd80_46009634.png change filename to text .imagette222005271744250342/ imagette222005271744250342/1744250010_3653913_1351011283_3a9d63a18b1ad33c22502cc759d34eb3_rle_crop_3753098991_0.png.png imagette222005271744250342/1744249872_3652268_1351011124_9fd7ea418f8fe28957f7599798c13b00_rle_crop_3753095740_0.png.png imagette222005271744250342/1744250010_3653913_1351011270_3ea8157ba25880c563bba0c3d4dd5b2b_rle_crop_3753099244_0.png.png imagette222005271744250342/1744249872_3652268_1351011083_0359efc8a2b9d8eb9c05d0fdf66a3ac9_rle_crop_3753095910_0.png.png imagette222005271744250342/1744250010_3653913_1351011273_6c13c67f9e888d2ac9dcc6583fca65c4_rle_crop_3753099205_0.png.png imagette222005271744250342/1744250127_3874404_1351011381_38e3988ef3333c06821b7f193f86cce0_rle_crop_3753101348_0.png.png imagette222005271744250342/1744249872_3652268_1351011124_9fd7ea418f8fe28957f7599798c13b00_rle_crop_3753095737_0.png.png imagette222005271744250342/1744250010_3653913_1351011270_3ea8157ba25880c563bba0c3d4dd5b2b_rle_crop_3753099245_0.png.png imagette222005271744250342/1744250032_3654153_1351011186_70c459cc096b244f6d68a647182ce072_rle_crop_3753099372_0.png.png imagette222005271744250342/1744250125_3459587_1351011605_62041b02eb94128b953b85a413dc6b28_rle_crop_3753101160_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ac3053c7923de045515537a7273ac9f6_13998293.png imagette222005271744250342 22200529 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=22200529 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351011527: '1744249894_3652541_1351010877_9b785ebad1c4296895468893b2f2cee6_rle_crop_3753095872_0.png', 1351011732: '1744250032_3654153_1351011173_fd8142bd20a85da0a8150f4c4b1d470e_rle_crop_3753099390_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cedaf9965019188cfd4217c2f2cf48e7_34736822.png change filename to text .imagette222005291744250343/ imagette222005291744250343/1744249894_3652541_1351010877_9b785ebad1c4296895468893b2f2cee6_rle_crop_3753095872_0.png.png imagette222005291744250343/1744250032_3654153_1351011173_fd8142bd20a85da0a8150f4c4b1d470e_rle_crop_3753099390_0.png.png imagette222005301744250343/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/db3b3161f7264d38b284e603f2e7654b_1441463.png imagette222005291744250343 22200530 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=22200530 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222005301744250343 22200534 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=22200534 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351011130: '1744249694_3644957_1351009947_8fe0a5147718cabbe89fa9f62fd6f13e_rle_crop_3753090670_0.png', 1351011681: '1744250010_3653913_1351011273_6c13c67f9e888d2ac9dcc6583fca65c4_rle_crop_3753099206_0.png', 1351011682: '1744250010_3653913_1351011273_6c13c67f9e888d2ac9dcc6583fca65c4_rle_crop_3753099203_0.png', 1351012059: '1744250125_3459587_1351011605_62041b02eb94128b953b85a413dc6b28_rle_crop_3753101157_0.png', 1351012125: '1744250127_3874404_1351011381_38e3988ef3333c06821b7f193f86cce0_rle_crop_3753101340_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c908f8fbd53b1cbd9cda80ea7abbad1c_27603857.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/c045ce95fad400cd2c440a7d39951c70_46973483.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fd92a19b42634467fa304c5bc24e7b9d_11206202.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/68a8e52146e8e86a8768a0a8a8752479_49025842.png change filename to text .imagette222005341744250343/ imagette222005341744250343/1744250125_3459587_1351011605_62041b02eb94128b953b85a413dc6b28_rle_crop_3753101157_0.png.png imagette222005341744250343/1744249694_3644957_1351009947_8fe0a5147718cabbe89fa9f62fd6f13e_rle_crop_3753090670_0.png.png imagette222005341744250343/1744250010_3653913_1351011273_6c13c67f9e888d2ac9dcc6583fca65c4_rle_crop_3753099203_0.png.png imagette222005341744250343/1744250127_3874404_1351011381_38e3988ef3333c06821b7f193f86cce0_rle_crop_3753101340_0.png.png imagette222005341744250343/1744250010_3653913_1351011273_6c13c67f9e888d2ac9dcc6583fca65c4_rle_crop_3753099206_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/6a0ce54bbcacba66074b13f541977675_68553138.png imagette222005341744250343 22200536 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=22200536 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351011132: '1744249694_3644957_1351009947_8fe0a5147718cabbe89fa9f62fd6f13e_rle_crop_3753090671_0.png', 1351011533: '1744249894_3652541_1351010669_15d97aba11d937f3fffc92899cb18451_rle_crop_3753095926_0.png', 1351011534: '1744249894_3652541_1351010669_15d97aba11d937f3fffc92899cb18451_rle_crop_3753095923_0.png', 1351011691: '1744250010_3653913_1351011273_6c13c67f9e888d2ac9dcc6583fca65c4_rle_crop_3753099214_0.png', 1351011692: '1744250010_3653913_1351011270_3ea8157ba25880c563bba0c3d4dd5b2b_rle_crop_3753099253_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/0a26f939aacc1f09ac36fd10a347a612_64875254.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9b144a044e16ca71255ca075e422bff4_29701792.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/ea01dae728548f40ce555550db25bd32_12522944.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/de81d34ed0f35f14ba9e325e9919dbf6_96743821.png change filename to text .imagette222005361744250343/ imagette222005361744250343/1744250010_3653913_1351011270_3ea8157ba25880c563bba0c3d4dd5b2b_rle_crop_3753099253_0.png.png imagette222005361744250343/1744249694_3644957_1351009947_8fe0a5147718cabbe89fa9f62fd6f13e_rle_crop_3753090671_0.png.png imagette222005361744250343/1744249894_3652541_1351010669_15d97aba11d937f3fffc92899cb18451_rle_crop_3753095923_0.png.png imagette222005361744250343/1744249894_3652541_1351010669_15d97aba11d937f3fffc92899cb18451_rle_crop_3753095926_0.png.png imagette222005361744250343/1744250010_3653913_1351011273_6c13c67f9e888d2ac9dcc6583fca65c4_rle_crop_3753099214_0.png.png imagette222005371744250343/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e506b0250a4a056186cfe7f0bbcbfcbe_38608254.png imagette222005361744250343 22200537 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=22200537 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222005371744250343 22200531 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=22200531 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351011513: '1744249894_3652541_1351010669_15d97aba11d937f3fffc92899cb18451_rle_crop_3753095932_0.png', 1351011514: '1744249894_3652541_1351010590_b40da23df0adabe48ec077291eadf23b_rle_crop_3753095945_0.png', 1351011677: '1744250010_3653913_1351011276_c37c58b92938c29329f7a4423131d05e_rle_crop_3753099193_0.png', 1351011678: '1744250010_3653913_1351011273_6c13c67f9e888d2ac9dcc6583fca65c4_rle_crop_3753099219_0.png', 1351011679: '1744250010_3653913_1351011270_3ea8157ba25880c563bba0c3d4dd5b2b_rle_crop_3753099247_0.png', 1351011727: '1744250032_3654153_1351011154_1582194e049a38ffeae7097eebf01fd6_rle_crop_3753099402_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/cc5cdad134d103a3639a666255caa2da_31993784.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/29c63564f1cfde31bc0f1f8dcadfbd26_67659098.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a3aab7286452c344f9a00a727f57b004_5030750.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/fa63cd005328dc4080eff659c596c027_20081380.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a012b63bb86947d9ed19e7bef89e3155_75673016.png change filename to text .imagette222005311744250343/ imagette222005311744250343/1744250010_3653913_1351011273_6c13c67f9e888d2ac9dcc6583fca65c4_rle_crop_3753099219_0.png.png imagette222005311744250343/1744250010_3653913_1351011270_3ea8157ba25880c563bba0c3d4dd5b2b_rle_crop_3753099247_0.png.png imagette222005311744250343/1744250010_3653913_1351011276_c37c58b92938c29329f7a4423131d05e_rle_crop_3753099193_0.png.png imagette222005311744250343/1744249894_3652541_1351010590_b40da23df0adabe48ec077291eadf23b_rle_crop_3753095945_0.png.png imagette222005311744250343/1744249894_3652541_1351010669_15d97aba11d937f3fffc92899cb18451_rle_crop_3753095932_0.png.png imagette222005311744250343/1744250032_3654153_1351011154_1582194e049a38ffeae7097eebf01fd6_rle_crop_3753099402_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a43569c99db43fe34458bff378ca651b_34774824.png imagette222005311744250343 22200533 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=22200533 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351011131: '1744249694_3644957_1351009947_8fe0a5147718cabbe89fa9f62fd6f13e_rle_crop_3753090674_0.png', 1351011515: '1744249872_3652268_1351011124_9fd7ea418f8fe28957f7599798c13b00_rle_crop_3753095738_0.png', 1351011516: '1744249872_3652268_1351011115_d84e87428488b4b59777dd7698f16b74_rle_crop_3753095748_0.png', 1351011517: '1744249872_3652268_1351011109_7d2f36640bf77e375e3a23e7d0a5b2f7_rle_crop_3753095835_0.png', 1351011518: '1744249872_3652268_1351011101_2a4efdee1feaad6d5203ba76905e456f_rle_crop_3753095851_0.png', 1351011519: '1744249872_3652268_1351011101_2a4efdee1feaad6d5203ba76905e456f_rle_crop_3753095847_0.png', 1351011520: '1744249872_3652268_1351011083_0359efc8a2b9d8eb9c05d0fdf66a3ac9_rle_crop_3753095914_0.png', 1351011522: '1744249872_3652268_1351011083_0359efc8a2b9d8eb9c05d0fdf66a3ac9_rle_crop_3753095915_0.png', 1351011523: '1744249894_3652541_1351010877_9b785ebad1c4296895468893b2f2cee6_rle_crop_3753095870_0.png', 1351011524: '1744249894_3652541_1351010669_15d97aba11d937f3fffc92899cb18451_rle_crop_3753095933_0.png', 1351011525: '1744249894_3652541_1351010590_b40da23df0adabe48ec077291eadf23b_rle_crop_3753095949_0.png', 1351011689: '1744250010_3653913_1351011283_3a9d63a18b1ad33c22502cc759d34eb3_rle_crop_3753098996_0.png', 1351011690: '1744250010_3653913_1351011283_3a9d63a18b1ad33c22502cc759d34eb3_rle_crop_3753098994_0.png', 1351012312: '1744250125_3459587_1351011590_794a435bcaf101a4563cde3e1fc72bc0_rle_crop_3753101266_0.png', 1351012326: '1744250127_3874404_1351011381_38e3988ef3333c06821b7f193f86cce0_rle_crop_3753101344_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/71df793a0cb11166f7d3147c0bbe9f2e_21644355.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d0022a092ac23853eafaa9bb7fc83b50_51329855.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1c1f41b553160345edd92368f52a3900_55819954.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/474a1e0bcefbfa071706923ae68fb7fd_46523511.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/b4dfb78bb2da9e242c5c59c65aedfb7b_37104275.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/9ac1f9ae27bfd82084d19f70c6bde663_62113969.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2dd7fac74e8d6a545431c13980fde59b_66836701.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/3f848ed17a77f35d36b371fd4f5341b1_61276850.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a4d254ed3e6a81ed59b631be9dae78a7_53867110.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/eb07040691f963a70196d5103e660148_74835079.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f58b20f4d81d1297cd737c46ffd2df54_87142372.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/a030c97233d704abf6b1fbcaab077deb_20779113.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d4d375a7234b3a786be1b1eb2eeab235_91171131.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/724aad7b51d811f6dc8195cf97af9f11_71950791.png change filename to text .imagette222005331744250344/ imagette222005331744250344/1744249872_3652268_1351011109_7d2f36640bf77e375e3a23e7d0a5b2f7_rle_crop_3753095835_0.png.png imagette222005331744250344/1744250010_3653913_1351011283_3a9d63a18b1ad33c22502cc759d34eb3_rle_crop_3753098994_0.png.png imagette222005331744250344/1744249872_3652268_1351011124_9fd7ea418f8fe28957f7599798c13b00_rle_crop_3753095738_0.png.png imagette222005331744250344/1744249894_3652541_1351010877_9b785ebad1c4296895468893b2f2cee6_rle_crop_3753095870_0.png.png imagette222005331744250344/1744249872_3652268_1351011083_0359efc8a2b9d8eb9c05d0fdf66a3ac9_rle_crop_3753095915_0.png.png imagette222005331744250344/1744250125_3459587_1351011590_794a435bcaf101a4563cde3e1fc72bc0_rle_crop_3753101266_0.png.png imagette222005331744250344/1744249872_3652268_1351011101_2a4efdee1feaad6d5203ba76905e456f_rle_crop_3753095847_0.png.png imagette222005331744250344/1744249894_3652541_1351010590_b40da23df0adabe48ec077291eadf23b_rle_crop_3753095949_0.png.png imagette222005331744250344/1744249872_3652268_1351011115_d84e87428488b4b59777dd7698f16b74_rle_crop_3753095748_0.png.png imagette222005331744250344/1744250127_3874404_1351011381_38e3988ef3333c06821b7f193f86cce0_rle_crop_3753101344_0.png.png imagette222005331744250344/1744249694_3644957_1351009947_8fe0a5147718cabbe89fa9f62fd6f13e_rle_crop_3753090674_0.png.png imagette222005331744250344/1744249872_3652268_1351011083_0359efc8a2b9d8eb9c05d0fdf66a3ac9_rle_crop_3753095914_0.png.png imagette222005331744250344/1744250010_3653913_1351011283_3a9d63a18b1ad33c22502cc759d34eb3_rle_crop_3753098996_0.png.png imagette222005331744250344/1744249894_3652541_1351010669_15d97aba11d937f3fffc92899cb18451_rle_crop_3753095933_0.png.png imagette222005331744250344/1744249872_3652268_1351011101_2a4efdee1feaad6d5203ba76905e456f_rle_crop_3753095851_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/1f0a0c4ec3d9d55676233fa2f26c98d1_803491.png imagette222005331744250344 22200535 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=22200535 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351011728: '1744250032_3654153_1351011186_70c459cc096b244f6d68a647182ce072_rle_crop_3753099376_0.png', 1351012313: '1744250127_3874404_1351011484_c0857a6216be89262229c8e3b2292626_rle_crop_3753101274_0.png', 1351012314: '1744250127_3874404_1351011440_d81650f996b38a9c6535f8e5ca4664b6_rle_crop_3753101334_0.png', 1351012315: '1744250127_3874404_1351011440_d81650f996b38a9c6535f8e5ca4664b6_rle_crop_3753101330_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/2ed834ad6e7e6313b1cbf8feb8adfaad_46586128.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/62cb42ab7e81bc0e2159ad3d2d01554f_84573860.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/e34de17cc0c748a448e706b694ceaac7_46824095.png change filename to text .imagette222005351744250345/ imagette222005351744250345/1744250032_3654153_1351011186_70c459cc096b244f6d68a647182ce072_rle_crop_3753099376_0.png.png imagette222005351744250345/1744250127_3874404_1351011440_d81650f996b38a9c6535f8e5ca4664b6_rle_crop_3753101330_0.png.png imagette222005351744250345/1744250127_3874404_1351011484_c0857a6216be89262229c8e3b2292626_rle_crop_3753101274_0.png.png imagette222005351744250345/1744250127_3874404_1351011440_d81650f996b38a9c6535f8e5ca4664b6_rle_crop_3753101334_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/d06a370e8aeadb42b6fd25e4fe138903_43391909.png imagette222005351744250345 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22200511 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22200538,22200539,22200540,22200541,22200542,22200543,22200544,22200545,22200546,22200547,22200548,22200549?tags=metal,cartonnette,papier,plastique,flou,Teint_Dans_La_Masse,environnement,Carton_brun,autre_refus,Carton_gris,kraft,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1351012572] : ('0.04484688987561398',) no score found for photo 1351012572 We are sending mail with results at report@fotonower.com args[1351012531] : ('0.04484688987561398',) no score found for photo 1351012531 We are sending mail with results at report@fotonower.com args[1351012462] : ('0.04484688987561398',) no score found for photo 1351012462 We are sending mail with results at report@fotonower.com args[1351012418] : ('0.04484688987561398',) no score found for photo 1351012418 We are sending mail with results at report@fotonower.com args[1351012316] : ('0.04484688987561398',) no score found for photo 1351012316 We are sending mail with results at report@fotonower.com args[1351012311] : ('0.04484688987561398',) no score found for photo 1351012311 We are sending mail with results at report@fotonower.com args[1351012310] : ('0.04484688987561398',) no score found for photo 1351012310 We are sending mail with results at report@fotonower.com args[1351012309] : ('0.04484688987561398',) no score found for photo 1351012309 We are sending mail with results at report@fotonower.com args[1351012308] : ('0.04484688987561398',) no score found for photo 1351012308 We are sending mail with results at report@fotonower.com args[1351012304] : ('0.04484688987561398',) no score found for photo 1351012304 We are sending mail with results at report@fotonower.com args[1351012260] : ('0.04484688987561398',) no score found for photo 1351012260 We are sending mail with results at report@fotonower.com args[1351012241] : ('0.04484688987561398',) no score found for photo 1351012241 We are sending mail with results at report@fotonower.com args[1351012219] : ('0.04484688987561398',) no score found for photo 1351012219 We are sending mail with results at report@fotonower.com args[1351012194] : ('0.04484688987561398',) no score found for photo 1351012194 We are sending mail with results at report@fotonower.com args[1351012184] : ('0.04484688987561398',) no score found for photo 1351012184 We are sending mail with results at report@fotonower.com args[1351012157] : ('0.04484688987561398',) no score found for photo 1351012157 We are sending mail with results at report@fotonower.com args[1351011816] : ('0.04484688987561398',) no score found for photo 1351011816 We are sending mail with results at report@fotonower.com args[1351011811] : ('0.04484688987561398',) no score found for photo 1351011811 We are sending mail with results at report@fotonower.com args[1351011797] : ('0.04484688987561398',) no score found for photo 1351011797 We are sending mail with results at report@fotonower.com args[1351011734] : ('0.04484688987561398',) no score found for photo 1351011734 We are sending mail with results at report@fotonower.com args[1351011725] : ('0.04484688987561398',) no score found for photo 1351011725 We are sending mail with results at report@fotonower.com args[1351011705] : ('0.04484688987561398',) no score found for photo 1351011705 We are sending mail with results at report@fotonower.com args[1351011675] : ('0.04484688987561398',) no score found for photo 1351011675 We are sending mail with results at report@fotonower.com args[1351011670] : ('0.04484688987561398',) no score found for photo 1351011670 We are sending mail with results at report@fotonower.com refus_total : 0.04484688987561398 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=22200511 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_P22200511_10-04-2025_03_59_02.pdf results_Auto_P22200511_10-04-2025_03_59_02.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22200511_10-04-2025_03_59_02.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','22200511','results_Auto_P22200511_10-04-2025_03_59_02.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22200511_10-04-2025_03_59_02.pdf','pdf','','0.31','0.04484688987561398') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22200511]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1351012572, 1351012531, 1351012462, 1351012418, 1351012316, 1351012311, 1351012310, 1351012309, 1351012308, 1351012304, 1351012260, 1351012241, 1351012219, 1351012194, 1351012184, 1351012157, 1351011816, 1351011811, 1351011797, 1351011734, 1351011725, 1351011705, 1351011675, 1351011670] map_info['map_portfolio_photo'] : {22200511: [1351012572, 1351012531, 1351012462, 1351012418, 1351012316, 1351012311, 1351012310, 1351012309, 1351012308, 1351012304, 1351012260, 1351012241, 1351012219, 1351012194, 1351012184, 1351012157, 1351011816, 1351011811, 1351011797, 1351011734, 1351011725, 1351011705, 1351011675, 1351011670, 1351011639, 1351011625, 1351011605, 1351011590, 1351011490, 1351011484, 1351011478, 1351011440, 1351011381, 1351011290, 1351011283, 1351011281, 1351011276, 1351011273, 1351011270, 1351011189, 1351011186, 1351011173, 1351011154, 1351011151, 1351011125, 1351011124, 1351011115, 1351011109, 1351011101, 1351011083, 1351010877, 1351010838, 1351010722, 1351010669, 1351010590, 1351009999, 1351009947]} final : False mtd_id 4302 list_pids : [1351012572, 1351012531, 1351012462, 1351012418, 1351012316, 1351012311, 1351012310, 1351012309, 1351012308, 1351012304, 1351012260, 1351012241, 1351012219, 1351012194, 1351012184, 1351012157, 1351011816, 1351011811, 1351011797, 1351011734, 1351011725, 1351011705, 1351011675, 1351011670] 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, '2737555') ('4302', '22200511', '1351012572', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012531', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012462', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012418', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012316', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012311', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012310', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012309', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012308', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012304', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012260', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012241', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012219', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012194', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012184', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012157', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011816', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011811', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011797', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011734', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011725', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011705', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011675', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011670', None, None, None, None, None, '2737555') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 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', '22200511', '1351012572', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012531', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012462', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012418', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012316', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012311', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012310', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012309', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012308', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012304', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012260', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012241', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012219', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012194', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012184', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012157', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011816', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011811', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011797', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011734', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011725', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011705', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011675', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011670', None, None, None, None, None, '2737555')] time used for this insertion : 1.2145960330963135 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.002711534500122 time spend to save output : 1.2149412631988525 total time spend for step 4 : 6.217652797698975 step5:split_time_score Thu Apr 10 03:59:08 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['22200511'] 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 : [('22200511',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22200511) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1351012418: {'path': 'temp/1744250341_411932_1351012418_839b04d6a1cdbca677667d9572be8354.jpg', 'extension': 'jpg'}, 1351012462: {'path': 'temp/1744250341_411932_1351012462_e4ef8255d541eac4c6628675ee2cc7c0.jpg', 'extension': 'jpg'}, 1351012531: {'path': 'temp/1744250341_411932_1351012531_cdba8ab9acb2ba1feef64f88e51b7417.jpg', 'extension': 'jpg'}, 1351012572: {'path': 'temp/1744250341_411932_1351012572_4796bcebcb0a43d5c24cd66275bb8b3d.jpg', 'extension': 'jpg'}, 1351012194: {'path': 'temp/1744250341_411932_1351012194_87f65a238933c4d214e16fc18f0fba5c.jpg', 'extension': 'jpg'}, 1351012219: {'path': 'temp/1744250341_411932_1351012219_f4ced9737ead067c2424161dc0f95a51.jpg', 'extension': 'jpg'}, 1351012241: {'path': 'temp/1744250341_411932_1351012241_13d8abbf1b90199b8c3904006850aded.jpg', 'extension': 'jpg'}, 1351012260: {'path': 'temp/1744250341_411932_1351012260_e5379ace9e79623f1980d90e99d52422.jpg', 'extension': 'jpg'}, 1351012304: {'path': 'temp/1744250341_411932_1351012304_a0305b5e418f08209772413141ab89be.jpg', 'extension': 'jpg'}, 1351011797: {'path': 'temp/1744250341_411932_1351011797_c07ba7444fa1fe11df9226a81940d3d7.jpg', 'extension': 'jpg'}, 1351011811: {'path': 'temp/1744250341_411932_1351011811_7c443617fbac471bde0df793566499f4.jpg', 'extension': 'jpg'}, 1351011816: {'path': 'temp/1744250341_411932_1351011816_ab858e1ec1271c29cc43d14ad3c65879.jpg', 'extension': 'jpg'}, 1351012157: {'path': 'temp/1744250341_411932_1351012157_e60f1f8c204ec469f739b29b7c010add.jpg', 'extension': 'jpg'}, 1351012184: {'path': 'temp/1744250341_411932_1351012184_87058d6875deaf6226f9cb0bb0535a44.jpg', 'extension': 'jpg'}, 1351012308: {'path': 'temp/1744250341_411932_1351012308_c083752bb8a3cd0ff01f0d2ab7ffae33.jpg', 'extension': 'jpg'}, 1351012309: {'path': 'temp/1744250341_411932_1351012309_d1ca9c2172e11a5ce3d81a56ab0dc7b8.jpg', 'extension': 'jpg'}, 1351012310: {'path': 'temp/1744250341_411932_1351012310_600fce699479ca1a62c2ad930e421883.jpg', 'extension': 'jpg'}, 1351012311: {'path': 'temp/1744250341_411932_1351012311_7af2a2ac87b2ff72df8a61d9b814576a.jpg', 'extension': 'jpg'}, 1351012316: {'path': 'temp/1744250341_411932_1351012316_03432cf0c2e23dcf4f85552d54692299.jpg', 'extension': 'jpg'}, 1351011670: {'path': 'temp/1744250341_411932_1351011670_f104e0ed1e2e7a19aadbb6729708f443.jpg', 'extension': 'jpg'}, 1351011675: {'path': 'temp/1744250341_411932_1351011675_ab312086b150b48884644d2db2da38eb.jpg', 'extension': 'jpg'}, 1351011705: {'path': 'temp/1744250341_411932_1351011705_dfec55e2f86eeb4707ca5f94d4f84863.jpg', 'extension': 'jpg'}, 1351011725: {'path': 'temp/1744250341_411932_1351011725_561881ae216d01983d226608aad24f07.jpg', 'extension': 'jpg'}, 1351011734: {'path': 'temp/1744250341_411932_1351011734_dacf97e9d1fdd6998f1f97bc2a61a88a.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 = 22200511; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 22200511 group by h (('03', 57),) 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=22200511 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (22200511) AND cps.thcl in (861) order by cps.score desc LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (22200511) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 10042025 22200511 Nombre de photos uploadées : 57 / 23040 (0%) 10042025 22200511 Nombre de photos taguées (types de déchets): 0 / 57 (0%) 10042025 22200511 Nombre de photos taguées (volume) : 0 / 57 (0%) [{'photo_id': 1351009999, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/5ea1454fb11d62ed717b5f40c1f205d3.jpg', 'username': None, 'uploaded_at': 1744249567, 'text': 'image_10042025_03_45_24_10139.jpg'}, {'photo_id': 1351009947, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/8fe0a5147718cabbe89fa9f62fd6f13e.jpg', 'username': None, 'uploaded_at': 1744249567, 'text': 'image_10042025_03_45_34_10136.jpg'}, {'photo_id': 1351010722, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/f16033ff46c1790f53fd4b7b454d4d3f.jpg', 'username': None, 'uploaded_at': 1744249627, 'text': 'image_10042025_03_45_44_10137.jpg'}, {'photo_id': 1351010669, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/10/15d97aba11d937f3fffc92899cb18451.jpg', 'username': None, 'uploaded_at': 1744249627, 'text': 'image_10042025_03_46_03_009142m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 1.0967254638671875e-05 ????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0023086071014404297 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22200511, '2025-04-10' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1728450,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.03254580497741699 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 1728450 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1728450, 'dashboard_run_id': 1736613, 'mtr_portfolio_id': 22198498, 'dashboard_result_id': 9971449, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22198498_10-04-2025_03_17_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22198518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22198519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22198520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22198521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22198522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22198523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22198524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22198525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22198526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22198527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22198528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22198529, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1736613, 'mtr_portfolio_id': 22199233, 'dashboard_result_id': 9971450, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22199233_10-04-2025_03_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22199236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22199237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22199238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22199239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22199240, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22199241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22199242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22199243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22199244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22199245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22199246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22199247, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1736613, 'mtr_portfolio_id': 22199907, 'dashboard_result_id': 9971451, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22199907_10-04-2025_03_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22199958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22199959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22199960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22199961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22199962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22199963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22199964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22199965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22199966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22199967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22199968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22199969, 'pht': 3726}}"}, {'dashboat_entry_day': 1728450, 'dashboard_run_id': 1736613, 'mtr_portfolio_id': 22200511, 'dashboard_result_id': 9971452, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22200511_10-04-2025_03_55_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22200526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22200527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22200528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22200529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22200530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22200531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22200532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22200533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22200534, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22200535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22200536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22200537, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22198498 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2737448, 'mtr_portfolio_id': 22198498, 'created_at': datetime.datetime(2025, 4, 10, 3, 17, 4), 'result': '0.046974942427860225', 'result_long': None, 'result_double': None}] Qualite : 0.046974942427860225 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22198498 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22198498_10-04-2025_03_17_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22198498 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22198498_10-04-2025_03_17_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22198518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22198519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22198520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22198521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22198522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22198523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22198524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22198525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22198526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22198527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22198528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22198529, 'pht': 3726}}" where mtr_portfolio_id = 22198498 and dashboard_run_id = 1736613 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22198498 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9971449, 0.046974942427860225, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22198498_10-04-2025_03_17_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22198518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22198519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22198520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22198521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22198522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22198523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22198524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22198525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22198526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22198527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22198528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22198529, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22199233 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2737482, 'mtr_portfolio_id': 22199233, 'created_at': datetime.datetime(2025, 4, 10, 3, 32, 59), 'result': '0.07030810931835937', 'result_long': None, 'result_double': None}] Qualite : 0.07030810931835937 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22199233 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22199233_10-04-2025_03_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22199233 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22199233_10-04-2025_03_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22199236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22199237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22199238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22199239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22199240, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22199241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22199242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22199243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22199244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22199245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22199246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22199247, 'pht': 3726}}" where mtr_portfolio_id = 22199233 and dashboard_run_id = 1736613 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22199233 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9971450, 0.07030810931835937, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22199233_10-04-2025_03_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22199236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22199237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22199238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22199239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22199240, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22199241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22199242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22199243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22199244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22199245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22199246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22199247, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22199907 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2737520, 'mtr_portfolio_id': 22199907, 'created_at': datetime.datetime(2025, 4, 10, 3, 46, 58), 'result': '0.06668947178539857', 'result_long': None, 'result_double': None}] Qualite : 0.06668947178539857 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22199907 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22199907_10-04-2025_03_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22199907 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22199907_10-04-2025_03_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22199958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22199959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22199960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22199961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22199962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22199963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22199964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22199965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22199966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22199967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22199968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22199969, 'pht': 3726}}" where mtr_portfolio_id = 22199907 and dashboard_run_id = 1736613 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22199907 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9971451, 0.06668947178539857, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22199907_10-04-2025_03_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22199958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22199959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22199960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22199961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22199962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22199963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22199964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22199965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22199966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22199967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22199968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22199969, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22200511 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2737555, 'mtr_portfolio_id': 22200511, 'created_at': datetime.datetime(2025, 4, 10, 3, 59, 1), 'result': '0.04484688987561398', 'result_long': None, 'result_double': None}] Qualite : 0.04484688987561398 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22200511 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22200511_10-04-2025_03_59_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22200511 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22200511_10-04-2025_03_59_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22200526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22200527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22200528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22200529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22200530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22200531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22200532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22200533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22200534, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22200535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22200536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22200537, 'pht': 3726}}" where mtr_portfolio_id = 22200511 and dashboard_run_id = 1736613 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22200511 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9971452, 0.04484688987561398, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22200511_10-04-2025_03_59_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22200526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22200527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22200528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22200529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22200530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22200531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22200532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22200533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22200534, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22200535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22200536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22200537, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22198498,22199233,22199907,22200511) result : ((1350997802,), (1350997822,), (1350997850,), (1350997883,), (1350998061,), (1350998080,), (1350998108,), (1350998138,), (1350998162,), (1350998179,), (1350998364,), (1350998385,), (1350998411,), (1350998438,), (1350998569,), (1350998580,), (1350998595,), (1350998599,), (1350998605,), (1350998738,), (1350998759,), (1350998789,), (1350998802,), (1350998813,), (1350998836,), (1350998961,), (1350998978,), (1350998993,), (1350999089,), (1350999096,), (1350999104,), (1350999109,), (1350999112,), (1350999543,), (1350999586,), (1350999654,), (1350999725,), (1350999779,), (1350999798,), (1351000131,), (1351000141,), (1351000153,), (1351000161,), (1351000184,), (1351000371,), (1351000397,), (1351000402,), (1351000416,), (1351000436,), (1351000456,), (1351000594,), (1351000626,), (1351000641,), (1351001518,), (1351001546,), (1351001565,), (1351001599,), (1351001669,), (1351001733,), (1351001935,), (1351001928,), (1351001931,), (1351001933,), (1351002121,), (1351002130,), (1351002134,), (1351002136,), (1351002139,), (1351002146,), (1351002230,), (1351002260,), (1351002275,), (1351002278,), (1351002281,), (1351002390,), (1351002395,), (1351002398,), (1351002400,), (1351002472,), (1351002508,), (1351002516,), (1351002524,), (1351002539,), (1351002604,), (1351002727,), (1351002728,), (1351002729,), (1351002818,), (1351002825,), (1351002828,), (1351002831,), (1351002852,), (1351003231,), (1351003316,), (1351003398,), (1351003429,), (1351003468,), (1351003494,), (1351003829,), (1351003866,), (1351004001,), (1351004035,), (1351004429,), (1351004471,), (1351004566,), (1351005042,), (1351005080,), (1351005118,), (1351005143,), (1351005171,), (1351005207,), (1351005315,), (1351005340,), (1351005357,), (1351005375,), (1351005392,), (1351005447,), (1351005469,), (1351005475,), (1351005479,), (1351005482,), (1351005486,), (1351005618,), (1351005648,), (1351005652,), (1351005664,), (1351005668,), (1351005933,), (1351005986,), (1351006011,), (1351006040,), (1351006304,), (1351006264,), (1351006301,), (1351006496,), (1351006521,), (1351006546,), (1351006551,), (1351006741,), (1351006863,), (1351006935,), (1351006941,), (1351007108,), (1351007131,), (1351007196,), (1351007422,), (1351007743,), (1351007788,), (1351007792,), (1351007796,), (1351007800,), (1351007942,), (1351007971,), (1351008004,), (1351008016,), (1351008328,), (1351008350,), (1351008369,), (1351008377,), (1351008427,), (1351008433,), (1351008480,), (1351008484,), (1351008487,), (1351008492,), (1351008496,), (1351008638,), (1351008660,), (1351008692,), (1351008720,), (1351008740,), (1351008743,), (1351008923,), (1351008936,), (1351008954,), (1351008958,), (1351009069,), (1351009386,), (1351009416,), (1351009435,), (1351009438,), (1351009442,), (1351009543,), (1351009550,), (1351009553,), (1351009564,), (1351010002,), (1351009947,), (1351009999,), (1351010590,), (1351010669,), (1351010722,), (1351010838,), (1351010877,), (1351011083,), (1351011101,), (1351011109,), (1351011115,), (1351011124,), (1351011125,), (1351011151,), (1351011154,), (1351011173,), (1351011186,), (1351011189,), (1351011270,), (1351011273,), (1351011276,), (1351011281,), (1351011283,), (1351011290,), (1351011381,), (1351011440,), (1351011478,), (1351011484,), (1351011490,), (1351011590,), (1351011605,), (1351011625,), (1351011639,), (1351011670,), (1351011675,), (1351011705,), (1351011725,), (1351011734,), (1351011797,), (1351011811,), (1351011816,), (1351012157,), (1351012184,), (1351012194,), (1351012219,), (1351012241,), (1351012260,), (1351012304,), (1351012308,), (1351012309,), (1351012310,), (1351012311,), (1351012316,), (1351012418,), (1351012462,), (1351012531,), (1351012572,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'10042025': {'nb_upload': 57, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22200511]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1351012572, 1351012531, 1351012462, 1351012418, 1351012316, 1351012311, 1351012310, 1351012309, 1351012308, 1351012304, 1351012260, 1351012241, 1351012219, 1351012194, 1351012184, 1351012157, 1351011816, 1351011811, 1351011797, 1351011734, 1351011725, 1351011705, 1351011675, 1351011670] map_info['map_portfolio_photo'] : {22200511: [1351012572, 1351012531, 1351012462, 1351012418, 1351012316, 1351012311, 1351012310, 1351012309, 1351012308, 1351012304, 1351012260, 1351012241, 1351012219, 1351012194, 1351012184, 1351012157, 1351011816, 1351011811, 1351011797, 1351011734, 1351011725, 1351011705, 1351011675, 1351011670, 1351011639, 1351011625, 1351011605, 1351011590, 1351011490, 1351011484, 1351011478, 1351011440, 1351011381, 1351011290, 1351011283, 1351011281, 1351011276, 1351011273, 1351011270, 1351011189, 1351011186, 1351011173, 1351011154, 1351011151, 1351011125, 1351011124, 1351011115, 1351011109, 1351011101, 1351011083, 1351010877, 1351010838, 1351010722, 1351010669, 1351010590, 1351009999, 1351009947]} final : True mtd_id 4302 list_pids : [1351012572, 1351012531, 1351012462, 1351012418, 1351012316, 1351012311, 1351012310, 1351012309, 1351012308, 1351012304, 1351012260, 1351012241, 1351012219, 1351012194, 1351012184, 1351012157, 1351011816, 1351011811, 1351011797, 1351011734, 1351011725, 1351011705, 1351011675, 1351011670] Looping around the photos to save general results len do output : 1 /22200511Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012572', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012531', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012462', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012418', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012316', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012311', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012310', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012309', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012308', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012304', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012260', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012241', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012219', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012194', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012184', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351012157', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011816', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011811', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011797', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011734', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011725', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011705', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011675', None, None, None, None, None, '2737555') ('4302', None, None, None, None, None, None, None, '2737555') ('4302', '22200511', '1351011670', None, None, None, None, None, '2737555') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 25 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, '22200511', 'None', None, None, None, None, '2737555'), ('4302', '22200511', '1351012572', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012531', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012462', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012418', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012316', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012311', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012310', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012309', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012308', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012304', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012260', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012241', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012219', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012194', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012184', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351012157', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011816', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011811', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011797', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011734', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011725', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011705', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011675', None, None, None, None, None, '2737555'), ('4302', '22200511', '1351011670', None, None, None, None, None, '2737555')] time used for this insertion : 0.018950223922729492 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.37338900566101074 time spend to save output : 0.01928257942199707 total time spend for step 5 : 0.3926715850830078 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 (2737555) 2.62user 2.28system 0:12.44elapsed 39%CPU (0avgtext+0avgdata 167668maxresident)k 496inputs+19728outputs (0major+78650minor)pagefaults 0swaps