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 : 979120 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 (3235556) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3235556) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24589471 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3235556'] with mtr_portfolio_ids : ['24589471'] and first list_photo_ids : [] new path : /proc/979120/ Name: python3 Umask: 0002 State: R (running) Tgid: 979120 Ngid: 0 Pid: 979120 PPid: 979119 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 979120 NSpid: 979120 NSpgid: 976575 NSsid: 976575 VmPeak: 1106864 kB VmSize: 1106864 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97448 kB VmRSS: 97448 kB RssAnon: 59800 kB RssFile: 37648 kB RssShmem: 0 kB VmData: 865616 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 616 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 6/63019 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: 61 nonvoluntary_ctxt_switches: 145 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '979120', 'Ngid': '0', 'Pid': '979120', 'PPid': '979119', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '979120', 'NSpid': '979120', 'NSpgid': '976575', 'NSsid': '976575', 'VmPeak': '1106864 kB', 'VmSize': '1106864 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97448 kB', 'VmRSS': '97448 kB', 'RssAnon': '59800 kB', 'RssFile': '37648 kB', 'RssShmem': '0 kB', 'VmData': '865616 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '616 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '6/63019', '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': '61', 'nonvoluntary_ctxt_switches': '145'} ('datou_batch_current', '979120', '1106864', '0', '1106864', '865616', '97448', b'', 'marlene', '3235556') 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 (24589471) 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 (3235556 ) ) 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 (24589471) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1370540658, 'portfolio_id': 24589471}, {'photo_id': 1370540648, 'portfolio_id': 24589471}, {'photo_id': 1370540615, 'portfolio_id': 24589471}, {'photo_id': 1370540613, 'portfolio_id': 24589471}, {'photo_id': 1370540608, 'portfolio_id': 24589471}, {'photo_id': 1370540600, 'portfolio_id': 24589471}, {'photo_id': 1370539901, 'portfolio_id': 24589471}, {'photo_id': 1370539856, 'portfolio_id': 24589471}, {'photo_id': 1370539831, 'portfolio_id': 24589471}, {'photo_id': 1370539823, 'portfolio_id': 24589471}, {'photo_id': 1370539809, 'portfolio_id': 24589471}, {'photo_id': 1370539790, 'portfolio_id': 24589471}, {'photo_id': 1370538979, 'portfolio_id': 24589471}, {'photo_id': 1370538953, 'portfolio_id': 24589471}, {'photo_id': 1370538918, 'portfolio_id': 24589471}, {'photo_id': 1370538863, 'portfolio_id': 24589471}, {'photo_id': 1370538831, 'portfolio_id': 24589471}, {'photo_id': 1370538765, 'portfolio_id': 24589471}, {'photo_id': 1370538274, 'portfolio_id': 24589471}, {'photo_id': 1370538271, 'portfolio_id': 24589471}, {'photo_id': 1370538270, 'portfolio_id': 24589471}, {'photo_id': 1370538245, 'portfolio_id': 24589471}, {'photo_id': 1370538241, 'portfolio_id': 24589471}, {'photo_id': 1370538235, 'portfolio_id': 24589471}, {'photo_id': 1370537810, 'portfolio_id': 24589471}, {'photo_id': 1370537781, 'portfolio_id': 24589471}, {'photo_id': 1370537779, 'portfolio_id': 24589471}, {'photo_id': 1370537759, 'portfolio_id': 24589471}, {'photo_id': 1370537757, 'portfolio_id': 24589471}, {'photo_id': 1370537753, 'portfolio_id': 24589471}, {'photo_id': 1370537377, 'portfolio_id': 24589471}, {'photo_id': 1370537368, 'portfolio_id': 24589471}, {'photo_id': 1370537365, 'portfolio_id': 24589471}, {'photo_id': 1370537361, 'portfolio_id': 24589471}, {'photo_id': 1370537327, 'portfolio_id': 24589471}, {'photo_id': 1370537311, 'portfolio_id': 24589471}, {'photo_id': 1370536826, 'portfolio_id': 24589471}, {'photo_id': 1370536818, 'portfolio_id': 24589471}, {'photo_id': 1370536814, 'portfolio_id': 24589471}, {'photo_id': 1370536808, 'portfolio_id': 24589471}] map_portfolio_id_photo_id: {24589471: [1370540658, 1370540648, 1370540615, 1370540613, 1370540608, 1370540600, 1370539901, 1370539856, 1370539831, 1370539823, 1370539809, 1370539790, 1370538979, 1370538953, 1370538918, 1370538863, 1370538831, 1370538765, 1370538274, 1370538271, 1370538270, 1370538245, 1370538241, 1370538235, 1370537810, 1370537781, 1370537779, 1370537759, 1370537757, 1370537753, 1370537377, 1370537368, 1370537365, 1370537361, 1370537327, 1370537311, 1370536826, 1370536818, 1370536814, 1370536808]} ##### 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.043009281158447266 #### 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 Fri Jul 4 11:00: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 (24589471) 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 : 24589471 get user id for portfolio 24589471 get sub ptf for main ptf 24589471, type 3726 and hashtags ['cartonnette', 'Carton_brun', 'mal_croppe', 'flou', 'autre_refus', 'kraft', 'papier', 'Teint_Dans_La_Masse', 'environnement', 'metal', 'plastique', 'Carton_gris'] 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`=24589471 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_brun','mal_croppe','flou','autre_refus','kraft','papier','Teint_Dans_La_Masse','environnement','metal','plastique','Carton_gris')) 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`=24589471 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_brun','mal_croppe','flou','autre_refus','kraft','papier','Teint_Dans_La_Masse','environnement','metal','plastique','Carton_gris')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_3726_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_3726_Carton_brun_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_3726_mal_croppe_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_3726_flou_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_3726_autre_refus_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_3726_kraft_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_3726_papier_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_3726_Teint_Dans_La_Masse_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_3726_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_3726_metal_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_3726_plastique_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_3726_Carton_gris_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio INSERT IGNORE INTO MTRPhoto.mtr_port_to_port_ids (`mtr_portfolio_id_1`, `mtr_portfolio_id_2`, `type`, `min_score`, `hashtag_id`, `mtr_user_id`) VALUES (%s,%s,%s,%s,%s,%s)[[24589471, 24589518, 3726, 0.5, 702398920, 979], [24589471, 24589519, 3726, 0.5, 2107753024, 979], [24589471, 24589520, 3726, 0.5, 2107755527, 979], [24589471, 24589521, 3726, 0.5, 492777938, 979], [24589471, 24589523, 3726, 0.5, 2107752406, 979], [24589471, 24589525, 3726, 0.5, 493202403, 979], [24589471, 24589526, 3726, 0.5, 492668766, 979], [24589471, 24589528, 3726, 0.5, 2107752385, 979], [24589471, 24589529, 3726, 0.5, 493012381, 979], [24589471, 24589531, 3726, 0.5, 492628673, 979], [24589471, 24589533, 3726, 0.5, 492725882, 979], [24589471, 24589534, 3726, 0.5, 2107753020, 979]] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24589471 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_brun','mal_croppe','flou','autre_refus','kraft','papier','Teint_Dans_La_Masse','environnement','metal','plastique','Carton_gris')) 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`=24589471 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_brun','mal_croppe','flou','autre_refus','kraft','papier','Teint_Dans_La_Masse','environnement','metal','plastique','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 24589471, 'sub_port_id': 24589518, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517241, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 0, 59)}, 'Carton_brun': {'main_port_id': 24589471, 'sub_port_id': 24589519, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517242, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 0, 59)}, 'mal_croppe': {'main_port_id': 24589471, 'sub_port_id': 24589520, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517243, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 0, 59)}, 'flou': {'main_port_id': 24589471, 'sub_port_id': 24589521, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517244, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 0, 59)}, 'autre_refus': {'main_port_id': 24589471, 'sub_port_id': 24589523, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517245, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 0, 59)}, 'kraft': {'main_port_id': 24589471, 'sub_port_id': 24589525, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517246, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 0, 59)}, 'papier': {'main_port_id': 24589471, 'sub_port_id': 24589526, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517247, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 0, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 24589471, 'sub_port_id': 24589528, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517248, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 0, 59)}, 'environnement': {'main_port_id': 24589471, 'sub_port_id': 24589529, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517249, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 0, 59)}, 'metal': {'main_port_id': 24589471, 'sub_port_id': 24589531, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517250, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 0, 59)}, 'plastique': {'main_port_id': 24589471, 'sub_port_id': 24589533, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517251, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 0, 59)}, 'Carton_gris': {'main_port_id': 24589471, 'sub_port_id': 24589534, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517252, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 0, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24589518 , 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=24589471 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 (24589518) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24589471) result : ((1370536808,), (1370536814,), (1370536818,), (1370536826,), (1370537311,), (1370537327,), (1370537361,), (1370537365,), (1370537368,), (1370537377,), (1370537753,), (1370537757,), (1370537759,), (1370537779,), (1370537781,), (1370537810,), (1370538235,), (1370538241,), (1370538245,), (1370538270,), (1370538271,), (1370538274,), (1370538765,), (1370538831,), (1370538863,), (1370538918,), (1370538953,), (1370538979,), (1370539790,), (1370539809,), (1370539823,), (1370539831,), (1370539856,), (1370539901,), (1370540600,), (1370540608,), (1370540613,), (1370540615,), (1370540648,), (1370540658,)) 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 (1370540600) 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 24589519 , 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=24589471 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 (24589519) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24589471) result : ((1370536808,), (1370536814,), (1370536818,), (1370536826,), (1370537311,), (1370537327,), (1370537361,), (1370537365,), (1370537368,), (1370537377,), (1370537753,), (1370537757,), (1370537759,), (1370537779,), (1370537781,), (1370537810,), (1370538235,), (1370538241,), (1370538245,), (1370538270,), (1370538271,), (1370538274,), (1370538765,), (1370538831,), (1370538863,), (1370538918,), (1370538953,), (1370538979,), (1370539790,), (1370539809,), (1370539823,), (1370539831,), (1370539856,), (1370539901,), (1370540600,), (1370540608,), (1370540613,), (1370540615,), (1370540648,), (1370540658,)) 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 (1370540600) 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 24589520 , 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=24589471 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 (24589520) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24589471) result : ((1370536808,), (1370536814,), (1370536818,), (1370536826,), (1370537311,), (1370537327,), (1370537361,), (1370537365,), (1370537368,), (1370537377,), (1370537753,), (1370537757,), (1370537759,), (1370537779,), (1370537781,), (1370537810,), (1370538235,), (1370538241,), (1370538245,), (1370538270,), (1370538271,), (1370538274,), (1370538765,), (1370538831,), (1370538863,), (1370538918,), (1370538953,), (1370538979,), (1370539790,), (1370539809,), (1370539823,), (1370539831,), (1370539856,), (1370539901,), (1370540600,), (1370540608,), (1370540613,), (1370540615,), (1370540648,), (1370540658,)) 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 (1370540600) 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 24589521 , 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=24589471 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 (24589521) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24589471) result : ((1370536808,), (1370536814,), (1370536818,), (1370536826,), (1370537311,), (1370537327,), (1370537361,), (1370537365,), (1370537368,), (1370537377,), (1370537753,), (1370537757,), (1370537759,), (1370537779,), (1370537781,), (1370537810,), (1370538235,), (1370538241,), (1370538245,), (1370538270,), (1370538271,), (1370538274,), (1370538765,), (1370538831,), (1370538863,), (1370538918,), (1370538953,), (1370538979,), (1370539790,), (1370539809,), (1370539823,), (1370539831,), (1370539856,), (1370539901,), (1370540600,), (1370540608,), (1370540613,), (1370540615,), (1370540648,), (1370540658,)) 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 (1370540600) 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 24589523 , 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=24589471 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 (24589523) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24589471) result : ((1370536808,), (1370536814,), (1370536818,), (1370536826,), (1370537311,), (1370537327,), (1370537361,), (1370537365,), (1370537368,), (1370537377,), (1370537753,), (1370537757,), (1370537759,), (1370537779,), (1370537781,), (1370537810,), (1370538235,), (1370538241,), (1370538245,), (1370538270,), (1370538271,), (1370538274,), (1370538765,), (1370538831,), (1370538863,), (1370538918,), (1370538953,), (1370538979,), (1370539790,), (1370539809,), (1370539823,), (1370539831,), (1370539856,), (1370539901,), (1370540600,), (1370540608,), (1370540613,), (1370540615,), (1370540648,), (1370540658,)) 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 (1370540600) 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 24589525 , 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=24589471 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 (24589525) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24589471) result : ((1370536808,), (1370536814,), (1370536818,), (1370536826,), (1370537311,), (1370537327,), (1370537361,), (1370537365,), (1370537368,), (1370537377,), (1370537753,), (1370537757,), (1370537759,), (1370537779,), (1370537781,), (1370537810,), (1370538235,), (1370538241,), (1370538245,), (1370538270,), (1370538271,), (1370538274,), (1370538765,), (1370538831,), (1370538863,), (1370538918,), (1370538953,), (1370538979,), (1370539790,), (1370539809,), (1370539823,), (1370539831,), (1370539856,), (1370539901,), (1370540600,), (1370540608,), (1370540613,), (1370540615,), (1370540648,), (1370540658,)) 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 (1370540600) 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 24589526 , 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=24589471 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 (24589526) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24589471) result : ((1370536808,), (1370536814,), (1370536818,), (1370536826,), (1370537311,), (1370537327,), (1370537361,), (1370537365,), (1370537368,), (1370537377,), (1370537753,), (1370537757,), (1370537759,), (1370537779,), (1370537781,), (1370537810,), (1370538235,), (1370538241,), (1370538245,), (1370538270,), (1370538271,), (1370538274,), (1370538765,), (1370538831,), (1370538863,), (1370538918,), (1370538953,), (1370538979,), (1370539790,), (1370539809,), (1370539823,), (1370539831,), (1370539856,), (1370539901,), (1370540600,), (1370540608,), (1370540613,), (1370540615,), (1370540648,), (1370540658,)) 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 (1370540600) 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 24589528 , 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=24589471 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 (24589528) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24589471) result : ((1370536808,), (1370536814,), (1370536818,), (1370536826,), (1370537311,), (1370537327,), (1370537361,), (1370537365,), (1370537368,), (1370537377,), (1370537753,), (1370537757,), (1370537759,), (1370537779,), (1370537781,), (1370537810,), (1370538235,), (1370538241,), (1370538245,), (1370538270,), (1370538271,), (1370538274,), (1370538765,), (1370538831,), (1370538863,), (1370538918,), (1370538953,), (1370538979,), (1370539790,), (1370539809,), (1370539823,), (1370539831,), (1370539856,), (1370539901,), (1370540600,), (1370540608,), (1370540613,), (1370540615,), (1370540648,), (1370540658,)) 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 (1370540600) 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 24589529 , 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=24589471 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 (24589529) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24589471) result : ((1370536808,), (1370536814,), (1370536818,), (1370536826,), (1370537311,), (1370537327,), (1370537361,), (1370537365,), (1370537368,), (1370537377,), (1370537753,), (1370537757,), (1370537759,), (1370537779,), (1370537781,), (1370537810,), (1370538235,), (1370538241,), (1370538245,), (1370538270,), (1370538271,), (1370538274,), (1370538765,), (1370538831,), (1370538863,), (1370538918,), (1370538953,), (1370538979,), (1370539790,), (1370539809,), (1370539823,), (1370539831,), (1370539856,), (1370539901,), (1370540600,), (1370540608,), (1370540613,), (1370540615,), (1370540648,), (1370540658,)) 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 (1370540600) 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 24589531 , 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=24589471 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 (24589531) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24589471) result : ((1370536808,), (1370536814,), (1370536818,), (1370536826,), (1370537311,), (1370537327,), (1370537361,), (1370537365,), (1370537368,), (1370537377,), (1370537753,), (1370537757,), (1370537759,), (1370537779,), (1370537781,), (1370537810,), (1370538235,), (1370538241,), (1370538245,), (1370538270,), (1370538271,), (1370538274,), (1370538765,), (1370538831,), (1370538863,), (1370538918,), (1370538953,), (1370538979,), (1370539790,), (1370539809,), (1370539823,), (1370539831,), (1370539856,), (1370539901,), (1370540600,), (1370540608,), (1370540613,), (1370540615,), (1370540648,), (1370540658,)) 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 (1370540600) 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 24589533 , 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=24589471 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 (24589533) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24589471) result : ((1370536808,), (1370536814,), (1370536818,), (1370536826,), (1370537311,), (1370537327,), (1370537361,), (1370537365,), (1370537368,), (1370537377,), (1370537753,), (1370537757,), (1370537759,), (1370537779,), (1370537781,), (1370537810,), (1370538235,), (1370538241,), (1370538245,), (1370538270,), (1370538271,), (1370538274,), (1370538765,), (1370538831,), (1370538863,), (1370538918,), (1370538953,), (1370538979,), (1370539790,), (1370539809,), (1370539823,), (1370539831,), (1370539856,), (1370539901,), (1370540600,), (1370540608,), (1370540613,), (1370540615,), (1370540648,), (1370540658,)) 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 (1370540600) 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 24589534 , 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=24589471 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 (24589534) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24589471) result : ((1370536808,), (1370536814,), (1370536818,), (1370536826,), (1370537311,), (1370537327,), (1370537361,), (1370537365,), (1370537368,), (1370537377,), (1370537753,), (1370537757,), (1370537759,), (1370537779,), (1370537781,), (1370537810,), (1370538235,), (1370538241,), (1370538245,), (1370538270,), (1370538271,), (1370538274,), (1370538765,), (1370538831,), (1370538863,), (1370538918,), (1370538953,), (1370538979,), (1370539790,), (1370539809,), (1370539823,), (1370539831,), (1370539856,), (1370539901,), (1370540600,), (1370540608,), (1370540613,), (1370540615,), (1370540648,), (1370540658,)) 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 (1370540600) 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`=24589471 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_brun','mal_croppe','flou','autre_refus','kraft','papier','Teint_Dans_La_Masse','environnement','metal','plastique','Carton_gris')) 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`=24589471 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_brun','mal_croppe','flou','autre_refus','kraft','papier','Teint_Dans_La_Masse','environnement','metal','plastique','Carton_gris')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_4417_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_4417_Carton_brun_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_4417_mal_croppe_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_4417_flou_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_4417_autre_refus_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_4417_kraft_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_4417_papier_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_4417_Teint_Dans_La_Masse_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_4417_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_4417_metal_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_4417_plastique_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04072025_07_38_24_010135_4417_Carton_gris_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio INSERT IGNORE INTO MTRPhoto.mtr_port_to_port_ids (`mtr_portfolio_id_1`, `mtr_portfolio_id_2`, `type`, `min_score`, `hashtag_id`, `mtr_user_id`) VALUES (%s,%s,%s,%s,%s,%s)[[24589471, 24589542, 4417, 0.5, 702398920, 979], [24589471, 24589543, 4417, 0.5, 2107753024, 979], [24589471, 24589544, 4417, 0.5, 2107755527, 979], [24589471, 24589545, 4417, 0.5, 492777938, 979], [24589471, 24589546, 4417, 0.5, 2107752406, 979], [24589471, 24589547, 4417, 0.5, 493202403, 979], [24589471, 24589548, 4417, 0.5, 492668766, 979], [24589471, 24589549, 4417, 0.5, 2107752385, 979], [24589471, 24589550, 4417, 0.5, 493012381, 979], [24589471, 24589551, 4417, 0.5, 492628673, 979], [24589471, 24589552, 4417, 0.5, 492725882, 979], [24589471, 24589553, 4417, 0.5, 2107753020, 979]] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24589471 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_brun','mal_croppe','flou','autre_refus','kraft','papier','Teint_Dans_La_Masse','environnement','metal','plastique','Carton_gris')) 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`=24589471 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_brun','mal_croppe','flou','autre_refus','kraft','papier','Teint_Dans_La_Masse','environnement','metal','plastique','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 24589471, 'sub_port_id': 24589542, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517265, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 1, 1)}, 'Carton_brun': {'main_port_id': 24589471, 'sub_port_id': 24589543, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517266, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 1, 1)}, 'mal_croppe': {'main_port_id': 24589471, 'sub_port_id': 24589544, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517267, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 1, 1)}, 'flou': {'main_port_id': 24589471, 'sub_port_id': 24589545, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517268, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 1, 1)}, 'autre_refus': {'main_port_id': 24589471, 'sub_port_id': 24589546, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517269, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 1, 1)}, 'kraft': {'main_port_id': 24589471, 'sub_port_id': 24589547, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517270, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 1, 1)}, 'papier': {'main_port_id': 24589471, 'sub_port_id': 24589548, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517271, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 1, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 24589471, 'sub_port_id': 24589549, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517272, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 1, 1)}, 'environnement': {'main_port_id': 24589471, 'sub_port_id': 24589550, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517273, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 1, 1)}, 'metal': {'main_port_id': 24589471, 'sub_port_id': 24589551, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517274, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 1, 1)}, 'plastique': {'main_port_id': 24589471, 'sub_port_id': 24589552, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517275, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 1, 1)}, 'Carton_gris': {'main_port_id': 24589471, 'sub_port_id': 24589553, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16517276, 'last_updated_at': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 4, 11, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 4, 11, 1, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24589542,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24589518 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24589543,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24589519 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24589544,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24589520 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24589545,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24589521 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24589546,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24589523 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24589547,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24589525 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24589548,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24589526 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24589549,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24589528 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24589550,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24589529 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24589551,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24589531 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24589552,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24589533 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24589553,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24589534 lien utilise dans velours : https://www.fotonower.com/velours/24589542,24589543,24589544,24589545,24589546,24589547,24589548,24589549,24589550,24589551,24589552,24589553?tags=cartonnette,Carton_brun,mal_croppe,flou,autre_refus,kraft,papier,Teint_Dans_La_Masse,environnement,metal,plastique,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24589471]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1370540658, 1370540648, 1370540615, 1370540613, 1370540608, 1370540600, 1370539901, 1370539856, 1370539831, 1370539823, 1370539809, 1370539790, 1370538979, 1370538953, 1370538918, 1370538863, 1370538831, 1370538765, 1370538274, 1370538271, 1370538270, 1370538245, 1370538241, 1370538235, 1370537810, 1370537781, 1370537779, 1370537759, 1370537757, 1370537753, 1370537377, 1370537368, 1370537365, 1370537361, 1370537327, 1370537311, 1370536826, 1370536818, 1370536814, 1370536808] map_info['map_portfolio_photo'] : {24589471: [1370540658, 1370540648, 1370540615, 1370540613, 1370540608, 1370540600, 1370539901, 1370539856, 1370539831, 1370539823, 1370539809, 1370539790, 1370538979, 1370538953, 1370538918, 1370538863, 1370538831, 1370538765, 1370538274, 1370538271, 1370538270, 1370538245, 1370538241, 1370538235, 1370537810, 1370537781, 1370537779, 1370537759, 1370537757, 1370537753, 1370537377, 1370537368, 1370537365, 1370537361, 1370537327, 1370537311, 1370536826, 1370536818, 1370536814, 1370536808]} final : False mtd_id 4302 list_pids : [1370540658, 1370540648, 1370540615, 1370540613, 1370540608, 1370540600, 1370539901, 1370539856, 1370539831, 1370539823, 1370539809, 1370539790, 1370538979, 1370538953, 1370538918, 1370538863, 1370538831, 1370538765, 1370538274, 1370538271, 1370538270, 1370538245, 1370538241, 1370538235, 1370537810, 1370537781, 1370537779, 1370537759, 1370537757, 1370537753, 1370537377, 1370537368, 1370537365, 1370537361, 1370537327, 1370537311, 1370536826, 1370536818, 1370536814, 1370536808] Looping around the photos to save general results len do output : 1 /24589471. 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, '3235556') ('4302', '24589471', '1370540658', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540648', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540615', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540613', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540608', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540600', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539901', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539856', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539831', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539823', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539809', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539790', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538979', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538953', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538918', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538863', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538831', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538765', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538274', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538271', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538270', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538245', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538241', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538235', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537810', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537781', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537779', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537759', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537757', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537753', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537377', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537368', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537365', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537361', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537327', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537311', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370536826', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370536818', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370536814', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370536808', None, None, None, None, None, '3235556') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 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, '24589471', "{'cartonnette': 24589518, 'Carton_brun': 24589519, 'mal_croppe': 24589520, 'flou': 24589521, 'autre_refus': 24589523, 'kraft': 24589525, 'papier': 24589526, 'Teint_Dans_La_Masse': 24589528, 'environnement': 24589529, 'metal': 24589531, 'plastique': 24589533, 'Carton_gris': 24589534}", None, None, None, None, '3235556'), ('4302', '24589471', '1370540658', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370540648', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370540615', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370540613', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370540608', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370540600', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370539901', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370539856', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370539831', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370539823', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370539809', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370539790', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538979', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538953', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538918', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538863', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538831', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538765', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538274', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538271', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538270', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538245', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538241', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538235', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537810', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537781', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537779', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537759', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537757', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537753', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537377', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537368', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537365', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537361', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537327', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537311', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370536826', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370536818', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370536814', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370536808', None, None, None, None, None, '3235556')] time used for this insertion : 0.04087090492248535 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.9859864711761475 time spend to save output : 0.041411399841308594 total time spend for step 1 : 3.027397871017456 step2:final Fri Jul 4 11:01:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24589471) 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 24589471 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1370540658,1370540648,1370540615,1370540613,1370540608,1370540600,1370539901,1370539856,1370539831,1370539823,1370539809,1370539790,1370538979,1370538953,1370538918,1370538863,1370538831,1370538765,1370538274,1370538271,1370538270,1370538245,1370538241,1370538235,1370537810,1370537781,1370537779,1370537759,1370537757,1370537753,1370537377,1370537368,1370537365,1370537361,1370537327,1370537311,1370536826,1370536818,1370536814,1370536808); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24589471]) Inside saveOutput : final : False verbose : True original output for save of step final : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} new output for save of step final : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} [1370540658, 1370540648, 1370540615, 1370540613, 1370540608, 1370540600, 1370539901, 1370539856, 1370539831, 1370539823, 1370539809, 1370539790, 1370538979, 1370538953, 1370538918, 1370538863, 1370538831, 1370538765, 1370538274, 1370538271, 1370538270, 1370538245, 1370538241, 1370538235, 1370537810, 1370537781, 1370537779, 1370537759, 1370537757, 1370537753, 1370537377, 1370537368, 1370537365, 1370537361, 1370537327, 1370537311, 1370536826, 1370536818, 1370536814, 1370536808] map_info['map_portfolio_photo'] : {24589471: [1370540658, 1370540648, 1370540615, 1370540613, 1370540608, 1370540600, 1370539901, 1370539856, 1370539831, 1370539823, 1370539809, 1370539790, 1370538979, 1370538953, 1370538918, 1370538863, 1370538831, 1370538765, 1370538274, 1370538271, 1370538270, 1370538245, 1370538241, 1370538235, 1370537810, 1370537781, 1370537779, 1370537759, 1370537757, 1370537753, 1370537377, 1370537368, 1370537365, 1370537361, 1370537327, 1370537311, 1370536826, 1370536818, 1370536814, 1370536808]} final : False mtd_id 4302 list_pids : [1370540658, 1370540648, 1370540615, 1370540613, 1370540608, 1370540600, 1370539901, 1370539856, 1370539831, 1370539823, 1370539809, 1370539790, 1370538979, 1370538953, 1370538918, 1370538863, 1370538831, 1370538765, 1370538274, 1370538271, 1370538270, 1370538245, 1370538241, 1370538235, 1370537810, 1370537781, 1370537779, 1370537759, 1370537757, 1370537753, 1370537377, 1370537368, 1370537365, 1370537361, 1370537327, 1370537311, 1370536826, 1370536818, 1370536814, 1370536808] Looping around the photos to save general results len do output : 40 /1370540658.Didn't retrieve data . /1370540648.Didn't retrieve data . /1370540615.Didn't retrieve data . /1370540613.Didn't retrieve data . /1370540608.Didn't retrieve data . /1370540600.Didn't retrieve data . /1370539901.Didn't retrieve data . /1370539856.Didn't retrieve data . /1370539831.Didn't retrieve data . /1370539823.Didn't retrieve data . /1370539809.Didn't retrieve data . /1370539790.Didn't retrieve data . /1370538979.Didn't retrieve data . /1370538953.Didn't retrieve data . /1370538918.Didn't retrieve data . /1370538863.Didn't retrieve data . /1370538831.Didn't retrieve data . /1370538765.Didn't retrieve data . /1370538274.Didn't retrieve data . /1370538271.Didn't retrieve data . /1370538270.Didn't retrieve data . /1370538245.Didn't retrieve data . /1370538241.Didn't retrieve data . /1370538235.Didn't retrieve data . /1370537810.Didn't retrieve data . /1370537781.Didn't retrieve data . /1370537779.Didn't retrieve data . /1370537759.Didn't retrieve data . /1370537757.Didn't retrieve data . /1370537753.Didn't retrieve data . /1370537377.Didn't retrieve data . /1370537368.Didn't retrieve data . /1370537365.Didn't retrieve data . /1370537361.Didn't retrieve data . /1370537327.Didn't retrieve data . /1370537311.Didn't retrieve data . /1370536826.Didn't retrieve data . /1370536818.Didn't retrieve data . /1370536814.Didn't retrieve data . /1370536808.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, '3235556') ('4302', '24589471', '1370540658', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540648', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540615', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540613', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540608', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540600', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539901', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539856', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539831', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539823', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539809', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539790', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538979', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538953', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538918', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538863', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538831', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538765', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538274', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538271', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538270', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538245', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538241', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538235', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537810', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537781', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537779', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537759', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537757', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537753', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537377', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537368', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537365', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537361', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537327', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537311', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370536826', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370536818', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370536814', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370536808', None, None, None, None, None, '3235556') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 120 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', '24589471', '1370540658', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370540648', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370540615', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370540613', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370540608', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370540600', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370539901', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370539856', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370539831', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370539823', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370539809', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370539790', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370538979', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370538953', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370538918', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370538863', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370538831', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370538765', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370538274', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370538271', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370538270', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370538245', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370538241', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370538235', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370537810', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370537781', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370537779', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370537759', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370537757', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370537753', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370537377', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370537368', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370537365', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370537361', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370537327', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370537311', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370536826', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370536818', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370536814', '0.0', None, None, None, None, '3235556'), ('4302', '24589471', '1370536808', '0.0', None, None, None, None, '3235556')] time used for this insertion : 0.03856015205383301 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.046038150787353516 time spend to save output : 0.04013848304748535 total time spend for step 2 : 0.08617663383483887 step3:velours_tree Fri Jul 4 11:01:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {24589471: [{'cartonnette': 24589518, 'Carton_brun': 24589519, 'mal_croppe': 24589520, 'flou': 24589521, 'autre_refus': 24589523, 'kraft': 24589525, 'papier': 24589526, 'Teint_Dans_La_Masse': 24589528, 'environnement': 24589529, 'metal': 24589531, 'plastique': 24589533, 'Carton_gris': 24589534}]} input_args_next_step : {24589471: ()} output_args : {24589471: [{'cartonnette': 24589518, 'Carton_brun': 24589519, 'mal_croppe': 24589520, 'flou': 24589521, 'autre_refus': 24589523, 'kraft': 24589525, 'papier': 24589526, 'Teint_Dans_La_Masse': 24589528, 'environnement': 24589529, 'metal': 24589531, 'plastique': 24589533, 'Carton_gris': 24589534}]} args : 24589471 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 : ({'cartonnette': 24589518, 'Carton_brun': 24589519, 'mal_croppe': 24589520, 'flou': 24589521, 'autre_refus': 24589523, 'kraft': 24589525, 'papier': 24589526, 'Teint_Dans_La_Masse': 24589528, 'environnement': 24589529, 'metal': 24589531, 'plastique': 24589533, 'Carton_gris': 24589534},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24589471) 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([24589471]) 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.3760106563568115 time spend to save output : 7.700920104980469e-05 total time spend for step 3 : 0.37608766555786133 step4:send_mail_cod Fri Jul 4 11:01:02 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} input_args_next_step : {1370540658: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370540658 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370540648 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370540615 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370540613 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370540608 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370540600 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370539901 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370539856 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370539831 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370539823 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370539809 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370539790 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370538979 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370538953 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370538918 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370538863 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370538831 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370538765 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370538274 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370538271 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370538270 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370538245 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370538241 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370538235 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370537810 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370537781 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370537779 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370537759 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370537757 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370537753 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370537377 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370537368 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370537365 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370537361 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370537327 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370537311 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370536826 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370536818 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370536814 depend.output_id : 0 input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ()} output_args : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',)} args : 1370536808 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 : {24589471: [{'cartonnette': 24589518, 'Carton_brun': 24589519, 'mal_croppe': 24589520, 'flou': 24589521, 'autre_refus': 24589523, 'kraft': 24589525, 'papier': 24589526, 'Teint_Dans_La_Masse': 24589528, 'environnement': 24589529, 'metal': 24589531, 'plastique': 24589533, 'Carton_gris': 24589534}]} input_args_next_step : {1370540658: ('0.0',), 1370540648: ('0.0',), 1370540615: ('0.0',), 1370540613: ('0.0',), 1370540608: ('0.0',), 1370540600: ('0.0',), 1370539901: ('0.0',), 1370539856: ('0.0',), 1370539831: ('0.0',), 1370539823: ('0.0',), 1370539809: ('0.0',), 1370539790: ('0.0',), 1370538979: ('0.0',), 1370538953: ('0.0',), 1370538918: ('0.0',), 1370538863: ('0.0',), 1370538831: ('0.0',), 1370538765: ('0.0',), 1370538274: ('0.0',), 1370538271: ('0.0',), 1370538270: ('0.0',), 1370538245: ('0.0',), 1370538241: ('0.0',), 1370538235: ('0.0',), 1370537810: ('0.0',), 1370537781: ('0.0',), 1370537779: ('0.0',), 1370537759: ('0.0',), 1370537757: ('0.0',), 1370537753: ('0.0',), 1370537377: ('0.0',), 1370537368: ('0.0',), 1370537365: ('0.0',), 1370537361: ('0.0',), 1370537327: ('0.0',), 1370537311: ('0.0',), 1370536826: ('0.0',), 1370536818: ('0.0',), 1370536814: ('0.0',), 1370536808: ('0.0',), 24589471: ()} output_args : {24589471: [{'cartonnette': 24589518, 'Carton_brun': 24589519, 'mal_croppe': 24589520, 'flou': 24589521, 'autre_refus': 24589523, 'kraft': 24589525, 'papier': 24589526, 'Teint_Dans_La_Masse': 24589528, 'environnement': 24589529, 'metal': 24589531, 'plastique': 24589533, 'Carton_gris': 24589534}]} args : 24589471 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 :41, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24589471) 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 (1370540658,1370540648,1370540615,1370540613,1370540608,1370540600,1370539901,1370539856,1370539831,1370539823,1370539809,1370539790,1370538979,1370538953,1370538918,1370538863,1370538831,1370538765,1370538274,1370538271,1370538270,1370538245,1370538241,1370538235,1370537810,1370537781,1370537779,1370537759,1370537757,1370537753,1370537377,1370537368,1370537365,1370537361,1370537327,1370537311,1370536826,1370536818,1370536814,1370536808) Found this number of photos: 40 ##### Call download_photos : nb_thread : 5 begin to download photo : 1370536808 begin to download photo : 1370537377 begin to download photo : 1370538245 begin to download photo : 1370538979 begin to download photo : 1370540613 download finish for photo 1370537377 begin to download photo : 1370537753 download finish for photo 1370540613 begin to download photo : 1370540615 download finish for photo 1370538979 begin to download photo : 1370539790 download finish for photo 1370536808 begin to download photo : 1370536814 download finish for photo 1370538245 begin to download photo : 1370538270 download finish for photo 1370537753 begin to download photo : 1370537757 download finish for photo 1370540615 begin to download photo : 1370540648 download finish for photo 1370536814 begin to download photo : 1370536818 download finish for photo 1370539790 begin to download photo : 1370539809 download finish for photo 1370538270 begin to download photo : 1370538271 download finish for photo 1370540648 begin to download photo : 1370540658 download finish for photo 1370539809 begin to download photo : 1370539823 download finish for photo 1370537757 begin to download photo : 1370537759 download finish for photo 1370538271 begin to download photo : 1370538274 download finish for photo 1370536818 begin to download photo : 1370536826 download finish for photo 1370540658 download finish for photo 1370539823 begin to download photo : 1370539831 download finish for photo 1370537759 begin to download photo : 1370537779 download finish for photo 1370538274 begin to download photo : 1370538765 download finish for photo 1370536826 begin to download photo : 1370537311 download finish for photo 1370539831 begin to download photo : 1370539856 download finish for photo 1370537779 begin to download photo : 1370537781 download finish for photo 1370538765 begin to download photo : 1370538831 download finish for photo 1370537311 begin to download photo : 1370537327 download finish for photo 1370539856 begin to download photo : 1370539901 download finish for photo 1370538831 begin to download photo : 1370538863 download finish for photo 1370537781 begin to download photo : 1370537810 download finish for photo 1370537327 begin to download photo : 1370537361 download finish for photo 1370539901 begin to download photo : 1370540600 download finish for photo 1370538863 begin to download photo : 1370538918 download finish for photo 1370537361 begin to download photo : 1370537365 download finish for photo 1370537810 begin to download photo : 1370538235 download finish for photo 1370540600 begin to download photo : 1370540608 download finish for photo 1370538918 begin to download photo : 1370538953 download finish for photo 1370537365 begin to download photo : 1370537368 download finish for photo 1370538235 begin to download photo : 1370538241 download finish for photo 1370537368 download finish for photo 1370538953 download finish for photo 1370540608 download finish for photo 1370538241 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette245895181751619663/ imagette245895201751619663/ imagette245895211751619663/ imagette245895231751619663/ imagette245895251751619663/ imagette245895311751619663/ imagette245895331751619663/ imagette245895191751619663/ imagette245895281751619663/ imagette245895341751619663/ length of list_filenames : 40 ; length of list_pids : 40 ; length of list_args : 40 results_Auto_P24589471_04-07-2025_11_01_03.pdf 24589518 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=24589518 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette245895181751619663 24589520 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=24589520 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette245895201751619663 24589521 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=24589521 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette245895211751619663 24589523 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=24589523 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette245895231751619663 24589525 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=24589525 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette245895251751619663 24589531 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=24589531 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette245895311751619663 24589533 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=24589533 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette245895331751619663 24589519 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=24589519 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette245895191751619663 24589528 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=24589528 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette245895281751619663 24589534 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=24589534 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette245895341751619663 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=24589471 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/24589542,24589543,24589544,24589545,24589546,24589547,24589548,24589549,24589550,24589551,24589552,24589553?tags=cartonnette,Carton_brun,mal_croppe,flou,autre_refus,kraft,papier,Teint_Dans_La_Masse,environnement,metal,plastique,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1370540658] : ('0.0',) no score found for photo 1370540658 We are sending mail with results at report@fotonower.com args[1370540648] : ('0.0',) no score found for photo 1370540648 We are sending mail with results at report@fotonower.com args[1370540615] : ('0.0',) no score found for photo 1370540615 We are sending mail with results at report@fotonower.com args[1370540613] : ('0.0',) no score found for photo 1370540613 We are sending mail with results at report@fotonower.com args[1370540608] : ('0.0',) no score found for photo 1370540608 We are sending mail with results at report@fotonower.com args[1370540600] : ('0.0',) no score found for photo 1370540600 We are sending mail with results at report@fotonower.com args[1370539901] : ('0.0',) no score found for photo 1370539901 We are sending mail with results at report@fotonower.com args[1370539856] : ('0.0',) no score found for photo 1370539856 We are sending mail with results at report@fotonower.com args[1370539831] : ('0.0',) no score found for photo 1370539831 We are sending mail with results at report@fotonower.com args[1370539823] : ('0.0',) no score found for photo 1370539823 We are sending mail with results at report@fotonower.com args[1370539809] : ('0.0',) no score found for photo 1370539809 We are sending mail with results at report@fotonower.com args[1370539790] : ('0.0',) no score found for photo 1370539790 We are sending mail with results at report@fotonower.com args[1370538979] : ('0.0',) no score found for photo 1370538979 We are sending mail with results at report@fotonower.com args[1370538953] : ('0.0',) no score found for photo 1370538953 We are sending mail with results at report@fotonower.com args[1370538918] : ('0.0',) no score found for photo 1370538918 We are sending mail with results at report@fotonower.com args[1370538863] : ('0.0',) no score found for photo 1370538863 We are sending mail with results at report@fotonower.com args[1370538831] : ('0.0',) no score found for photo 1370538831 We are sending mail with results at report@fotonower.com args[1370538765] : ('0.0',) no score found for photo 1370538765 We are sending mail with results at report@fotonower.com args[1370538274] : ('0.0',) no score found for photo 1370538274 We are sending mail with results at report@fotonower.com args[1370538271] : ('0.0',) no score found for photo 1370538271 We are sending mail with results at report@fotonower.com args[1370538270] : ('0.0',) no score found for photo 1370538270 We are sending mail with results at report@fotonower.com args[1370538245] : ('0.0',) no score found for photo 1370538245 We are sending mail with results at report@fotonower.com args[1370538241] : ('0.0',) no score found for photo 1370538241 We are sending mail with results at report@fotonower.com args[1370538235] : ('0.0',) no score found for photo 1370538235 We are sending mail with results at report@fotonower.com args[1370537810] : ('0.0',) no score found for photo 1370537810 We are sending mail with results at report@fotonower.com args[1370537781] : ('0.0',) no score found for photo 1370537781 We are sending mail with results at report@fotonower.com args[1370537779] : ('0.0',) no score found for photo 1370537779 We are sending mail with results at report@fotonower.com args[1370537759] : ('0.0',) no score found for photo 1370537759 We are sending mail with results at report@fotonower.com args[1370537757] : ('0.0',) no score found for photo 1370537757 We are sending mail with results at report@fotonower.com args[1370537753] : ('0.0',) no score found for photo 1370537753 We are sending mail with results at report@fotonower.com args[1370537377] : ('0.0',) no score found for photo 1370537377 We are sending mail with results at report@fotonower.com args[1370537368] : ('0.0',) no score found for photo 1370537368 We are sending mail with results at report@fotonower.com args[1370537365] : ('0.0',) no score found for photo 1370537365 We are sending mail with results at report@fotonower.com args[1370537361] : ('0.0',) no score found for photo 1370537361 We are sending mail with results at report@fotonower.com args[1370537327] : ('0.0',) no score found for photo 1370537327 We are sending mail with results at report@fotonower.com args[1370537311] : ('0.0',) no score found for photo 1370537311 We are sending mail with results at report@fotonower.com args[1370536826] : ('0.0',) no score found for photo 1370536826 We are sending mail with results at report@fotonower.com args[1370536818] : ('0.0',) no score found for photo 1370536818 We are sending mail with results at report@fotonower.com args[1370536814] : ('0.0',) no score found for photo 1370536814 We are sending mail with results at report@fotonower.com args[1370536808] : ('0.0',) no score found for photo 1370536808 We are sending mail with results at report@fotonower.com refus_total : 0.0 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=24589471 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_P24589471_04-07-2025_11_01_03.pdf results_Auto_P24589471_04-07-2025_11_01_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24589471_04-07-2025_11_01_03.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','24589471','results_Auto_P24589471_04-07-2025_11_01_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24589471_04-07-2025_11_01_03.pdf','pdf','','0.27','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24589471]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1370540658, 1370540648, 1370540615, 1370540613, 1370540608, 1370540600, 1370539901, 1370539856, 1370539831, 1370539823, 1370539809, 1370539790, 1370538979, 1370538953, 1370538918, 1370538863, 1370538831, 1370538765, 1370538274, 1370538271, 1370538270, 1370538245, 1370538241, 1370538235, 1370537810, 1370537781, 1370537779, 1370537759, 1370537757, 1370537753, 1370537377, 1370537368, 1370537365, 1370537361, 1370537327, 1370537311, 1370536826, 1370536818, 1370536814, 1370536808] map_info['map_portfolio_photo'] : {24589471: [1370540658, 1370540648, 1370540615, 1370540613, 1370540608, 1370540600, 1370539901, 1370539856, 1370539831, 1370539823, 1370539809, 1370539790, 1370538979, 1370538953, 1370538918, 1370538863, 1370538831, 1370538765, 1370538274, 1370538271, 1370538270, 1370538245, 1370538241, 1370538235, 1370537810, 1370537781, 1370537779, 1370537759, 1370537757, 1370537753, 1370537377, 1370537368, 1370537365, 1370537361, 1370537327, 1370537311, 1370536826, 1370536818, 1370536814, 1370536808]} final : False mtd_id 4302 list_pids : [1370540658, 1370540648, 1370540615, 1370540613, 1370540608, 1370540600, 1370539901, 1370539856, 1370539831, 1370539823, 1370539809, 1370539790, 1370538979, 1370538953, 1370538918, 1370538863, 1370538831, 1370538765, 1370538274, 1370538271, 1370538270, 1370538245, 1370538241, 1370538235, 1370537810, 1370537781, 1370537779, 1370537759, 1370537757, 1370537753, 1370537377, 1370537368, 1370537365, 1370537361, 1370537327, 1370537311, 1370536826, 1370536818, 1370536814, 1370536808] 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, '3235556') ('4302', '24589471', '1370540658', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540648', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540615', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540613', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540608', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540600', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539901', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539856', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539831', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539823', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539809', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539790', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538979', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538953', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538918', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538863', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538831', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538765', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538274', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538271', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538270', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538245', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538241', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538235', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537810', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537781', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537779', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537759', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537757', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537753', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537377', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537368', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537365', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537361', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537327', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537311', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370536826', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370536818', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370536814', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370536808', None, None, None, None, None, '3235556') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 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', '24589471', '1370540658', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370540648', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370540615', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370540613', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370540608', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370540600', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370539901', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370539856', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370539831', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370539823', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370539809', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370539790', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538979', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538953', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538918', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538863', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538831', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538765', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538274', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538271', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538270', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538245', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538241', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538235', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537810', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537781', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537779', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537759', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537757', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537753', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537377', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537368', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537365', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537361', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537327', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537311', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370536826', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370536818', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370536814', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370536808', None, None, None, None, None, '3235556')] time used for this insertion : 0.04328799247741699 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.290821075439453 time spend to save output : 0.04377627372741699 total time spend for step 4 : 4.33459734916687 step5:split_time_score Fri Jul 4 11:01:06 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['24589471'] 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 : [('24589471',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24589471) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1370540613: {'path': 'temp/1751619662_979120_1370540613_9b593a9f838c506596e3b339bac906f1.jpg', 'extension': 'jpg'}, 1370540615: {'path': 'temp/1751619662_979120_1370540615_f0a2355fe666b3250c488fae1fd18033.jpg', 'extension': 'jpg'}, 1370540648: {'path': 'temp/1751619662_979120_1370540648_bcbc99d97fd5f37d5814b44b85d9f5a3.jpg', 'extension': 'jpg'}, 1370540658: {'path': 'temp/1751619662_979120_1370540658_04fcd69509a0f59c19774656834c27f5.jpg', 'extension': 'jpg'}, 1370536808: {'path': 'temp/1751619662_979120_1370536808_87e052aff0f33c7ec12d6391774ea457.jpg', 'extension': 'jpg'}, 1370536814: {'path': 'temp/1751619662_979120_1370536814_51c01dbecdc7c25e7571a6e1644d0d49.jpg', 'extension': 'jpg'}, 1370536818: {'path': 'temp/1751619662_979120_1370536818_f2aef18c15f14fd25828f1e7558e14a9.jpg', 'extension': 'jpg'}, 1370536826: {'path': 'temp/1751619662_979120_1370536826_e7b0aaf21ec26fcef37a2d4105910ceb.jpg', 'extension': 'jpg'}, 1370537311: {'path': 'temp/1751619662_979120_1370537311_3a5af4c6a37252da3e83a76019cc4b45.jpg', 'extension': 'jpg'}, 1370537327: {'path': 'temp/1751619662_979120_1370537327_121040d359d5bdeb34328c8ff08b5de8.jpg', 'extension': 'jpg'}, 1370537361: {'path': 'temp/1751619662_979120_1370537361_3eb9829cb6af6fb029980a340241a1a9.jpg', 'extension': 'jpg'}, 1370537365: {'path': 'temp/1751619662_979120_1370537365_25f1a719132cbac3853f6ae628bc6826.jpg', 'extension': 'jpg'}, 1370537368: {'path': 'temp/1751619662_979120_1370537368_d3050166e2efb0903dd63543bbef0633.jpg', 'extension': 'jpg'}, 1370538245: {'path': 'temp/1751619662_979120_1370538245_304ce79b3b54ddf8a11d10c8f720df18.jpg', 'extension': 'jpg'}, 1370538270: {'path': 'temp/1751619662_979120_1370538270_5e3171bcd672a3c5fb60015d6afd9f4c.jpg', 'extension': 'jpg'}, 1370538271: {'path': 'temp/1751619662_979120_1370538271_d10da6c552d68aaca546dae1def8c7e5.jpg', 'extension': 'jpg'}, 1370538274: {'path': 'temp/1751619662_979120_1370538274_2b93f6b97e417f7579e7c31ffc89840f.jpg', 'extension': 'jpg'}, 1370538765: {'path': 'temp/1751619662_979120_1370538765_7924b5ab71cca69ecf822114b08d44c7.jpg', 'extension': 'jpg'}, 1370538831: {'path': 'temp/1751619662_979120_1370538831_d44fabdfee7b1fce4f6461312071e3d6.jpg', 'extension': 'jpg'}, 1370538863: {'path': 'temp/1751619662_979120_1370538863_e06e9f50db71a0510ebcd1b8cd92b57c.jpg', 'extension': 'jpg'}, 1370538918: {'path': 'temp/1751619662_979120_1370538918_b94e374c4dd9d79281a4a2f2af057bc3.jpg', 'extension': 'jpg'}, 1370538953: {'path': 'temp/1751619662_979120_1370538953_9dbbf8ebb1ada02f195a387122c4bc8e.jpg', 'extension': 'jpg'}, 1370538979: {'path': 'temp/1751619662_979120_1370538979_414f7daa845734a695880e2da2fccb86.jpg', 'extension': 'jpg'}, 1370539790: {'path': 'temp/1751619662_979120_1370539790_44f6f57ab47d757c42f4e64d69b14ccd.jpg', 'extension': 'jpg'}, 1370539809: {'path': 'temp/1751619662_979120_1370539809_daf530a99f2a221a6f65e38693ef7457.jpg', 'extension': 'jpg'}, 1370539823: {'path': 'temp/1751619662_979120_1370539823_ea4c334f5a93d477d1147795cfbb8f1e.jpg', 'extension': 'jpg'}, 1370539831: {'path': 'temp/1751619662_979120_1370539831_e64aec1ba38021be8d323dba9de4b86e.jpg', 'extension': 'jpg'}, 1370539856: {'path': 'temp/1751619662_979120_1370539856_b0827890f44712868f0edff0e9cad714.jpg', 'extension': 'jpg'}, 1370539901: {'path': 'temp/1751619662_979120_1370539901_1422390ed947f73ef834f2b489df438d.jpg', 'extension': 'jpg'}, 1370540600: {'path': 'temp/1751619662_979120_1370540600_3e7c533148408209219e7f2c066278e9.jpg', 'extension': 'jpg'}, 1370540608: {'path': 'temp/1751619662_979120_1370540608_bf3c244d75dedab633a4d1d9002fb70e.jpg', 'extension': 'jpg'}, 1370537377: {'path': 'temp/1751619662_979120_1370537377_4c9b0ef40bfc1d61e83d7c4a54bf7fe8.jpg', 'extension': 'jpg'}, 1370537753: {'path': 'temp/1751619662_979120_1370537753_19d87efb8acf0efc593d1a6ffc1ea57d.jpg', 'extension': 'jpg'}, 1370537757: {'path': 'temp/1751619662_979120_1370537757_dd44e8b3c5517140d4780fddd660dd92.jpg', 'extension': 'jpg'}, 1370537759: {'path': 'temp/1751619662_979120_1370537759_15cc80de43f93d55c1477ce9a89ed88e.jpg', 'extension': 'jpg'}, 1370537779: {'path': 'temp/1751619662_979120_1370537779_282be6bd2b73cbc33fb6ac8c7febe62c.jpg', 'extension': 'jpg'}, 1370537781: {'path': 'temp/1751619662_979120_1370537781_0f5c12bfe1747f4e15e25ff4936af501.jpg', 'extension': 'jpg'}, 1370537810: {'path': 'temp/1751619662_979120_1370537810_e2adda0b91be29e99e5a1f75687d50c4.jpg', 'extension': 'jpg'}, 1370538235: {'path': 'temp/1751619662_979120_1370538235_aea0b61cbcd17a704ed7a1d766445789.jpg', 'extension': 'jpg'}, 1370538241: {'path': 'temp/1751619662_979120_1370538241_0a7dcd724591cda96e3e1c1c56c996fd.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 = 24589471; (('arc_en_ciel_jrm_bis',), ('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 = 24589471 group by h (('07', 40),) 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=24589471 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 (24589471) 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 (24589471) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 04072025 24589471 Nombre de photos uploadées : 40 / 23040 (0%) 04072025 24589471 Nombre de photos taguées (types de déchets): 0 / 40 (0%) 04072025 24589471 Nombre de photos taguées (volume) : 0 / 40 (0%) [{'photo_id': 1370540658, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/4/04fcd69509a0f59c19774656834c27f5.jpg', 'username': None, 'uploaded_at': 1751619418, 'text': 'image_04072025_07_38_24_10135.jpg'}, {'photo_id': 1370540648, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/4/bcbc99d97fd5f37d5814b44b85d9f5a3.jpg', 'username': None, 'uploaded_at': 1751619418, 'text': 'image_04072025_07_38_34_10139.jpg'}, {'photo_id': 1370540615, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/4/f0a2355fe666b3250c488fae1fd18033.jpg', 'username': None, 'uploaded_at': 1751619418, 'text': 'image_04072025_07_38_44_10136.jpg'}, {'photo_id': 1370540613, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/4/9b593a9f838c506596e3b339bac906f1.jpg', 'username': None, 'uploaded_at': 1751619418, 'text': 'image_04072025_07_38_54_10132.jpg'}] 0 [] elapsed_time : load_data_split_time_score 4.5299530029296875e-06 elapsed_time : order_list_meta_photo_and_scores 1.3589859008789062e-05 ???????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0020377635955810547 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 24589471, '2025-07-04' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1951450,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.06474471092224121 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= 1951450 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1951450, 'dashboard_run_id': 1959352, 'mtr_portfolio_id': 24589471, 'dashboard_result_id': 12118348, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1951450, 'dashboard_run_id': 1959352, 'mtr_portfolio_id': 24586317, 'dashboard_result_id': 12118349, '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_P24586317_04-07-2025_11_00_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24586410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24586411, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24586412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24586413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24586414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24586415, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24586416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24586417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24586418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24586419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24586420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24586421, 'pht': 3726}}"}, {'dashboat_entry_day': 1951450, 'dashboard_run_id': 1959352, 'mtr_portfolio_id': 24581990, 'dashboard_result_id': 12118350, '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_P24581990_04-07-2025_10_00_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24582049, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24582050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24582051, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24582052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24582053, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24582054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24582055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24582056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24582057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24582058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24582059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24582060, 'pht': 3726}}"}, {'dashboat_entry_day': 1951450, 'dashboard_run_id': 1959352, 'mtr_portfolio_id': 24580137, 'dashboard_result_id': 12118351, '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_P24580137_04-07-2025_08_50_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24580142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24580143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24580144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24580145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24580146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24580147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24580148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24580149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24580150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24580151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24580152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24580153, 'pht': 3726}}"}, {'dashboat_entry_day': 1951450, 'dashboard_run_id': 1959352, 'mtr_portfolio_id': 24580345, 'dashboard_result_id': 12118352, '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_P24580345_04-07-2025_08_46_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24580406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24580407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24580408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24580409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24580410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24580411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24580412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24580413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24580414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24580415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24580416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24580417, 'pht': 3726}}"}, {'dashboat_entry_day': 1951450, 'dashboard_run_id': 1959352, 'mtr_portfolio_id': 24581606, 'dashboard_result_id': 12118353, '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_P24581606_04-07-2025_09_06_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24581648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24581649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24581650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24581651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24581652, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24581653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24581654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24581655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24581656, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24581657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24581658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24581659, 'pht': 3726}}"}, {'dashboat_entry_day': 1951450, 'dashboard_run_id': 1959352, 'mtr_portfolio_id': 24582937, 'dashboard_result_id': 12118354, '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_P24582937_04-07-2025_09_19_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24582973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24582974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24582975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24582976, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24582977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24582978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24582979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24582980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24582981, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24582982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24582983, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24582984, 'pht': 3726}}"}, {'dashboat_entry_day': 1951450, 'dashboard_run_id': 1959352, 'mtr_portfolio_id': 24583904, 'dashboard_result_id': 12118355, '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_P24583904_04-07-2025_09_33_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24583907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24583908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24583909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24583910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24583911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24583912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24583913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24583914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24583915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24583916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24583917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24583918, 'pht': 3726}}"}, {'dashboat_entry_day': 1951450, 'dashboard_run_id': 1959352, 'mtr_portfolio_id': 24584826, 'dashboard_result_id': 12118356, '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_P24584826_04-07-2025_09_47_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24584898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24584899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24584900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24584901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24584902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24584903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24584904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24584905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24584906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24584907, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24584908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24584909, 'pht': 3726}}"}, {'dashboat_entry_day': 1951450, 'dashboard_run_id': 1959352, 'mtr_portfolio_id': 24585822, 'dashboard_result_id': 12118357, '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_P24585822_04-07-2025_10_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24585845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24585846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24585847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24585848, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24585849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24585850, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24585851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24585852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24585853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24585854, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24585855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24585856, 'pht': 3726}}"}, {'dashboat_entry_day': 1951450, 'dashboard_run_id': 1959352, 'mtr_portfolio_id': 24586610, 'dashboard_result_id': 12118358, '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_P24586610_04-07-2025_10_17_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24586699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24586700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24586701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24586702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24586703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24586704, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24586705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24586706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24586707, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24586708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24586709, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24586710, 'pht': 3726}}"}, {'dashboat_entry_day': 1951450, 'dashboard_run_id': 1959352, 'mtr_portfolio_id': 24587639, 'dashboard_result_id': 12118359, '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_P24587639_04-07-2025_10_33_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24587644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24587645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24587646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24587647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24587648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24587649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24587650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24587651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24587652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24587653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24587654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24587655, 'pht': 3726}}"}, {'dashboat_entry_day': 1951450, 'dashboard_run_id': 1959352, 'mtr_portfolio_id': 24588270, 'dashboard_result_id': 12118360, '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_P24588270_04-07-2025_10_47_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24588275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24588276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24588277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24588278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24588279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24588280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24588281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24588282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24588283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24588284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24588285, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24588286, 'pht': 3726}}"}, {'dashboat_entry_day': 1951450, 'dashboard_run_id': 1959352, 'mtr_portfolio_id': 24588966, 'dashboard_result_id': 12118361, '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_P24588966_04-07-2025_11_00_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24588976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24588977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24588978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24588979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24588980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24588981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24588982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24588983, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24588984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24588985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24588986, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24588987, '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 = 24589471 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 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 = 24589471 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 24589471 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24589471 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24589471 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24589471 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24589471_04-07-2025_11_01_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24589471 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_P24589471_04-07-2025_11_01_03.pdf'}" where mtr_portfolio_id = 24589471 and dashboard_run_id = 1959352 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 = 24586317 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': 3235188, 'mtr_portfolio_id': 24586317, 'created_at': datetime.datetime(2025, 7, 4, 11, 0, 37), 'result': '0.07747997849234448', 'result_long': None, 'result_double': None}] Qualite : 0.07747997849234448 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24586317 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24586317_04-07-2025_11_00_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24586317 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_P24586317_04-07-2025_11_00_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24586410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24586411, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24586412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24586413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24586414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24586415, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24586416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24586417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24586418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24586419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24586420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24586421, 'pht': 3726}}" where mtr_portfolio_id = 24586317 and dashboard_run_id = 1959352 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`=24586317 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12118349, 0.07747997849234448, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24586317_04-07-2025_11_00_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24586410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24586411, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24586412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24586413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24586414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24586415, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24586416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24586417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24586418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24586419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24586420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24586421, '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 = 24581990 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 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 = 24581990 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 24581990 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24581990 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24581990 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24581990 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24581990_04-07-2025_10_00_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24581990 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_P24581990_04-07-2025_10_00_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24582049, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24582050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24582051, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24582052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24582053, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24582054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24582055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24582056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24582057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24582058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24582059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24582060, 'pht': 3726}}" where mtr_portfolio_id = 24581990 and dashboard_run_id = 1959352 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 = 24580137 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': 3234437, 'mtr_portfolio_id': 24580137, 'created_at': datetime.datetime(2025, 7, 4, 8, 50, 58), 'result': '0.05196932696448502', 'result_long': None, 'result_double': None}] Qualite : 0.05196932696448502 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24580137 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24580137_04-07-2025_08_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24580137 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_P24580137_04-07-2025_08_50_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24580142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24580143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24580144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24580145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24580146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24580147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24580148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24580149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24580150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24580151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24580152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24580153, 'pht': 3726}}" where mtr_portfolio_id = 24580137 and dashboard_run_id = 1959352 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`=24580137 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12118351, 0.05196932696448502, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24580137_04-07-2025_08_50_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24580142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24580143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24580144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24580145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24580146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24580147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24580148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24580149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24580150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24580151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24580152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24580153, '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 = 24580345 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': 3234502, 'mtr_portfolio_id': 24580345, 'created_at': datetime.datetime(2025, 7, 4, 8, 46, 56), 'result': '0.03849710588211739', 'result_long': None, 'result_double': None}] Qualite : 0.03849710588211739 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24580345 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24580345_04-07-2025_08_46_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24580345 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_P24580345_04-07-2025_08_46_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24580406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24580407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24580408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24580409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24580410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24580411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24580412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24580413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24580414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24580415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24580416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24580417, 'pht': 3726}}" where mtr_portfolio_id = 24580345 and dashboard_run_id = 1959352 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`=24580345 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12118352, 0.03849710588211739, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24580345_04-07-2025_08_46_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24580406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24580407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24580408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24580409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24580410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24580411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24580412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24580413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24580414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24580415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24580416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24580417, '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 = 24581606 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': 3234711, 'mtr_portfolio_id': 24581606, 'created_at': datetime.datetime(2025, 7, 4, 9, 6, 59), 'result': '0.048503315117755456', 'result_long': None, 'result_double': None}] Qualite : 0.048503315117755456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24581606 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24581606_04-07-2025_09_06_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24581606 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_P24581606_04-07-2025_09_06_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24581648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24581649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24581650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24581651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24581652, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24581653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24581654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24581655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24581656, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24581657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24581658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24581659, 'pht': 3726}}" where mtr_portfolio_id = 24581606 and dashboard_run_id = 1959352 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`=24581606 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12118353, 0.048503315117755456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24581606_04-07-2025_09_06_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24581648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24581649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24581650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24581651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24581652, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24581653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24581654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24581655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24581656, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24581657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24581658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24581659, '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 = 24582937 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': 3234843, 'mtr_portfolio_id': 24582937, 'created_at': datetime.datetime(2025, 7, 4, 9, 19, 27), 'result': '0.1140078252282661', 'result_long': None, 'result_double': None}] Qualite : 0.1140078252282661 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24582937 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24582937_04-07-2025_09_19_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24582937 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_P24582937_04-07-2025_09_19_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24582973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24582974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24582975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24582976, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24582977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24582978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24582979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24582980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24582981, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24582982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24582983, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24582984, 'pht': 3726}}" where mtr_portfolio_id = 24582937 and dashboard_run_id = 1959352 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`=24582937 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12118354, 0.1140078252282661, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24582937_04-07-2025_09_19_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24582973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24582974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24582975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24582976, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24582977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24582978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24582979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24582980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24582981, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24582982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24582983, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24582984, '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 = 24583904 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': 3234941, 'mtr_portfolio_id': 24583904, 'created_at': datetime.datetime(2025, 7, 4, 9, 33), 'result': '0.11391962360166942', 'result_long': None, 'result_double': None}] Qualite : 0.11391962360166942 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24583904 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24583904_04-07-2025_09_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24583904 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_P24583904_04-07-2025_09_33_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24583907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24583908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24583909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24583910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24583911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24583912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24583913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24583914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24583915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24583916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24583917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24583918, 'pht': 3726}}" where mtr_portfolio_id = 24583904 and dashboard_run_id = 1959352 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`=24583904 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12118355, 0.11391962360166942, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24583904_04-07-2025_09_33_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24583907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24583908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24583909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24583910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24583911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24583912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24583913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24583914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24583915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24583916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24583917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24583918, '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 = 24584826 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': 3235009, 'mtr_portfolio_id': 24584826, 'created_at': datetime.datetime(2025, 7, 4, 9, 47, 1), 'result': '0.0564031836371381', 'result_long': None, 'result_double': None}] Qualite : 0.0564031836371381 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24584826 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24584826_04-07-2025_09_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24584826 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_P24584826_04-07-2025_09_47_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24584898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24584899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24584900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24584901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24584902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24584903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24584904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24584905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24584906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24584907, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24584908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24584909, 'pht': 3726}}" where mtr_portfolio_id = 24584826 and dashboard_run_id = 1959352 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`=24584826 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12118356, 0.0564031836371381, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24584826_04-07-2025_09_47_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24584898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24584899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24584900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24584901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24584902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24584903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24584904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24584905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24584906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24584907, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24584908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24584909, '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 = 24585822 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': 3235114, 'mtr_portfolio_id': 24585822, 'created_at': datetime.datetime(2025, 7, 4, 10, 2, 57), 'result': '0.03770389413787596', 'result_long': None, 'result_double': None}] Qualite : 0.03770389413787596 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24585822 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24585822_04-07-2025_10_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24585822 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_P24585822_04-07-2025_10_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24585845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24585846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24585847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24585848, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24585849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24585850, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24585851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24585852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24585853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24585854, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24585855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24585856, 'pht': 3726}}" where mtr_portfolio_id = 24585822 and dashboard_run_id = 1959352 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`=24585822 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12118357, 0.03770389413787596, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24585822_04-07-2025_10_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24585845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24585846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24585847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24585848, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24585849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24585850, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24585851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24585852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24585853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24585854, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24585855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24585856, '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 = 24586610 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': 3235224, 'mtr_portfolio_id': 24586610, 'created_at': datetime.datetime(2025, 7, 4, 10, 17), 'result': '0.014005982697869443', 'result_long': None, 'result_double': None}] Qualite : 0.014005982697869443 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24586610 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24586610_04-07-2025_10_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24586610 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_P24586610_04-07-2025_10_17_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24586699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24586700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24586701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24586702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24586703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24586704, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24586705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24586706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24586707, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24586708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24586709, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24586710, 'pht': 3726}}" where mtr_portfolio_id = 24586610 and dashboard_run_id = 1959352 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`=24586610 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12118358, 0.014005982697869443, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24586610_04-07-2025_10_17_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24586699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24586700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24586701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24586702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24586703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24586704, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24586705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24586706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24586707, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24586708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24586709, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24586710, '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 = 24587639 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': 3235341, 'mtr_portfolio_id': 24587639, 'created_at': datetime.datetime(2025, 7, 4, 10, 33, 30), 'result': '0.024579869151806894', 'result_long': None, 'result_double': None}] Qualite : 0.024579869151806894 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24587639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24587639_04-07-2025_10_33_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24587639 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_P24587639_04-07-2025_10_33_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24587644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24587645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24587646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24587647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24587648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24587649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24587650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24587651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24587652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24587653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24587654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24587655, 'pht': 3726}}" where mtr_portfolio_id = 24587639 and dashboard_run_id = 1959354 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`=24587639 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12118359, 0.024579869151806894, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24587639_04-07-2025_10_33_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24587644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24587645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24587646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24587647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24587648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24587649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24587650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24587651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24587652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24587653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24587654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24587655, '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 = 24588270 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': 3235406, 'mtr_portfolio_id': 24588270, 'created_at': datetime.datetime(2025, 7, 4, 10, 47), 'result': '0.040984435109491804', 'result_long': None, 'result_double': None}] Qualite : 0.040984435109491804 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24588270 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24588270_04-07-2025_10_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24588270 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_P24588270_04-07-2025_10_47_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24588275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24588276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24588277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24588278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24588279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24588280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24588281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24588282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24588283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24588284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24588285, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24588286, 'pht': 3726}}" where mtr_portfolio_id = 24588270 and dashboard_run_id = 1959354 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`=24588270 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12118360, 0.040984435109491804, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24588270_04-07-2025_10_47_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24588275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24588276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24588277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24588278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24588279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24588280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24588281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24588282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24588283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24588284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24588285, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24588286, '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 = 24588966 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': 3235505, 'mtr_portfolio_id': 24588966, 'created_at': datetime.datetime(2025, 7, 4, 10, 59, 59), 'result': '0.03808031418295773', 'result_long': None, 'result_double': None}] Qualite : 0.03808031418295773 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24588966 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24588966_04-07-2025_11_00_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24588966 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_P24588966_04-07-2025_11_00_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24588976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24588977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24588978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24588979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24588980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24588981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24588982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24588983, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24588984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24588985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24588986, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24588987, 'pht': 3726}}" where mtr_portfolio_id = 24588966 and dashboard_run_id = 1959354 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`=24588966 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12118361, 0.03808031418295773, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24588966_04-07-2025_11_00_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24588976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24588977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24588978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24588979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24588980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24588981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24588982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24588983, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24588984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24588985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24588986, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24588987, '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 (24589471,24586317,24581990,24580137,24580345,24581606,24582937,24583904,24584826,24585822,24586610,24587639,24588270,24588966) result : ((1370494762,), (1370494763,), (1370494767,), (1370494773,), (1370494775,), (1370494780,), (1370494791,), (1370494794,), (1370494800,), (1370494803,), (1370494811,), (1370494814,), (1370494829,), (1370494832,), (1370494836,), (1370494840,), (1370494844,), (1370494848,), (1370494863,), (1370494865,), (1370494868,), (1370494870,), (1370494872,), (1370494875,), (1370494880,), (1370494881,), (1370494883,), (1370494885,), (1370494886,), (1370494887,), (1370494901,), (1370494911,), (1370494917,), (1370494920,), (1370494924,), (1370494928,), (1370494948,), (1370494951,), (1370494953,), (1370494956,), (1370494963,), (1370494966,), (1370494978,), (1370494982,), (1370494988,), (1370494990,), (1370494992,), (1370494993,), (1370495000,), (1370495010,), (1370495017,), (1370495024,), (1370495027,), (1370495033,), (1370495108,), (1370495111,), (1370495116,), (1370495119,), (1370495129,), (1370495131,), (1370495406,), (1370495410,), (1370495416,), (1370495421,), (1370495426,), (1370495429,), (1370495643,), (1370495650,), (1370495656,), (1370495666,), (1370495682,), (1370495698,), (1370496401,), (1370496412,), (1370496473,), (1370496512,), (1370496531,), (1370496570,), (1370497148,), (1370497182,), (1370497221,), (1370497265,), (1370497342,), (1370497424,), (1370498581,), (1370498653,), (1370498721,), (1370498786,), (1370498855,), (1370498901,), (1370500581,), (1370500593,), (1370500628,), (1370500663,), (1370500698,), (1370500739,), (1370495053,), (1370495066,), (1370495072,), (1370495084,), (1370495088,), (1370495091,), (1370495155,), (1370495171,), (1370495178,), (1370495192,), (1370495217,), (1370495239,), (1370495288,), (1370495291,), (1370495313,), (1370495321,), (1370495325,), (1370495332,), (1370495347,), (1370495375,), (1370495379,), (1370495382,), (1370495391,), (1370495396,), (1370495448,), (1370495459,), (1370495475,), (1370495506,), (1370495530,), (1370495552,), (1370495580,), (1370495582,), (1370495588,), (1370495598,), (1370495612,), (1370495619,), (1370495726,), (1370495753,), (1370495763,), (1370495770,), (1370495805,), (1370495840,), (1370495922,), (1370495927,), (1370495961,), (1370495998,), (1370496033,), (1370496071,), (1370496233,), (1370496246,), (1370496253,), (1370496267,), (1370496274,), (1370496281,), (1370496631,), (1370496645,), (1370496669,), (1370496689,), (1370496698,), (1370496711,), (1370496782,), (1370496785,), (1370496788,), (1370496791,), (1370496794,), (1370496800,), (1370496917,), (1370496959,), (1370497011,), (1370497065,), (1370497076,), (1370497092,), (1370497646,), (1370497682,), (1370497715,), (1370497720,), (1370497777,), (1370497865,), (1370498035,), (1370498057,), (1370498073,), (1370498097,), (1370498152,), (1370498200,), (1370498283,), (1370498302,), (1370498347,), (1370498383,), (1370498406,), (1370498411,), (1370499141,), (1370499185,), (1370499232,), (1370499277,), (1370499347,), (1370499426,), (1370499735,), (1370499809,), (1370499915,), (1370499994,), (1370500029,), (1370500063,), (1370500213,), (1370500307,), (1370500386,), (1370500441,), (1370500475,), (1370500509,), (1370500884,), (1370500919,), (1370500954,), (1370501017,), (1370501086,), (1370501149,), (1370501190,), (1370501236,), (1370501289,), (1370501330,), (1370501396,), (1370501438,), (1370501600,), (1370501641,), (1370501680,), (1370501693,), (1370501717,), (1370501753,), (1370502079,), (1370502097,), (1370502117,), (1370502162,), (1370502172,), (1370502177,), (1370502356,), (1370502432,), (1370502508,), (1370502595,), (1370502654,), (1370502678,), (1370502781,), (1370502792,), (1370502810,), (1370502850,), (1370502871,), (1370502908,), (1370503167,), (1370503171,), (1370503175,), (1370503184,), (1370503219,), (1370503232,), (1370503264,), (1370503284,), (1370503339,), (1370503354,), (1370503381,), (1370503389,), (1370503431,), (1370503435,), (1370503458,), (1370503492,), (1370503534,), (1370503555,), (1370504429,), (1370504541,), (1370504686,), (1370504849,), (1370504957,), (1370505027,), (1370505954,), (1370505992,), (1370505999,), (1370506011,), (1370506040,), (1370506062,), (1370501824,), (1370501861,), (1370501896,), (1370501930,), (1370501950,), (1370501954,), (1370503008,), (1370503018,), (1370503033,), (1370503082,), (1370503091,), (1370503092,), (1370503608,), (1370503687,), (1370503791,), (1370503866,), (1370503935,), (1370504034,), (1370506203,), (1370506209,), (1370506235,), (1370506253,), (1370506262,), (1370506285,), (1370506984,), (1370508171,), (1370508212,), (1370508254,), (1370508329,), (1370508419,), (1370508517,), (1370509734,), (1370509767,), (1370509780,), (1370509830,), (1370509837,), (1370509857,), (1370510965,), (1370511009,), (1370511067,), (1370511189,), (1370511191,), (1370511206,), (1370511900,), (1370511935,), (1370511972,), (1370512028,), (1370512032,), (1370512038,), (1370512449,), (1370512485,), (1370512522,), (1370512588,), (1370512624,), (1370512650,), (1370513357,), (1370513426,), (1370513484,), (1370513521,), (1370513557,), (1370513605,), (1370514550,), (1370514599,), (1370514680,), (1370514735,), (1370514787,), (1370514870,), (1370515689,), (1370515767,), (1370515781,), (1370515827,), (1370515841,), (1370515856,), (1370517509,), (1370517602,), (1370517647,), (1370517687,), (1370517727,), (1370517760,), (1370518500,), (1370518514,), (1370518539,), (1370518574,), (1370518579,), (1370518587,), (1370519335,), (1370519348,), (1370519356,), (1370519358,), (1370506450,), (1370506531,), (1370506620,), (1370506794,), (1370506872,), (1370507200,), (1370507288,), (1370507353,), (1370507406,), (1370507506,), (1370507579,), (1370507769,), (1370507794,), (1370507849,), (1370507911,), (1370507933,), (1370508000,), (1370508774,), (1370508777,), (1370508841,), (1370508848,), (1370508883,), (1370508889,), (1370508912,), (1370508915,), (1370508944,), (1370508947,), (1370508967,), (1370508969,), (1370509008,), (1370509015,), (1370509061,), (1370509095,), (1370509138,), (1370509178,), (1370509339,), (1370509373,), (1370509407,), (1370509443,), (1370509518,), (1370509534,), (1370510055,), (1370510057,), (1370510095,), (1370510096,), (1370510138,), (1370510140,), (1370510157,), (1370510159,), (1370510165,), (1370510166,), (1370510174,), (1370510176,), (1370510227,), (1370510251,), (1370510274,), (1370510297,), (1370510309,), (1370510323,), (1370510497,), (1370510562,), (1370510579,), (1370510605,), (1370510720,), (1370510837,), (1370511234,), (1370511239,), (1370511284,), (1370511292,), (1370511334,), (1370511338,), (1370511373,), (1370511380,), (1370511417,), (1370511418,), (1370511436,), (1370511439,), (1370511555,), (1370511563,), (1370511586,), (1370511592,), (1370511594,), (1370511598,), (1370511698,), (1370511734,), (1370511769,), (1370511824,), (1370511856,), (1370511861,), (1370512091,), (1370512093,), (1370512095,), (1370512096,), (1370512098,), (1370512099,), (1370512101,), (1370512103,), (1370512106,), (1370512107,), (1370512111,), (1370512112,), (1370512214,), (1370512252,), (1370512285,), (1370512290,), (1370512294,), (1370512297,), (1370512357,), (1370512360,), (1370512389,), (1370512400,), (1370512409,), (1370512414,), (1370512700,), (1370512704,), (1370512724,), (1370512769,), (1370512799,), (1370512803,), (1370512815,), (1370512817,), (1370512826,), (1370512864,), (1370512877,), (1370512889,), (1370512903,), (1370512963,), (1370513023,), (1370513065,), (1370513100,), (1370513134,), (1370513827,), (1370513851,), (1370513861,), (1370513872,), (1370513893,), (1370513914,), (1370513979,), (1370513992,), (1370514016,), (1370514020,), (1370514029,), (1370514068,), (1370514161,), (1370514163,), (1370514166,), (1370514174,), (1370514197,), (1370514277,), (1370514945,), (1370514950,), (1370514973,), (1370514985,), (1370514995,), (1370514998,), (1370515116,), (1370515125,), (1370515127,), (1370515215,), (1370515233,), (1370515238,), (1370515307,), (1370515310,), (1370515378,), (1370515390,), (1370515395,), (1370515470,), (1370515875,), (1370515928,), (1370515996,), (1370516203,), (1370516336,), (1370516444,), (1370516703,), (1370516779,), (1370516850,), (1370516930,), (1370516987,), (1370517044,), (1370517202,), (1370517253,), (1370517303,), (1370517339,), (1370517351,), (1370517368,), (1370517942,), (1370517990,), (1370518026,), (1370518065,), (1370518099,), (1370518133,), (1370518218,), (1370518228,), (1370518242,), (1370518248,), (1370518267,), (1370518274,), (1370518299,), (1370518311,), (1370518322,), (1370518417,), (1370518436,), (1370518451,), (1370518609,), (1370518613,), (1370518619,), (1370518628,), (1370518635,), (1370518647,), (1370518701,), (1370518724,), (1370518763,), (1370518824,), (1370518863,), (1370518874,), (1370518913,), (1370518941,), (1370518950,), (1370518952,), (1370518995,), (1370519011,), (1370519075,), (1370519078,), (1370519093,), (1370519099,), (1370519117,), (1370519228,), (1370519471,), (1370519474,), (1370519538,), (1370519541,), (1370519574,), (1370519578,), (1370519619,), (1370519622,), (1370519678,), (1370519681,), (1370519721,), (1370519722,), (1370519805,), (1370519854,), (1370519924,), (1370519964,), (1370519991,), (1370520052,), (1370520173,), (1370520248,), (1370520267,), (1370520272,), (1370520305,), (1370520335,), (1370521119,), (1370521125,), (1370521141,), (1370521161,), (1370521189,), (1370521204,), (1370521236,), (1370521256,), (1370521283,), (1370521297,), (1370521323,), (1370521362,), (1370521481,), (1370521529,), (1370521550,), (1370521574,), (1370521599,), (1370521649,), (1370521876,), (1370521880,), (1370521890,), (1370521893,), (1370521897,), (1370521901,), (1370521980,), (1370522014,), (1370522028,), (1370522035,), (1370522040,), (1370522109,), (1370522142,), (1370522217,), (1370522225,), (1370522239,), (1370522250,), (1370522253,), (1370522309,), (1370522335,), (1370522356,), (1370522365,), (1370522378,), (1370522384,), (1370522623,), (1370522635,), (1370522661,), (1370522673,), (1370522694,), (1370522739,), (1370522795,), (1370522803,), (1370522805,), (1370522849,), (1370522901,), (1370522909,), (1370523052,), (1370523130,), (1370523193,), (1370523317,), (1370523380,), (1370523430,), (1370524072,), (1370524091,), (1370524120,), (1370524155,), (1370524208,), (1370524249,), (1370524380,), (1370524392,), (1370524424,), (1370524485,), (1370524490,), (1370524530,), (1370524557,), (1370524561,), (1370524564,), (1370524571,), (1370524573,), (1370524584,), (1370524826,), (1370524840,), (1370524897,), (1370524944,), (1370524996,), (1370525033,), (1370525172,), (1370525175,), (1370525204,), (1370525210,), (1370525239,), (1370525242,), (1370525276,), (1370525278,), (1370525289,), (1370525290,), (1370525297,), (1370525298,), (1370525308,), (1370525314,), (1370525318,), (1370525322,), (1370525352,), (1370525360,), (1370525369,), (1370525371,), (1370525373,), (1370525380,), (1370525396,), (1370525409,), (1370525598,), (1370525605,), (1370525611,), (1370525615,), (1370525618,), (1370525704,), (1370525927,), (1370525929,), (1370525988,), (1370526030,), (1370526066,), (1370526100,), (1370526129,), (1370526165,), (1370526193,), (1370526218,), (1370526241,), (1370526275,), (1370526393,), (1370526428,), (1370526463,), (1370526474,), (1370526495,), (1370526538,), (1370526588,), (1370526598,), (1370526613,), (1370526646,), (1370526695,), (1370526728,), (1370527038,), (1370527071,), (1370527148,), (1370527187,), (1370527233,), (1370527238,), (1370527726,), (1370527843,), (1370527956,), (1370528105,), (1370528229,), (1370528327,), (1370519365,), (1370519370,), (1370520657,), (1370520724,), (1370520789,), (1370520859,), (1370520949,), (1370521001,), (1370521709,), (1370521734,), (1370521776,), (1370521790,), (1370521797,), (1370521799,), (1370522414,), (1370522418,), (1370522439,), (1370522525,), (1370522538,), (1370522548,), (1370523535,), (1370523592,), (1370523652,), (1370523677,), (1370523705,), (1370523794,), (1370524677,), (1370524682,), (1370524692,), (1370524696,), (1370524701,), (1370524723,), (1370525488,), (1370525521,), (1370525530,), (1370525543,), (1370525548,), (1370525566,), (1370526785,), (1370526811,), (1370526844,), (1370526905,), (1370526929,), (1370526947,), (1370528829,), (1370528947,), (1370529080,), (1370529214,), (1370529347,), (1370529477,), (1370530264,), (1370530275,), (1370531508,), (1370531511,), (1370531514,), (1370531538,), (1370531592,), (1370531656,), (1370533025,), (1370533034,), (1370533045,), (1370533111,), (1370533146,), (1370533173,), (1370533966,), (1370534010,), (1370534068,), (1370534115,), (1370534149,), (1370534189,), (1370534908,), (1370534923,), (1370534941,), (1370534953,), (1370534958,), (1370534969,), (1370535388,), (1370535393,), (1370535403,), (1370535409,), (1370535412,), (1370535416,), (1370536235,), (1370536241,), (1370536282,), (1370536344,), (1370536357,), (1370536362,), (1370536796,), (1370536799,), (1370529849,), (1370529853,), (1370529943,), (1370529948,), (1370530019,), (1370530022,), (1370530095,), (1370530112,), (1370530172,), (1370530178,), (1370530684,), (1370530779,), (1370530869,), (1370530950,), (1370531059,), (1370531122,), (1370531339,), (1370531390,), (1370531422,), (1370531457,), (1370531492,), (1370531500,), (1370531801,), (1370531823,), (1370531828,), (1370531838,), (1370531877,), (1370531927,), (1370532110,), (1370532139,), (1370532166,), (1370532197,), (1370532212,), (1370532219,), (1370532273,), (1370532399,), (1370532407,), (1370532421,), (1370532437,), (1370532449,), (1370532473,), (1370532503,), (1370532546,), (1370532550,), (1370532563,), (1370532583,), (1370532741,), (1370532773,), (1370532796,), (1370532829,), (1370532894,), (1370532912,), (1370532984,), (1370532990,), (1370532998,), (1370533009,), (1370533012,), (1370533017,), (1370533357,), (1370533402,), (1370533416,), (1370533446,), (1370533472,), (1370533479,), (1370533491,), (1370533495,), (1370533513,), (1370533520,), (1370533536,), (1370533541,), (1370533585,), (1370533589,), (1370533594,), (1370533599,), (1370533613,), (1370533616,), (1370533629,), (1370533638,), (1370533641,), (1370533643,), (1370533645,), (1370533657,), (1370533738,), (1370533763,), (1370533796,), (1370533822,), (1370533853,), (1370533878,), (1370534264,), (1370534267,), (1370534269,), (1370534271,), (1370534277,), (1370534279,), (1370534310,), (1370534320,), (1370534325,), (1370534333,), (1370534350,), (1370534353,), (1370534445,), (1370534446,), (1370534475,), (1370534478,), (1370534497,), (1370534500,), (1370534527,), (1370534530,), (1370534550,), (1370534555,), (1370534562,), (1370534566,), (1370534608,), (1370534623,), (1370534627,), (1370534631,), (1370534634,), (1370534643,), (1370534742,), (1370534775,), (1370534801,), (1370534834,), (1370534861,), (1370534873,), (1370534995,), (1370535009,), (1370535014,), (1370535019,), (1370535033,), (1370535036,), (1370535066,), (1370535070,), (1370535072,), (1370535074,), (1370535080,), (1370535096,), (1370535187,), (1370535217,), (1370535243,), (1370535274,), (1370535279,), (1370535293,), (1370535306,), (1370535309,), (1370535317,), (1370535322,), (1370535328,), (1370535332,), (1370535346,), (1370535350,), (1370535358,), (1370535362,), (1370535371,), (1370535376,), (1370535433,), (1370535437,), (1370535466,), (1370535495,), (1370535526,), (1370535561,), (1370535646,), (1370535672,), (1370535707,), (1370535778,), (1370535811,), (1370535836,), (1370535912,), (1370535920,), (1370535930,), (1370535936,), (1370535948,), (1370535989,), (1370536045,), (1370536075,), (1370536120,), (1370536147,), (1370536175,), (1370536204,), (1370536375,), (1370536399,), (1370536424,), (1370536430,), (1370536437,), (1370536451,), (1370536498,), (1370536509,), (1370536514,), (1370536528,), (1370536536,), (1370536557,), (1370536579,), (1370536590,), (1370536594,), (1370536597,), (1370536600,), (1370536613,), (1370536666,), (1370536670,), (1370536675,), (1370536682,), (1370536704,), (1370536730,), (1370536880,), (1370536885,), (1370536890,), (1370536895,), (1370536899,), (1370536902,), (1370536921,), (1370536926,), (1370536931,), (1370536946,), (1370536979,), (1370537029,), (1370537044,), (1370537055,), (1370537080,), (1370537127,), (1370537134,), (1370537138,), (1370537178,), (1370537182,), (1370537195,), (1370537201,), (1370537207,), (1370537221,), (1370537261,), (1370537264,), (1370537281,), (1370537290,), (1370537295,), (1370537300,), (1370537421,), (1370537429,), (1370537445,), (1370537461,), (1370537465,), (1370537471,), (1370537506,), (1370537509,), (1370537513,), (1370537517,), (1370537519,), (1370537524,), (1370537634,), (1370537639,), (1370537648,), (1370537653,), (1370537660,), (1370537665,), (1370537825,), (1370537830,), (1370537840,), (1370537854,), (1370537857,), (1370537860,), (1370537882,), (1370537888,), (1370537893,), (1370537899,), (1370537903,), (1370537905,), (1370537921,), (1370537924,), (1370537933,), (1370537960,), (1370537966,), (1370537971,), (1370537989,), (1370537995,), (1370538011,), (1370538039,), (1370538068,), (1370538121,), (1370538154,), (1370538161,), (1370538164,), (1370538175,), (1370538186,), (1370538188,), (1370538326,), (1370538329,), (1370538334,), (1370538341,), (1370538365,), (1370538370,), (1370538382,), (1370538393,), (1370538398,), (1370538429,), (1370538477,), (1370538490,), (1370538500,), (1370538520,), (1370538551,), (1370538569,), (1370538607,), (1370538643,), (1370539072,), (1370539090,), (1370539113,), (1370539144,), (1370539171,), (1370539215,), (1370539239,), (1370539242,), (1370539276,), (1370539277,), (1370539324,), (1370539327,), (1370539376,), (1370539377,), (1370539409,), (1370539412,), (1370539417,), (1370539418,), (1370539474,), (1370539506,), (1370539531,), (1370539535,), (1370539539,), (1370539544,), (1370539616,), (1370539621,), (1370539632,), (1370539665,), (1370539701,), (1370539759,), (1370539954,), (1370539981,), (1370539983,), (1370539985,), (1370540003,), (1370540028,), (1370540126,), (1370540160,), (1370540188,), (1370540214,), (1370540241,), (1370540267,), (1370540364,), (1370540413,), (1370540437,), (1370540459,), (1370540463,), (1370540468,), (1370540497,), (1370540515,), (1370540546,), (1370540557,), (1370540567,), (1370540581,), (1370540690,), (1370540694,), (1370540699,), (1370540748,), (1370540781,), (1370540824,), (1370540949,), (1370540982,), (1370541012,), (1370541043,), (1370541070,), (1370541099,), (1370536808,), (1370536814,), (1370536818,), (1370536826,), (1370537311,), (1370537327,), (1370537361,), (1370537365,), (1370537368,), (1370537377,), (1370537753,), (1370537757,), (1370537759,), (1370537779,), (1370537781,), (1370537810,), (1370538235,), (1370538241,), (1370538245,), (1370538270,), (1370538271,), (1370538274,), (1370538765,), (1370538831,), (1370538863,), (1370538918,), (1370538953,), (1370538979,), (1370539790,), (1370539809,), (1370539823,), (1370539831,), (1370539856,), (1370539901,), (1370540600,), (1370540608,), (1370540613,), (1370540615,), (1370540648,), (1370540658,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'04072025': {'nb_upload': 40, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24589471]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1370540658, 1370540648, 1370540615, 1370540613, 1370540608, 1370540600, 1370539901, 1370539856, 1370539831, 1370539823, 1370539809, 1370539790, 1370538979, 1370538953, 1370538918, 1370538863, 1370538831, 1370538765, 1370538274, 1370538271, 1370538270, 1370538245, 1370538241, 1370538235, 1370537810, 1370537781, 1370537779, 1370537759, 1370537757, 1370537753, 1370537377, 1370537368, 1370537365, 1370537361, 1370537327, 1370537311, 1370536826, 1370536818, 1370536814, 1370536808] map_info['map_portfolio_photo'] : {24589471: [1370540658, 1370540648, 1370540615, 1370540613, 1370540608, 1370540600, 1370539901, 1370539856, 1370539831, 1370539823, 1370539809, 1370539790, 1370538979, 1370538953, 1370538918, 1370538863, 1370538831, 1370538765, 1370538274, 1370538271, 1370538270, 1370538245, 1370538241, 1370538235, 1370537810, 1370537781, 1370537779, 1370537759, 1370537757, 1370537753, 1370537377, 1370537368, 1370537365, 1370537361, 1370537327, 1370537311, 1370536826, 1370536818, 1370536814, 1370536808]} final : True mtd_id 4302 list_pids : [1370540658, 1370540648, 1370540615, 1370540613, 1370540608, 1370540600, 1370539901, 1370539856, 1370539831, 1370539823, 1370539809, 1370539790, 1370538979, 1370538953, 1370538918, 1370538863, 1370538831, 1370538765, 1370538274, 1370538271, 1370538270, 1370538245, 1370538241, 1370538235, 1370537810, 1370537781, 1370537779, 1370537759, 1370537757, 1370537753, 1370537377, 1370537368, 1370537365, 1370537361, 1370537327, 1370537311, 1370536826, 1370536818, 1370536814, 1370536808] Looping around the photos to save general results len do output : 1 /24589471Didn'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, '3235556') ('4302', '24589471', '1370540658', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540648', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540615', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540613', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540608', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370540600', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539901', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539856', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539831', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539823', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539809', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370539790', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538979', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538953', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538918', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538863', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538831', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538765', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538274', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538271', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538270', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538245', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538241', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370538235', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537810', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537781', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537779', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537759', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537757', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537753', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537377', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537368', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537365', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537361', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537327', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370537311', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370536826', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370536818', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370536814', None, None, None, None, None, '3235556') ('4302', None, None, None, None, None, None, None, '3235556') ('4302', '24589471', '1370536808', None, None, None, None, None, '3235556') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 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, '24589471', 'None', None, None, None, None, '3235556'), ('4302', '24589471', '1370540658', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370540648', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370540615', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370540613', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370540608', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370540600', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370539901', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370539856', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370539831', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370539823', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370539809', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370539790', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538979', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538953', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538918', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538863', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538831', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538765', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538274', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538271', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538270', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538245', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538241', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370538235', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537810', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537781', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537779', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537759', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537757', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537753', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537377', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537368', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537365', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537361', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537327', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370537311', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370536826', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370536818', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370536814', None, None, None, None, None, '3235556'), ('4302', '24589471', '1370536808', None, None, None, None, None, '3235556')] time used for this insertion : 0.0408937931060791 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.9549832344055176 time spend to save output : 0.041452646255493164 total time spend for step 5 : 2.9964358806610107 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 (3235556) 3.25user 2.00system 0:13.59elapsed 38%CPU (0avgtext+0avgdata 166040maxresident)k 1408inputs+19424outputs (11major+85263minor)pagefaults 0swaps