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 : 3225804 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 (4307435) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4307435) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29921045 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4307435'] with mtr_portfolio_ids : ['29921045'] and first list_photo_ids : [] new path : /proc/3225804/ Name: python3 Umask: 0002 State: R (running) Tgid: 3225804 Ngid: 0 Pid: 3225804 PPid: 3225803 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3225804 NSpid: 3225804 NSpgid: 3216643 NSsid: 3216643 VmPeak: 1113368 kB VmSize: 1113368 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 105116 kB VmRSS: 105116 kB RssAnon: 66308 kB RssFile: 38808 kB RssShmem: 0 kB VmData: 872096 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 564 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/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: 44 nonvoluntary_ctxt_switches: 220 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3225804', 'Ngid': '0', 'Pid': '3225804', 'PPid': '3225803', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3225804', 'NSpid': '3225804', 'NSpgid': '3216643', 'NSsid': '3216643', 'VmPeak': '1113368 kB', 'VmSize': '1113368 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '105116 kB', 'VmRSS': '105116 kB', 'RssAnon': '66308 kB', 'RssFile': '38808 kB', 'RssShmem': '0 kB', 'VmData': '872096 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '564 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/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': '44', 'nonvoluntary_ctxt_switches': '220'} ('datou_batch_current', '3225804', '1113368', '0', '1113368', '872096', '105116', b'', 'marlene', '4307435') 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_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (29921045) 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 (4307435 ) ) 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 (29921045) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1402259415, 'portfolio_id': 29921045}, {'photo_id': 1402258815, 'portfolio_id': 29921045}, {'photo_id': 1402258791, 'portfolio_id': 29921045}, {'photo_id': 1402258788, 'portfolio_id': 29921045}, {'photo_id': 1402258786, 'portfolio_id': 29921045}, {'photo_id': 1402258785, 'portfolio_id': 29921045}, {'photo_id': 1402258783, 'portfolio_id': 29921045}, {'photo_id': 1402258760, 'portfolio_id': 29921045}, {'photo_id': 1402258759, 'portfolio_id': 29921045}, {'photo_id': 1402258758, 'portfolio_id': 29921045}, {'photo_id': 1402258756, 'portfolio_id': 29921045}, {'photo_id': 1402258755, 'portfolio_id': 29921045}, {'photo_id': 1402258738, 'portfolio_id': 29921045}, {'photo_id': 1402258736, 'portfolio_id': 29921045}, {'photo_id': 1402258717, 'portfolio_id': 29921045}, {'photo_id': 1402258715, 'portfolio_id': 29921045}, {'photo_id': 1402258714, 'portfolio_id': 29921045}, {'photo_id': 1402258701, 'portfolio_id': 29921045}, {'photo_id': 1402258700, 'portfolio_id': 29921045}, {'photo_id': 1402258698, 'portfolio_id': 29921045}, {'photo_id': 1402258671, 'portfolio_id': 29921045}, {'photo_id': 1402258669, 'portfolio_id': 29921045}, {'photo_id': 1402258667, 'portfolio_id': 29921045}, {'photo_id': 1402258666, 'portfolio_id': 29921045}, {'photo_id': 1402258653, 'portfolio_id': 29921045}, {'photo_id': 1402258652, 'portfolio_id': 29921045}, {'photo_id': 1402258634, 'portfolio_id': 29921045}, {'photo_id': 1402258633, 'portfolio_id': 29921045}, {'photo_id': 1402258615, 'portfolio_id': 29921045}, {'photo_id': 1402258614, 'portfolio_id': 29921045}, {'photo_id': 1402258580, 'portfolio_id': 29921045}, {'photo_id': 1402258578, 'portfolio_id': 29921045}, {'photo_id': 1402258559, 'portfolio_id': 29921045}] map_portfolio_id_photo_id: {29921045: [1402259415, 1402258815, 1402258791, 1402258788, 1402258786, 1402258785, 1402258783, 1402258760, 1402258759, 1402258758, 1402258756, 1402258755, 1402258738, 1402258736, 1402258717, 1402258715, 1402258714, 1402258701, 1402258700, 1402258698, 1402258671, 1402258669, 1402258667, 1402258666, 1402258653, 1402258652, 1402258634, 1402258633, 1402258615, 1402258614, 1402258580, 1402258578, 1402258559]} ##### 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.018847227096557617 #### 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 Sat Jan 3 06:00:29 2026 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 (29921045) 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 : 29921045 get user id for portfolio 29921045 get sub ptf for main ptf 29921045, type 3726 and hashtags ['cartonnette', 'kraft', 'environnement', 'plastique', 'flou', 'Carton_brun', 'papier', 'Carton_gris', 'metal', 'mal_croppe', 'Teint_Dans_La_Masse', 'autre_refus'] 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`=29921045 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','kraft','environnement','plastique','flou','Carton_brun','papier','Carton_gris','metal','mal_croppe','Teint_Dans_La_Masse','autre_refus')) 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`=29921045 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','kraft','environnement','plastique','flou','Carton_brun','papier','Carton_gris','metal','mal_croppe','Teint_Dans_La_Masse','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 29921045, 'sub_port_id': 29921049, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472919, 'last_updated_at': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 8)}, 'autre_refus': {'main_port_id': 29921045, 'sub_port_id': 29921050, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472920, 'last_updated_at': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 8)}, 'flou': {'main_port_id': 29921045, 'sub_port_id': 29921051, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472921, 'last_updated_at': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 8)}, 'environnement': {'main_port_id': 29921045, 'sub_port_id': 29921052, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472922, 'last_updated_at': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 8)}, 'kraft': {'main_port_id': 29921045, 'sub_port_id': 29921053, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472923, 'last_updated_at': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 8)}, 'cartonnette': {'main_port_id': 29921045, 'sub_port_id': 29921054, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472924, 'last_updated_at': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 8)}, 'Carton_gris': {'main_port_id': 29921045, 'sub_port_id': 29921055, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472925, 'last_updated_at': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 8)}, 'mal_croppe': {'main_port_id': 29921045, 'sub_port_id': 29921056, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472926, 'last_updated_at': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 8)}, 'papier': {'main_port_id': 29921045, 'sub_port_id': 29921057, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472927, 'last_updated_at': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 8)}, 'plastique': {'main_port_id': 29921045, 'sub_port_id': 29921058, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472928, 'last_updated_at': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 8)}, 'Teint_Dans_La_Masse': {'main_port_id': 29921045, 'sub_port_id': 29921059, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472929, 'last_updated_at': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 8)}, 'Carton_brun': {'main_port_id': 29921045, 'sub_port_id': 29921061, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472930, 'last_updated_at': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 8)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29921049 , 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=29921045 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 (29921049) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29921045) result : ((1402258559,), (1402258578,), (1402258580,), (1402258614,), (1402258615,), (1402258633,), (1402258634,), (1402258652,), (1402258653,), (1402258666,), (1402258667,), (1402258669,), (1402258671,), (1402258698,), (1402258700,), (1402258701,), (1402258714,), (1402258715,), (1402258717,), (1402258736,), (1402258738,), (1402258755,), (1402258756,), (1402258758,), (1402258759,), (1402258760,), (1402258783,), (1402258785,), (1402258786,), (1402258788,), (1402258791,), (1402258815,), (1402259415,)) 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 (1402258700) 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 29921050 , 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=29921045 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 (29921050) result : ((1402258679,), (1402258680,), (1402258724,), (1402261705,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29921045) result : ((1402258559,), (1402258578,), (1402258580,), (1402258614,), (1402258615,), (1402258633,), (1402258634,), (1402258652,), (1402258653,), (1402258666,), (1402258667,), (1402258669,), (1402258671,), (1402258698,), (1402258700,), (1402258701,), (1402258714,), (1402258715,), (1402258717,), (1402258736,), (1402258738,), (1402258755,), (1402258756,), (1402258758,), (1402258759,), (1402258760,), (1402258783,), (1402258785,), (1402258786,), (1402258788,), (1402258791,), (1402258815,), (1402259415,)) 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 (1402258700) 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 29921051 , 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=29921045 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 (29921051) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29921045) result : ((1402258559,), (1402258578,), (1402258580,), (1402258614,), (1402258615,), (1402258633,), (1402258634,), (1402258652,), (1402258653,), (1402258666,), (1402258667,), (1402258669,), (1402258671,), (1402258698,), (1402258700,), (1402258701,), (1402258714,), (1402258715,), (1402258717,), (1402258736,), (1402258738,), (1402258755,), (1402258756,), (1402258758,), (1402258759,), (1402258760,), (1402258783,), (1402258785,), (1402258786,), (1402258788,), (1402258791,), (1402258815,), (1402259415,)) 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 (1402258700) 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 29921052 , 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=29921045 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 (29921052) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29921045) result : ((1402258559,), (1402258578,), (1402258580,), (1402258614,), (1402258615,), (1402258633,), (1402258634,), (1402258652,), (1402258653,), (1402258666,), (1402258667,), (1402258669,), (1402258671,), (1402258698,), (1402258700,), (1402258701,), (1402258714,), (1402258715,), (1402258717,), (1402258736,), (1402258738,), (1402258755,), (1402258756,), (1402258758,), (1402258759,), (1402258760,), (1402258783,), (1402258785,), (1402258786,), (1402258788,), (1402258791,), (1402258815,), (1402259415,)) 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 (1402258700) 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 29921053 , 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=29921045 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 (29921053) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29921045) result : ((1402258559,), (1402258578,), (1402258580,), (1402258614,), (1402258615,), (1402258633,), (1402258634,), (1402258652,), (1402258653,), (1402258666,), (1402258667,), (1402258669,), (1402258671,), (1402258698,), (1402258700,), (1402258701,), (1402258714,), (1402258715,), (1402258717,), (1402258736,), (1402258738,), (1402258755,), (1402258756,), (1402258758,), (1402258759,), (1402258760,), (1402258783,), (1402258785,), (1402258786,), (1402258788,), (1402258791,), (1402258815,), (1402259415,)) 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 (1402258700) 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 29921054 , 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=29921045 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 (29921054) result : ((1402258768,), (1402258809,), (1402258810,), (1402259293,), (1402259540,), (1402259542,), (1402261706,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29921045) result : ((1402258559,), (1402258578,), (1402258580,), (1402258614,), (1402258615,), (1402258633,), (1402258634,), (1402258652,), (1402258653,), (1402258666,), (1402258667,), (1402258669,), (1402258671,), (1402258698,), (1402258700,), (1402258701,), (1402258714,), (1402258715,), (1402258717,), (1402258736,), (1402258738,), (1402258755,), (1402258756,), (1402258758,), (1402258759,), (1402258760,), (1402258783,), (1402258785,), (1402258786,), (1402258788,), (1402258791,), (1402258815,), (1402259415,)) 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 (1402258700) 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 29921055 , 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=29921045 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 (29921055) result : ((1402258681,), (1402258682,), (1402258683,), (1402258726,), (1402258727,), (1402258729,), (1402258767,), (1402258808,), (1402259283,), (1402259285,), (1402262000,), (1402262001,), (1402262042,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29921045) result : ((1402258559,), (1402258578,), (1402258580,), (1402258614,), (1402258615,), (1402258633,), (1402258634,), (1402258652,), (1402258653,), (1402258666,), (1402258667,), (1402258669,), (1402258671,), (1402258698,), (1402258700,), (1402258701,), (1402258714,), (1402258715,), (1402258717,), (1402258736,), (1402258738,), (1402258755,), (1402258756,), (1402258758,), (1402258759,), (1402258760,), (1402258783,), (1402258785,), (1402258786,), (1402258788,), (1402258791,), (1402258815,), (1402259415,)) 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 (1402258700) 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 29921056 , 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=29921045 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 (29921056) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29921045) result : ((1402258559,), (1402258578,), (1402258580,), (1402258614,), (1402258615,), (1402258633,), (1402258634,), (1402258652,), (1402258653,), (1402258666,), (1402258667,), (1402258669,), (1402258671,), (1402258698,), (1402258700,), (1402258701,), (1402258714,), (1402258715,), (1402258717,), (1402258736,), (1402258738,), (1402258755,), (1402258756,), (1402258758,), (1402258759,), (1402258760,), (1402258783,), (1402258785,), (1402258786,), (1402258788,), (1402258791,), (1402258815,), (1402259415,)) 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 (1402258700) 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 29921057 , 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=29921045 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 (29921057) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29921045) result : ((1402258559,), (1402258578,), (1402258580,), (1402258614,), (1402258615,), (1402258633,), (1402258634,), (1402258652,), (1402258653,), (1402258666,), (1402258667,), (1402258669,), (1402258671,), (1402258698,), (1402258700,), (1402258701,), (1402258714,), (1402258715,), (1402258717,), (1402258736,), (1402258738,), (1402258755,), (1402258756,), (1402258758,), (1402258759,), (1402258760,), (1402258783,), (1402258785,), (1402258786,), (1402258788,), (1402258791,), (1402258815,), (1402259415,)) 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 (1402258700) 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 29921058 , 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=29921045 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 (29921058) result : ((1402258771,), (1402258772,), (1402258773,), (1402258811,), (1402258812,), (1402258813,), (1402259311,), (1402259313,), (1402259315,), (1402259317,), (1402259320,), (1402259566,), (1402259568,), (1402259570,), (1402260420,), (1402260422,), (1402261708,), (1402261930,), (1402261931,), (1402262003,), (1402262004,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29921045) result : ((1402258559,), (1402258578,), (1402258580,), (1402258614,), (1402258615,), (1402258633,), (1402258634,), (1402258652,), (1402258653,), (1402258666,), (1402258667,), (1402258669,), (1402258671,), (1402258698,), (1402258700,), (1402258701,), (1402258714,), (1402258715,), (1402258717,), (1402258736,), (1402258738,), (1402258755,), (1402258756,), (1402258758,), (1402258759,), (1402258760,), (1402258783,), (1402258785,), (1402258786,), (1402258788,), (1402258791,), (1402258815,), (1402259415,)) 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 (1402258700) 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 29921059 , 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=29921045 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 (29921059) result : ((1402258765,), (1402258766,), (1402258804,), (1402258805,), (1402258806,), (1402258807,), (1402259270,), (1402259273,), (1402259528,), (1402260397,), (1402260399,), (1402261998,), (1402261999,), (1402262040,), (1402262041,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29921045) result : ((1402258559,), (1402258578,), (1402258580,), (1402258614,), (1402258615,), (1402258633,), (1402258634,), (1402258652,), (1402258653,), (1402258666,), (1402258667,), (1402258669,), (1402258671,), (1402258698,), (1402258700,), (1402258701,), (1402258714,), (1402258715,), (1402258717,), (1402258736,), (1402258738,), (1402258755,), (1402258756,), (1402258758,), (1402258759,), (1402258760,), (1402258783,), (1402258785,), (1402258786,), (1402258788,), (1402258791,), (1402258815,), (1402259415,)) 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 (1402258700) 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 29921061 , 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=29921045 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 (29921061) result : ((1402258730,), (1402259552,), (1402259554,), (1402260408,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29921045) result : ((1402258559,), (1402258578,), (1402258580,), (1402258614,), (1402258615,), (1402258633,), (1402258634,), (1402258652,), (1402258653,), (1402258666,), (1402258667,), (1402258669,), (1402258671,), (1402258698,), (1402258700,), (1402258701,), (1402258714,), (1402258715,), (1402258717,), (1402258736,), (1402258738,), (1402258755,), (1402258756,), (1402258758,), (1402258759,), (1402258760,), (1402258783,), (1402258785,), (1402258786,), (1402258788,), (1402258791,), (1402258815,), (1402259415,)) 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 (1402258700) 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`=29921045 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','kraft','environnement','plastique','flou','Carton_brun','papier','Carton_gris','metal','mal_croppe','Teint_Dans_La_Masse','autre_refus')) 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`=29921045 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','kraft','environnement','plastique','flou','Carton_brun','papier','Carton_gris','metal','mal_croppe','Teint_Dans_La_Masse','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 29921045, 'sub_port_id': 29921062, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472931, 'last_updated_at': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 14)}, 'autre_refus': {'main_port_id': 29921045, 'sub_port_id': 29921063, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472932, 'last_updated_at': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 14)}, 'flou': {'main_port_id': 29921045, 'sub_port_id': 29921064, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472933, 'last_updated_at': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 14)}, 'environnement': {'main_port_id': 29921045, 'sub_port_id': 29921065, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472934, 'last_updated_at': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 14)}, 'kraft': {'main_port_id': 29921045, 'sub_port_id': 29921066, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472935, 'last_updated_at': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 14)}, 'cartonnette': {'main_port_id': 29921045, 'sub_port_id': 29921067, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472936, 'last_updated_at': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 14)}, 'Carton_gris': {'main_port_id': 29921045, 'sub_port_id': 29921068, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472937, 'last_updated_at': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 14)}, 'mal_croppe': {'main_port_id': 29921045, 'sub_port_id': 29921069, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472938, 'last_updated_at': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 14)}, 'papier': {'main_port_id': 29921045, 'sub_port_id': 29921070, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472939, 'last_updated_at': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 14)}, 'plastique': {'main_port_id': 29921045, 'sub_port_id': 29921071, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472940, 'last_updated_at': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 14)}, 'Teint_Dans_La_Masse': {'main_port_id': 29921045, 'sub_port_id': 29921072, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472941, 'last_updated_at': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 3, 51, 14), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 14)}, 'Carton_brun': {'main_port_id': 29921045, 'sub_port_id': 29921073, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20472942, 'last_updated_at': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 3, 4, 2, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 3, 3, 51, 14)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29921062,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29921049 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29921063,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29921050 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29921064,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29921051 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29921065,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29921052 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29921066,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29921053 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29921067,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29921054 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29921068,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29921055 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29921069,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29921056 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29921070,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29921057 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29921071,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29921058 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29921072,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29921059 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29921073,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29921061 lien utilise dans velours : https://marlene.fotonower.com/velours/29921062,29921063,29921064,29921065,29921066,29921067,29921068,29921069,29921070,29921071,29921072,29921073?tags=metal,autre_refus,flou,environnement,kraft,cartonnette,Carton_gris,mal_croppe,papier,plastique,Teint_Dans_La_Masse,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29921045]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1402259415, 1402258815, 1402258791, 1402258788, 1402258786, 1402258785, 1402258783, 1402258760, 1402258759, 1402258758, 1402258756, 1402258755, 1402258738, 1402258736, 1402258717, 1402258715, 1402258714, 1402258701, 1402258700, 1402258698, 1402258671, 1402258669, 1402258667, 1402258666, 1402258653, 1402258652, 1402258634, 1402258633, 1402258615, 1402258614, 1402258580, 1402258578, 1402258559] map_info['map_portfolio_photo'] : {29921045: [1402259415, 1402258815, 1402258791, 1402258788, 1402258786, 1402258785, 1402258783, 1402258760, 1402258759, 1402258758, 1402258756, 1402258755, 1402258738, 1402258736, 1402258717, 1402258715, 1402258714, 1402258701, 1402258700, 1402258698, 1402258671, 1402258669, 1402258667, 1402258666, 1402258653, 1402258652, 1402258634, 1402258633, 1402258615, 1402258614, 1402258580, 1402258578, 1402258559]} final : False mtd_id 4302 list_pids : [1402259415, 1402258815, 1402258791, 1402258788, 1402258786, 1402258785, 1402258783, 1402258760, 1402258759, 1402258758, 1402258756, 1402258755, 1402258738, 1402258736, 1402258717, 1402258715, 1402258714, 1402258701, 1402258700, 1402258698, 1402258671, 1402258669, 1402258667, 1402258666, 1402258653, 1402258652, 1402258634, 1402258633, 1402258615, 1402258614, 1402258580, 1402258578, 1402258559] Looping around the photos to save general results len do output : 1 /29921045. 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, '4307435') ('4302', '29921045', '1402259415', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258815', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258791', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258788', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258786', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258785', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258783', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258760', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258759', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258758', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258756', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258755', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258738', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258736', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258717', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258715', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258714', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258701', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258700', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258698', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258671', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258669', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258667', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258666', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258653', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258652', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258634', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258633', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258615', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258614', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258580', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258578', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258559', None, None, None, None, None, '4307435') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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, '29921045', "{'metal': 29921049, 'autre_refus': 29921050, 'flou': 29921051, 'environnement': 29921052, 'kraft': 29921053, 'cartonnette': 29921054, 'Carton_gris': 29921055, 'mal_croppe': 29921056, 'papier': 29921057, 'plastique': 29921058, 'Teint_Dans_La_Masse': 29921059, 'Carton_brun': 29921061}", None, None, None, None, '4307435'), ('4302', '29921045', '1402259415', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258815', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258791', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258788', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258786', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258785', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258783', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258760', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258759', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258758', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258756', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258755', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258738', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258736', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258717', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258715', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258714', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258701', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258700', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258698', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258671', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258669', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258667', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258666', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258653', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258652', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258634', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258633', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258615', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258614', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258580', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258578', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258559', None, None, None, None, None, '4307435')] time used for this insertion : 0.01970839500427246 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.929344415664673 time spend to save output : 0.02013850212097168 total time spend for step 1 : 6.9494829177856445 step2:final Sat Jan 3 06:00:36 2026 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 (29921045) 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 29921045 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1402258580,1402258559,1402258578,1402258615,1402258614,1402258634,1402258633,1402258653,1402258652,1402258671,1402258669,1402258667,1402258666,1402258701,1402258700,1402258698,1402258717,1402258715,1402258714,1402258738,1402258736,1402258760,1402258759,1402258758,1402258756,1402258755,1402258791,1402258788,1402258786,1402258785,1402258783,1402258815,1402259415); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29921045]) Inside saveOutput : final : False verbose : True original output for save of step final : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} new output for save of step final : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} [1402259415, 1402258815, 1402258791, 1402258788, 1402258786, 1402258785, 1402258783, 1402258760, 1402258759, 1402258758, 1402258756, 1402258755, 1402258738, 1402258736, 1402258717, 1402258715, 1402258714, 1402258701, 1402258700, 1402258698, 1402258671, 1402258669, 1402258667, 1402258666, 1402258653, 1402258652, 1402258634, 1402258633, 1402258615, 1402258614, 1402258580, 1402258578, 1402258559] map_info['map_portfolio_photo'] : {29921045: [1402259415, 1402258815, 1402258791, 1402258788, 1402258786, 1402258785, 1402258783, 1402258760, 1402258759, 1402258758, 1402258756, 1402258755, 1402258738, 1402258736, 1402258717, 1402258715, 1402258714, 1402258701, 1402258700, 1402258698, 1402258671, 1402258669, 1402258667, 1402258666, 1402258653, 1402258652, 1402258634, 1402258633, 1402258615, 1402258614, 1402258580, 1402258578, 1402258559]} final : False mtd_id 4302 list_pids : [1402259415, 1402258815, 1402258791, 1402258788, 1402258786, 1402258785, 1402258783, 1402258760, 1402258759, 1402258758, 1402258756, 1402258755, 1402258738, 1402258736, 1402258717, 1402258715, 1402258714, 1402258701, 1402258700, 1402258698, 1402258671, 1402258669, 1402258667, 1402258666, 1402258653, 1402258652, 1402258634, 1402258633, 1402258615, 1402258614, 1402258580, 1402258578, 1402258559] Looping around the photos to save general results len do output : 33 /1402259415.Didn't retrieve data . /1402258815.Didn't retrieve data . /1402258791.Didn't retrieve data . /1402258788.Didn't retrieve data . /1402258786.Didn't retrieve data . /1402258785.Didn't retrieve data . /1402258783.Didn't retrieve data . /1402258760.Didn't retrieve data . /1402258759.Didn't retrieve data . /1402258758.Didn't retrieve data . /1402258756.Didn't retrieve data . /1402258755.Didn't retrieve data . /1402258738.Didn't retrieve data . /1402258736.Didn't retrieve data . /1402258717.Didn't retrieve data . /1402258715.Didn't retrieve data . /1402258714.Didn't retrieve data . /1402258701.Didn't retrieve data . /1402258700.Didn't retrieve data . /1402258698.Didn't retrieve data . /1402258671.Didn't retrieve data . /1402258669.Didn't retrieve data . /1402258667.Didn't retrieve data . /1402258666.Didn't retrieve data . /1402258653.Didn't retrieve data . /1402258652.Didn't retrieve data . /1402258634.Didn't retrieve data . /1402258633.Didn't retrieve data . /1402258615.Didn't retrieve data . /1402258614.Didn't retrieve data . /1402258580.Didn't retrieve data . /1402258578.Didn't retrieve data . /1402258559.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, '4307435') ('4302', '29921045', '1402259415', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258815', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258791', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258788', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258786', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258785', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258783', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258760', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258759', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258758', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258756', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258755', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258738', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258736', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258717', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258715', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258714', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258701', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258700', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258698', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258671', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258669', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258667', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258666', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258653', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258652', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258634', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258633', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258615', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258614', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258580', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258578', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258559', None, None, None, None, None, '4307435') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 99 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', '29921045', '1402259415', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258815', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258791', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258788', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258786', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258785', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258783', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258760', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258759', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258758', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258756', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258755', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258738', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258736', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258717', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258715', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258714', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258701', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258700', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258698', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258671', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258669', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258667', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258666', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258653', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258652', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258634', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258633', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258615', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258614', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258580', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258578', '0.04846225980273781', None, None, None, None, '4307435'), ('4302', '29921045', '1402258559', '0.04846225980273781', None, None, None, None, '4307435')] time used for this insertion : 0.021643638610839844 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07891464233398438 time spend to save output : 0.022953510284423828 total time spend for step 2 : 0.1018681526184082 step3:velours_tree Sat Jan 3 06:00:36 2026 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 : {29921045: [{'metal': 29921049, 'autre_refus': 29921050, 'flou': 29921051, 'environnement': 29921052, 'kraft': 29921053, 'cartonnette': 29921054, 'Carton_gris': 29921055, 'mal_croppe': 29921056, 'papier': 29921057, 'plastique': 29921058, 'Teint_Dans_La_Masse': 29921059, 'Carton_brun': 29921061}]} input_args_next_step : {29921045: ()} output_args : {29921045: [{'metal': 29921049, 'autre_refus': 29921050, 'flou': 29921051, 'environnement': 29921052, 'kraft': 29921053, 'cartonnette': 29921054, 'Carton_gris': 29921055, 'mal_croppe': 29921056, 'papier': 29921057, 'plastique': 29921058, 'Teint_Dans_La_Masse': 29921059, 'Carton_brun': 29921061}]} args : 29921045 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'metal': 29921049, 'autre_refus': 29921050, 'flou': 29921051, 'environnement': 29921052, 'kraft': 29921053, 'cartonnette': 29921054, 'Carton_gris': 29921055, 'mal_croppe': 29921056, 'papier': 29921057, 'plastique': 29921058, 'Teint_Dans_La_Masse': 29921059, 'Carton_brun': 29921061},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29921045) 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([29921045]) 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.2685976028442383 time spend to save output : 7.510185241699219e-05 total time spend for step 3 : 0.2686727046966553 step4:send_mail_cod Sat Jan 3 06:00:36 2026 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 : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} input_args_next_step : {1402259415: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402259415 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258815 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258791 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258788 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258786 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258785 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258783 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258760 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258759 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258758 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258756 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258755 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258738 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258736 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258717 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258715 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258714 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258701 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258700 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258698 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258671 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258669 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258667 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258666 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258653 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258652 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258634 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258633 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258615 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258614 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258580 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258578 depend.output_id : 0 input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ()} output_args : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',)} args : 1402258559 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 : {29921045: [{'metal': 29921049, 'autre_refus': 29921050, 'flou': 29921051, 'environnement': 29921052, 'kraft': 29921053, 'cartonnette': 29921054, 'Carton_gris': 29921055, 'mal_croppe': 29921056, 'papier': 29921057, 'plastique': 29921058, 'Teint_Dans_La_Masse': 29921059, 'Carton_brun': 29921061}]} input_args_next_step : {1402259415: ('0.04846225980273781',), 1402258815: ('0.04846225980273781',), 1402258791: ('0.04846225980273781',), 1402258788: ('0.04846225980273781',), 1402258786: ('0.04846225980273781',), 1402258785: ('0.04846225980273781',), 1402258783: ('0.04846225980273781',), 1402258760: ('0.04846225980273781',), 1402258759: ('0.04846225980273781',), 1402258758: ('0.04846225980273781',), 1402258756: ('0.04846225980273781',), 1402258755: ('0.04846225980273781',), 1402258738: ('0.04846225980273781',), 1402258736: ('0.04846225980273781',), 1402258717: ('0.04846225980273781',), 1402258715: ('0.04846225980273781',), 1402258714: ('0.04846225980273781',), 1402258701: ('0.04846225980273781',), 1402258700: ('0.04846225980273781',), 1402258698: ('0.04846225980273781',), 1402258671: ('0.04846225980273781',), 1402258669: ('0.04846225980273781',), 1402258667: ('0.04846225980273781',), 1402258666: ('0.04846225980273781',), 1402258653: ('0.04846225980273781',), 1402258652: ('0.04846225980273781',), 1402258634: ('0.04846225980273781',), 1402258633: ('0.04846225980273781',), 1402258615: ('0.04846225980273781',), 1402258614: ('0.04846225980273781',), 1402258580: ('0.04846225980273781',), 1402258578: ('0.04846225980273781',), 1402258559: ('0.04846225980273781',), 29921045: ()} output_args : {29921045: [{'metal': 29921049, 'autre_refus': 29921050, 'flou': 29921051, 'environnement': 29921052, 'kraft': 29921053, 'cartonnette': 29921054, 'Carton_gris': 29921055, 'mal_croppe': 29921056, 'papier': 29921057, 'plastique': 29921058, 'Teint_Dans_La_Masse': 29921059, 'Carton_brun': 29921061}]} args : 29921045 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 :34, first value : ('0.04846225980273781',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29921045) 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_view ph WHERE photo_id IN (1402259415,1402258815,1402258791,1402258788,1402258786,1402258785,1402258783,1402258760,1402258759,1402258758,1402258756,1402258755,1402258738,1402258736,1402258717,1402258715,1402258714,1402258701,1402258700,1402258698,1402258671,1402258669,1402258667,1402258666,1402258653,1402258652,1402258634,1402258633,1402258615,1402258614,1402258580,1402258578,1402258559) Found this number of photos: 33 ##### Call download_photos : nb_thread : 5 begin to download photo : 1402258559 begin to download photo : 1402258652 begin to download photo : 1402258700 begin to download photo : 1402258755 begin to download photo : 1402258786 download finish for photo 1402258652 begin to download photo : 1402258653 download finish for photo 1402258559 begin to download photo : 1402258578 download finish for photo 1402258786 begin to download photo : 1402258788 download finish for photo 1402258700 begin to download photo : 1402258701 download finish for photo 1402258755 begin to download photo : 1402258756 download finish for photo 1402258653 begin to download photo : 1402258666 download finish for photo 1402258788 begin to download photo : 1402258791 download finish for photo 1402258701 begin to download photo : 1402258714 download finish for photo 1402258756 begin to download photo : 1402258758 download finish for photo 1402258578 begin to download photo : 1402258580 download finish for photo 1402258666 begin to download photo : 1402258667 download finish for photo 1402258791 begin to download photo : 1402258815 download finish for photo 1402258580 begin to download photo : 1402258614 download finish for photo 1402258714 begin to download photo : 1402258715 download finish for photo 1402258758 begin to download photo : 1402258759 download finish for photo 1402258815 begin to download photo : 1402259415 download finish for photo 1402258667 begin to download photo : 1402258669 download finish for photo 1402258715 begin to download photo : 1402258717 download finish for photo 1402258614 begin to download photo : 1402258615 download finish for photo 1402258759 begin to download photo : 1402258760 download finish for photo 1402259415 download finish for photo 1402258669 begin to download photo : 1402258671 download finish for photo 1402258760 begin to download photo : 1402258783 download finish for photo 1402258717 begin to download photo : 1402258736 download finish for photo 1402258615 begin to download photo : 1402258633 download finish for photo 1402258671 begin to download photo : 1402258698 download finish for photo 1402258783 begin to download photo : 1402258785 download finish for photo 1402258736 begin to download photo : 1402258738 download finish for photo 1402258633 begin to download photo : 1402258634 download finish for photo 1402258698 download finish for photo 1402258785 download finish for photo 1402258634 download finish for photo 1402258738 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette299210491767416438/ length of list_filenames : 33 ; length of list_pids : 33 ; length of list_args : 33 results_Auto_P29921045_03-01-2026_06_00_38.pdf 29921049 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29921049 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette299210491767416438 29921050 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29921050 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402258679: '1767408788_1481292_1402258580_e3a6ea094eea0eef6d35da4894690df3_rle_crop_4089295249_0.png', 1402258680: '1767408788_1481292_1402258559_ac002e1032a4ed654547ce21e2ead4b1_rle_crop_4089295279_0.png', 1402258724: '1767408906_1486889_1402258634_ddc518a9e6390f5b505894def0d0c38b_rle_crop_4089295469_0.png', 1402261705: '1767409886_1576415_1402258714_d0eea685a34861af5688f4831b9c26fc_rle_crop_4089313698_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/997e96775205ad139a8c592b516084de_56476176.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/997e96775205ad139a8c592b516084de_72470166.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/5c81e7044e8f533de2b9b4f0e5f0b676_4028145.png change filename to text .imagette299210501767416438/ imagette299210501767416438/1767408906_1486889_1402258634_ddc518a9e6390f5b505894def0d0c38b_rle_crop_4089295469_0.png.png imagette299210501767416438/1767408788_1481292_1402258559_ac002e1032a4ed654547ce21e2ead4b1_rle_crop_4089295279_0.png.png imagette299210501767416438/1767409886_1576415_1402258714_d0eea685a34861af5688f4831b9c26fc_rle_crop_4089313698_0.png.png imagette299210501767416438/1767408788_1481292_1402258580_e3a6ea094eea0eef6d35da4894690df3_rle_crop_4089295249_0.png.png imagette299210511767416438/ imagette299210531767416438/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/ffeedf3fd05b1b9af690dcc62abb3845_3774205.png imagette299210501767416438 29921051 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29921051 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette299210511767416438 29921053 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29921053 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette299210531767416438 29921054 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29921054 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402258768: '1767409025_1491478_1402258698_996fadb3894bb7e19f58458ae1a14493_rle_crop_4089295573_0.png', 1402258809: '1767409147_1495313_1402258717_d2b0d05c8443e6b9d6af313c254b2ec2_rle_crop_4089306270_0.png', 1402258810: '1767409147_1495313_1402258698_996fadb3894bb7e19f58458ae1a14493_rle_crop_4089295573_0.png', 1402259293: '1767409227_1543703_1402258791_3b137dd241d72b22b7a4ff43d317576d_rle_crop_4089306496_0.png', 1402259540: '1767409267_1545837_1402258788_c8802e90a9eaa35baea0cf58e0562348_rle_crop_4089308929_0.png', 1402259542: '1767409267_1545837_1402258785_21f09a10d70c9332d982c5f5941b03b0_rle_crop_4089309935_0.png', 1402261706: '1767409886_1576415_1402258714_d0eea685a34861af5688f4831b9c26fc_rle_crop_4089313695_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/fa7851a2d7a954babcaea76d2b4789e8_97032089.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/ab5a8cdff0bbb4030f1a5e208872b23f_45657415.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/fa7851a2d7a954babcaea76d2b4789e8_52373433.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/7abb2cdf703b72218ac63d2754ccc6e9_20256189.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/104dc0cb3ccbd9f983f864c85f4d7bd3_1360709.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/6a9b0869591ae2076fa2c5b66bb33d8c_48805330.png change filename to text .imagette299210541767416438/ imagette299210541767416438/1767409147_1495313_1402258717_d2b0d05c8443e6b9d6af313c254b2ec2_rle_crop_4089306270_0.png.png imagette299210541767416438/1767409267_1545837_1402258788_c8802e90a9eaa35baea0cf58e0562348_rle_crop_4089308929_0.png.png imagette299210541767416438/1767409147_1495313_1402258698_996fadb3894bb7e19f58458ae1a14493_rle_crop_4089295573_0.png.png imagette299210541767416438/1767409267_1545837_1402258785_21f09a10d70c9332d982c5f5941b03b0_rle_crop_4089309935_0.png.png imagette299210541767416438/1767409025_1491478_1402258698_996fadb3894bb7e19f58458ae1a14493_rle_crop_4089295573_0.png.png imagette299210541767416438/1767409227_1543703_1402258791_3b137dd241d72b22b7a4ff43d317576d_rle_crop_4089306496_0.png.png imagette299210541767416438/1767409886_1576415_1402258714_d0eea685a34861af5688f4831b9c26fc_rle_crop_4089313695_0.png.png imagette299210561767416439/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/61716002f5ef221ef1036e32ceaa127e_44599762.png imagette299210541767416438 29921056 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29921056 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette299210561767416439 29921058 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29921058 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402259320: '1767409227_1543703_1402258755_2f8c05d8c1abb09fb9d26c7aeb067b74_rle_crop_4089306554_0.png', 1402262004: '1767410487_1608182_1402258633_462181cf934f9274dc7df13104728bf9_rle_crop_4089314902_0.png', 1402262003: '1767410487_1608182_1402258653_d9c7a77bea672177d3d9380c952978b3_rle_crop_4089314886_0.png', 1402261931: '1767410344_1602105_1402258666_d623c4df9993bb6070cc46677fbeb96f_rle_crop_4089314582_0.png', 1402261930: '1767410344_1602105_1402258701_95383c059891b690b06675fd64c96f1b_rle_crop_4089314570_0.png', 1402261708: '1767409886_1576415_1402258738_31eb1a7a71b9e3ea1bb5da4e66a63099_rle_crop_4089313677_0.png', 1402260422: '1767409385_1550980_1402258736_1969da08d3b3fc564b0ad9f2986a5099_rle_crop_4089312406_0.png', 1402260420: '1767409385_1550980_1402258760_8733860ab7fb8d3e77ca68fbd1882c17_rle_crop_4089312390_0.png', 1402259570: '1767409267_1545837_1402258783_fe9135394f98d97c559763a3f9f64675_rle_crop_4089309952_0.png', 1402259568: '1767409267_1545837_1402258788_c8802e90a9eaa35baea0cf58e0562348_rle_crop_4089308932_0.png', 1402259566: '1767409267_1545837_1402258788_c8802e90a9eaa35baea0cf58e0562348_rle_crop_4089308931_0.png', 1402258771: '1767409025_1491478_1402258700_5c81545419ef00731dbcf22b2e487c5d_rle_crop_4089295556_0.png', 1402259317: '1767409227_1543703_1402258756_109414d13ffdd8206230d694c0fe1390_rle_crop_4089306539_0.png', 1402259315: '1767409227_1543703_1402258756_109414d13ffdd8206230d694c0fe1390_rle_crop_4089306545_0.png', 1402259313: '1767409227_1543703_1402258758_e2fba38e4cc54e3783bb73d62ea496e7_rle_crop_4089306525_0.png', 1402259311: '1767409227_1543703_1402258791_3b137dd241d72b22b7a4ff43d317576d_rle_crop_4089306497_0.png', 1402258813: '1767409147_1495313_1402258698_996fadb3894bb7e19f58458ae1a14493_rle_crop_4089295581_0.png', 1402258812: '1767409147_1495313_1402258700_5c81545419ef00731dbcf22b2e487c5d_rle_crop_4089295560_0.png', 1402258811: '1767409147_1495313_1402258700_5c81545419ef00731dbcf22b2e487c5d_rle_crop_4089295556_0.png', 1402258773: '1767409025_1491478_1402258698_996fadb3894bb7e19f58458ae1a14493_rle_crop_4089295581_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/4a0666d515f0622fd7e36cc97017bf84_92664429.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/e304c48e3afcb5722befbfa4573554a9_39783902.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/c746970163b4591d047d5e6b2088b493_44487468.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/28864fd74be4403d77b3feb2f315bb87_17959071.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/3f1ebc577909db308c64e7faa2053326_57608290.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/6db6322c7e13f6f18b6898478f66d3ee_50188153.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/3136804234a5cf64209097572deecc8e_70356179.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/a0409f0780b13cc2241ce7b4352c8bf5_59144366.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/99f1407ec4ccb3621b0ae5c73158cfab_987943.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/6ad3d06f406a510181ffff5956effbe4_46268104.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/76c27b3d427278fd18f475eeed58e477_52565626.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/ae78ffaddc9a085456719936809fea43_23561340.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/cf0a5116acf86b1d08111570bc902237_95262198.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/4262b713dbb9434baf325e1d3bfe4cc7_50108036.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/6d0f5ac6bb7aa98fad13820518526ca2_30165619.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/4ce08411ac041aef775ba358524251e3_49136701.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/6031b003fdf51bfc2bb65dfb66880a6f_46421865.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/dce4ffc57fa4b0cbc175cbc6d7198334_39948349.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/ae78ffaddc9a085456719936809fea43_7005102.png change filename to text .imagette299210581767416439/ imagette299210581767416439/1767410487_1608182_1402258653_d9c7a77bea672177d3d9380c952978b3_rle_crop_4089314886_0.png.png imagette299210581767416439/1767409385_1550980_1402258760_8733860ab7fb8d3e77ca68fbd1882c17_rle_crop_4089312390_0.png.png imagette299210581767416439/1767409267_1545837_1402258788_c8802e90a9eaa35baea0cf58e0562348_rle_crop_4089308931_0.png.png imagette299210581767416439/1767409227_1543703_1402258756_109414d13ffdd8206230d694c0fe1390_rle_crop_4089306539_0.png.png imagette299210581767416439/1767409147_1495313_1402258698_996fadb3894bb7e19f58458ae1a14493_rle_crop_4089295581_0.png.png imagette299210581767416439/1767409886_1576415_1402258738_31eb1a7a71b9e3ea1bb5da4e66a63099_rle_crop_4089313677_0.png.png imagette299210581767416439/1767410344_1602105_1402258701_95383c059891b690b06675fd64c96f1b_rle_crop_4089314570_0.png.png imagette299210581767416439/1767409385_1550980_1402258736_1969da08d3b3fc564b0ad9f2986a5099_rle_crop_4089312406_0.png.png imagette299210581767416439/1767409227_1543703_1402258755_2f8c05d8c1abb09fb9d26c7aeb067b74_rle_crop_4089306554_0.png.png imagette299210581767416439/1767409147_1495313_1402258700_5c81545419ef00731dbcf22b2e487c5d_rle_crop_4089295560_0.png.png imagette299210581767416439/1767409025_1491478_1402258700_5c81545419ef00731dbcf22b2e487c5d_rle_crop_4089295556_0.png.png imagette299210581767416439/1767410344_1602105_1402258666_d623c4df9993bb6070cc46677fbeb96f_rle_crop_4089314582_0.png.png imagette299210581767416439/1767409267_1545837_1402258788_c8802e90a9eaa35baea0cf58e0562348_rle_crop_4089308932_0.png.png imagette299210581767416439/1767409267_1545837_1402258783_fe9135394f98d97c559763a3f9f64675_rle_crop_4089309952_0.png.png imagette299210581767416439/1767409147_1495313_1402258700_5c81545419ef00731dbcf22b2e487c5d_rle_crop_4089295556_0.png.png imagette299210581767416439/1767409025_1491478_1402258698_996fadb3894bb7e19f58458ae1a14493_rle_crop_4089295581_0.png.png imagette299210581767416439/1767409227_1543703_1402258791_3b137dd241d72b22b7a4ff43d317576d_rle_crop_4089306497_0.png.png imagette299210581767416439/1767409227_1543703_1402258756_109414d13ffdd8206230d694c0fe1390_rle_crop_4089306545_0.png.png imagette299210581767416439/1767410487_1608182_1402258633_462181cf934f9274dc7df13104728bf9_rle_crop_4089314902_0.png.png imagette299210581767416439/1767409227_1543703_1402258758_e2fba38e4cc54e3783bb73d62ea496e7_rle_crop_4089306525_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/6031b003fdf51bfc2bb65dfb66880a6f_71536583.png imagette299210581767416439 29921055 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29921055 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402258681: '1767408788_1481292_1402258580_e3a6ea094eea0eef6d35da4894690df3_rle_crop_4089295250_0.png', 1402258682: '1767408788_1481292_1402258578_eb54232e7373278c188d607095ab8ff6_rle_crop_4089295265_0.png', 1402258683: '1767408788_1481292_1402258559_ac002e1032a4ed654547ce21e2ead4b1_rle_crop_4089295280_0.png', 1402258726: '1767408906_1486889_1402258634_ddc518a9e6390f5b505894def0d0c38b_rle_crop_4089295473_0.png', 1402258727: '1767408906_1486889_1402258634_ddc518a9e6390f5b505894def0d0c38b_rle_crop_4089295470_0.png', 1402258729: '1767408906_1486889_1402258614_bfadaaced6e930b5112ed9cc236e5716_rle_crop_4089295482_0.png', 1402258767: '1767409025_1491478_1402258700_5c81545419ef00731dbcf22b2e487c5d_rle_crop_4089295557_0.png', 1402258808: '1767409147_1495313_1402258700_5c81545419ef00731dbcf22b2e487c5d_rle_crop_4089295557_0.png', 1402259283: '1767409227_1543703_1402258756_109414d13ffdd8206230d694c0fe1390_rle_crop_4089306538_0.png', 1402259285: '1767409227_1543703_1402258755_2f8c05d8c1abb09fb9d26c7aeb067b74_rle_crop_4089306556_0.png', 1402262000: '1767410487_1608182_1402258633_462181cf934f9274dc7df13104728bf9_rle_crop_4089314895_0.png', 1402262001: '1767410487_1608182_1402258633_462181cf934f9274dc7df13104728bf9_rle_crop_4089314891_0.png', 1402262042: '1767410586_1613966_1402258652_c11540f58fadde3b16cad86e280bc401_rle_crop_4089314951_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/45e5999065c69d779af10903bda539e1_6508324.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/55f9177ebee4282a924c8fd8be48806b_61998361.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/45e5999065c69d779af10903bda539e1_41744500.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/475dac79f7ee82139b859d9c9e3e7de3_39969442.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/95c56d7a0db09aa385273a3fb96ee142_27047631.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/0cad5e14006638fde2765c249710bc77_89857032.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/529a02d1b912c60e4acaa7f451fcfc0d_40221076.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/529a02d1b912c60e4acaa7f451fcfc0d_2064252.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/31aaedaf2a7dc67484a9e128337ec49c_27280625.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/57756fdc5d82923a532714410fbd5010_53405744.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/d15525f7708400ca2d36081f9c31bd64_74046950.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/85c5ee2e4ba33f5f434a8b1d196d1bce_84708261.png change filename to text .imagette299210551767416440/ imagette299210551767416440/1767409025_1491478_1402258700_5c81545419ef00731dbcf22b2e487c5d_rle_crop_4089295557_0.png.png imagette299210551767416440/1767408906_1486889_1402258634_ddc518a9e6390f5b505894def0d0c38b_rle_crop_4089295470_0.png.png imagette299210551767416440/1767408788_1481292_1402258559_ac002e1032a4ed654547ce21e2ead4b1_rle_crop_4089295280_0.png.png imagette299210551767416440/1767410487_1608182_1402258633_462181cf934f9274dc7df13104728bf9_rle_crop_4089314891_0.png.png imagette299210551767416440/1767408906_1486889_1402258614_bfadaaced6e930b5112ed9cc236e5716_rle_crop_4089295482_0.png.png imagette299210551767416440/1767409227_1543703_1402258756_109414d13ffdd8206230d694c0fe1390_rle_crop_4089306538_0.png.png imagette299210551767416440/1767409227_1543703_1402258755_2f8c05d8c1abb09fb9d26c7aeb067b74_rle_crop_4089306556_0.png.png imagette299210551767416440/1767410586_1613966_1402258652_c11540f58fadde3b16cad86e280bc401_rle_crop_4089314951_0.png.png imagette299210551767416440/1767408906_1486889_1402258634_ddc518a9e6390f5b505894def0d0c38b_rle_crop_4089295473_0.png.png imagette299210551767416440/1767408788_1481292_1402258578_eb54232e7373278c188d607095ab8ff6_rle_crop_4089295265_0.png.png imagette299210551767416440/1767409147_1495313_1402258700_5c81545419ef00731dbcf22b2e487c5d_rle_crop_4089295557_0.png.png imagette299210551767416440/1767410487_1608182_1402258633_462181cf934f9274dc7df13104728bf9_rle_crop_4089314895_0.png.png imagette299210551767416440/1767408788_1481292_1402258580_e3a6ea094eea0eef6d35da4894690df3_rle_crop_4089295250_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/55be2e5f22c260964539299175639c0b_76799953.png imagette299210551767416440 29921059 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29921059 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402258765: '1767409025_1491478_1402258700_5c81545419ef00731dbcf22b2e487c5d_rle_crop_4089295563_0.png', 1402258766: '1767409025_1491478_1402258698_996fadb3894bb7e19f58458ae1a14493_rle_crop_4089295578_0.png', 1402258804: '1767409147_1495313_1402258717_d2b0d05c8443e6b9d6af313c254b2ec2_rle_crop_4089306273_0.png', 1402258805: '1767409147_1495313_1402258717_d2b0d05c8443e6b9d6af313c254b2ec2_rle_crop_4089306275_0.png', 1402258806: '1767409147_1495313_1402258700_5c81545419ef00731dbcf22b2e487c5d_rle_crop_4089295563_0.png', 1402258807: '1767409147_1495313_1402258698_996fadb3894bb7e19f58458ae1a14493_rle_crop_4089295578_0.png', 1402259270: '1767409227_1543703_1402258759_408d3853ea7c36d8252b5486621af2cf_rle_crop_4089306512_0.png', 1402259273: '1767409227_1543703_1402258758_e2fba38e4cc54e3783bb73d62ea496e7_rle_crop_4089306528_0.png', 1402259528: '1767409267_1545837_1402258783_fe9135394f98d97c559763a3f9f64675_rle_crop_4089309949_0.png', 1402260397: '1767409385_1550980_1402258736_1969da08d3b3fc564b0ad9f2986a5099_rle_crop_4089312399_0.png', 1402260399: '1767409385_1550980_1402258736_1969da08d3b3fc564b0ad9f2986a5099_rle_crop_4089312401_0.png', 1402261998: '1767410487_1608182_1402258653_d9c7a77bea672177d3d9380c952978b3_rle_crop_4089314882_0.png', 1402261999: '1767410487_1608182_1402258633_462181cf934f9274dc7df13104728bf9_rle_crop_4089314893_0.png', 1402262040: '1767410586_1613966_1402258652_c11540f58fadde3b16cad86e280bc401_rle_crop_4089314959_0.png', 1402262041: '1767410586_1613966_1402258652_c11540f58fadde3b16cad86e280bc401_rle_crop_4089314955_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/33fe8d0253baa586c061c0f2c0f86719_15289611.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/2151bfc644bf5c7e65e940070d4bf2cd_82375092.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/18c24a5b68e40cb82763f103a7f76a97_72439562.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/7d86e913b8aae8f63dbfd903e0e400b2_86705011.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/33fe8d0253baa586c061c0f2c0f86719_63646090.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/2151bfc644bf5c7e65e940070d4bf2cd_28555231.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/8209180addcca4bf393061556f4e9c8c_41596813.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/f607bb3cff23646975fa04d8261f525e_74987882.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/cce0903921cea9c4e298440656cf768e_57813043.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/979e28025592c00c1c502d7756e257bc_13290389.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/0d4673cde6a776bef35638caf3b4c844_88040675.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/b8e9d39a3ecc2b85c4602508f497730f_44828222.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/0446cc7e499706d98f3b2a3e25eed682_88931567.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/d75eecc59df3066bf0001daa1810ecbb_33540.png change filename to text .imagette299210591767416441/ imagette299210591767416441/1767409147_1495313_1402258698_996fadb3894bb7e19f58458ae1a14493_rle_crop_4089295578_0.png.png imagette299210591767416441/1767410586_1613966_1402258652_c11540f58fadde3b16cad86e280bc401_rle_crop_4089314959_0.png.png imagette299210591767416441/1767409385_1550980_1402258736_1969da08d3b3fc564b0ad9f2986a5099_rle_crop_4089312401_0.png.png imagette299210591767416441/1767410487_1608182_1402258653_d9c7a77bea672177d3d9380c952978b3_rle_crop_4089314882_0.png.png imagette299210591767416441/1767410487_1608182_1402258633_462181cf934f9274dc7df13104728bf9_rle_crop_4089314893_0.png.png imagette299210591767416441/1767409267_1545837_1402258783_fe9135394f98d97c559763a3f9f64675_rle_crop_4089309949_0.png.png imagette299210591767416441/1767409025_1491478_1402258700_5c81545419ef00731dbcf22b2e487c5d_rle_crop_4089295563_0.png.png imagette299210591767416441/1767409147_1495313_1402258700_5c81545419ef00731dbcf22b2e487c5d_rle_crop_4089295563_0.png.png imagette299210591767416441/1767410586_1613966_1402258652_c11540f58fadde3b16cad86e280bc401_rle_crop_4089314955_0.png.png imagette299210591767416441/1767409147_1495313_1402258717_d2b0d05c8443e6b9d6af313c254b2ec2_rle_crop_4089306275_0.png.png imagette299210591767416441/1767409227_1543703_1402258758_e2fba38e4cc54e3783bb73d62ea496e7_rle_crop_4089306528_0.png.png imagette299210591767416441/1767409227_1543703_1402258759_408d3853ea7c36d8252b5486621af2cf_rle_crop_4089306512_0.png.png imagette299210591767416441/1767409025_1491478_1402258698_996fadb3894bb7e19f58458ae1a14493_rle_crop_4089295578_0.png.png imagette299210591767416441/1767409147_1495313_1402258717_d2b0d05c8443e6b9d6af313c254b2ec2_rle_crop_4089306273_0.png.png imagette299210591767416441/1767409385_1550980_1402258736_1969da08d3b3fc564b0ad9f2986a5099_rle_crop_4089312399_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/e7a20787424d7a3a44a14d4e9ffc18d9_3186934.png imagette299210591767416441 29921061 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29921061 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402258730: '1767408906_1486889_1402258614_bfadaaced6e930b5112ed9cc236e5716_rle_crop_4089295484_0.png', 1402259552: '1767409267_1545837_1402258788_c8802e90a9eaa35baea0cf58e0562348_rle_crop_4089308934_0.png', 1402259554: '1767409267_1545837_1402258788_c8802e90a9eaa35baea0cf58e0562348_rle_crop_4089308933_0.png', 1402260408: '1767409385_1550980_1402258760_8733860ab7fb8d3e77ca68fbd1882c17_rle_crop_4089312387_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/a78b4de4f5bc3c3d0f1e88213266e69d_94055369.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/a594f6dd779750c84fcb0e3d37bcc6f4_10479695.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/9fdf419cb1ed37a4755f40b79b9b6a9d_86709539.png change filename to text .imagette299210611767416443/ imagette299210611767416443/1767409267_1545837_1402258788_c8802e90a9eaa35baea0cf58e0562348_rle_crop_4089308934_0.png.png imagette299210611767416443/1767409267_1545837_1402258788_c8802e90a9eaa35baea0cf58e0562348_rle_crop_4089308933_0.png.png imagette299210611767416443/1767408906_1486889_1402258614_bfadaaced6e930b5112ed9cc236e5716_rle_crop_4089295484_0.png.png imagette299210611767416443/1767409385_1550980_1402258760_8733860ab7fb8d3e77ca68fbd1882c17_rle_crop_4089312387_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/d1b6caa0c6d8576748cb358767450276_70172704.png imagette299210611767416443 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29921045 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29921062,29921063,29921064,29921065,29921066,29921067,29921068,29921069,29921070,29921071,29921072,29921073?tags=metal,autre_refus,flou,environnement,kraft,cartonnette,Carton_gris,mal_croppe,papier,plastique,Teint_Dans_La_Masse,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1402259415] : ('0.04846225980273781',) no score found for photo 1402259415 We are sending mail with results at report@fotonower.com args[1402258815] : ('0.04846225980273781',) no score found for photo 1402258815 We are sending mail with results at report@fotonower.com args[1402258791] : ('0.04846225980273781',) no score found for photo 1402258791 We are sending mail with results at report@fotonower.com args[1402258788] : ('0.04846225980273781',) no score found for photo 1402258788 We are sending mail with results at report@fotonower.com args[1402258786] : ('0.04846225980273781',) no score found for photo 1402258786 We are sending mail with results at report@fotonower.com args[1402258785] : ('0.04846225980273781',) no score found for photo 1402258785 We are sending mail with results at report@fotonower.com args[1402258783] : ('0.04846225980273781',) no score found for photo 1402258783 We are sending mail with results at report@fotonower.com args[1402258760] : ('0.04846225980273781',) no score found for photo 1402258760 We are sending mail with results at report@fotonower.com args[1402258759] : ('0.04846225980273781',) no score found for photo 1402258759 We are sending mail with results at report@fotonower.com args[1402258758] : ('0.04846225980273781',) no score found for photo 1402258758 We are sending mail with results at report@fotonower.com args[1402258756] : ('0.04846225980273781',) no score found for photo 1402258756 We are sending mail with results at report@fotonower.com args[1402258755] : ('0.04846225980273781',) no score found for photo 1402258755 We are sending mail with results at report@fotonower.com args[1402258738] : ('0.04846225980273781',) no score found for photo 1402258738 We are sending mail with results at report@fotonower.com args[1402258736] : ('0.04846225980273781',) no score found for photo 1402258736 We are sending mail with results at report@fotonower.com args[1402258717] : ('0.04846225980273781',) no score found for photo 1402258717 We are sending mail with results at report@fotonower.com args[1402258715] : ('0.04846225980273781',) no score found for photo 1402258715 We are sending mail with results at report@fotonower.com args[1402258714] : ('0.04846225980273781',) no score found for photo 1402258714 We are sending mail with results at report@fotonower.com args[1402258701] : ('0.04846225980273781',) no score found for photo 1402258701 We are sending mail with results at report@fotonower.com args[1402258700] : ('0.04846225980273781',) no score found for photo 1402258700 We are sending mail with results at report@fotonower.com args[1402258698] : ('0.04846225980273781',) no score found for photo 1402258698 We are sending mail with results at report@fotonower.com args[1402258671] : ('0.04846225980273781',) no score found for photo 1402258671 We are sending mail with results at report@fotonower.com args[1402258669] : ('0.04846225980273781',) no score found for photo 1402258669 We are sending mail with results at report@fotonower.com args[1402258667] : ('0.04846225980273781',) no score found for photo 1402258667 We are sending mail with results at report@fotonower.com args[1402258666] : ('0.04846225980273781',) no score found for photo 1402258666 We are sending mail with results at report@fotonower.com args[1402258653] : ('0.04846225980273781',) no score found for photo 1402258653 We are sending mail with results at report@fotonower.com args[1402258652] : ('0.04846225980273781',) no score found for photo 1402258652 We are sending mail with results at report@fotonower.com args[1402258634] : ('0.04846225980273781',) no score found for photo 1402258634 We are sending mail with results at report@fotonower.com args[1402258633] : ('0.04846225980273781',) no score found for photo 1402258633 We are sending mail with results at report@fotonower.com args[1402258615] : ('0.04846225980273781',) no score found for photo 1402258615 We are sending mail with results at report@fotonower.com args[1402258614] : ('0.04846225980273781',) no score found for photo 1402258614 We are sending mail with results at report@fotonower.com args[1402258580] : ('0.04846225980273781',) no score found for photo 1402258580 We are sending mail with results at report@fotonower.com args[1402258578] : ('0.04846225980273781',) no score found for photo 1402258578 We are sending mail with results at report@fotonower.com args[1402258559] : ('0.04846225980273781',) no score found for photo 1402258559 We are sending mail with results at report@fotonower.com refus_total : 0.04846225980273781 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29921045 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_P29921045_03-01-2026_06_00_38.pdf results_Auto_P29921045_03-01-2026_06_00_38.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29921045_03-01-2026_06_00_38.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','29921045','results_Auto_P29921045_03-01-2026_06_00_38.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29921045_03-01-2026_06_00_38.pdf','pdf','','0.41','0.04846225980273781') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29921045]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1402259415, 1402258815, 1402258791, 1402258788, 1402258786, 1402258785, 1402258783, 1402258760, 1402258759, 1402258758, 1402258756, 1402258755, 1402258738, 1402258736, 1402258717, 1402258715, 1402258714, 1402258701, 1402258700, 1402258698, 1402258671, 1402258669, 1402258667, 1402258666, 1402258653, 1402258652, 1402258634, 1402258633, 1402258615, 1402258614, 1402258580, 1402258578, 1402258559] map_info['map_portfolio_photo'] : {29921045: [1402259415, 1402258815, 1402258791, 1402258788, 1402258786, 1402258785, 1402258783, 1402258760, 1402258759, 1402258758, 1402258756, 1402258755, 1402258738, 1402258736, 1402258717, 1402258715, 1402258714, 1402258701, 1402258700, 1402258698, 1402258671, 1402258669, 1402258667, 1402258666, 1402258653, 1402258652, 1402258634, 1402258633, 1402258615, 1402258614, 1402258580, 1402258578, 1402258559]} final : False mtd_id 4302 list_pids : [1402259415, 1402258815, 1402258791, 1402258788, 1402258786, 1402258785, 1402258783, 1402258760, 1402258759, 1402258758, 1402258756, 1402258755, 1402258738, 1402258736, 1402258717, 1402258715, 1402258714, 1402258701, 1402258700, 1402258698, 1402258671, 1402258669, 1402258667, 1402258666, 1402258653, 1402258652, 1402258634, 1402258633, 1402258615, 1402258614, 1402258580, 1402258578, 1402258559] 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, '4307435') ('4302', '29921045', '1402259415', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258815', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258791', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258788', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258786', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258785', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258783', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258760', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258759', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258758', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258756', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258755', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258738', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258736', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258717', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258715', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258714', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258701', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258700', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258698', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258671', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258669', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258667', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258666', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258653', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258652', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258634', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258633', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258615', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258614', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258580', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258578', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258559', None, None, None, None, None, '4307435') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 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', '29921045', '1402259415', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258815', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258791', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258788', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258786', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258785', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258783', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258760', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258759', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258758', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258756', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258755', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258738', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258736', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258717', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258715', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258714', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258701', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258700', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258698', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258671', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258669', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258667', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258666', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258653', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258652', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258634', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258633', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258615', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258614', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258580', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258578', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258559', None, None, None, None, None, '4307435')] time used for this insertion : 0.020852088928222656 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.80073618888855 time spend to save output : 0.021271944046020508 total time spend for step 4 : 8.82200813293457 step5:split_time_score Sat Jan 3 06:00:45 2026 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 : ['29921045'] 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 : [('29921045',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29921045) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1402258786: {'path': 'temp/1767416436_3225804_1402258786_292e96b904e1962da0c39b7f4d708e1a.jpg', 'extension': 'jpg'}, 1402258788: {'path': 'temp/1767416436_3225804_1402258788_c8802e90a9eaa35baea0cf58e0562348.jpg', 'extension': 'jpg'}, 1402258791: {'path': 'temp/1767416436_3225804_1402258791_3b137dd241d72b22b7a4ff43d317576d.jpg', 'extension': 'jpg'}, 1402258815: {'path': 'temp/1767416436_3225804_1402258815_85ddad172370b2a8a657814148028305.jpg', 'extension': 'jpg'}, 1402259415: {'path': 'temp/1767416436_3225804_1402259415_73f01e05c3a679d991d6200cf89e6665.jpg', 'extension': 'jpg'}, 1402258652: {'path': 'temp/1767416436_3225804_1402258652_c11540f58fadde3b16cad86e280bc401.jpg', 'extension': 'jpg'}, 1402258653: {'path': 'temp/1767416436_3225804_1402258653_d9c7a77bea672177d3d9380c952978b3.jpg', 'extension': 'jpg'}, 1402258666: {'path': 'temp/1767416436_3225804_1402258666_d623c4df9993bb6070cc46677fbeb96f.jpg', 'extension': 'jpg'}, 1402258667: {'path': 'temp/1767416436_3225804_1402258667_60ad09fee5e08e2dc8a31cdfe36328cc.jpg', 'extension': 'jpg'}, 1402258669: {'path': 'temp/1767416436_3225804_1402258669_13842d0512858023021ef6a72a4af54e.jpg', 'extension': 'jpg'}, 1402258671: {'path': 'temp/1767416436_3225804_1402258671_c5738a4ed27d657cf4763bb6b871ebf3.jpg', 'extension': 'jpg'}, 1402258698: {'path': 'temp/1767416436_3225804_1402258698_996fadb3894bb7e19f58458ae1a14493.jpg', 'extension': 'jpg'}, 1402258755: {'path': 'temp/1767416436_3225804_1402258755_2f8c05d8c1abb09fb9d26c7aeb067b74.jpg', 'extension': 'jpg'}, 1402258756: {'path': 'temp/1767416436_3225804_1402258756_109414d13ffdd8206230d694c0fe1390.jpg', 'extension': 'jpg'}, 1402258758: {'path': 'temp/1767416436_3225804_1402258758_e2fba38e4cc54e3783bb73d62ea496e7.jpg', 'extension': 'jpg'}, 1402258759: {'path': 'temp/1767416436_3225804_1402258759_408d3853ea7c36d8252b5486621af2cf.jpg', 'extension': 'jpg'}, 1402258760: {'path': 'temp/1767416436_3225804_1402258760_8733860ab7fb8d3e77ca68fbd1882c17.jpg', 'extension': 'jpg'}, 1402258783: {'path': 'temp/1767416436_3225804_1402258783_fe9135394f98d97c559763a3f9f64675.jpg', 'extension': 'jpg'}, 1402258785: {'path': 'temp/1767416436_3225804_1402258785_21f09a10d70c9332d982c5f5941b03b0.jpg', 'extension': 'jpg'}, 1402258559: {'path': 'temp/1767416436_3225804_1402258559_ac002e1032a4ed654547ce21e2ead4b1.jpg', 'extension': 'jpg'}, 1402258578: {'path': 'temp/1767416436_3225804_1402258578_eb54232e7373278c188d607095ab8ff6.jpg', 'extension': 'jpg'}, 1402258580: {'path': 'temp/1767416436_3225804_1402258580_e3a6ea094eea0eef6d35da4894690df3.jpg', 'extension': 'jpg'}, 1402258614: {'path': 'temp/1767416436_3225804_1402258614_bfadaaced6e930b5112ed9cc236e5716.jpg', 'extension': 'jpg'}, 1402258615: {'path': 'temp/1767416436_3225804_1402258615_bb53c84bb607db4c1624b70daa00f497.jpg', 'extension': 'jpg'}, 1402258633: {'path': 'temp/1767416436_3225804_1402258633_462181cf934f9274dc7df13104728bf9.jpg', 'extension': 'jpg'}, 1402258634: {'path': 'temp/1767416436_3225804_1402258634_ddc518a9e6390f5b505894def0d0c38b.jpg', 'extension': 'jpg'}, 1402258700: {'path': 'temp/1767416436_3225804_1402258700_5c81545419ef00731dbcf22b2e487c5d.jpg', 'extension': 'jpg'}, 1402258701: {'path': 'temp/1767416436_3225804_1402258701_95383c059891b690b06675fd64c96f1b.jpg', 'extension': 'jpg'}, 1402258714: {'path': 'temp/1767416436_3225804_1402258714_d0eea685a34861af5688f4831b9c26fc.jpg', 'extension': 'jpg'}, 1402258715: {'path': 'temp/1767416436_3225804_1402258715_c1de75480ffccf726d440fd201bb9478.jpg', 'extension': 'jpg'}, 1402258717: {'path': 'temp/1767416436_3225804_1402258717_d2b0d05c8443e6b9d6af313c254b2ec2.jpg', 'extension': 'jpg'}, 1402258736: {'path': 'temp/1767416436_3225804_1402258736_1969da08d3b3fc564b0ad9f2986a5099.jpg', 'extension': 'jpg'}, 1402258738: {'path': 'temp/1767416436_3225804_1402258738_31eb1a7a71b9e3ea1bb5da4e66a63099.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 = 29921045; (('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_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 29921045 group by h (('03', 33),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29921045 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 (29921045) 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 (29921045) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 03012026 29921045 Nombre de photos uploadées : 33 / 23040 (0%) 03012026 29921045 Nombre de photos taguées (types de déchets): 0 / 33 (0%) 03012026 29921045 Nombre de photos taguées (volume) : 0 / 33 (0%) [{'photo_id': 1402258580, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/e3a6ea094eea0eef6d35da4894690df3.jpg', 'username': None, 'uploaded_at': 1767408557, 'text': 'image_03012026_03_47_45_010140m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1402258559, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/ac002e1032a4ed654547ce21e2ead4b1.jpg', 'username': None, 'uploaded_at': 1767408487, 'text': 'image_03012026_03_47_45_010140m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1402258578, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/eb54232e7373278c188d607095ab8ff6.jpg', 'username': None, 'uploaded_at': 1767408557, 'text': 'image_03012026_03_47_55_010137m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1402258615, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/3/bb53c84bb607db4c1624b70daa00f497.jpg', 'username': None, 'uploaded_at': 1767408607, 'text': 'image_03012026_03_48_14_9129.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 7.152557373046875e-06 ????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014617443084716797 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29921045, '2026-01-03' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2836586,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.24596095085144043 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= 2836586 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2836586, 'dashboard_run_id': 2844302, 'mtr_portfolio_id': 29913124, 'dashboard_result_id': 18987026, '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_P29913124_03-01-2026_05_55_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29913134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29913135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29913136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29913137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29913138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29913139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29913140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29913141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29913142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29913143, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29913144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29913145, 'pht': 3726}}"}, {'dashboat_entry_day': 2836586, 'dashboard_run_id': 2844302, 'mtr_portfolio_id': 29913958, 'dashboard_result_id': 18987027, '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_P29913958_03-01-2026_05_55_40.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29913964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29913965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29913966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29913967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29913968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29913969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29913970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29913971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29913972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29913973, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29913974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29913975, 'pht': 3726}}"}, {'dashboat_entry_day': 2836586, 'dashboard_run_id': 2844302, 'mtr_portfolio_id': 29914803, 'dashboard_result_id': 18987028, '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_P29914803_03-01-2026_05_56_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29914805, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29914806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29914807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29914808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29914809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29914810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29914811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29914812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29914813, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29914814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29914815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29914816, 'pht': 3726}}"}, {'dashboat_entry_day': 2836586, 'dashboard_run_id': 2844302, 'mtr_portfolio_id': 29915415, 'dashboard_result_id': 18987029, '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_P29915415_03-01-2026_05_56_12.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29915422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29915423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29915424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29915425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29915426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29915427, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29915428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29915429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29915430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29915431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29915432, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29915433, 'pht': 3726}}"}, {'dashboat_entry_day': 2836586, 'dashboard_run_id': 2844302, 'mtr_portfolio_id': 29916769, 'dashboard_result_id': 18987030, '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_P29916769_03-01-2026_05_56_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29916770, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29916771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29916772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29916773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29916774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29916775, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29916776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29916777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29916778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29916779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29916780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29916781, 'pht': 3726}}"}, {'dashboat_entry_day': 2836586, 'dashboard_run_id': 2844302, 'mtr_portfolio_id': 29917038, 'dashboard_result_id': 18987031, '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_P29917038_03-01-2026_05_57_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29917044, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29917045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29917046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29917047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29917048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29917049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29917050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29917051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29917052, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29917053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29917054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29917055, 'pht': 3726}}"}, {'dashboat_entry_day': 2836586, 'dashboard_run_id': 2844302, 'mtr_portfolio_id': 29917437, 'dashboard_result_id': 18987032, '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_P29917437_03-01-2026_05_57_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29917455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29917456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29917457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29917458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29917459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29917460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29917461, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29917462, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29917463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29917464, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29917465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29917466, 'pht': 3726}}"}, {'dashboat_entry_day': 2836586, 'dashboard_run_id': 2844302, 'mtr_portfolio_id': 29918063, 'dashboard_result_id': 18987033, '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_P29918063_03-01-2026_05_57_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29918070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29918071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29918072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29918073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29918074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29918075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29918076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29918077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29918079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29918080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29918081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29918082, 'pht': 3726}}"}, {'dashboat_entry_day': 2836586, 'dashboard_run_id': 2844302, 'mtr_portfolio_id': 29918549, 'dashboard_result_id': 18987034, '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_P29918549_03-01-2026_05_57_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29918574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29918575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29918576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29918577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29918578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29918579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29918580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29918581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29918582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29918583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29918584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29918585, 'pht': 3726}}"}, {'dashboat_entry_day': 2836586, 'dashboard_run_id': 2844302, 'mtr_portfolio_id': 29919023, 'dashboard_result_id': 18987035, '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_P29919023_03-01-2026_05_58_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29919027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29919028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29919029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29919030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29919031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29919032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29919033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29919034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29919035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29919036, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29919037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29919038, 'pht': 3726}}"}, {'dashboat_entry_day': 2836586, 'dashboard_run_id': 2844302, 'mtr_portfolio_id': 29919389, 'dashboard_result_id': 18987036, '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_P29919389_03-01-2026_05_59_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29919430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29919431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29919432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29919433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29919434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29919435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29919436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29919437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29919438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29919439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29919440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29919441, 'pht': 3726}}"}, {'dashboat_entry_day': 2836586, 'dashboard_run_id': 2844302, 'mtr_portfolio_id': 29919926, 'dashboard_result_id': 18987037, '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_P29919926_03-01-2026_05_59_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29919939, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29919940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29919941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29919942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29919943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29919944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29919945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29919946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29919947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29919948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29919949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29919950, 'pht': 3726}}"}, {'dashboat_entry_day': 2836586, 'dashboard_run_id': 2844302, 'mtr_portfolio_id': 29920459, 'dashboard_result_id': 18987038, '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_P29920459_03-01-2026_06_00_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29920491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29920492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29920493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29920494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29920495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29920496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29920497, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29920498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29920499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29920500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29920501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29920502, 'pht': 3726}}"}, {'dashboat_entry_day': 2836586, 'dashboard_run_id': 2844302, 'mtr_portfolio_id': 29921045, 'dashboard_result_id': 18987039, '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_P29921045_03-01-2026_04_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29921049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29921050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29921051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29921052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29921053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29921054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29921055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29921056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29921057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29921058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29921059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29921061, 'pht': 3726}}"}, {'dashboat_entry_day': 2836586, 'dashboard_run_id': 2844302, 'mtr_portfolio_id': 29921339, 'dashboard_result_id': 18987040, '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_P29921339_03-01-2026_04_12_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29921348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29921349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29921350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29921351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29921352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29921353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29921354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29921355, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29921356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29921357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29921358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29921359, 'pht': 3726}}"}, {'dashboat_entry_day': 2836586, 'dashboard_run_id': 2844302, 'mtr_portfolio_id': 29922321, 'dashboard_result_id': 18987041, '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_P29922321_03-01-2026_05_15_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29922322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29922323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29922324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29922325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29922326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29922327, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29922328, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29922329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29922330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29922331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29922332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29922333, '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 = 29913124 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': 4307422, 'mtr_portfolio_id': 29913124, 'created_at': datetime.datetime(2026, 1, 3, 5, 55, 28), 'result': '0.06478382044157188', 'result_long': None, 'result_double': None}] Qualite : 0.06478382044157188 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29913124 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29913124_03-01-2026_05_55_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29913124 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_P29913124_03-01-2026_05_55_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29913134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29913135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29913136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29913137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29913138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29913139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29913140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29913141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29913142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29913143, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29913144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29913145, 'pht': 3726}}" where mtr_portfolio_id = 29913124 and dashboard_run_id = 2844302 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`=29913124 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18987026, 0.06478382044157188, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29913124_03-01-2026_05_55_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29913134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29913135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29913136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29913137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29913138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29913139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29913140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29913141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29913142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29913143, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29913144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29913145, '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 = 29913958 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': 4307423, 'mtr_portfolio_id': 29913958, 'created_at': datetime.datetime(2026, 1, 3, 5, 55, 37), 'result': '0.049968430889678415', 'result_long': None, 'result_double': None}] Qualite : 0.049968430889678415 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29913958 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29913958_03-01-2026_05_55_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29913958 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_P29913958_03-01-2026_05_55_40.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29913964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29913965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29913966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29913967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29913968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29913969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29913970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29913971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29913972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29913973, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29913974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29913975, 'pht': 3726}}" where mtr_portfolio_id = 29913958 and dashboard_run_id = 2844302 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`=29913958 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18987027, 0.049968430889678415, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29913958_03-01-2026_05_55_40.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29913964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29913965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29913966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29913967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29913968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29913969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29913970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29913971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29913972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29913973, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29913974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29913975, '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 = 29914803 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': 4307424, 'mtr_portfolio_id': 29914803, 'created_at': datetime.datetime(2026, 1, 3, 5, 55, 59), 'result': '0.04471981851901422', 'result_long': None, 'result_double': None}] Qualite : 0.04471981851901422 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29914803 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29914803_03-01-2026_05_56_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29914803 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_P29914803_03-01-2026_05_56_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29914805, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29914806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29914807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29914808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29914809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29914810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29914811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29914812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29914813, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29914814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29914815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29914816, 'pht': 3726}}" where mtr_portfolio_id = 29914803 and dashboard_run_id = 2844302 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`=29914803 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18987028, 0.04471981851901422, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29914803_03-01-2026_05_56_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29914805, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29914806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29914807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29914808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29914809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29914810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29914811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29914812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29914813, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29914814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29914815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29914816, '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 = 29915415 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': 4307425, 'mtr_portfolio_id': 29915415, 'created_at': datetime.datetime(2026, 1, 3, 5, 56, 9), 'result': '0.06100968618527898', 'result_long': None, 'result_double': None}] Qualite : 0.06100968618527898 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29915415 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29915415_03-01-2026_05_56_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29915415 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_P29915415_03-01-2026_05_56_12.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29915422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29915423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29915424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29915425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29915426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29915427, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29915428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29915429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29915430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29915431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29915432, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29915433, 'pht': 3726}}" where mtr_portfolio_id = 29915415 and dashboard_run_id = 2844302 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`=29915415 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18987029, 0.06100968618527898, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29915415_03-01-2026_05_56_12.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29915422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29915423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29915424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29915425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29915426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29915427, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29915428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29915429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29915430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29915431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29915432, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29915433, '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 = 29916769 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': 4307426, 'mtr_portfolio_id': 29916769, 'created_at': datetime.datetime(2026, 1, 3, 5, 56, 29), 'result': '0.03183142721125361', 'result_long': None, 'result_double': None}] Qualite : 0.03183142721125361 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29916769 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29916769_03-01-2026_05_56_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29916769 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_P29916769_03-01-2026_05_56_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29916770, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29916771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29916772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29916773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29916774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29916775, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29916776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29916777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29916778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29916779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29916780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29916781, 'pht': 3726}}" where mtr_portfolio_id = 29916769 and dashboard_run_id = 2844302 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`=29916769 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18987030, 0.03183142721125361, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29916769_03-01-2026_05_56_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29916770, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29916771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29916772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29916773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29916774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29916775, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29916776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29916777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29916778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29916779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29916780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29916781, '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 = 29917038 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': 4307427, 'mtr_portfolio_id': 29917038, 'created_at': datetime.datetime(2026, 1, 3, 5, 56, 59), 'result': '0.04276439880289639', 'result_long': None, 'result_double': None}] Qualite : 0.04276439880289639 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29917038 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29917038_03-01-2026_05_57_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29917038 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_P29917038_03-01-2026_05_57_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29917044, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29917045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29917046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29917047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29917048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29917049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29917050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29917051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29917052, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29917053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29917054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29917055, 'pht': 3726}}" where mtr_portfolio_id = 29917038 and dashboard_run_id = 2844302 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`=29917038 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18987031, 0.04276439880289639, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29917038_03-01-2026_05_57_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29917044, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29917045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29917046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29917047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29917048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29917049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29917050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29917051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29917052, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29917053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29917054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29917055, '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 = 29917437 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': 4307428, 'mtr_portfolio_id': 29917437, 'created_at': datetime.datetime(2026, 1, 3, 5, 57, 32), 'result': '0.05275516798618758', 'result_long': None, 'result_double': None}] Qualite : 0.05275516798618758 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29917437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29917437_03-01-2026_05_57_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29917437 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_P29917437_03-01-2026_05_57_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29917455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29917456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29917457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29917458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29917459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29917460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29917461, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29917462, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29917463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29917464, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29917465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29917466, 'pht': 3726}}" where mtr_portfolio_id = 29917437 and dashboard_run_id = 2844302 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`=29917437 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18987032, 0.05275516798618758, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29917437_03-01-2026_05_57_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29917455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29917456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29917457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29917458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29917459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29917460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29917461, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29917462, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29917463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29917464, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29917465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29917466, '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 = 29918063 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': 4307429, 'mtr_portfolio_id': 29918063, 'created_at': datetime.datetime(2026, 1, 3, 5, 57, 29), 'result': '0.04788635032090143', 'result_long': None, 'result_double': None}] Qualite : 0.04788635032090143 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29918063 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29918063_03-01-2026_05_57_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29918063 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_P29918063_03-01-2026_05_57_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29918070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29918071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29918072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29918073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29918074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29918075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29918076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29918077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29918079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29918080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29918081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29918082, 'pht': 3726}}" where mtr_portfolio_id = 29918063 and dashboard_run_id = 2844302 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`=29918063 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18987033, 0.04788635032090143, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29918063_03-01-2026_05_57_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29918070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29918071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29918072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29918073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29918074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29918075, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29918076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29918077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29918079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29918080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29918081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29918082, '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 = 29918549 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': 4307430, 'mtr_portfolio_id': 29918549, 'created_at': datetime.datetime(2026, 1, 3, 5, 57, 56), 'result': '0.059470119227565045', 'result_long': None, 'result_double': None}] Qualite : 0.059470119227565045 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29918549 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29918549_03-01-2026_05_57_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29918549 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_P29918549_03-01-2026_05_57_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29918574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29918575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29918576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29918577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29918578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29918579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29918580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29918581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29918582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29918583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29918584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29918585, 'pht': 3726}}" where mtr_portfolio_id = 29918549 and dashboard_run_id = 2844302 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`=29918549 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18987034, 0.059470119227565045, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29918549_03-01-2026_05_57_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29918574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29918575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29918576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29918577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29918578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29918579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29918580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29918581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29918582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29918583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29918584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29918585, '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 = 29919023 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': 4307431, 'mtr_portfolio_id': 29919023, 'created_at': datetime.datetime(2026, 1, 3, 5, 58, 30), 'result': '0.07252296472091292', 'result_long': None, 'result_double': None}] Qualite : 0.07252296472091292 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29919023 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29919023_03-01-2026_05_58_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29919023 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_P29919023_03-01-2026_05_58_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29919027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29919028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29919029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29919030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29919031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29919032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29919033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29919034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29919035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29919036, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29919037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29919038, 'pht': 3726}}" where mtr_portfolio_id = 29919023 and dashboard_run_id = 2844302 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`=29919023 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18987035, 0.07252296472091292, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29919023_03-01-2026_05_58_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29919027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29919028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29919029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29919030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29919031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29919032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29919033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29919034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29919035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29919036, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29919037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29919038, '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 = 29919389 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': 4307432, 'mtr_portfolio_id': 29919389, 'created_at': datetime.datetime(2026, 1, 3, 5, 58, 59), 'result': '0.07369378701859712', 'result_long': None, 'result_double': None}] Qualite : 0.07369378701859712 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29919389 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29919389_03-01-2026_05_59_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29919389 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_P29919389_03-01-2026_05_59_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29919430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29919431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29919432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29919433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29919434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29919435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29919436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29919437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29919438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29919439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29919440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29919441, 'pht': 3726}}" where mtr_portfolio_id = 29919389 and dashboard_run_id = 2844302 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`=29919389 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18987036, 0.07369378701859712, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29919389_03-01-2026_05_59_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29919430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29919431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29919432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29919433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29919434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29919435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29919436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29919437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29919438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29919439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29919440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29919441, '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 = 29919926 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': 4307433, 'mtr_portfolio_id': 29919926, 'created_at': datetime.datetime(2026, 1, 3, 5, 59, 29), 'result': '0.04509150817092164', 'result_long': None, 'result_double': None}] Qualite : 0.04509150817092164 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29919926 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29919926_03-01-2026_05_59_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29919926 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_P29919926_03-01-2026_05_59_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29919939, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29919940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29919941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29919942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29919943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29919944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29919945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29919946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29919947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29919948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29919949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29919950, 'pht': 3726}}" where mtr_portfolio_id = 29919926 and dashboard_run_id = 2844302 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`=29919926 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18987037, 0.04509150817092164, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29919926_03-01-2026_05_59_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29919939, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29919940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29919941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29919942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29919943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29919944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29919945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29919946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29919947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29919948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29919949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29919950, '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 = 29920459 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': 4307434, 'mtr_portfolio_id': 29920459, 'created_at': datetime.datetime(2026, 1, 3, 5, 59, 58), 'result': '0.06150918783502698', 'result_long': None, 'result_double': None}] Qualite : 0.06150918783502698 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29920459 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29920459_03-01-2026_06_00_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29920459 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_P29920459_03-01-2026_06_00_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29920491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29920492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29920493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29920494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29920495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29920496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29920497, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29920498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29920499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29920500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29920501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29920502, 'pht': 3726}}" where mtr_portfolio_id = 29920459 and dashboard_run_id = 2844302 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`=29920459 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18987038, 0.06150918783502698, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29920459_03-01-2026_06_00_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29920491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29920492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29920493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29920494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29920495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29920496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29920497, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29920498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29920499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29920500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29920501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29920502, '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 = 29921045 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': 4307435, 'mtr_portfolio_id': 29921045, 'created_at': datetime.datetime(2026, 1, 3, 6, 0, 36), 'result': '0.04846225980273781', 'result_long': None, 'result_double': None}] Qualite : 0.04846225980273781 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29921045 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29921045_03-01-2026_06_00_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29921045 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_P29921045_03-01-2026_06_00_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29921049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29921050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29921051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29921052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29921053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29921054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29921055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29921056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29921057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29921058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29921059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29921061, 'pht': 3726}}" where mtr_portfolio_id = 29921045 and dashboard_run_id = 2844302 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`=29921045 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18987039, 0.04846225980273781, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29921045_03-01-2026_06_00_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29921049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29921050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29921051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29921052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29921053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29921054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29921055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29921056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29921057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29921058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29921059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29921061, '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 = 29921339 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': 4307436, 'mtr_portfolio_id': 29921339, 'created_at': datetime.datetime(2026, 1, 3, 6, 0, 42), 'result': '0.07434859448752715', 'result_long': None, 'result_double': None}] Qualite : 0.07434859448752715 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29921339 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29921339_03-01-2026_04_12_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29921339 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_P29921339_03-01-2026_04_12_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29921348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29921349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29921350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29921351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29921352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29921353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29921354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29921355, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29921356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29921357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29921358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29921359, 'pht': 3726}}" where mtr_portfolio_id = 29921339 and dashboard_run_id = 2844302 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`=29921339 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18987040, 0.07434859448752715, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29921339_03-01-2026_04_12_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29921348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29921349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29921350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29921351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29921352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29921353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29921354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29921355, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29921356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29921357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29921358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29921359, '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 = 29922321 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 = 29922321 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 = 29922321 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29922321 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 = 29922321 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 = 29922321 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29922321_03-01-2026_05_15_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29922321 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_P29922321_03-01-2026_05_15_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29922322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29922323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29922324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29922325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29922326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29922327, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29922328, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29922329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29922330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29922331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29922332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29922333, 'pht': 3726}}" where mtr_portfolio_id = 29922321 and dashboard_run_id = 2844304 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29913124,29913958,29914803,29915415,29916769,29917038,29917437,29918063,29918549,29919023,29919389,29919926,29920459,29921045,29921339,29922321) result : ((1402228294,), (1402228382,), (1402228471,), (1402229404,), (1402229452,), (1402230130,), (1402230175,), (1402230209,), (1402230339,), (1402230340,), (1402230342,), (1402230344,), (1402230668,), (1402230700,), (1402230731,), (1402230762,), (1402230812,), (1402230844,), (1402231598,), (1402231686,), (1402231810,), (1402231929,), (1402231968,), (1402232703,), (1402232707,), (1402232795,), (1402232935,), (1402233056,), (1402233356,), (1402233357,), (1402233358,), (1402233360,), (1402233364,), (1402233377,), (1402233383,), (1402233385,), (1402233396,), (1402233595,), (1402233619,), (1402233640,), (1402233673,), (1402233711,), (1402233999,), (1402234034,), (1402234066,), (1402234068,), (1402234400,), (1402234449,), (1402234473,), (1402234486,), (1402234542,), (1402234584,), (1402236149,), (1402236152,), (1402236568,), (1402236524,), (1402236561,), (1402236583,), (1402236585,), (1402236588,), (1402236592,), (1402236596,), (1402236613,), (1402236614,), (1402236615,), (1402236616,), (1402236650,), (1402236651,), (1402236652,), (1402236653,), (1402236654,), (1402236656,), (1402236666,), (1402236672,), (1402236942,), (1402237041,), (1402237143,), (1402237698,), (1402237699,), (1402237703,), (1402237767,), (1402237834,), (1402238211,), (1402238212,), (1402238216,), (1402238221,), (1402238256,), (1402238823,), (1402238824,), (1402238826,), (1402238965,), (1402238967,), (1402238969,), (1402238972,), (1402238976,), (1402238978,), (1402239000,), (1402239002,), (1402239005,), (1402239009,), (1402239033,), (1402239593,), (1402239594,), (1402239596,), (1402239598,), (1402239627,), (1402239630,), (1402239633,), (1402239669,), (1402239671,), (1402239683,), (1402239685,), (1402239659,), (1402239661,), (1402239663,), (1402239666,), (1402239742,), (1402239846,), (1402239953,), (1402239962,), (1402240051,), (1402240052,), (1402240054,), (1402240056,), (1402240058,), (1402240061,), (1402240084,), (1402240086,), (1402240088,), (1402240108,), (1402240110,), (1402240114,), (1402240119,), (1402240124,), (1402240141,), (1402240143,), (1402240145,), (1402240148,), (1402240152,), (1402240156,), (1402240670,), (1402240704,), (1402240777,), (1402240831,), (1402241040,), (1402241046,), (1402241048,), (1402241050,), (1402241304,), (1402241332,), (1402241348,), (1402241356,), (1402241360,), (1402241365,), (1402241372,), (1402241383,), (1402241386,), (1402241388,), (1402241391,), (1402241393,), (1402241396,), (1402241399,), (1402241410,), (1402241411,), (1402241413,), (1402241414,), (1402241442,), (1402241443,), (1402241847,), (1402241852,), (1402241855,), (1402242014,), (1402242022,), (1402242026,), (1402242028,), (1402242042,), (1402242045,), (1402242046,), (1402242047,), (1402242089,), (1402242082,), (1402242088,), (1402242286,), (1402242335,), (1402242337,), (1402242368,), (1402242391,), (1402242420,), (1402242422,), (1402242424,), (1402242427,), (1402242430,), (1402242457,), (1402242460,), (1402242462,), (1402242505,), (1402242507,), (1402242560,), (1402242607,), (1402242690,), (1402242788,), (1402242958,), (1402242959,), (1402242961,), (1402242964,), (1402242967,), (1402242970,), (1402242995,), (1402242997,), (1402242999,), (1402243002,), (1402243006,), (1402243302,), (1402243336,), (1402243372,), (1402243556,), (1402243563,), (1402243599,), (1402243639,), (1402243643,), (1402243647,), (1402243898,), (1402243900,), (1402243927,), (1402243989,), (1402244074,), (1402244108,), (1402244749,), (1402244801,), (1402244860,), (1402244886,), (1402244977,), (1402244978,), (1402244991,), (1402244992,), (1402245008,), (1402245010,), (1402245060,), (1402245064,), (1402245072,), (1402248738,), (1402248733,), (1402248735,), (1402248754,), (1402248755,), (1402248756,), (1402248758,), (1402248762,), (1402248765,), (1402248775,), (1402248777,), (1402248797,), (1402248798,), (1402248814,), (1402248816,), (1402248819,), (1402248822,), (1402248825,), (1402248826,), (1402248842,), (1402248843,), (1402248845,), (1402248846,), (1402248849,), (1402248851,), (1402248867,), (1402248870,), (1402248874,), (1402248877,), (1402248880,), (1402248883,), (1402248895,), (1402248896,), (1402248899,), (1402248906,), (1402248908,), (1402248909,), (1402248911,), (1402248935,), (1402248937,), (1402248939,), (1402248960,), (1402248961,), (1402248963,), (1402248966,), (1402248969,), (1402248971,), (1402248977,), (1402249025,), (1402249032,), (1402249035,), (1402249038,), (1402249040,), (1402249044,), (1402249047,), (1402249050,), (1402249052,), (1402249055,), (1402249058,), (1402249062,), (1402249065,), (1402249070,), (1402249108,), (1402249099,), (1402249102,), (1402249105,), (1402249129,), (1402249131,), (1402249132,), (1402249133,), (1402249136,), (1402249139,), (1402249162,), (1402249164,), (1402249166,), (1402249169,), (1402249173,), (1402249186,), (1402249187,), (1402249188,), (1402249216,), (1402249217,), (1402249219,), (1402249221,), (1402249224,), (1402249234,), (1402249235,), (1402249237,), (1402249268,), (1402249271,), (1402249273,), (1402249275,), (1402249287,), (1402249289,), (1402249291,), (1402249294,), (1402249322,), (1402249323,), (1402249324,), (1402249326,), (1402249329,), (1402249342,), (1402249344,), (1402249347,), (1402249349,), (1402249353,), (1402249380,), (1402249381,), (1402249383,), (1402249397,), (1402249400,), (1402249403,), (1402249407,), (1402249411,), (1402249415,), (1402249427,), (1402249429,), (1402249431,), (1402249434,), (1402249438,), (1402249441,), (1402249453,), (1402249455,), (1402249459,), (1402249472,), (1402249474,), (1402249476,), (1402249478,), (1402249500,), (1402249483,), (1402249486,), (1402249489,), (1402249493,), (1402249816,), (1402249935,), (1402249971,), (1402250004,), (1402250334,), (1402250368,), (1402250379,), (1402250382,), (1402250396,), (1402251342,), (1402251401,), (1402251471,), (1402251514,), (1402251601,), (1402252047,), (1402252051,), (1402252072,), (1402252076,), (1402252080,), (1402252103,), (1402252104,), (1402252495,), (1402252534,), (1402252569,), (1402252725,), (1402252727,), (1402252756,), (1402252787,), (1402252829,), (1402252831,), (1402252833,), (1402252836,), (1402252839,), (1402252841,), (1402253068,), (1402253406,), (1402253408,), (1402253410,), (1402253411,), (1402253413,), (1402253606,), (1402253607,), (1402253608,), (1402253609,), (1402253692,), (1402253693,), (1402253719,), (1402253721,), (1402253724,), (1402253727,), (1402253762,), (1402253758,), (1402253760,), (1402253777,), (1402253779,), (1402253780,), (1402253781,), (1402253803,), (1402253805,), (1402253807,), (1402253824,), (1402253825,), (1402253826,), (1402253827,), (1402253830,), (1402253849,), (1402253851,), (1402253853,), (1402253856,), (1402253859,), (1402253860,), (1402253866,), (1402253868,), (1402253873,), (1402253874,), (1402253875,), (1402253876,), (1402253901,), (1402253903,), (1402253905,), (1402253908,), (1402253911,), (1402253914,), (1402253924,), (1402253926,), (1402253927,), (1402253929,), (1402253963,), (1402253965,), (1402253997,), (1402253998,), (1402253999,), (1402254019,), (1402254020,), (1402254022,), (1402254069,), (1402254071,), (1402254073,), (1402254075,), (1402254107,), (1402254108,), (1402254111,), (1402254113,), (1402254117,), (1402254132,), (1402254133,), (1402254134,), (1402254137,), (1402254140,), (1402254142,), (1402254154,), (1402254155,), (1402254156,), (1402254157,), (1402254158,), (1402254166,), (1402254190,), (1402254185,), (1402254187,), (1402254188,), (1402254234,), (1402254236,), (1402254238,), (1402254241,), (1402254269,), (1402254270,), (1402254272,), (1402254274,), (1402254295,), (1402254297,), (1402254307,), (1402254318,), (1402254322,), (1402254324,), (1402254335,), (1402254337,), (1402254368,), (1402254370,), (1402254372,), (1402254390,), (1402254391,), (1402254392,), (1402254393,), (1402254396,), (1402254400,), (1402254424,), (1402254426,), (1402254429,), (1402254431,), (1402254434,), (1402254436,), (1402254457,), (1402254459,), (1402254460,), (1402254493,), (1402254495,), (1402254498,), (1402254501,), (1402254504,), (1402254515,), (1402254517,), (1402254520,), (1402254550,), (1402254552,), (1402254553,), (1402254572,), (1402254580,), (1402254583,), (1402254609,), (1402254615,), (1402254629,), (1402254632,), (1402254634,), (1402254637,), (1402254641,), (1402254646,), (1402254668,), (1402254655,), (1402254656,), (1402254659,), (1402254661,), (1402254665,), (1402254683,), (1402254684,), (1402254685,), (1402254686,), (1402254710,), (1402254712,), (1402254714,), (1402254717,), (1402254720,), (1402254739,), (1402254740,), (1402254764,), (1402254766,), (1402254769,), (1402254771,), (1402254775,), (1402254778,), (1402254791,), (1402254792,), (1402254793,), (1402254795,), (1402254834,), (1402254835,), (1402254854,), (1402254855,), (1402254856,), (1402254858,), (1402254862,), (1402254864,), (1402254891,), (1402254892,), (1402254919,), (1402254921,), (1402254923,), (1402254926,), (1402254930,), (1402254958,), (1402254959,), (1402254960,), (1402254962,), (1402254964,), (1402254967,), (1402254975,), (1402254976,), (1402254978,), (1402254979,), (1402254980,), (1402254983,), (1402254986,), (1402254990,), (1402255003,), (1402255005,), (1402255007,), (1402255010,), (1402255013,), (1402255038,), (1402255042,), (1402255047,), (1402255050,), (1402255054,), (1402255057,), (1402255350,), (1402255283,), (1402256248,), (1402256263,), (1402256266,), (1402256268,), (1402256270,), (1402256272,), (1402256604,), (1402256634,), (1402256679,), (1402256693,), (1402257127,), (1402257215,), (1402257216,), (1402257218,), (1402257381,), (1402257383,), (1402257408,), (1402257411,), (1402257413,), (1402257435,), (1402257437,), (1402257439,), (1402257442,), (1402257473,), (1402257474,), (1402257475,), (1402257502,), (1402257504,), (1402257507,), (1402257509,), (1402257530,), (1402257532,), (1402257534,), (1402257537,), (1402257539,), (1402257541,), (1402257546,), (1402257552,), (1402257553,), (1402257554,), (1402257577,), (1402257579,), (1402257582,), (1402257584,), (1402257588,), (1402257591,), (1402257604,), (1402257605,), (1402257607,), (1402257609,), (1402257611,), (1402257639,), (1402257640,), (1402257641,), (1402257643,), (1402257647,), (1402257658,), (1402257661,), (1402257664,), (1402257687,), (1402257682,), (1402257684,), (1402257685,), (1402257704,), (1402257705,), (1402257707,), (1402257710,), (1402257714,), (1402257718,), (1402257745,), (1402257747,), (1402257750,), (1402257772,), (1402257774,), (1402257776,), (1402257778,), (1402257802,), (1402257803,), (1402257805,), (1402257823,), (1402257824,), (1402257826,), (1402257829,), (1402257850,), (1402257855,), (1402257876,), (1402257877,), (1402257878,), (1402257880,), (1402257908,), (1402257913,), (1402257915,), (1402257918,), (1402257922,), (1402257941,), (1402257944,), (1402257945,), (1402257947,), (1402257951,), (1402257976,), (1402257978,), (1402257996,), (1402257998,), (1402258000,), (1402258038,), (1402258039,), (1402258042,), (1402258045,), (1402258047,), (1402258063,), (1402258065,), (1402258067,), (1402258069,), (1402258072,), (1402258074,), (1402258102,), (1402258104,), (1402258105,), (1402258108,), (1402258113,), (1402258115,), (1402258123,), (1402258125,), (1402258136,), (1402258126,), (1402258127,), (1402258129,), (1402258132,), (1402258159,), (1402258160,), (1402258162,), (1402258165,), (1402258180,), (1402258182,), (1402258185,), (1402258187,), (1402258213,), (1402258214,), (1402258215,), (1402258216,), (1402258233,), (1402258235,), (1402258237,), (1402258264,), (1402258266,), (1402258267,), (1402258285,), (1402258286,), (1402258287,), (1402258288,), (1402258291,), (1402258317,), (1402258318,), (1402258320,), (1402258336,), (1402258337,), (1402258338,), (1402258340,), (1402258342,), (1402258344,), (1402258360,), (1402258363,), (1402258364,), (1402258560,), (1402258584,), (1402258559,), (1402258578,), (1402258580,), (1402258614,), (1402258615,), (1402258633,), (1402258634,), (1402258652,), (1402258653,), (1402258666,), (1402258667,), (1402258669,), (1402258671,), (1402258698,), (1402258700,), (1402258701,), (1402258714,), (1402258715,), (1402258717,), (1402258736,), (1402258738,), (1402258755,), (1402258756,), (1402258758,), (1402258759,), (1402258760,), (1402258783,), (1402258785,), (1402258786,), (1402258788,), (1402258791,), (1402258815,), (1402259415,), (1402259338,), (1402259375,), (1402259921,), (1402259955,), (1402260008,), (1402260075,), (1402260367,), (1402260368,), (1402260370,), (1402260609,), (1402260687,), (1402260776,), (1402260858,), (1402260946,), (1402261284,), (1402261366,), (1402261435,), (1402261508,), (1402261510,), (1402261512,), (1402261515,), (1402261537,), (1402261539,), (1402261541,), (1402261544,), (1402261548,), (1402261551,), (1402261575,), (1402261577,), (1402261578,), (1402261607,), (1402261609,), (1402261611,), (1402261613,), (1402261652,), (1402261653,), (1402261654,), (1402261656,), (1402261658,), (1402261682,), (1402261683,), (1402264843,), (1402265017,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03012026': {'nb_upload': 33, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29921045]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1402259415, 1402258815, 1402258791, 1402258788, 1402258786, 1402258785, 1402258783, 1402258760, 1402258759, 1402258758, 1402258756, 1402258755, 1402258738, 1402258736, 1402258717, 1402258715, 1402258714, 1402258701, 1402258700, 1402258698, 1402258671, 1402258669, 1402258667, 1402258666, 1402258653, 1402258652, 1402258634, 1402258633, 1402258615, 1402258614, 1402258580, 1402258578, 1402258559] map_info['map_portfolio_photo'] : {29921045: [1402259415, 1402258815, 1402258791, 1402258788, 1402258786, 1402258785, 1402258783, 1402258760, 1402258759, 1402258758, 1402258756, 1402258755, 1402258738, 1402258736, 1402258717, 1402258715, 1402258714, 1402258701, 1402258700, 1402258698, 1402258671, 1402258669, 1402258667, 1402258666, 1402258653, 1402258652, 1402258634, 1402258633, 1402258615, 1402258614, 1402258580, 1402258578, 1402258559]} final : True mtd_id 4302 list_pids : [1402259415, 1402258815, 1402258791, 1402258788, 1402258786, 1402258785, 1402258783, 1402258760, 1402258759, 1402258758, 1402258756, 1402258755, 1402258738, 1402258736, 1402258717, 1402258715, 1402258714, 1402258701, 1402258700, 1402258698, 1402258671, 1402258669, 1402258667, 1402258666, 1402258653, 1402258652, 1402258634, 1402258633, 1402258615, 1402258614, 1402258580, 1402258578, 1402258559] Looping around the photos to save general results len do output : 1 /29921045Didn'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, '4307435') ('4302', '29921045', '1402259415', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258815', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258791', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258788', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258786', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258785', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258783', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258760', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258759', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258758', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258756', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258755', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258738', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258736', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258717', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258715', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258714', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258701', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258700', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258698', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258671', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258669', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258667', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258666', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258653', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258652', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258634', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258633', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258615', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258614', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258580', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258578', None, None, None, None, None, '4307435') ('4302', None, None, None, None, None, None, None, '4307435') ('4302', '29921045', '1402258559', None, None, None, None, None, '4307435') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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, '29921045', 'None', None, None, None, None, '4307435'), ('4302', '29921045', '1402259415', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258815', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258791', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258788', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258786', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258785', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258783', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258760', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258759', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258758', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258756', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258755', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258738', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258736', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258717', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258715', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258714', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258701', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258700', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258698', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258671', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258669', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258667', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258666', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258653', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258652', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258634', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258633', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258615', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258614', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258580', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258578', None, None, None, None, None, '4307435'), ('4302', '29921045', '1402258559', None, None, None, None, None, '4307435')] time used for this insertion : 0.021162986755371094 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7573137283325195 time spend to save output : 0.02150440216064453 total time spend for step 5 : 1.778818130493164 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 (4307435) 3.48user 1.71system 0:22.40elapsed 23%CPU (0avgtext+0avgdata 174860maxresident)k 8inputs+28576outputs (0major+90916minor)pagefaults 0swaps