python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4302 -v ' -s datou_current_4302 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] Namespace(auto=False, cert_args='/home/fotonower/https/cert.pem', contextDataFile='', custom_size=0, database='', datou_id='4302', datou_id_excluded='', fifo=False, host='', is_cpu_mode=False, job='batch_current', json_args='', key_args='/home/fotonower/https/vision.fotonower.com.key', limit=1000, list_photo_ids='', local='', mtr_current_id=0, mtr_portfolio_ids='', nb_thread=1, no_current=False, offset=0, only_client=False, output_file='', password='', port=5100, rand=0, save=2, use_client=False, user_id=440, username='', verbose=True) process id : 3778357 load datou : 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 ! Unexpected type seems boolean for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current 4302 [] TODO datou_current to load to do maybe to take outside batchDatouExec SELECT * from MTRPhoto.mtr_datou_current where state = 0 AND mtr_portfolio_id is not NULL AND mtd_id = 4302 order by created_at desc LIMIT 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2796119) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2796119) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22705529 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2796119'] with mtr_portfolio_ids : ['22705529'] and first list_photo_ids : [] new path : /proc/3778357/ Name: python3 Umask: 0002 State: R (running) Tgid: 3778357 Ngid: 0 Pid: 3778357 PPid: 3778356 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3778357 NSpid: 3778357 NSpgid: 3774161 NSsid: 3774161 VmPeak: 1107216 kB VmSize: 1107216 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99420 kB VmRSS: 99420 kB RssAnon: 60204 kB RssFile: 39216 kB RssShmem: 0 kB VmData: 865964 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 600 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 45 nonvoluntary_ctxt_switches: 92 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3778357', 'Ngid': '0', 'Pid': '3778357', 'PPid': '3778356', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3778357', 'NSpid': '3778357', 'NSpgid': '3774161', 'NSsid': '3774161', 'VmPeak': '1107216 kB', 'VmSize': '1107216 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99420 kB', 'VmRSS': '99420 kB', 'RssAnon': '60204 kB', 'RssFile': '39216 kB', 'RssShmem': '0 kB', 'VmData': '865964 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '600 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '45', 'nonvoluntary_ctxt_switches': '92'} ('datou_batch_current', '3778357', '1107216', '0', '1107216', '865964', '99420', b'', 'marlene', '2796119') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou 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 (22705529) 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 (2796119 ) ) 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 (22705529) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1356293398, 'portfolio_id': 22705529}, {'photo_id': 1356293344, 'portfolio_id': 22705529}, {'photo_id': 1356293341, 'portfolio_id': 22705529}, {'photo_id': 1356293337, 'portfolio_id': 22705529}, {'photo_id': 1356293335, 'portfolio_id': 22705529}, {'photo_id': 1356293334, 'portfolio_id': 22705529}, {'photo_id': 1356293331, 'portfolio_id': 22705529}, {'photo_id': 1356293286, 'portfolio_id': 22705529}, {'photo_id': 1356293285, 'portfolio_id': 22705529}, {'photo_id': 1356293283, 'portfolio_id': 22705529}, {'photo_id': 1356293251, 'portfolio_id': 22705529}, {'photo_id': 1356293249, 'portfolio_id': 22705529}, {'photo_id': 1356293248, 'portfolio_id': 22705529}, {'photo_id': 1356293247, 'portfolio_id': 22705529}, {'photo_id': 1356293246, 'portfolio_id': 22705529}, {'photo_id': 1356293244, 'portfolio_id': 22705529}, {'photo_id': 1356293204, 'portfolio_id': 22705529}, {'photo_id': 1356293200, 'portfolio_id': 22705529}, {'photo_id': 1356293198, 'portfolio_id': 22705529}, {'photo_id': 1356293197, 'portfolio_id': 22705529}, {'photo_id': 1356293195, 'portfolio_id': 22705529}, {'photo_id': 1356293193, 'portfolio_id': 22705529}, {'photo_id': 1356293159, 'portfolio_id': 22705529}, {'photo_id': 1356293155, 'portfolio_id': 22705529}, {'photo_id': 1356293152, 'portfolio_id': 22705529}, {'photo_id': 1356293151, 'portfolio_id': 22705529}, {'photo_id': 1356293150, 'portfolio_id': 22705529}, {'photo_id': 1356293149, 'portfolio_id': 22705529}, {'photo_id': 1356293070, 'portfolio_id': 22705529}, {'photo_id': 1356293067, 'portfolio_id': 22705529}, {'photo_id': 1356293065, 'portfolio_id': 22705529}, {'photo_id': 1356293063, 'portfolio_id': 22705529}, {'photo_id': 1356293061, 'portfolio_id': 22705529}, {'photo_id': 1356293028, 'portfolio_id': 22705529}, {'photo_id': 1356293024, 'portfolio_id': 22705529}, {'photo_id': 1356293020, 'portfolio_id': 22705529}, {'photo_id': 1356293019, 'portfolio_id': 22705529}, {'photo_id': 1356293018, 'portfolio_id': 22705529}, {'photo_id': 1356293017, 'portfolio_id': 22705529}, {'photo_id': 1356292989, 'portfolio_id': 22705529}, {'photo_id': 1356292981, 'portfolio_id': 22705529}, {'photo_id': 1356292979, 'portfolio_id': 22705529}, {'photo_id': 1356292975, 'portfolio_id': 22705529}, {'photo_id': 1356292973, 'portfolio_id': 22705529}, {'photo_id': 1356292935, 'portfolio_id': 22705529}, {'photo_id': 1356292933, 'portfolio_id': 22705529}, {'photo_id': 1356292932, 'portfolio_id': 22705529}, {'photo_id': 1356292931, 'portfolio_id': 22705529}, {'photo_id': 1356292929, 'portfolio_id': 22705529}, {'photo_id': 1356292907, 'portfolio_id': 22705529}, {'photo_id': 1356292901, 'portfolio_id': 22705529}, {'photo_id': 1356292897, 'portfolio_id': 22705529}, {'photo_id': 1356292892, 'portfolio_id': 22705529}, {'photo_id': 1356292889, 'portfolio_id': 22705529}, {'photo_id': 1356292886, 'portfolio_id': 22705529}, {'photo_id': 1356292857, 'portfolio_id': 22705529}, {'photo_id': 1356292854, 'portfolio_id': 22705529}, {'photo_id': 1356292851, 'portfolio_id': 22705529}, {'photo_id': 1356292850, 'portfolio_id': 22705529}, {'photo_id': 1356292848, 'portfolio_id': 22705529}, {'photo_id': 1356292845, 'portfolio_id': 22705529}, {'photo_id': 1356292813, 'portfolio_id': 22705529}, {'photo_id': 1356292812, 'portfolio_id': 22705529}, {'photo_id': 1356292811, 'portfolio_id': 22705529}, {'photo_id': 1356292788, 'portfolio_id': 22705529}, {'photo_id': 1356292785, 'portfolio_id': 22705529}, {'photo_id': 1356292780, 'portfolio_id': 22705529}, {'photo_id': 1356292779, 'portfolio_id': 22705529}, {'photo_id': 1356292778, 'portfolio_id': 22705529}, {'photo_id': 1356292777, 'portfolio_id': 22705529}, {'photo_id': 1356292750, 'portfolio_id': 22705529}, {'photo_id': 1356292746, 'portfolio_id': 22705529}, {'photo_id': 1356292744, 'portfolio_id': 22705529}, {'photo_id': 1356292743, 'portfolio_id': 22705529}, {'photo_id': 1356292742, 'portfolio_id': 22705529}, {'photo_id': 1356292740, 'portfolio_id': 22705529}, {'photo_id': 1356292700, 'portfolio_id': 22705529}, {'photo_id': 1356292699, 'portfolio_id': 22705529}, {'photo_id': 1356292698, 'portfolio_id': 22705529}] map_portfolio_id_photo_id: {22705529: [1356293398, 1356293344, 1356293341, 1356293337, 1356293335, 1356293334, 1356293331, 1356293286, 1356293285, 1356293283, 1356293251, 1356293249, 1356293248, 1356293247, 1356293246, 1356293244, 1356293204, 1356293200, 1356293198, 1356293197, 1356293195, 1356293193, 1356293159, 1356293155, 1356293152, 1356293151, 1356293150, 1356293149, 1356293070, 1356293067, 1356293065, 1356293063, 1356293061, 1356293028, 1356293024, 1356293020, 1356293019, 1356293018, 1356293017, 1356292989, 1356292981, 1356292979, 1356292975, 1356292973, 1356292935, 1356292933, 1356292932, 1356292931, 1356292929, 1356292907, 1356292901, 1356292897, 1356292892, 1356292889, 1356292886, 1356292857, 1356292854, 1356292851, 1356292850, 1356292848, 1356292845, 1356292813, 1356292812, 1356292811, 1356292788, 1356292785, 1356292780, 1356292779, 1356292778, 1356292777, 1356292750, 1356292746, 1356292744, 1356292743, 1356292742, 1356292740, 1356292700, 1356292699, 1356292698]} ##### 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.017098665237426758 #### 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 Tue May 6 06:46:58 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 (22705529) 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 : 22705529 get user id for portfolio 22705529 get sub ptf for main ptf 22705529, type 3726 and hashtags ['flou', 'Carton_gris', 'autre_refus', 'papier', 'Teint_Dans_La_Masse', 'metal', 'environnement', 'plastique', 'cartonnette', 'mal_croppe', 'kraft', 'Carton_brun'] 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`=22705529 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Carton_gris','autre_refus','papier','Teint_Dans_La_Masse','metal','environnement','plastique','cartonnette','mal_croppe','kraft','Carton_brun')) 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`=22705529 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Carton_gris','autre_refus','papier','Teint_Dans_La_Masse','metal','environnement','plastique','cartonnette','mal_croppe','kraft','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 22705529, 'sub_port_id': 22705530, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123066, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 26)}, 'kraft': {'main_port_id': 22705529, 'sub_port_id': 22705531, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123067, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 26)}, 'Teint_Dans_La_Masse': {'main_port_id': 22705529, 'sub_port_id': 22705532, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123068, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 26)}, 'Carton_gris': {'main_port_id': 22705529, 'sub_port_id': 22705533, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123069, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 26)}, 'cartonnette': {'main_port_id': 22705529, 'sub_port_id': 22705534, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123070, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 26)}, 'mal_croppe': {'main_port_id': 22705529, 'sub_port_id': 22705535, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123071, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 26)}, 'flou': {'main_port_id': 22705529, 'sub_port_id': 22705536, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123072, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 26)}, 'plastique': {'main_port_id': 22705529, 'sub_port_id': 22705537, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123073, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 26)}, 'environnement': {'main_port_id': 22705529, 'sub_port_id': 22705538, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123074, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 26)}, 'Carton_brun': {'main_port_id': 22705529, 'sub_port_id': 22705539, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123075, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 26)}, 'metal': {'main_port_id': 22705529, 'sub_port_id': 22705540, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123076, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 26)}, 'papier': {'main_port_id': 22705529, 'sub_port_id': 22705541, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123077, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 26)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22705530 , 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=22705529 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 (22705530) result : ((1356292794,), (1356293269,), (1356293270,), (1356293316,), (1356293382,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22705529) result : ((1356292698,), (1356292699,), (1356292700,), (1356292740,), (1356292742,), (1356292743,), (1356292744,), (1356292746,), (1356292750,), (1356292777,), (1356292778,), (1356292779,), (1356292780,), (1356292785,), (1356292788,), (1356292811,), (1356292812,), (1356292813,), (1356292845,), (1356292848,), (1356292850,), (1356292851,), (1356292854,), (1356292857,), (1356292886,), (1356292889,), (1356292892,), (1356292897,), (1356292901,), (1356292907,), (1356292929,), (1356292931,), (1356292932,), (1356292933,), (1356292935,), (1356292973,), (1356292975,), (1356292979,), (1356292981,), (1356292989,), (1356293017,), (1356293018,), (1356293019,), (1356293020,), (1356293024,), (1356293028,), (1356293061,), (1356293063,), (1356293065,), (1356293067,), (1356293070,), (1356293149,), (1356293150,), (1356293151,), (1356293152,), (1356293155,), (1356293159,), (1356293193,), (1356293195,), (1356293197,), (1356293198,), (1356293200,), (1356293204,), (1356293244,), (1356293246,), (1356293247,), (1356293248,), (1356293249,), (1356293251,), (1356293283,), (1356293285,), (1356293286,), (1356293331,), (1356293334,), (1356293335,), (1356293337,), (1356293341,), (1356293344,), (1356293398,)) 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 (1356293200,1356292700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22705531 , 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=22705529 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 (22705531) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22705529) result : ((1356292698,), (1356292699,), (1356292700,), (1356292740,), (1356292742,), (1356292743,), (1356292744,), (1356292746,), (1356292750,), (1356292777,), (1356292778,), (1356292779,), (1356292780,), (1356292785,), (1356292788,), (1356292811,), (1356292812,), (1356292813,), (1356292845,), (1356292848,), (1356292850,), (1356292851,), (1356292854,), (1356292857,), (1356292886,), (1356292889,), (1356292892,), (1356292897,), (1356292901,), (1356292907,), (1356292929,), (1356292931,), (1356292932,), (1356292933,), (1356292935,), (1356292973,), (1356292975,), (1356292979,), (1356292981,), (1356292989,), (1356293017,), (1356293018,), (1356293019,), (1356293020,), (1356293024,), (1356293028,), (1356293061,), (1356293063,), (1356293065,), (1356293067,), (1356293070,), (1356293149,), (1356293150,), (1356293151,), (1356293152,), (1356293155,), (1356293159,), (1356293193,), (1356293195,), (1356293197,), (1356293198,), (1356293200,), (1356293204,), (1356293244,), (1356293246,), (1356293247,), (1356293248,), (1356293249,), (1356293251,), (1356293283,), (1356293285,), (1356293286,), (1356293331,), (1356293334,), (1356293335,), (1356293337,), (1356293341,), (1356293344,), (1356293398,)) 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 (1356293200,1356292700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22705532 , 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=22705529 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 (22705532) result : ((1356293261,), (1356293312,), (1356293313,), (1356293368,), (1356293369,), (1356293370,), (1356293371,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22705529) result : ((1356292698,), (1356292699,), (1356292700,), (1356292740,), (1356292742,), (1356292743,), (1356292744,), (1356292746,), (1356292750,), (1356292777,), (1356292778,), (1356292779,), (1356292780,), (1356292785,), (1356292788,), (1356292811,), (1356292812,), (1356292813,), (1356292845,), (1356292848,), (1356292850,), (1356292851,), (1356292854,), (1356292857,), (1356292886,), (1356292889,), (1356292892,), (1356292897,), (1356292901,), (1356292907,), (1356292929,), (1356292931,), (1356292932,), (1356292933,), (1356292935,), (1356292973,), (1356292975,), (1356292979,), (1356292981,), (1356292989,), (1356293017,), (1356293018,), (1356293019,), (1356293020,), (1356293024,), (1356293028,), (1356293061,), (1356293063,), (1356293065,), (1356293067,), (1356293070,), (1356293149,), (1356293150,), (1356293151,), (1356293152,), (1356293155,), (1356293159,), (1356293193,), (1356293195,), (1356293197,), (1356293198,), (1356293200,), (1356293204,), (1356293244,), (1356293246,), (1356293247,), (1356293248,), (1356293249,), (1356293251,), (1356293283,), (1356293285,), (1356293286,), (1356293331,), (1356293334,), (1356293335,), (1356293337,), (1356293341,), (1356293344,), (1356293398,)) 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 (1356293200,1356292700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22705533 , 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=22705529 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 (22705533) result : ((1356293317,), (1356293373,), (1356293374,), (1356293385,), (1356293387,), (1356293388,), (1356293411,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22705529) result : ((1356292698,), (1356292699,), (1356292700,), (1356292740,), (1356292742,), (1356292743,), (1356292744,), (1356292746,), (1356292750,), (1356292777,), (1356292778,), (1356292779,), (1356292780,), (1356292785,), (1356292788,), (1356292811,), (1356292812,), (1356292813,), (1356292845,), (1356292848,), (1356292850,), (1356292851,), (1356292854,), (1356292857,), (1356292886,), (1356292889,), (1356292892,), (1356292897,), (1356292901,), (1356292907,), (1356292929,), (1356292931,), (1356292932,), (1356292933,), (1356292935,), (1356292973,), (1356292975,), (1356292979,), (1356292981,), (1356292989,), (1356293017,), (1356293018,), (1356293019,), (1356293020,), (1356293024,), (1356293028,), (1356293061,), (1356293063,), (1356293065,), (1356293067,), (1356293070,), (1356293149,), (1356293150,), (1356293151,), (1356293152,), (1356293155,), (1356293159,), (1356293193,), (1356293195,), (1356293197,), (1356293198,), (1356293200,), (1356293204,), (1356293244,), (1356293246,), (1356293247,), (1356293248,), (1356293249,), (1356293251,), (1356293283,), (1356293285,), (1356293286,), (1356293331,), (1356293334,), (1356293335,), (1356293337,), (1356293341,), (1356293344,), (1356293398,)) 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 (1356293200,1356292700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22705534 , 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=22705529 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 (22705534) result : ((1356292796,), (1356293233,), (1356293234,), (1356293262,), (1356293272,), (1356293321,), (1356293375,), (1356293376,), (1356293389,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22705529) result : ((1356292698,), (1356292699,), (1356292700,), (1356292740,), (1356292742,), (1356292743,), (1356292744,), (1356292746,), (1356292750,), (1356292777,), (1356292778,), (1356292779,), (1356292780,), (1356292785,), (1356292788,), (1356292811,), (1356292812,), (1356292813,), (1356292845,), (1356292848,), (1356292850,), (1356292851,), (1356292854,), (1356292857,), (1356292886,), (1356292889,), (1356292892,), (1356292897,), (1356292901,), (1356292907,), (1356292929,), (1356292931,), (1356292932,), (1356292933,), (1356292935,), (1356292973,), (1356292975,), (1356292979,), (1356292981,), (1356292989,), (1356293017,), (1356293018,), (1356293019,), (1356293020,), (1356293024,), (1356293028,), (1356293061,), (1356293063,), (1356293065,), (1356293067,), (1356293070,), (1356293149,), (1356293150,), (1356293151,), (1356293152,), (1356293155,), (1356293159,), (1356293193,), (1356293195,), (1356293197,), (1356293198,), (1356293200,), (1356293204,), (1356293244,), (1356293246,), (1356293247,), (1356293248,), (1356293249,), (1356293251,), (1356293283,), (1356293285,), (1356293286,), (1356293331,), (1356293334,), (1356293335,), (1356293337,), (1356293341,), (1356293344,), (1356293398,)) 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 (1356293200,1356292700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22705535 , 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=22705529 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 (22705535) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22705529) result : ((1356292698,), (1356292699,), (1356292700,), (1356292740,), (1356292742,), (1356292743,), (1356292744,), (1356292746,), (1356292750,), (1356292777,), (1356292778,), (1356292779,), (1356292780,), (1356292785,), (1356292788,), (1356292811,), (1356292812,), (1356292813,), (1356292845,), (1356292848,), (1356292850,), (1356292851,), (1356292854,), (1356292857,), (1356292886,), (1356292889,), (1356292892,), (1356292897,), (1356292901,), (1356292907,), (1356292929,), (1356292931,), (1356292932,), (1356292933,), (1356292935,), (1356292973,), (1356292975,), (1356292979,), (1356292981,), (1356292989,), (1356293017,), (1356293018,), (1356293019,), (1356293020,), (1356293024,), (1356293028,), (1356293061,), (1356293063,), (1356293065,), (1356293067,), (1356293070,), (1356293149,), (1356293150,), (1356293151,), (1356293152,), (1356293155,), (1356293159,), (1356293193,), (1356293195,), (1356293197,), (1356293198,), (1356293200,), (1356293204,), (1356293244,), (1356293246,), (1356293247,), (1356293248,), (1356293249,), (1356293251,), (1356293283,), (1356293285,), (1356293286,), (1356293331,), (1356293334,), (1356293335,), (1356293337,), (1356293341,), (1356293344,), (1356293398,)) 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 (1356293200,1356292700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22705536 , 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=22705529 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 (22705536) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22705529) result : ((1356292698,), (1356292699,), (1356292700,), (1356292740,), (1356292742,), (1356292743,), (1356292744,), (1356292746,), (1356292750,), (1356292777,), (1356292778,), (1356292779,), (1356292780,), (1356292785,), (1356292788,), (1356292811,), (1356292812,), (1356292813,), (1356292845,), (1356292848,), (1356292850,), (1356292851,), (1356292854,), (1356292857,), (1356292886,), (1356292889,), (1356292892,), (1356292897,), (1356292901,), (1356292907,), (1356292929,), (1356292931,), (1356292932,), (1356292933,), (1356292935,), (1356292973,), (1356292975,), (1356292979,), (1356292981,), (1356292989,), (1356293017,), (1356293018,), (1356293019,), (1356293020,), (1356293024,), (1356293028,), (1356293061,), (1356293063,), (1356293065,), (1356293067,), (1356293070,), (1356293149,), (1356293150,), (1356293151,), (1356293152,), (1356293155,), (1356293159,), (1356293193,), (1356293195,), (1356293197,), (1356293198,), (1356293200,), (1356293204,), (1356293244,), (1356293246,), (1356293247,), (1356293248,), (1356293249,), (1356293251,), (1356293283,), (1356293285,), (1356293286,), (1356293331,), (1356293334,), (1356293335,), (1356293337,), (1356293341,), (1356293344,), (1356293398,)) 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 (1356293200,1356292700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22705537 , 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=22705529 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 (22705537) result : ((1356292798,), (1356293265,), (1356293322,), (1356293392,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22705529) result : ((1356292698,), (1356292699,), (1356292700,), (1356292740,), (1356292742,), (1356292743,), (1356292744,), (1356292746,), (1356292750,), (1356292777,), (1356292778,), (1356292779,), (1356292780,), (1356292785,), (1356292788,), (1356292811,), (1356292812,), (1356292813,), (1356292845,), (1356292848,), (1356292850,), (1356292851,), (1356292854,), (1356292857,), (1356292886,), (1356292889,), (1356292892,), (1356292897,), (1356292901,), (1356292907,), (1356292929,), (1356292931,), (1356292932,), (1356292933,), (1356292935,), (1356292973,), (1356292975,), (1356292979,), (1356292981,), (1356292989,), (1356293017,), (1356293018,), (1356293019,), (1356293020,), (1356293024,), (1356293028,), (1356293061,), (1356293063,), (1356293065,), (1356293067,), (1356293070,), (1356293149,), (1356293150,), (1356293151,), (1356293152,), (1356293155,), (1356293159,), (1356293193,), (1356293195,), (1356293197,), (1356293198,), (1356293200,), (1356293204,), (1356293244,), (1356293246,), (1356293247,), (1356293248,), (1356293249,), (1356293251,), (1356293283,), (1356293285,), (1356293286,), (1356293331,), (1356293334,), (1356293335,), (1356293337,), (1356293341,), (1356293344,), (1356293398,)) 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 (1356293200,1356292700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22705538 , 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=22705529 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 (22705538) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22705529) result : ((1356292698,), (1356292699,), (1356292700,), (1356292740,), (1356292742,), (1356292743,), (1356292744,), (1356292746,), (1356292750,), (1356292777,), (1356292778,), (1356292779,), (1356292780,), (1356292785,), (1356292788,), (1356292811,), (1356292812,), (1356292813,), (1356292845,), (1356292848,), (1356292850,), (1356292851,), (1356292854,), (1356292857,), (1356292886,), (1356292889,), (1356292892,), (1356292897,), (1356292901,), (1356292907,), (1356292929,), (1356292931,), (1356292932,), (1356292933,), (1356292935,), (1356292973,), (1356292975,), (1356292979,), (1356292981,), (1356292989,), (1356293017,), (1356293018,), (1356293019,), (1356293020,), (1356293024,), (1356293028,), (1356293061,), (1356293063,), (1356293065,), (1356293067,), (1356293070,), (1356293149,), (1356293150,), (1356293151,), (1356293152,), (1356293155,), (1356293159,), (1356293193,), (1356293195,), (1356293197,), (1356293198,), (1356293200,), (1356293204,), (1356293244,), (1356293246,), (1356293247,), (1356293248,), (1356293249,), (1356293251,), (1356293283,), (1356293285,), (1356293286,), (1356293331,), (1356293334,), (1356293335,), (1356293337,), (1356293341,), (1356293344,), (1356293398,)) 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 (1356293200,1356292700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22705539 , 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=22705529 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 (22705539) result : ((1356293235,), (1356293263,), (1356293379,), (1356293390,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22705529) result : ((1356292698,), (1356292699,), (1356292700,), (1356292740,), (1356292742,), (1356292743,), (1356292744,), (1356292746,), (1356292750,), (1356292777,), (1356292778,), (1356292779,), (1356292780,), (1356292785,), (1356292788,), (1356292811,), (1356292812,), (1356292813,), (1356292845,), (1356292848,), (1356292850,), (1356292851,), (1356292854,), (1356292857,), (1356292886,), (1356292889,), (1356292892,), (1356292897,), (1356292901,), (1356292907,), (1356292929,), (1356292931,), (1356292932,), (1356292933,), (1356292935,), (1356292973,), (1356292975,), (1356292979,), (1356292981,), (1356292989,), (1356293017,), (1356293018,), (1356293019,), (1356293020,), (1356293024,), (1356293028,), (1356293061,), (1356293063,), (1356293065,), (1356293067,), (1356293070,), (1356293149,), (1356293150,), (1356293151,), (1356293152,), (1356293155,), (1356293159,), (1356293193,), (1356293195,), (1356293197,), (1356293198,), (1356293200,), (1356293204,), (1356293244,), (1356293246,), (1356293247,), (1356293248,), (1356293249,), (1356293251,), (1356293283,), (1356293285,), (1356293286,), (1356293331,), (1356293334,), (1356293335,), (1356293337,), (1356293341,), (1356293344,), (1356293398,)) 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 (1356293200,1356292700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22705540 , 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=22705529 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 (22705540) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22705529) result : ((1356292698,), (1356292699,), (1356292700,), (1356292740,), (1356292742,), (1356292743,), (1356292744,), (1356292746,), (1356292750,), (1356292777,), (1356292778,), (1356292779,), (1356292780,), (1356292785,), (1356292788,), (1356292811,), (1356292812,), (1356292813,), (1356292845,), (1356292848,), (1356292850,), (1356292851,), (1356292854,), (1356292857,), (1356292886,), (1356292889,), (1356292892,), (1356292897,), (1356292901,), (1356292907,), (1356292929,), (1356292931,), (1356292932,), (1356292933,), (1356292935,), (1356292973,), (1356292975,), (1356292979,), (1356292981,), (1356292989,), (1356293017,), (1356293018,), (1356293019,), (1356293020,), (1356293024,), (1356293028,), (1356293061,), (1356293063,), (1356293065,), (1356293067,), (1356293070,), (1356293149,), (1356293150,), (1356293151,), (1356293152,), (1356293155,), (1356293159,), (1356293193,), (1356293195,), (1356293197,), (1356293198,), (1356293200,), (1356293204,), (1356293244,), (1356293246,), (1356293247,), (1356293248,), (1356293249,), (1356293251,), (1356293283,), (1356293285,), (1356293286,), (1356293331,), (1356293334,), (1356293335,), (1356293337,), (1356293341,), (1356293344,), (1356293398,)) 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 (1356293200,1356292700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22705541 , 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=22705529 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 (22705541) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22705529) result : ((1356292698,), (1356292699,), (1356292700,), (1356292740,), (1356292742,), (1356292743,), (1356292744,), (1356292746,), (1356292750,), (1356292777,), (1356292778,), (1356292779,), (1356292780,), (1356292785,), (1356292788,), (1356292811,), (1356292812,), (1356292813,), (1356292845,), (1356292848,), (1356292850,), (1356292851,), (1356292854,), (1356292857,), (1356292886,), (1356292889,), (1356292892,), (1356292897,), (1356292901,), (1356292907,), (1356292929,), (1356292931,), (1356292932,), (1356292933,), (1356292935,), (1356292973,), (1356292975,), (1356292979,), (1356292981,), (1356292989,), (1356293017,), (1356293018,), (1356293019,), (1356293020,), (1356293024,), (1356293028,), (1356293061,), (1356293063,), (1356293065,), (1356293067,), (1356293070,), (1356293149,), (1356293150,), (1356293151,), (1356293152,), (1356293155,), (1356293159,), (1356293193,), (1356293195,), (1356293197,), (1356293198,), (1356293200,), (1356293204,), (1356293244,), (1356293246,), (1356293247,), (1356293248,), (1356293249,), (1356293251,), (1356293283,), (1356293285,), (1356293286,), (1356293331,), (1356293334,), (1356293335,), (1356293337,), (1356293341,), (1356293344,), (1356293398,)) 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 (1356293200,1356292700) and cspi.crop_hashtag_id = chi.id; 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`=22705529 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Carton_gris','autre_refus','papier','Teint_Dans_La_Masse','metal','environnement','plastique','cartonnette','mal_croppe','kraft','Carton_brun')) 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`=22705529 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Carton_gris','autre_refus','papier','Teint_Dans_La_Masse','metal','environnement','plastique','cartonnette','mal_croppe','kraft','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 22705529, 'sub_port_id': 22705542, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123078, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 28)}, 'kraft': {'main_port_id': 22705529, 'sub_port_id': 22705543, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123079, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 22705529, 'sub_port_id': 22705544, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123080, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 28)}, 'Carton_gris': {'main_port_id': 22705529, 'sub_port_id': 22705545, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123081, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 28)}, 'cartonnette': {'main_port_id': 22705529, 'sub_port_id': 22705546, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123082, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 28)}, 'mal_croppe': {'main_port_id': 22705529, 'sub_port_id': 22705547, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123083, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 28)}, 'flou': {'main_port_id': 22705529, 'sub_port_id': 22705548, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123084, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 28)}, 'plastique': {'main_port_id': 22705529, 'sub_port_id': 22705549, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123085, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 28)}, 'environnement': {'main_port_id': 22705529, 'sub_port_id': 22705550, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123086, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 28)}, 'Carton_brun': {'main_port_id': 22705529, 'sub_port_id': 22705551, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123087, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 28)}, 'metal': {'main_port_id': 22705529, 'sub_port_id': 22705552, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123088, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 28)}, 'papier': {'main_port_id': 22705529, 'sub_port_id': 22705553, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15123089, 'last_updated_at': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 6, 6, 40, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 6, 6, 35, 28)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22705542,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22705530 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22705543,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22705531 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22705544,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22705532 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22705545,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22705533 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22705546,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22705534 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22705547,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22705535 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22705548,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22705536 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22705549,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22705537 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22705550,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22705538 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22705551,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22705539 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22705552,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22705540 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22705553,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22705541 lien utilise dans velours : https://www.fotonower.com/velours/22705542,22705543,22705544,22705545,22705546,22705547,22705548,22705549,22705550,22705551,22705552,22705553?tags=autre_refus,kraft,Teint_Dans_La_Masse,Carton_gris,cartonnette,mal_croppe,flou,plastique,environnement,Carton_brun,metal,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22705529]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1356293398, 1356293344, 1356293341, 1356293337, 1356293335, 1356293334, 1356293331, 1356293286, 1356293285, 1356293283, 1356293251, 1356293249, 1356293248, 1356293247, 1356293246, 1356293244, 1356293204, 1356293200, 1356293198, 1356293197, 1356293195, 1356293193, 1356293159, 1356293155, 1356293152, 1356293151, 1356293150, 1356293149] map_info['map_portfolio_photo'] : {22705529: [1356293398, 1356293344, 1356293341, 1356293337, 1356293335, 1356293334, 1356293331, 1356293286, 1356293285, 1356293283, 1356293251, 1356293249, 1356293248, 1356293247, 1356293246, 1356293244, 1356293204, 1356293200, 1356293198, 1356293197, 1356293195, 1356293193, 1356293159, 1356293155, 1356293152, 1356293151, 1356293150, 1356293149, 1356293070, 1356293067, 1356293065, 1356293063, 1356293061, 1356293028, 1356293024, 1356293020, 1356293019, 1356293018, 1356293017, 1356292989, 1356292981, 1356292979, 1356292975, 1356292973, 1356292935, 1356292933, 1356292932, 1356292931, 1356292929, 1356292907, 1356292901, 1356292897, 1356292892, 1356292889, 1356292886, 1356292857, 1356292854, 1356292851, 1356292850, 1356292848, 1356292845, 1356292813, 1356292812, 1356292811, 1356292788, 1356292785, 1356292780, 1356292779, 1356292778, 1356292777, 1356292750, 1356292746, 1356292744, 1356292743, 1356292742, 1356292740, 1356292700, 1356292699, 1356292698]} final : False mtd_id 4302 list_pids : [1356293398, 1356293344, 1356293341, 1356293337, 1356293335, 1356293334, 1356293331, 1356293286, 1356293285, 1356293283, 1356293251, 1356293249, 1356293248, 1356293247, 1356293246, 1356293244, 1356293204, 1356293200, 1356293198, 1356293197, 1356293195, 1356293193, 1356293159, 1356293155, 1356293152, 1356293151, 1356293150, 1356293149] Looping around the photos to save general results len do output : 1 /22705529. 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, '2796119') ('4302', '22705529', '1356293398', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293344', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293341', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293337', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293335', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293334', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293331', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293286', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293285', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293283', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293251', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293249', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293248', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293247', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293246', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293244', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293204', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293200', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293198', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293197', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293195', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293193', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293159', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293155', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293152', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293151', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293150', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293149', None, None, None, None, None, '2796119') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 29 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, '22705529', "{'autre_refus': 22705530, 'kraft': 22705531, 'Teint_Dans_La_Masse': 22705532, 'Carton_gris': 22705533, 'cartonnette': 22705534, 'mal_croppe': 22705535, 'flou': 22705536, 'plastique': 22705537, 'environnement': 22705538, 'Carton_brun': 22705539, 'metal': 22705540, 'papier': 22705541}", None, None, None, None, '2796119'), ('4302', '22705529', '1356293398', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293344', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293341', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293337', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293335', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293334', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293331', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293286', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293285', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293283', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293251', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293249', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293248', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293247', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293246', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293244', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293204', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293200', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293198', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293197', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293195', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293193', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293159', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293155', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293152', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293151', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293150', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293149', None, None, None, None, None, '2796119')] time used for this insertion : 0.015663623809814453 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4659273624420166 time spend to save output : 0.016065120697021484 total time spend for step 1 : 0.4819924831390381 step2:final Tue May 6 06:46:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22705529) 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 22705529 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1356292700,1356292699,1356292698,1356292750,1356292746,1356292744,1356292743,1356292742,1356292740,1356292788,1356292785,1356292780,1356292779,1356292778,1356292777,1356292813,1356292812,1356292811,1356292857,1356292854,1356292851,1356292850,1356292848,1356292845,1356292907,1356292901,1356292897,1356292892,1356292889,1356292886,1356292935,1356292933,1356292932,1356292931,1356292929,1356292989,1356292981,1356292979,1356292975,1356292973,1356293028,1356293024,1356293020,1356293019,1356293018,1356293017,1356293070,1356293067,1356293065,1356293063,1356293061,1356293159,1356293155,1356293152,1356293151,1356293150,1356293149,1356293204,1356293200,1356293198,1356293197,1356293195,1356293193,1356293251,1356293249,1356293248,1356293247,1356293246,1356293244,1356293286,1356293285,1356293283,1356293344,1356293341,1356293337,1356293335,1356293334,1356293331,1356293398); 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([22705529]) Inside saveOutput : final : False verbose : True original output for save of step final : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} new output for save of step final : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} [1356293398, 1356293344, 1356293341, 1356293337, 1356293335, 1356293334, 1356293331, 1356293286, 1356293285, 1356293283, 1356293251, 1356293249, 1356293248, 1356293247, 1356293246, 1356293244, 1356293204, 1356293200, 1356293198, 1356293197, 1356293195, 1356293193, 1356293159, 1356293155, 1356293152, 1356293151, 1356293150, 1356293149] map_info['map_portfolio_photo'] : {22705529: [1356293398, 1356293344, 1356293341, 1356293337, 1356293335, 1356293334, 1356293331, 1356293286, 1356293285, 1356293283, 1356293251, 1356293249, 1356293248, 1356293247, 1356293246, 1356293244, 1356293204, 1356293200, 1356293198, 1356293197, 1356293195, 1356293193, 1356293159, 1356293155, 1356293152, 1356293151, 1356293150, 1356293149, 1356293070, 1356293067, 1356293065, 1356293063, 1356293061, 1356293028, 1356293024, 1356293020, 1356293019, 1356293018, 1356293017, 1356292989, 1356292981, 1356292979, 1356292975, 1356292973, 1356292935, 1356292933, 1356292932, 1356292931, 1356292929, 1356292907, 1356292901, 1356292897, 1356292892, 1356292889, 1356292886, 1356292857, 1356292854, 1356292851, 1356292850, 1356292848, 1356292845, 1356292813, 1356292812, 1356292811, 1356292788, 1356292785, 1356292780, 1356292779, 1356292778, 1356292777, 1356292750, 1356292746, 1356292744, 1356292743, 1356292742, 1356292740, 1356292700, 1356292699, 1356292698]} final : False mtd_id 4302 list_pids : [1356293398, 1356293344, 1356293341, 1356293337, 1356293335, 1356293334, 1356293331, 1356293286, 1356293285, 1356293283, 1356293251, 1356293249, 1356293248, 1356293247, 1356293246, 1356293244, 1356293204, 1356293200, 1356293198, 1356293197, 1356293195, 1356293193, 1356293159, 1356293155, 1356293152, 1356293151, 1356293150, 1356293149] Looping around the photos to save general results len do output : 28 /1356293398.Didn't retrieve data . /1356293344.Didn't retrieve data . /1356293341.Didn't retrieve data . /1356293337.Didn't retrieve data . /1356293335.Didn't retrieve data . /1356293334.Didn't retrieve data . /1356293331.Didn't retrieve data . /1356293286.Didn't retrieve data . /1356293285.Didn't retrieve data . /1356293283.Didn't retrieve data . /1356293251.Didn't retrieve data . /1356293249.Didn't retrieve data . /1356293248.Didn't retrieve data . /1356293247.Didn't retrieve data . /1356293246.Didn't retrieve data . /1356293244.Didn't retrieve data . /1356293204.Didn't retrieve data . /1356293200.Didn't retrieve data . /1356293198.Didn't retrieve data . /1356293197.Didn't retrieve data . /1356293195.Didn't retrieve data . /1356293193.Didn't retrieve data . /1356293159.Didn't retrieve data . /1356293155.Didn't retrieve data . /1356293152.Didn't retrieve data . /1356293151.Didn't retrieve data . /1356293150.Didn't retrieve data . /1356293149.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, '2796119') ('4302', '22705529', '1356293398', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293344', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293341', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293337', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293335', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293334', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293331', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293286', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293285', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293283', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293251', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293249', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293248', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293247', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293246', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293244', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293204', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293200', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293198', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293197', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293195', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293193', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293159', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293155', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293152', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293151', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293150', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293149', None, None, None, None, None, '2796119') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 84 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', '22705529', '1356293398', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293344', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293341', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293337', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293335', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293334', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293331', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293286', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293285', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293283', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293251', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293249', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293248', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293247', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293246', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293244', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293204', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293200', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293198', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293197', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293195', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293193', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293159', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293155', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293152', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293151', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293150', '0.020981443968970746', None, None, None, None, '2796119'), ('4302', '22705529', '1356293149', '0.020981443968970746', None, None, None, None, '2796119')] time used for this insertion : 0.015801191329956055 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06699895858764648 time spend to save output : 0.01693129539489746 total time spend for step 2 : 0.08393025398254395 step3:velours_tree Tue May 6 06:46:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {22705529: [{'autre_refus': 22705530, 'kraft': 22705531, 'Teint_Dans_La_Masse': 22705532, 'Carton_gris': 22705533, 'cartonnette': 22705534, 'mal_croppe': 22705535, 'flou': 22705536, 'plastique': 22705537, 'environnement': 22705538, 'Carton_brun': 22705539, 'metal': 22705540, 'papier': 22705541}]} input_args_next_step : {22705529: ()} output_args : {22705529: [{'autre_refus': 22705530, 'kraft': 22705531, 'Teint_Dans_La_Masse': 22705532, 'Carton_gris': 22705533, 'cartonnette': 22705534, 'mal_croppe': 22705535, 'flou': 22705536, 'plastique': 22705537, 'environnement': 22705538, 'Carton_brun': 22705539, 'metal': 22705540, 'papier': 22705541}]} args : 22705529 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'autre_refus': 22705530, 'kraft': 22705531, 'Teint_Dans_La_Masse': 22705532, 'Carton_gris': 22705533, 'cartonnette': 22705534, 'mal_croppe': 22705535, 'flou': 22705536, 'plastique': 22705537, 'environnement': 22705538, 'Carton_brun': 22705539, 'metal': 22705540, 'papier': 22705541},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22705529) 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([22705529]) 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.29480552673339844 time spend to save output : 6.222724914550781e-05 total time spend for step 3 : 0.29486775398254395 step4:send_mail_cod Tue May 6 06:46:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} input_args_next_step : {1356293398: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293398 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293344 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293341 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293337 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293335 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293334 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293331 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293286 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293285 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293283 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293251 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293249 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293248 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293247 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293246 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293244 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293204 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293200 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293198 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293197 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293195 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293193 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293159 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293155 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293152 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293151 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293150 depend.output_id : 0 input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ()} output_args : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',)} args : 1356293149 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 : {22705529: [{'autre_refus': 22705530, 'kraft': 22705531, 'Teint_Dans_La_Masse': 22705532, 'Carton_gris': 22705533, 'cartonnette': 22705534, 'mal_croppe': 22705535, 'flou': 22705536, 'plastique': 22705537, 'environnement': 22705538, 'Carton_brun': 22705539, 'metal': 22705540, 'papier': 22705541}]} input_args_next_step : {1356293398: ('0.020981443968970746',), 1356293344: ('0.020981443968970746',), 1356293341: ('0.020981443968970746',), 1356293337: ('0.020981443968970746',), 1356293335: ('0.020981443968970746',), 1356293334: ('0.020981443968970746',), 1356293331: ('0.020981443968970746',), 1356293286: ('0.020981443968970746',), 1356293285: ('0.020981443968970746',), 1356293283: ('0.020981443968970746',), 1356293251: ('0.020981443968970746',), 1356293249: ('0.020981443968970746',), 1356293248: ('0.020981443968970746',), 1356293247: ('0.020981443968970746',), 1356293246: ('0.020981443968970746',), 1356293244: ('0.020981443968970746',), 1356293204: ('0.020981443968970746',), 1356293200: ('0.020981443968970746',), 1356293198: ('0.020981443968970746',), 1356293197: ('0.020981443968970746',), 1356293195: ('0.020981443968970746',), 1356293193: ('0.020981443968970746',), 1356293159: ('0.020981443968970746',), 1356293155: ('0.020981443968970746',), 1356293152: ('0.020981443968970746',), 1356293151: ('0.020981443968970746',), 1356293150: ('0.020981443968970746',), 1356293149: ('0.020981443968970746',), 22705529: ()} output_args : {22705529: [{'autre_refus': 22705530, 'kraft': 22705531, 'Teint_Dans_La_Masse': 22705532, 'Carton_gris': 22705533, 'cartonnette': 22705534, 'mal_croppe': 22705535, 'flou': 22705536, 'plastique': 22705537, 'environnement': 22705538, 'Carton_brun': 22705539, 'metal': 22705540, 'papier': 22705541}]} args : 22705529 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 :29, first value : ('0.020981443968970746',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22705529) 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 (1356293398,1356293344,1356293341,1356293337,1356293335,1356293334,1356293331,1356293286,1356293285,1356293283,1356293251,1356293249,1356293248,1356293247,1356293246,1356293244,1356293204,1356293200,1356293198,1356293197,1356293195,1356293193,1356293159,1356293155,1356293152,1356293151,1356293150,1356293149) Found this number of photos: 28 ##### Call download_photos : nb_thread : 5 begin to download photo : 1356293149 begin to download photo : 1356293193 begin to download photo : 1356293244 begin to download photo : 1356293283 begin to download photo : 1356293337 download finish for photo 1356293149 begin to download photo : 1356293150 download finish for photo 1356293337 begin to download photo : 1356293341 download finish for photo 1356293193 begin to download photo : 1356293195 download finish for photo 1356293244 begin to download photo : 1356293246 download finish for photo 1356293283 begin to download photo : 1356293285 download finish for photo 1356293150 begin to download photo : 1356293151 download finish for photo 1356293195 begin to download photo : 1356293197 download finish for photo 1356293341 begin to download photo : 1356293344 download finish for photo 1356293246 begin to download photo : 1356293247 download finish for photo 1356293285 begin to download photo : 1356293286 download finish for photo 1356293151 begin to download photo : 1356293152 download finish for photo 1356293197 begin to download photo : 1356293198 download finish for photo 1356293344 begin to download photo : 1356293398 download finish for photo 1356293286 begin to download photo : 1356293331 download finish for photo 1356293247 begin to download photo : 1356293248 download finish for photo 1356293198 begin to download photo : 1356293200 download finish for photo 1356293248 begin to download photo : 1356293249 download finish for photo 1356293398 download finish for photo 1356293152 begin to download photo : 1356293155 download finish for photo 1356293331 begin to download photo : 1356293334 download finish for photo 1356293200 begin to download photo : 1356293204 download finish for photo 1356293249 begin to download photo : 1356293251 download finish for photo 1356293155 begin to download photo : 1356293159 download finish for photo 1356293334 begin to download photo : 1356293335 download finish for photo 1356293204 download finish for photo 1356293251 download finish for photo 1356293159 download finish for photo 1356293335 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 : 28 ; length of list_pids : 28 ; length of list_args : 28 results_Auto_P22705529_06-05-2025_06_47_00.pdf 22705530 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=22705530 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1356292794: '1746505980_1320430_1356292699_65d4a722980357bca932df55403c0170_rle_crop_3786138056_0.png', 1356293269: '1746506607_2821276_1356292811_9dae290497964c8625f768f8fb7de119_rle_crop_3786138591_0.png', 1356293270: '1746506607_2821276_1356292811_9dae290497964c8625f768f8fb7de119_rle_crop_3786138589_0.png', 1356293316: '1746506653_1325321_1356293152_a7d3ab81ae2c858f335b69351ca8dc33_rle_crop_3786138725_0.png', 1356293382: '1746506727_2824333_1356293195_24e7fc7891a1d11316999734648937d9_rle_crop_3786139092_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/4f52a7bb35caf631a701a060accec855_71788696.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/4c50311eda30b6837b0bb51006aafead_96597950.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/a08facc07ce65173883627ba37bffeb7_71248242.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/c8eb74a1b0eaa3eb82b304c1a8d0888c_24804655.png change filename to text .imagette227055301746506820/ imagette227055301746506820/1746506727_2824333_1356293195_24e7fc7891a1d11316999734648937d9_rle_crop_3786139092_0.png.png imagette227055301746506820/1746506607_2821276_1356292811_9dae290497964c8625f768f8fb7de119_rle_crop_3786138589_0.png.png imagette227055301746506820/1746506607_2821276_1356292811_9dae290497964c8625f768f8fb7de119_rle_crop_3786138591_0.png.png imagette227055301746506820/1746506653_1325321_1356293152_a7d3ab81ae2c858f335b69351ca8dc33_rle_crop_3786138725_0.png.png imagette227055301746506820/1746505980_1320430_1356292699_65d4a722980357bca932df55403c0170_rle_crop_3786138056_0.png.png imagette227055311746506820/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/776b80eb4dc7214ae17956edf2c26214_74745331.png imagette227055301746506820 22705531 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=22705531 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette227055311746506820 22705534 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=22705534 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1356292796: '1746505980_1320430_1356292700_19a279d2fe7c4f7a7ad6d864de320e6b_rle_crop_3786138027_0.png', 1356293233: '1746506533_1324205_1356293024_e6659666e5e14ab4858a1ed24ed1f6bc_rle_crop_3786138356_0.png', 1356293234: '1746506533_1324205_1356293020_291974cc22732157db8d0925b0d74601_rle_crop_3786138376_0.png', 1356293262: '1746506592_1324810_1356293061_62124c3eec437caff7f03b9d5548616f_rle_crop_3786138562_0.png', 1356293272: '1746506607_2821276_1356292811_9dae290497964c8625f768f8fb7de119_rle_crop_3786138592_0.png', 1356293321: '1746506653_1325321_1356293155_43a9f371593c9dd6bfdb7f9d5c47a594_rle_crop_3786138716_0.png', 1356293375: '1746506712_1325789_1356292979_085716545b0589ed74a397bf9c1a44b5_rle_crop_3786139014_0.png', 1356293376: '1746506712_1325789_1356292975_40c2065813249501b245b5352e11f067_rle_crop_3786139031_0.png', 1356293389: '1746506727_2824333_1356293251_000a5c551ec608570eef8887d8ae77b8_rle_crop_3786139049_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/c5b9991e2969173db798eccf3378ce0f_51054500.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/d55212167356236a0f500a064643052f_76626172.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/a07e6c7ab60825c50a84f5ae130aa5cc_92034887.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/ce62afe9c2ea03c52c709e7cd4c69a55_50648088.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/f0d1674d174530ffe9698c13410461fe_76904307.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/3ace3e47cb82952c229ea17b79bf48a2_86466589.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/099fcde95044e4d1a9d4f45552bdbb70_18295049.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/f840632bfc9ab3aa6c2d3395ce6bf822_32138395.png change filename to text .imagette227055341746506820/ imagette227055341746506820/1746506712_1325789_1356292975_40c2065813249501b245b5352e11f067_rle_crop_3786139031_0.png.png imagette227055341746506820/1746506653_1325321_1356293155_43a9f371593c9dd6bfdb7f9d5c47a594_rle_crop_3786138716_0.png.png imagette227055341746506820/1746506592_1324810_1356293061_62124c3eec437caff7f03b9d5548616f_rle_crop_3786138562_0.png.png imagette227055341746506820/1746506712_1325789_1356292979_085716545b0589ed74a397bf9c1a44b5_rle_crop_3786139014_0.png.png imagette227055341746506820/1746505980_1320430_1356292700_19a279d2fe7c4f7a7ad6d864de320e6b_rle_crop_3786138027_0.png.png imagette227055341746506820/1746506727_2824333_1356293251_000a5c551ec608570eef8887d8ae77b8_rle_crop_3786139049_0.png.png imagette227055341746506820/1746506533_1324205_1356293024_e6659666e5e14ab4858a1ed24ed1f6bc_rle_crop_3786138356_0.png.png imagette227055341746506820/1746506607_2821276_1356292811_9dae290497964c8625f768f8fb7de119_rle_crop_3786138592_0.png.png imagette227055341746506820/1746506533_1324205_1356293020_291974cc22732157db8d0925b0d74601_rle_crop_3786138376_0.png.png imagette227055351746506821/ imagette227055361746506821/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/e96559c76b81cd100aec96979ff1a0c5_38388045.png imagette227055341746506820 22705535 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=22705535 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette227055351746506821 22705536 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=22705536 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette227055361746506821 22705537 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=22705537 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1356292798: '1746505980_1320430_1356292699_65d4a722980357bca932df55403c0170_rle_crop_3786138060_0.png', 1356293265: '1746506592_1324810_1356293061_62124c3eec437caff7f03b9d5548616f_rle_crop_3786138565_0.png', 1356293322: '1746506653_1325321_1356293151_fd7de27609fd8db5fa87f3a30f09e5fe_rle_crop_3786138735_0.png', 1356293392: '1746506727_2824333_1356293197_b7a67ff2386b578d3db94e970a39d5a1_rle_crop_3786139079_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/78b5fdf0d8cd1b14d9d3d19496bb7884_1145925.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/01ecf2e0f6089b45bd6fd5f5efdb7d3a_80032814.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/df155363a001ab74ee34f9e7ba6a8097_19490346.png change filename to text .imagette227055371746506821/ imagette227055371746506821/1746506653_1325321_1356293151_fd7de27609fd8db5fa87f3a30f09e5fe_rle_crop_3786138735_0.png.png imagette227055371746506821/1746505980_1320430_1356292699_65d4a722980357bca932df55403c0170_rle_crop_3786138060_0.png.png imagette227055371746506821/1746506727_2824333_1356293197_b7a67ff2386b578d3db94e970a39d5a1_rle_crop_3786139079_0.png.png imagette227055371746506821/1746506592_1324810_1356293061_62124c3eec437caff7f03b9d5548616f_rle_crop_3786138565_0.png.png imagette227055401746506821/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/9d4ecc3bf607a191586c9355c76aa27d_85185078.png imagette227055371746506821 22705540 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=22705540 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette227055401746506821 22705532 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=22705532 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1356293261: '1746506592_1324810_1356293061_62124c3eec437caff7f03b9d5548616f_rle_crop_3786138558_0.png', 1356293312: '1746506653_1325321_1356293151_fd7de27609fd8db5fa87f3a30f09e5fe_rle_crop_3786138737_0.png', 1356293313: '1746506653_1325321_1356293149_f91c017639003fa38202d4d3c0d70a64_rle_crop_3786138759_0.png', 1356293368: '1746506712_1325789_1356293028_4926905036ff1f39cf93be698d83ccae_rle_crop_3786139001_0.png', 1356293369: '1746506712_1325789_1356292979_085716545b0589ed74a397bf9c1a44b5_rle_crop_3786139017_0.png', 1356293370: '1746506712_1325789_1356292975_40c2065813249501b245b5352e11f067_rle_crop_3786139032_0.png', 1356293371: '1746506712_1325789_1356292975_40c2065813249501b245b5352e11f067_rle_crop_3786139038_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/564062fef838f4baf77d85ec20a4f16b_58242033.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/bc46295b99f60b3f5e53c80877628bd9_53930454.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/f64f8e821c4439491556219b2470748d_1197047.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/1613295ac33ec892341b1732f0d09d08_26613960.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/fbbfaecbfd3528e767a1eaf943148ce4_53300486.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/be91e86abe83f1231db58b11b0e84a01_79003942.png change filename to text .imagette227055321746506821/ imagette227055321746506821/1746506712_1325789_1356292975_40c2065813249501b245b5352e11f067_rle_crop_3786139032_0.png.png imagette227055321746506821/1746506712_1325789_1356293028_4926905036ff1f39cf93be698d83ccae_rle_crop_3786139001_0.png.png imagette227055321746506821/1746506712_1325789_1356292979_085716545b0589ed74a397bf9c1a44b5_rle_crop_3786139017_0.png.png imagette227055321746506821/1746506653_1325321_1356293151_fd7de27609fd8db5fa87f3a30f09e5fe_rle_crop_3786138737_0.png.png imagette227055321746506821/1746506592_1324810_1356293061_62124c3eec437caff7f03b9d5548616f_rle_crop_3786138558_0.png.png imagette227055321746506821/1746506653_1325321_1356293149_f91c017639003fa38202d4d3c0d70a64_rle_crop_3786138759_0.png.png imagette227055321746506821/1746506712_1325789_1356292975_40c2065813249501b245b5352e11f067_rle_crop_3786139038_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/c78e6cdf568155b8c037222d12f602db_21134919.png imagette227055321746506821 22705533 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=22705533 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1356293317: '1746506653_1325321_1356293155_43a9f371593c9dd6bfdb7f9d5c47a594_rle_crop_3786138710_0.png', 1356293373: '1746506712_1325789_1356292975_40c2065813249501b245b5352e11f067_rle_crop_3786139028_0.png', 1356293374: '1746506712_1325789_1356292973_635bb8e5edfe71aaebab06cf60049c73_rle_crop_3786139059_0.png', 1356293385: '1746506727_2824333_1356293251_000a5c551ec608570eef8887d8ae77b8_rle_crop_3786139046_0.png', 1356293387: '1746506727_2824333_1356293193_55f6f9dee24bbd282b8f98fadb8a4c58_rle_crop_3786139106_0.png', 1356293388: '1746506727_2824333_1356293193_55f6f9dee24bbd282b8f98fadb8a4c58_rle_crop_3786139107_0.png', 1356293411: '1746506772_1326436_1356293285_e11e9d0410917ef052edb341f9175af6_rle_crop_3786139150_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/296a48dd00f133807bb3093168be8962_73152542.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/98e9c88a9a22c9ab2edf92a058997790_67011728.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/40830f68718568a2490e657453f3ce05_64966843.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/422ce968e869209e13c8f43299ad93fe_9039583.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/4b8de17d4ab8f310ca5a57968c2c5f05_69002880.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/e5b1c79839ea21683dadff45670c0ab6_17542709.png change filename to text .imagette227055331746506821/ imagette227055331746506821/1746506772_1326436_1356293285_e11e9d0410917ef052edb341f9175af6_rle_crop_3786139150_0.png.png imagette227055331746506821/1746506727_2824333_1356293193_55f6f9dee24bbd282b8f98fadb8a4c58_rle_crop_3786139107_0.png.png imagette227055331746506821/1746506712_1325789_1356292975_40c2065813249501b245b5352e11f067_rle_crop_3786139028_0.png.png imagette227055331746506821/1746506712_1325789_1356292973_635bb8e5edfe71aaebab06cf60049c73_rle_crop_3786139059_0.png.png imagette227055331746506821/1746506727_2824333_1356293251_000a5c551ec608570eef8887d8ae77b8_rle_crop_3786139046_0.png.png imagette227055331746506821/1746506727_2824333_1356293193_55f6f9dee24bbd282b8f98fadb8a4c58_rle_crop_3786139106_0.png.png imagette227055331746506821/1746506653_1325321_1356293155_43a9f371593c9dd6bfdb7f9d5c47a594_rle_crop_3786138710_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/db466abfca9b41163f55c9b5125267da_53278260.png imagette227055331746506821 22705539 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=22705539 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1356293235: '1746506533_1324205_1356293024_e6659666e5e14ab4858a1ed24ed1f6bc_rle_crop_3786138363_0.png', 1356293263: '1746506592_1324810_1356293063_fcf0bd39e70a869c606859993dc13c8a_rle_crop_3786138549_0.png', 1356293379: '1746506712_1325789_1356292979_085716545b0589ed74a397bf9c1a44b5_rle_crop_3786139016_0.png', 1356293390: '1746506727_2824333_1356293251_000a5c551ec608570eef8887d8ae77b8_rle_crop_3786139047_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/91ad2ed5da17b2a630f2fe583ac8661e_35179474.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/8dadb477ab85d347d9502de60b7a91c6_83239638.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/8a66b80a62888aaa2e31a01db94fbdf1_14991257.png change filename to text .imagette227055391746506822/ imagette227055391746506822/1746506592_1324810_1356293063_fcf0bd39e70a869c606859993dc13c8a_rle_crop_3786138549_0.png.png imagette227055391746506822/1746506533_1324205_1356293024_e6659666e5e14ab4858a1ed24ed1f6bc_rle_crop_3786138363_0.png.png imagette227055391746506822/1746506712_1325789_1356292979_085716545b0589ed74a397bf9c1a44b5_rle_crop_3786139016_0.png.png imagette227055391746506822/1746506727_2824333_1356293251_000a5c551ec608570eef8887d8ae77b8_rle_crop_3786139047_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/7d7b0cb6ef35e51ae7334796bc446bef_99127021.png imagette227055391746506822 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22705529 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22705542,22705543,22705544,22705545,22705546,22705547,22705548,22705549,22705550,22705551,22705552,22705553?tags=autre_refus,kraft,Teint_Dans_La_Masse,Carton_gris,cartonnette,mal_croppe,flou,plastique,environnement,Carton_brun,metal,papier your option no_mail is active, we will not send the real mail to your client args[1356293398] : ('0.020981443968970746',) no score found for photo 1356293398 We are sending mail with results at report@fotonower.com args[1356293344] : ('0.020981443968970746',) no score found for photo 1356293344 We are sending mail with results at report@fotonower.com args[1356293341] : ('0.020981443968970746',) no score found for photo 1356293341 We are sending mail with results at report@fotonower.com args[1356293337] : ('0.020981443968970746',) no score found for photo 1356293337 We are sending mail with results at report@fotonower.com args[1356293335] : ('0.020981443968970746',) no score found for photo 1356293335 We are sending mail with results at report@fotonower.com args[1356293334] : ('0.020981443968970746',) no score found for photo 1356293334 We are sending mail with results at report@fotonower.com args[1356293331] : ('0.020981443968970746',) no score found for photo 1356293331 We are sending mail with results at report@fotonower.com args[1356293286] : ('0.020981443968970746',) no score found for photo 1356293286 We are sending mail with results at report@fotonower.com args[1356293285] : ('0.020981443968970746',) no score found for photo 1356293285 We are sending mail with results at report@fotonower.com args[1356293283] : ('0.020981443968970746',) no score found for photo 1356293283 We are sending mail with results at report@fotonower.com args[1356293251] : ('0.020981443968970746',) no score found for photo 1356293251 We are sending mail with results at report@fotonower.com args[1356293249] : ('0.020981443968970746',) no score found for photo 1356293249 We are sending mail with results at report@fotonower.com args[1356293248] : ('0.020981443968970746',) no score found for photo 1356293248 We are sending mail with results at report@fotonower.com args[1356293247] : ('0.020981443968970746',) no score found for photo 1356293247 We are sending mail with results at report@fotonower.com args[1356293246] : ('0.020981443968970746',) no score found for photo 1356293246 We are sending mail with results at report@fotonower.com args[1356293244] : ('0.020981443968970746',) no score found for photo 1356293244 We are sending mail with results at report@fotonower.com args[1356293204] : ('0.020981443968970746',) no score found for photo 1356293204 We are sending mail with results at report@fotonower.com args[1356293200] : ('0.020981443968970746',) no score found for photo 1356293200 We are sending mail with results at report@fotonower.com args[1356293198] : ('0.020981443968970746',) no score found for photo 1356293198 We are sending mail with results at report@fotonower.com args[1356293197] : ('0.020981443968970746',) no score found for photo 1356293197 We are sending mail with results at report@fotonower.com args[1356293195] : ('0.020981443968970746',) no score found for photo 1356293195 We are sending mail with results at report@fotonower.com args[1356293193] : ('0.020981443968970746',) no score found for photo 1356293193 We are sending mail with results at report@fotonower.com args[1356293159] : ('0.020981443968970746',) no score found for photo 1356293159 We are sending mail with results at report@fotonower.com args[1356293155] : ('0.020981443968970746',) no score found for photo 1356293155 We are sending mail with results at report@fotonower.com args[1356293152] : ('0.020981443968970746',) no score found for photo 1356293152 We are sending mail with results at report@fotonower.com args[1356293151] : ('0.020981443968970746',) no score found for photo 1356293151 We are sending mail with results at report@fotonower.com args[1356293150] : ('0.020981443968970746',) no score found for photo 1356293150 We are sending mail with results at report@fotonower.com args[1356293149] : ('0.020981443968970746',) no score found for photo 1356293149 We are sending mail with results at report@fotonower.com refus_total : 0.020981443968970746 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=22705529 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_P22705529_06-05-2025_06_47_00.pdf results_Auto_P22705529_06-05-2025_06_47_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22705529_06-05-2025_06_47_00.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','22705529','results_Auto_P22705529_06-05-2025_06_47_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22705529_06-05-2025_06_47_00.pdf','pdf','','0.29','0.020981443968970746') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22705529]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1356293398, 1356293344, 1356293341, 1356293337, 1356293335, 1356293334, 1356293331, 1356293286, 1356293285, 1356293283, 1356293251, 1356293249, 1356293248, 1356293247, 1356293246, 1356293244, 1356293204, 1356293200, 1356293198, 1356293197, 1356293195, 1356293193, 1356293159, 1356293155, 1356293152, 1356293151, 1356293150, 1356293149] map_info['map_portfolio_photo'] : {22705529: [1356293398, 1356293344, 1356293341, 1356293337, 1356293335, 1356293334, 1356293331, 1356293286, 1356293285, 1356293283, 1356293251, 1356293249, 1356293248, 1356293247, 1356293246, 1356293244, 1356293204, 1356293200, 1356293198, 1356293197, 1356293195, 1356293193, 1356293159, 1356293155, 1356293152, 1356293151, 1356293150, 1356293149, 1356293070, 1356293067, 1356293065, 1356293063, 1356293061, 1356293028, 1356293024, 1356293020, 1356293019, 1356293018, 1356293017, 1356292989, 1356292981, 1356292979, 1356292975, 1356292973, 1356292935, 1356292933, 1356292932, 1356292931, 1356292929, 1356292907, 1356292901, 1356292897, 1356292892, 1356292889, 1356292886, 1356292857, 1356292854, 1356292851, 1356292850, 1356292848, 1356292845, 1356292813, 1356292812, 1356292811, 1356292788, 1356292785, 1356292780, 1356292779, 1356292778, 1356292777, 1356292750, 1356292746, 1356292744, 1356292743, 1356292742, 1356292740, 1356292700, 1356292699, 1356292698]} final : False mtd_id 4302 list_pids : [1356293398, 1356293344, 1356293341, 1356293337, 1356293335, 1356293334, 1356293331, 1356293286, 1356293285, 1356293283, 1356293251, 1356293249, 1356293248, 1356293247, 1356293246, 1356293244, 1356293204, 1356293200, 1356293198, 1356293197, 1356293195, 1356293193, 1356293159, 1356293155, 1356293152, 1356293151, 1356293150, 1356293149] 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, '2796119') ('4302', '22705529', '1356293398', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293344', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293341', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293337', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293335', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293334', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293331', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293286', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293285', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293283', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293251', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293249', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293248', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293247', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293246', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293244', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293204', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293200', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293198', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293197', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293195', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293193', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293159', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293155', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293152', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293151', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293150', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293149', None, None, None, None, None, '2796119') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 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', '22705529', '1356293398', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293344', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293341', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293337', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293335', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293334', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293331', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293286', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293285', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293283', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293251', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293249', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293248', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293247', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293246', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293244', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293204', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293200', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293198', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293197', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293195', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293193', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293159', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293155', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293152', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293151', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293150', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293149', None, None, None, None, None, '2796119')] time used for this insertion : 0.015490055084228516 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.627817392349243 time spend to save output : 0.015866994857788086 total time spend for step 4 : 4.643684387207031 step5:split_time_score Tue May 6 06:47:04 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 : ['22705529'] 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 : [('22705529',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22705529) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1356293337: {'path': 'temp/1746506819_3778357_1356293337_6d092ee35b5932ee7eeef5dd76ca415e.jpg', 'extension': 'jpg'}, 1356293341: {'path': 'temp/1746506819_3778357_1356293341_a8927d5832692d607f6e9c5a77363e8b.jpg', 'extension': 'jpg'}, 1356293344: {'path': 'temp/1746506819_3778357_1356293344_aff27d123a0c0a84543d1be19a4848e9.jpg', 'extension': 'jpg'}, 1356293398: {'path': 'temp/1746506819_3778357_1356293398_2d81577fbbc006a5a5d3b85abd3dbde4.jpg', 'extension': 'jpg'}, 1356293193: {'path': 'temp/1746506819_3778357_1356293193_55f6f9dee24bbd282b8f98fadb8a4c58.jpg', 'extension': 'jpg'}, 1356293195: {'path': 'temp/1746506819_3778357_1356293195_24e7fc7891a1d11316999734648937d9.jpg', 'extension': 'jpg'}, 1356293197: {'path': 'temp/1746506819_3778357_1356293197_b7a67ff2386b578d3db94e970a39d5a1.jpg', 'extension': 'jpg'}, 1356293198: {'path': 'temp/1746506819_3778357_1356293198_29ae8dbf4f18161d5a587e7c7b75254f.jpg', 'extension': 'jpg'}, 1356293200: {'path': 'temp/1746506819_3778357_1356293200_403693f74bed0fbe7edd0077346ae5a9.jpg', 'extension': 'jpg'}, 1356293204: {'path': 'temp/1746506819_3778357_1356293204_1bdc4bba8674146ea3101eccf403f161.jpg', 'extension': 'jpg'}, 1356293244: {'path': 'temp/1746506819_3778357_1356293244_ec080209fe706de1d45bc1e97e17f078.jpg', 'extension': 'jpg'}, 1356293246: {'path': 'temp/1746506819_3778357_1356293246_84d3cf833a1d57f2deb2a99da3649143.jpg', 'extension': 'jpg'}, 1356293247: {'path': 'temp/1746506819_3778357_1356293247_63fae4de38c19d670f9666727d6a8217.jpg', 'extension': 'jpg'}, 1356293248: {'path': 'temp/1746506819_3778357_1356293248_7eaeeff634b2d54f8cb9624a3f7f26a6.jpg', 'extension': 'jpg'}, 1356293249: {'path': 'temp/1746506819_3778357_1356293249_bd5bbdd43184455f62b6872413f61ce4.jpg', 'extension': 'jpg'}, 1356293251: {'path': 'temp/1746506819_3778357_1356293251_000a5c551ec608570eef8887d8ae77b8.jpg', 'extension': 'jpg'}, 1356293149: {'path': 'temp/1746506819_3778357_1356293149_f91c017639003fa38202d4d3c0d70a64.jpg', 'extension': 'jpg'}, 1356293150: {'path': 'temp/1746506819_3778357_1356293150_4b4a3399f6013d0a1b985d5616172970.jpg', 'extension': 'jpg'}, 1356293151: {'path': 'temp/1746506819_3778357_1356293151_fd7de27609fd8db5fa87f3a30f09e5fe.jpg', 'extension': 'jpg'}, 1356293152: {'path': 'temp/1746506819_3778357_1356293152_a7d3ab81ae2c858f335b69351ca8dc33.jpg', 'extension': 'jpg'}, 1356293155: {'path': 'temp/1746506819_3778357_1356293155_43a9f371593c9dd6bfdb7f9d5c47a594.jpg', 'extension': 'jpg'}, 1356293159: {'path': 'temp/1746506819_3778357_1356293159_82baa4f0f0971e08d57a31c7e1c677fa.jpg', 'extension': 'jpg'}, 1356293283: {'path': 'temp/1746506819_3778357_1356293283_746c70fbfe6494825aefbf5e7bf99791.jpg', 'extension': 'jpg'}, 1356293285: {'path': 'temp/1746506819_3778357_1356293285_e11e9d0410917ef052edb341f9175af6.jpg', 'extension': 'jpg'}, 1356293286: {'path': 'temp/1746506819_3778357_1356293286_adbca6babbaa65e2aff77e8d16e62fb5.jpg', 'extension': 'jpg'}, 1356293331: {'path': 'temp/1746506819_3778357_1356293331_89b051cccc34f0928d50ec3cb7bf1aaf.jpg', 'extension': 'jpg'}, 1356293334: {'path': 'temp/1746506819_3778357_1356293334_17478d118a3023f04f8abd0ca26789aa.jpg', 'extension': 'jpg'}, 1356293335: {'path': 'temp/1746506819_3778357_1356293335_1084e2faf9ca007f84ab7555004cfa77.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 = 22705529; (('arc_en_ciel_jrm_live',), ('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 = 22705529 group by h (('06', 79),) 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=22705529 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 (22705529) 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 (22705529) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 06052025 22705529 Nombre de photos uploadées : 79 / 23040 (0%) 06052025 22705529 Nombre de photos taguées (types de déchets): 0 / 79 (0%) 06052025 22705529 Nombre de photos taguées (volume) : 0 / 79 (0%) [{'photo_id': 1356292700, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/19a279d2fe7c4f7a7ad6d864de320e6b.jpg', 'username': None, 'uploaded_at': 1746505867, 'text': 'image_06052025_06_30_04_009131m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1356292699, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/65d4a722980357bca932df55403c0170.jpg', 'username': None, 'uploaded_at': 1746505867, 'text': 'image_06052025_06_30_14_010138m0.jpg 2e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1356292698, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/1fd6a909805c5ce441f2a84bcba3852b.jpg', 'username': None, 'uploaded_at': 1746505867, 'text': 'image_06052025_06_30_24_010134m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1356292750, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/6/47903d951b44522c6ff4485fdbce2ec7.jpg', 'username': None, 'uploaded_at': 1746505927, 'text': 'image_06052025_06_30_34_10144.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 4.0531158447265625e-06 ??????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.004003047943115234 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22705529, '2025-05-06' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1777292,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.023007869720458984 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= 1777292 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1777292, 'dashboard_run_id': 1785402, 'mtr_portfolio_id': 22704016, 'dashboard_result_id': 10327632, '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_P22704016_06-05-2025_06_03_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22704043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22704044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22704045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22704046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22704047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22704048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22704049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22704050, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22704051, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22704052, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22704053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22704054, 'pht': 3726}}"}, {'dashboat_entry_day': 1777292, 'dashboard_run_id': 1785402, 'mtr_portfolio_id': 22704427, 'dashboard_result_id': 10327633, '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_P22704427_06-05-2025_06_18_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22704428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22704429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22704430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22704431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22704432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22704433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22704434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22704435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22704436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22704437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22704438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22704439, 'pht': 3726}}"}, {'dashboat_entry_day': 1777292, 'dashboard_run_id': 1785402, 'mtr_portfolio_id': 22704969, 'dashboard_result_id': 10327634, '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_P22704969_06-05-2025_06_34_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22704995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22704996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22704997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22704998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22704999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22705000, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22705001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22705002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22705003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22705004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22705005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22705006, 'pht': 3726}}"}, {'dashboat_entry_day': 1777292, 'dashboard_run_id': 1785402, 'mtr_portfolio_id': 22705529, 'dashboard_result_id': 10327635, '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_P22705529_06-05-2025_06_40_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22705530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22705531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22705532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22705533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22705534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22705535, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22705536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22705537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22705538, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22705539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22705540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22705541, '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 = 22704016 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': 2795979, 'mtr_portfolio_id': 22704016, 'created_at': datetime.datetime(2025, 5, 6, 6, 3, 30), 'result': '0.04419198382997931', 'result_long': None, 'result_double': None}] Qualite : 0.04419198382997931 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22704016 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22704016_06-05-2025_06_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22704016 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_P22704016_06-05-2025_06_03_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22704043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22704044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22704045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22704046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22704047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22704048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22704049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22704050, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22704051, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22704052, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22704053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22704054, 'pht': 3726}}" where mtr_portfolio_id = 22704016 and dashboard_run_id = 1785402 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`=22704016 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10327632, 0.04419198382997931, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22704016_06-05-2025_06_03_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22704043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22704044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22704045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22704046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22704047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22704048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22704049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22704050, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22704051, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22704052, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22704053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22704054, '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 = 22704427 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': 2796030, 'mtr_portfolio_id': 22704427, 'created_at': datetime.datetime(2025, 5, 6, 6, 18, 56), 'result': '0.03451485623587217', 'result_long': None, 'result_double': None}] Qualite : 0.03451485623587217 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22704427 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22704427_06-05-2025_06_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22704427 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_P22704427_06-05-2025_06_18_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22704428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22704429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22704430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22704431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22704432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22704433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22704434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22704435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22704436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22704437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22704438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22704439, 'pht': 3726}}" where mtr_portfolio_id = 22704427 and dashboard_run_id = 1785405 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`=22704427 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10327633, 0.03451485623587217, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22704427_06-05-2025_06_18_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22704428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22704429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22704430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22704431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22704432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22704433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22704434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22704435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22704436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22704437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22704438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22704439, '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 = 22704969 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': 2796072, 'mtr_portfolio_id': 22704969, 'created_at': datetime.datetime(2025, 5, 6, 6, 34, 58), 'result': '0.04822745631611439', 'result_long': None, 'result_double': None}] Qualite : 0.04822745631611439 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22704969 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22704969_06-05-2025_06_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22704969 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_P22704969_06-05-2025_06_34_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22704995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22704996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22704997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22704998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22704999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22705000, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22705001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22705002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22705003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22705004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22705005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22705006, 'pht': 3726}}" where mtr_portfolio_id = 22704969 and dashboard_run_id = 1785405 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`=22704969 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10327634, 0.04822745631611439, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22704969_06-05-2025_06_34_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22704995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22704996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22704997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22704998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22704999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22705000, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22705001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22705002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22705003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22705004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22705005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22705006, '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 = 22705529 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': 2796119, 'mtr_portfolio_id': 22705529, 'created_at': datetime.datetime(2025, 5, 6, 6, 46, 59), 'result': '0.020981443968970746', 'result_long': None, 'result_double': None}] Qualite : 0.020981443968970746 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22705529 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22705529_06-05-2025_06_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22705529 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_P22705529_06-05-2025_06_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22705530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22705531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22705532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22705533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22705534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22705535, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22705536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22705537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22705538, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22705539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22705540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22705541, 'pht': 3726}}" where mtr_portfolio_id = 22705529 and dashboard_run_id = 1785405 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`=22705529 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10327635, 0.020981443968970746, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22705529_06-05-2025_06_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22705530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22705531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22705532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22705533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22705534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22705535, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22705536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22705537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22705538, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22705539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22705540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22705541, '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 (22704016,22704427,22704969,22705529) result : ((1356289573,), (1356289576,), (1356289578,), (1356289609,), (1356289611,), (1356289613,), (1356289615,), (1356289619,), (1356289640,), (1356289643,), (1356289645,), (1356289647,), (1356289651,), (1356289655,), (1356289683,), (1356289685,), (1356289687,), (1356289689,), (1356289729,), (1356289732,), (1356289733,), (1356289734,), (1356289737,), (1356289740,), (1356289764,), (1356289766,), (1356289769,), (1356289774,), (1356289805,), (1356289809,), (1356289811,), (1356289837,), (1356289838,), (1356289839,), (1356289840,), (1356289842,), (1356289844,), (1356289876,), (1356289878,), (1356289879,), (1356289880,), (1356289915,), (1356289917,), (1356289918,), (1356289919,), (1356289922,), (1356289925,), (1356289958,), (1356289959,), (1356289960,), (1356289961,), (1356289988,), (1356289989,), (1356289990,), (1356289991,), (1356289998,), (1356290031,), (1356290292,), (1356290320,), (1356290346,), (1356290372,), (1356290398,), (1356290861,), (1356290889,), (1356290921,), (1356290966,), (1356291061,), (1356291107,), (1356291135,), (1356291168,), (1356291195,), (1356291417,), (1356291336,), (1356291363,), (1356291392,), (1356291461,), (1356291463,), (1356291465,), (1356291472,), (1356291674,), (1356291677,), (1356291681,), (1356291684,), (1356291717,), (1356291720,), (1356291723,), (1356291726,), (1356291729,), (1356291732,), (1356291758,), (1356291761,), (1356291763,), (1356291765,), (1356291792,), (1356291795,), (1356291797,), (1356291799,), (1356291802,), (1356291830,), (1356291833,), (1356291836,), (1356291841,), (1356291845,), (1356291850,), (1356291869,), (1356291871,), (1356291873,), (1356291875,), (1356291879,), (1356291897,), (1356291899,), (1356291900,), (1356291901,), (1356291905,), (1356291953,), (1356291955,), (1356291957,), (1356291959,), (1356291963,), (1356291965,), (1356291987,), (1356291990,), (1356291992,), (1356291994,), (1356292014,), (1356292017,), (1356292019,), (1356292021,), (1356292026,), (1356292029,), (1356292046,), (1356292048,), (1356292052,), (1356292081,), (1356292083,), (1356292084,), (1356292086,), (1356292088,), (1356292092,), (1356292116,), (1356292118,), (1356292119,), (1356292120,), (1356292122,), (1356292161,), (1356292157,), (1356292159,), (1356292160,), (1356292193,), (1356292196,), (1356292198,), (1356292222,), (1356292224,), (1356292226,), (1356292256,), (1356292258,), (1356292299,), (1356292327,), (1356292328,), (1356292359,), (1356292361,), (1356292362,), (1356292363,), (1356292387,), (1356292388,), (1356292389,), (1356292390,), (1356292420,), (1356292422,), (1356292423,), (1356292424,), (1356292426,), (1356292459,), (1356292461,), (1356292462,), (1356292464,), (1356292467,), (1356292495,), (1356292501,), (1356292504,), (1356292506,), (1356292531,), (1356292534,), (1356292536,), (1356292538,), (1356292542,), (1356292544,), (1356292571,), (1356292574,), (1356292575,), (1356292577,), (1356292602,), (1356292604,), (1356292606,), (1356292608,), (1356292611,), (1356292641,), (1356292645,), (1356292647,), (1356292650,), (1356292701,), (1356292698,), (1356292699,), (1356292700,), (1356292740,), (1356292742,), (1356292743,), (1356292744,), (1356292746,), (1356292750,), (1356292777,), (1356292778,), (1356292779,), (1356292780,), (1356292785,), (1356292788,), (1356292811,), (1356292812,), (1356292813,), (1356292845,), (1356292848,), (1356292850,), (1356292851,), (1356292854,), (1356292857,), (1356292886,), (1356292889,), (1356292892,), (1356292897,), (1356292901,), (1356292907,), (1356292929,), (1356292931,), (1356292932,), (1356292933,), (1356292935,), (1356292973,), (1356292975,), (1356292979,), (1356292981,), (1356292989,), (1356293017,), (1356293018,), (1356293019,), (1356293020,), (1356293024,), (1356293028,), (1356293061,), (1356293063,), (1356293065,), (1356293067,), (1356293070,), (1356293149,), (1356293150,), (1356293151,), (1356293152,), (1356293155,), (1356293159,), (1356293193,), (1356293195,), (1356293197,), (1356293198,), (1356293200,), (1356293204,), (1356293244,), (1356293246,), (1356293247,), (1356293248,), (1356293249,), (1356293251,), (1356293283,), (1356293285,), (1356293286,), (1356293331,), (1356293334,), (1356293335,), (1356293337,), (1356293341,), (1356293344,), (1356293398,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'06052025': {'nb_upload': 79, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22705529]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1356293398, 1356293344, 1356293341, 1356293337, 1356293335, 1356293334, 1356293331, 1356293286, 1356293285, 1356293283, 1356293251, 1356293249, 1356293248, 1356293247, 1356293246, 1356293244, 1356293204, 1356293200, 1356293198, 1356293197, 1356293195, 1356293193, 1356293159, 1356293155, 1356293152, 1356293151, 1356293150, 1356293149] map_info['map_portfolio_photo'] : {22705529: [1356293398, 1356293344, 1356293341, 1356293337, 1356293335, 1356293334, 1356293331, 1356293286, 1356293285, 1356293283, 1356293251, 1356293249, 1356293248, 1356293247, 1356293246, 1356293244, 1356293204, 1356293200, 1356293198, 1356293197, 1356293195, 1356293193, 1356293159, 1356293155, 1356293152, 1356293151, 1356293150, 1356293149, 1356293070, 1356293067, 1356293065, 1356293063, 1356293061, 1356293028, 1356293024, 1356293020, 1356293019, 1356293018, 1356293017, 1356292989, 1356292981, 1356292979, 1356292975, 1356292973, 1356292935, 1356292933, 1356292932, 1356292931, 1356292929, 1356292907, 1356292901, 1356292897, 1356292892, 1356292889, 1356292886, 1356292857, 1356292854, 1356292851, 1356292850, 1356292848, 1356292845, 1356292813, 1356292812, 1356292811, 1356292788, 1356292785, 1356292780, 1356292779, 1356292778, 1356292777, 1356292750, 1356292746, 1356292744, 1356292743, 1356292742, 1356292740, 1356292700, 1356292699, 1356292698]} final : True mtd_id 4302 list_pids : [1356293398, 1356293344, 1356293341, 1356293337, 1356293335, 1356293334, 1356293331, 1356293286, 1356293285, 1356293283, 1356293251, 1356293249, 1356293248, 1356293247, 1356293246, 1356293244, 1356293204, 1356293200, 1356293198, 1356293197, 1356293195, 1356293193, 1356293159, 1356293155, 1356293152, 1356293151, 1356293150, 1356293149] Looping around the photos to save general results len do output : 1 /22705529Didn'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, '2796119') ('4302', '22705529', '1356293398', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293344', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293341', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293337', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293335', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293334', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293331', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293286', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293285', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293283', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293251', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293249', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293248', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293247', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293246', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293244', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293204', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293200', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293198', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293197', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293195', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293193', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293159', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293155', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293152', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293151', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293150', None, None, None, None, None, '2796119') ('4302', None, None, None, None, None, None, None, '2796119') ('4302', '22705529', '1356293149', None, None, None, None, None, '2796119') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 29 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, '22705529', 'None', None, None, None, None, '2796119'), ('4302', '22705529', '1356293398', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293344', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293341', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293337', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293335', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293334', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293331', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293286', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293285', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293283', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293251', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293249', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293248', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293247', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293246', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293244', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293204', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293200', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293198', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293197', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293195', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293193', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293159', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293155', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293152', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293151', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293150', None, None, None, None, None, '2796119'), ('4302', '22705529', '1356293149', None, None, None, None, None, '2796119')] time used for this insertion : 0.01671600341796875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3409538269042969 time spend to save output : 0.017043352127075195 total time spend for step 5 : 0.35799717903137207 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 (2796119) 2.55user 2.71system 0:10.08elapsed 52%CPU (0avgtext+0avgdata 161900maxresident)k 3896inputs+19120outputs (47major+77512minor)pagefaults 0swaps