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 : 2762122 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 (3269064) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3269064) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24825438 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3269064'] with mtr_portfolio_ids : ['24825438'] and first list_photo_ids : [] new path : /proc/2762122/ Name: python3 Umask: 0002 State: R (running) Tgid: 2762122 Ngid: 0 Pid: 2762122 PPid: 2762121 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2762122 NSpid: 2762122 NSpgid: 2754376 NSsid: 2754376 VmPeak: 1106868 kB VmSize: 1106868 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100520 kB VmRSS: 100520 kB RssAnon: 59832 kB RssFile: 40688 kB RssShmem: 0 kB VmData: 865620 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 552 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 6/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 38 nonvoluntary_ctxt_switches: 237 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2762122', 'Ngid': '0', 'Pid': '2762122', 'PPid': '2762121', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2762122', 'NSpid': '2762122', 'NSpgid': '2754376', 'NSsid': '2754376', 'VmPeak': '1106868 kB', 'VmSize': '1106868 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100520 kB', 'VmRSS': '100520 kB', 'RssAnon': '59832 kB', 'RssFile': '40688 kB', 'RssShmem': '0 kB', 'VmData': '865620 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '552 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '6/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '38', 'nonvoluntary_ctxt_switches': '237'} ('datou_batch_current', '2762122', '1106868', '0', '1106868', '865620', '100520', b'', 'marlene', '3269064') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (24825438) 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 (3269064 ) ) 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 (24825438) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1371551302, 'portfolio_id': 24825438}, {'photo_id': 1371551301, 'portfolio_id': 24825438}, {'photo_id': 1371551217, 'portfolio_id': 24825438}, {'photo_id': 1371551214, 'portfolio_id': 24825438}, {'photo_id': 1371551206, 'portfolio_id': 24825438}, {'photo_id': 1371551141, 'portfolio_id': 24825438}, {'photo_id': 1371550946, 'portfolio_id': 24825438}, {'photo_id': 1371550942, 'portfolio_id': 24825438}, {'photo_id': 1371550827, 'portfolio_id': 24825438}, {'photo_id': 1371550798, 'portfolio_id': 24825438}, {'photo_id': 1371550794, 'portfolio_id': 24825438}, {'photo_id': 1371550792, 'portfolio_id': 24825438}, {'photo_id': 1371550641, 'portfolio_id': 24825438}, {'photo_id': 1371550629, 'portfolio_id': 24825438}, {'photo_id': 1371550550, 'portfolio_id': 24825438}, {'photo_id': 1371550535, 'portfolio_id': 24825438}, {'photo_id': 1371550473, 'portfolio_id': 24825438}, {'photo_id': 1371550386, 'portfolio_id': 24825438}, {'photo_id': 1371550316, 'portfolio_id': 24825438}, {'photo_id': 1371550239, 'portfolio_id': 24825438}, {'photo_id': 1371550196, 'portfolio_id': 24825438}, {'photo_id': 1371550195, 'portfolio_id': 24825438}, {'photo_id': 1371550140, 'portfolio_id': 24825438}, {'photo_id': 1371550137, 'portfolio_id': 24825438}, {'photo_id': 1371550032, 'portfolio_id': 24825438}, {'photo_id': 1371549993, 'portfolio_id': 24825438}, {'photo_id': 1371549936, 'portfolio_id': 24825438}, {'photo_id': 1371549863, 'portfolio_id': 24825438}, {'photo_id': 1371549777, 'portfolio_id': 24825438}, {'photo_id': 1371549745, 'portfolio_id': 24825438}, {'photo_id': 1371549665, 'portfolio_id': 24825438}, {'photo_id': 1371549576, 'portfolio_id': 24825438}, {'photo_id': 1371549503, 'portfolio_id': 24825438}, {'photo_id': 1371549501, 'portfolio_id': 24825438}, {'photo_id': 1371549410, 'portfolio_id': 24825438}, {'photo_id': 1371549343, 'portfolio_id': 24825438}] map_portfolio_id_photo_id: {24825438: [1371551302, 1371551301, 1371551217, 1371551214, 1371551206, 1371551141, 1371550946, 1371550942, 1371550827, 1371550798, 1371550794, 1371550792, 1371550641, 1371550629, 1371550550, 1371550535, 1371550473, 1371550386, 1371550316, 1371550239, 1371550196, 1371550195, 1371550140, 1371550137, 1371550032, 1371549993, 1371549936, 1371549863, 1371549777, 1371549745, 1371549665, 1371549576, 1371549503, 1371549501, 1371549410, 1371549343]} ##### 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.014992713928222656 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Jul 11 06:00:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24825438) 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 : 24825438 get user id for portfolio 24825438 get sub ptf for main ptf 24825438, type 3726 and hashtags ['papier', 'Carton_gris', 'flou', 'cartonnette', 'Teint_Dans_La_Masse', 'metal', 'autre_refus', 'environnement', 'mal_croppe', 'kraft', 'Carton_brun', 'plastique'] 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`=24825438 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','flou','cartonnette','Teint_Dans_La_Masse','metal','autre_refus','environnement','mal_croppe','kraft','Carton_brun','plastique')) 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`=24825438 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','flou','cartonnette','Teint_Dans_La_Masse','metal','autre_refus','environnement','mal_croppe','kraft','Carton_brun','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 24825438, 'sub_port_id': 24825444, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704204, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 57)}, 'Carton_brun': {'main_port_id': 24825438, 'sub_port_id': 24825445, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704205, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 57)}, 'plastique': {'main_port_id': 24825438, 'sub_port_id': 24825446, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704206, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 24825438, 'sub_port_id': 24825447, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704207, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 57)}, 'mal_croppe': {'main_port_id': 24825438, 'sub_port_id': 24825448, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704208, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 57)}, 'autre_refus': {'main_port_id': 24825438, 'sub_port_id': 24825449, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704209, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 57)}, 'kraft': {'main_port_id': 24825438, 'sub_port_id': 24825450, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704210, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 57)}, 'cartonnette': {'main_port_id': 24825438, 'sub_port_id': 24825451, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704211, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 57)}, 'Carton_gris': {'main_port_id': 24825438, 'sub_port_id': 24825452, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704212, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 57)}, 'flou': {'main_port_id': 24825438, 'sub_port_id': 24825453, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704213, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 57)}, 'metal': {'main_port_id': 24825438, 'sub_port_id': 24825454, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704214, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 57)}, 'papier': {'main_port_id': 24825438, 'sub_port_id': 24825455, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704215, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24825444 , 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=24825438 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 (24825444) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24825438) result : ((1371549343,), (1371549410,), (1371549501,), (1371549503,), (1371549576,), (1371549665,), (1371549745,), (1371549777,), (1371549863,), (1371549936,), (1371549993,), (1371550032,), (1371550137,), (1371550140,), (1371550195,), (1371550196,), (1371550239,), (1371550316,), (1371550386,), (1371550473,), (1371550535,), (1371550550,), (1371550629,), (1371550641,), (1371550792,), (1371550794,), (1371550798,), (1371550827,), (1371550942,), (1371550946,), (1371551141,), (1371551206,), (1371551214,), (1371551217,), (1371551301,), (1371551302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24825445 , 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=24825438 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 (24825445) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24825438) result : ((1371549343,), (1371549410,), (1371549501,), (1371549503,), (1371549576,), (1371549665,), (1371549745,), (1371549777,), (1371549863,), (1371549936,), (1371549993,), (1371550032,), (1371550137,), (1371550140,), (1371550195,), (1371550196,), (1371550239,), (1371550316,), (1371550386,), (1371550473,), (1371550535,), (1371550550,), (1371550629,), (1371550641,), (1371550792,), (1371550794,), (1371550798,), (1371550827,), (1371550942,), (1371550946,), (1371551141,), (1371551206,), (1371551214,), (1371551217,), (1371551301,), (1371551302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24825446 , 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=24825438 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 (24825446) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24825438) result : ((1371549343,), (1371549410,), (1371549501,), (1371549503,), (1371549576,), (1371549665,), (1371549745,), (1371549777,), (1371549863,), (1371549936,), (1371549993,), (1371550032,), (1371550137,), (1371550140,), (1371550195,), (1371550196,), (1371550239,), (1371550316,), (1371550386,), (1371550473,), (1371550535,), (1371550550,), (1371550629,), (1371550641,), (1371550792,), (1371550794,), (1371550798,), (1371550827,), (1371550942,), (1371550946,), (1371551141,), (1371551206,), (1371551214,), (1371551217,), (1371551301,), (1371551302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24825447 , 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=24825438 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 (24825447) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24825438) result : ((1371549343,), (1371549410,), (1371549501,), (1371549503,), (1371549576,), (1371549665,), (1371549745,), (1371549777,), (1371549863,), (1371549936,), (1371549993,), (1371550032,), (1371550137,), (1371550140,), (1371550195,), (1371550196,), (1371550239,), (1371550316,), (1371550386,), (1371550473,), (1371550535,), (1371550550,), (1371550629,), (1371550641,), (1371550792,), (1371550794,), (1371550798,), (1371550827,), (1371550942,), (1371550946,), (1371551141,), (1371551206,), (1371551214,), (1371551217,), (1371551301,), (1371551302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24825448 , 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=24825438 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 (24825448) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24825438) result : ((1371549343,), (1371549410,), (1371549501,), (1371549503,), (1371549576,), (1371549665,), (1371549745,), (1371549777,), (1371549863,), (1371549936,), (1371549993,), (1371550032,), (1371550137,), (1371550140,), (1371550195,), (1371550196,), (1371550239,), (1371550316,), (1371550386,), (1371550473,), (1371550535,), (1371550550,), (1371550629,), (1371550641,), (1371550792,), (1371550794,), (1371550798,), (1371550827,), (1371550942,), (1371550946,), (1371551141,), (1371551206,), (1371551214,), (1371551217,), (1371551301,), (1371551302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24825449 , 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=24825438 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 (24825449) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24825438) result : ((1371549343,), (1371549410,), (1371549501,), (1371549503,), (1371549576,), (1371549665,), (1371549745,), (1371549777,), (1371549863,), (1371549936,), (1371549993,), (1371550032,), (1371550137,), (1371550140,), (1371550195,), (1371550196,), (1371550239,), (1371550316,), (1371550386,), (1371550473,), (1371550535,), (1371550550,), (1371550629,), (1371550641,), (1371550792,), (1371550794,), (1371550798,), (1371550827,), (1371550942,), (1371550946,), (1371551141,), (1371551206,), (1371551214,), (1371551217,), (1371551301,), (1371551302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24825450 , 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=24825438 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 (24825450) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24825438) result : ((1371549343,), (1371549410,), (1371549501,), (1371549503,), (1371549576,), (1371549665,), (1371549745,), (1371549777,), (1371549863,), (1371549936,), (1371549993,), (1371550032,), (1371550137,), (1371550140,), (1371550195,), (1371550196,), (1371550239,), (1371550316,), (1371550386,), (1371550473,), (1371550535,), (1371550550,), (1371550629,), (1371550641,), (1371550792,), (1371550794,), (1371550798,), (1371550827,), (1371550942,), (1371550946,), (1371551141,), (1371551206,), (1371551214,), (1371551217,), (1371551301,), (1371551302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24825451 , 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=24825438 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 (24825451) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24825438) result : ((1371549343,), (1371549410,), (1371549501,), (1371549503,), (1371549576,), (1371549665,), (1371549745,), (1371549777,), (1371549863,), (1371549936,), (1371549993,), (1371550032,), (1371550137,), (1371550140,), (1371550195,), (1371550196,), (1371550239,), (1371550316,), (1371550386,), (1371550473,), (1371550535,), (1371550550,), (1371550629,), (1371550641,), (1371550792,), (1371550794,), (1371550798,), (1371550827,), (1371550942,), (1371550946,), (1371551141,), (1371551206,), (1371551214,), (1371551217,), (1371551301,), (1371551302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24825452 , 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=24825438 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 (24825452) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24825438) result : ((1371549343,), (1371549410,), (1371549501,), (1371549503,), (1371549576,), (1371549665,), (1371549745,), (1371549777,), (1371549863,), (1371549936,), (1371549993,), (1371550032,), (1371550137,), (1371550140,), (1371550195,), (1371550196,), (1371550239,), (1371550316,), (1371550386,), (1371550473,), (1371550535,), (1371550550,), (1371550629,), (1371550641,), (1371550792,), (1371550794,), (1371550798,), (1371550827,), (1371550942,), (1371550946,), (1371551141,), (1371551206,), (1371551214,), (1371551217,), (1371551301,), (1371551302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24825453 , 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=24825438 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 (24825453) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24825438) result : ((1371549343,), (1371549410,), (1371549501,), (1371549503,), (1371549576,), (1371549665,), (1371549745,), (1371549777,), (1371549863,), (1371549936,), (1371549993,), (1371550032,), (1371550137,), (1371550140,), (1371550195,), (1371550196,), (1371550239,), (1371550316,), (1371550386,), (1371550473,), (1371550535,), (1371550550,), (1371550629,), (1371550641,), (1371550792,), (1371550794,), (1371550798,), (1371550827,), (1371550942,), (1371550946,), (1371551141,), (1371551206,), (1371551214,), (1371551217,), (1371551301,), (1371551302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24825454 , 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=24825438 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 (24825454) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24825438) result : ((1371549343,), (1371549410,), (1371549501,), (1371549503,), (1371549576,), (1371549665,), (1371549745,), (1371549777,), (1371549863,), (1371549936,), (1371549993,), (1371550032,), (1371550137,), (1371550140,), (1371550195,), (1371550196,), (1371550239,), (1371550316,), (1371550386,), (1371550473,), (1371550535,), (1371550550,), (1371550629,), (1371550641,), (1371550792,), (1371550794,), (1371550798,), (1371550827,), (1371550942,), (1371550946,), (1371551141,), (1371551206,), (1371551214,), (1371551217,), (1371551301,), (1371551302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24825455 , 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=24825438 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 (24825455) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24825438) result : ((1371549343,), (1371549410,), (1371549501,), (1371549503,), (1371549576,), (1371549665,), (1371549745,), (1371549777,), (1371549863,), (1371549936,), (1371549993,), (1371550032,), (1371550137,), (1371550140,), (1371550195,), (1371550196,), (1371550239,), (1371550316,), (1371550386,), (1371550473,), (1371550535,), (1371550550,), (1371550629,), (1371550641,), (1371550792,), (1371550794,), (1371550798,), (1371550827,), (1371550942,), (1371550946,), (1371551141,), (1371551206,), (1371551214,), (1371551217,), (1371551301,), (1371551302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24825438 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','flou','cartonnette','Teint_Dans_La_Masse','metal','autre_refus','environnement','mal_croppe','kraft','Carton_brun','plastique')) 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`=24825438 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','flou','cartonnette','Teint_Dans_La_Masse','metal','autre_refus','environnement','mal_croppe','kraft','Carton_brun','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 24825438, 'sub_port_id': 24825456, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704216, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 59)}, 'Carton_brun': {'main_port_id': 24825438, 'sub_port_id': 24825457, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704217, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 59)}, 'plastique': {'main_port_id': 24825438, 'sub_port_id': 24825458, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704218, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 24825438, 'sub_port_id': 24825459, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704219, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 59)}, 'mal_croppe': {'main_port_id': 24825438, 'sub_port_id': 24825460, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704220, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 59)}, 'autre_refus': {'main_port_id': 24825438, 'sub_port_id': 24825461, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704221, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 59)}, 'kraft': {'main_port_id': 24825438, 'sub_port_id': 24825462, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704222, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 59)}, 'cartonnette': {'main_port_id': 24825438, 'sub_port_id': 24825463, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704223, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 59)}, 'Carton_gris': {'main_port_id': 24825438, 'sub_port_id': 24825464, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704224, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 59)}, 'flou': {'main_port_id': 24825438, 'sub_port_id': 24825465, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704225, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 59)}, 'metal': {'main_port_id': 24825438, 'sub_port_id': 24825466, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704226, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 59)}, 'papier': {'main_port_id': 24825438, 'sub_port_id': 24825467, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16704227, 'last_updated_at': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_desc': datetime.datetime(2025, 7, 11, 5, 58, 59), 'last_updated_at_asc': datetime.datetime(2025, 7, 11, 5, 58, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24825456,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24825444 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24825457,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24825445 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24825458,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24825446 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24825459,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24825447 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24825460,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24825448 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24825461,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24825449 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24825462,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24825450 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24825463,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24825451 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24825464,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24825452 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24825465,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24825453 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24825466,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24825454 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24825467,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24825455 lien utilise dans velours : https://www.fotonower.com/velours/24825456,24825457,24825458,24825459,24825460,24825461,24825462,24825463,24825464,24825465,24825466,24825467?tags=environnement,Carton_brun,plastique,Teint_Dans_La_Masse,mal_croppe,autre_refus,kraft,cartonnette,Carton_gris,flou,metal,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24825438]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1371551302, 1371551301, 1371551217, 1371551214, 1371551206, 1371550946, 1371550942, 1371550798, 1371550794, 1371550792, 1371550641, 1371550629, 1371550550, 1371550473, 1371550386, 1371550316, 1371550239, 1371550196, 1371550140, 1371550137, 1371550032, 1371549993, 1371549863, 1371549777, 1371549745, 1371549665, 1371549576, 1371549503, 1371549410, 1371549343] map_info['map_portfolio_photo'] : {24825438: [1371551302, 1371551301, 1371551217, 1371551214, 1371551206, 1371551141, 1371550946, 1371550942, 1371550827, 1371550798, 1371550794, 1371550792, 1371550641, 1371550629, 1371550550, 1371550535, 1371550473, 1371550386, 1371550316, 1371550239, 1371550196, 1371550195, 1371550140, 1371550137, 1371550032, 1371549993, 1371549936, 1371549863, 1371549777, 1371549745, 1371549665, 1371549576, 1371549503, 1371549501, 1371549410, 1371549343]} final : False mtd_id 4302 list_pids : [1371551302, 1371551301, 1371551217, 1371551214, 1371551206, 1371550946, 1371550942, 1371550798, 1371550794, 1371550792, 1371550641, 1371550629, 1371550550, 1371550473, 1371550386, 1371550316, 1371550239, 1371550196, 1371550140, 1371550137, 1371550032, 1371549993, 1371549863, 1371549777, 1371549745, 1371549665, 1371549576, 1371549503, 1371549410, 1371549343] Looping around the photos to save general results len do output : 1 /24825438. 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, '3269064') ('4302', '24825438', '1371551302', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371551301', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371551217', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371551214', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371551206', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550946', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550942', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550798', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550794', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550792', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550641', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550629', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550550', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550473', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550386', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550316', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550239', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550196', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550140', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550137', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550032', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549993', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549863', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549777', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549745', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549665', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549576', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549503', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549410', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549343', None, None, None, None, None, '3269064') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 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, '24825438', "{'environnement': 24825444, 'Carton_brun': 24825445, 'plastique': 24825446, 'Teint_Dans_La_Masse': 24825447, 'mal_croppe': 24825448, 'autre_refus': 24825449, 'kraft': 24825450, 'cartonnette': 24825451, 'Carton_gris': 24825452, 'flou': 24825453, 'metal': 24825454, 'papier': 24825455}", None, None, None, None, '3269064'), ('4302', '24825438', '1371551302', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371551301', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371551217', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371551214', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371551206', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550946', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550942', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550798', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550794', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550792', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550641', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550629', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550550', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550473', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550386', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550316', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550239', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550196', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550140', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550137', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550032', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549993', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549863', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549777', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549745', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549665', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549576', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549503', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549410', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549343', None, None, None, None, None, '3269064')] time used for this insertion : 0.031241178512573242 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5074927806854248 time spend to save output : 0.0317840576171875 total time spend for step 1 : 1.5392768383026123 step2:final Fri Jul 11 06:00:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24825438) 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 24825438 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1371551217,1371550798,1371550386,1371550137,1371549745,1371549343,1371551141,1371550827,1371550535,1371550195,1371549936,1371549501,1371551206,1371550794,1371550473,1371550140,1371549777,1371549410,1371551214,1371550792,1371550550,1371550196,1371549863,1371549503,1371551301,1371550946,1371550629,1371550239,1371549993,1371549576,1371551302,1371550942,1371550641,1371550316,1371550032,1371549665); 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([24825438]) Inside saveOutput : final : False verbose : True original output for save of step final : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} new output for save of step final : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} [1371551302, 1371551301, 1371551217, 1371551214, 1371551206, 1371550946, 1371550942, 1371550798, 1371550794, 1371550792, 1371550641, 1371550629, 1371550550, 1371550473, 1371550386, 1371550316, 1371550239, 1371550196, 1371550140, 1371550137, 1371550032, 1371549993, 1371549863, 1371549777, 1371549745, 1371549665, 1371549576, 1371549503, 1371549410, 1371549343] map_info['map_portfolio_photo'] : {24825438: [1371551302, 1371551301, 1371551217, 1371551214, 1371551206, 1371551141, 1371550946, 1371550942, 1371550827, 1371550798, 1371550794, 1371550792, 1371550641, 1371550629, 1371550550, 1371550535, 1371550473, 1371550386, 1371550316, 1371550239, 1371550196, 1371550195, 1371550140, 1371550137, 1371550032, 1371549993, 1371549936, 1371549863, 1371549777, 1371549745, 1371549665, 1371549576, 1371549503, 1371549501, 1371549410, 1371549343]} final : False mtd_id 4302 list_pids : [1371551302, 1371551301, 1371551217, 1371551214, 1371551206, 1371550946, 1371550942, 1371550798, 1371550794, 1371550792, 1371550641, 1371550629, 1371550550, 1371550473, 1371550386, 1371550316, 1371550239, 1371550196, 1371550140, 1371550137, 1371550032, 1371549993, 1371549863, 1371549777, 1371549745, 1371549665, 1371549576, 1371549503, 1371549410, 1371549343] Looping around the photos to save general results len do output : 30 /1371551302.Didn't retrieve data . /1371551301.Didn't retrieve data . /1371551217.Didn't retrieve data . /1371551214.Didn't retrieve data . /1371551206.Didn't retrieve data . /1371550946.Didn't retrieve data . /1371550942.Didn't retrieve data . /1371550798.Didn't retrieve data . /1371550794.Didn't retrieve data . /1371550792.Didn't retrieve data . /1371550641.Didn't retrieve data . /1371550629.Didn't retrieve data . /1371550550.Didn't retrieve data . /1371550473.Didn't retrieve data . /1371550386.Didn't retrieve data . /1371550316.Didn't retrieve data . /1371550239.Didn't retrieve data . /1371550196.Didn't retrieve data . /1371550140.Didn't retrieve data . /1371550137.Didn't retrieve data . /1371550032.Didn't retrieve data . /1371549993.Didn't retrieve data . /1371549863.Didn't retrieve data . /1371549777.Didn't retrieve data . /1371549745.Didn't retrieve data . /1371549665.Didn't retrieve data . /1371549576.Didn't retrieve data . /1371549503.Didn't retrieve data . /1371549410.Didn't retrieve data . /1371549343.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, '3269064') ('4302', '24825438', '1371551302', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371551301', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371551217', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371551214', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371551206', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550946', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550942', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550798', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550794', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550792', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550641', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550629', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550550', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550473', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550386', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550316', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550239', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550196', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550140', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550137', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550032', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549993', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549863', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549777', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549745', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549665', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549576', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549503', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549410', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549343', None, None, None, None, None, '3269064') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 90 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', '24825438', '1371551302', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371551301', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371551217', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371551214', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371551206', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371550946', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371550942', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371550798', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371550794', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371550792', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371550641', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371550629', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371550550', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371550473', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371550386', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371550316', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371550239', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371550196', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371550140', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371550137', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371550032', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371549993', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371549863', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371549777', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371549745', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371549665', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371549576', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371549503', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371549410', '0.002488134658350834', None, None, None, None, '3269064'), ('4302', '24825438', '1371549343', '0.002488134658350834', None, None, None, None, '3269064')] time used for this insertion : 0.02773451805114746 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0662839412689209 time spend to save output : 0.02899909019470215 total time spend for step 2 : 0.09528303146362305 step3:velours_tree Fri Jul 11 06:00:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {24825438: [{'environnement': 24825444, 'Carton_brun': 24825445, 'plastique': 24825446, 'Teint_Dans_La_Masse': 24825447, 'mal_croppe': 24825448, 'autre_refus': 24825449, 'kraft': 24825450, 'cartonnette': 24825451, 'Carton_gris': 24825452, 'flou': 24825453, 'metal': 24825454, 'papier': 24825455}]} input_args_next_step : {24825438: ()} output_args : {24825438: [{'environnement': 24825444, 'Carton_brun': 24825445, 'plastique': 24825446, 'Teint_Dans_La_Masse': 24825447, 'mal_croppe': 24825448, 'autre_refus': 24825449, 'kraft': 24825450, 'cartonnette': 24825451, 'Carton_gris': 24825452, 'flou': 24825453, 'metal': 24825454, 'papier': 24825455}]} args : 24825438 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 : ({'environnement': 24825444, 'Carton_brun': 24825445, 'plastique': 24825446, 'Teint_Dans_La_Masse': 24825447, 'mal_croppe': 24825448, 'autre_refus': 24825449, 'kraft': 24825450, 'cartonnette': 24825451, 'Carton_gris': 24825452, 'flou': 24825453, 'metal': 24825454, 'papier': 24825455},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24825438) 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([24825438]) 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.3377346992492676 time spend to save output : 5.984306335449219e-05 total time spend for step 3 : 0.33779454231262207 step4:send_mail_cod Fri Jul 11 06:00:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} input_args_next_step : {1371551302: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371551302 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371551301 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371551217 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371551214 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371551206 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371550946 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371550942 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371550798 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371550794 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371550792 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371550641 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371550629 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371550550 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371550473 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371550386 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371550316 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371550239 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371550196 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371550140 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371550137 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371550032 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371549993 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371549863 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371549777 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371549745 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371549665 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371549576 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371549503 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371549410 depend.output_id : 0 input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ()} output_args : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',)} args : 1371549343 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 : {24825438: [{'environnement': 24825444, 'Carton_brun': 24825445, 'plastique': 24825446, 'Teint_Dans_La_Masse': 24825447, 'mal_croppe': 24825448, 'autre_refus': 24825449, 'kraft': 24825450, 'cartonnette': 24825451, 'Carton_gris': 24825452, 'flou': 24825453, 'metal': 24825454, 'papier': 24825455}]} input_args_next_step : {1371551302: ('0.002488134658350834',), 1371551301: ('0.002488134658350834',), 1371551217: ('0.002488134658350834',), 1371551214: ('0.002488134658350834',), 1371551206: ('0.002488134658350834',), 1371550946: ('0.002488134658350834',), 1371550942: ('0.002488134658350834',), 1371550798: ('0.002488134658350834',), 1371550794: ('0.002488134658350834',), 1371550792: ('0.002488134658350834',), 1371550641: ('0.002488134658350834',), 1371550629: ('0.002488134658350834',), 1371550550: ('0.002488134658350834',), 1371550473: ('0.002488134658350834',), 1371550386: ('0.002488134658350834',), 1371550316: ('0.002488134658350834',), 1371550239: ('0.002488134658350834',), 1371550196: ('0.002488134658350834',), 1371550140: ('0.002488134658350834',), 1371550137: ('0.002488134658350834',), 1371550032: ('0.002488134658350834',), 1371549993: ('0.002488134658350834',), 1371549863: ('0.002488134658350834',), 1371549777: ('0.002488134658350834',), 1371549745: ('0.002488134658350834',), 1371549665: ('0.002488134658350834',), 1371549576: ('0.002488134658350834',), 1371549503: ('0.002488134658350834',), 1371549410: ('0.002488134658350834',), 1371549343: ('0.002488134658350834',), 24825438: ()} output_args : {24825438: [{'environnement': 24825444, 'Carton_brun': 24825445, 'plastique': 24825446, 'Teint_Dans_La_Masse': 24825447, 'mal_croppe': 24825448, 'autre_refus': 24825449, 'kraft': 24825450, 'cartonnette': 24825451, 'Carton_gris': 24825452, 'flou': 24825453, 'metal': 24825454, 'papier': 24825455}]} args : 24825438 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 :31, first value : ('0.002488134658350834',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24825438) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1371551302,1371551301,1371551217,1371551214,1371551206,1371550946,1371550942,1371550798,1371550794,1371550792,1371550641,1371550629,1371550550,1371550473,1371550386,1371550316,1371550239,1371550196,1371550140,1371550137,1371550032,1371549993,1371549863,1371549777,1371549745,1371549665,1371549576,1371549503,1371549410,1371549343) Found this number of photos: 30 ##### Call download_photos : nb_thread : 5 begin to download photo : 1371549343 begin to download photo : 1371549863 begin to download photo : 1371550316 begin to download photo : 1371550794 begin to download photo : 1371551301 download finish for photo 1371549863 begin to download photo : 1371549993 download finish for photo 1371551301 begin to download photo : 1371551302 download finish for photo 1371549343 begin to download photo : 1371549410 download finish for photo 1371550794 begin to download photo : 1371550798 download finish for photo 1371549993 begin to download photo : 1371550032 download finish for photo 1371551302 download finish for photo 1371550316 begin to download photo : 1371550386 download finish for photo 1371550798 begin to download photo : 1371550942 download finish for photo 1371549410 begin to download photo : 1371549503 download finish for photo 1371550386 begin to download photo : 1371550473 download finish for photo 1371549503 begin to download photo : 1371549576 download finish for photo 1371550942 begin to download photo : 1371550946 download finish for photo 1371550032 begin to download photo : 1371550137 download finish for photo 1371550946 begin to download photo : 1371551206 download finish for photo 1371549576 begin to download photo : 1371549665 download finish for photo 1371550473 begin to download photo : 1371550550 download finish for photo 1371550137 begin to download photo : 1371550140 download finish for photo 1371550140 begin to download photo : 1371550196 download finish for photo 1371551206 begin to download photo : 1371551214 download finish for photo 1371550550 begin to download photo : 1371550629 download finish for photo 1371549665 begin to download photo : 1371549745 download finish for photo 1371550196 begin to download photo : 1371550239 download finish for photo 1371550629 begin to download photo : 1371550641 download finish for photo 1371549745 begin to download photo : 1371549777 download finish for photo 1371550239 download finish for photo 1371550641 begin to download photo : 1371550792 download finish for photo 1371551214 begin to download photo : 1371551217 download finish for photo 1371549777 download finish for photo 1371551217 download finish for photo 1371550792 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette248254461752206432/ imagette248254481752206432/ imagette248254491752206432/ imagette248254501752206432/ imagette248254511752206432/ imagette248254531752206432/ imagette248254541752206432/ imagette248254451752206432/ imagette248254471752206432/ imagette248254521752206432/ length of list_filenames : 30 ; length of list_pids : 30 ; length of list_args : 30 results_Auto_P24825438_11-07-2025_06_00_32.pdf 24825446 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24825446 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette248254461752206432 24825448 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24825448 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette248254481752206432 24825449 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24825449 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette248254491752206432 24825450 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24825450 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette248254501752206432 24825451 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24825451 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette248254511752206432 24825453 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24825453 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette248254531752206432 24825454 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24825454 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette248254541752206432 24825445 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24825445 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette248254451752206432 24825447 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24825447 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette248254471752206432 24825452 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24825452 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette248254521752206432 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=24825438 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/24825456,24825457,24825458,24825459,24825460,24825461,24825462,24825463,24825464,24825465,24825466,24825467?tags=environnement,Carton_brun,plastique,Teint_Dans_La_Masse,mal_croppe,autre_refus,kraft,cartonnette,Carton_gris,flou,metal,papier your option no_mail is active, we will not send the real mail to your client args[1371551302] : ('0.002488134658350834',) no score found for photo 1371551302 We are sending mail with results at report@fotonower.com args[1371551301] : ('0.002488134658350834',) no score found for photo 1371551301 We are sending mail with results at report@fotonower.com args[1371551217] : ('0.002488134658350834',) no score found for photo 1371551217 We are sending mail with results at report@fotonower.com args[1371551214] : ('0.002488134658350834',) no score found for photo 1371551214 We are sending mail with results at report@fotonower.com args[1371551206] : ('0.002488134658350834',) no score found for photo 1371551206 We are sending mail with results at report@fotonower.com args[1371550946] : ('0.002488134658350834',) no score found for photo 1371550946 We are sending mail with results at report@fotonower.com args[1371550942] : ('0.002488134658350834',) no score found for photo 1371550942 We are sending mail with results at report@fotonower.com args[1371550798] : ('0.002488134658350834',) no score found for photo 1371550798 We are sending mail with results at report@fotonower.com args[1371550794] : ('0.002488134658350834',) no score found for photo 1371550794 We are sending mail with results at report@fotonower.com args[1371550792] : ('0.002488134658350834',) no score found for photo 1371550792 We are sending mail with results at report@fotonower.com args[1371550641] : ('0.002488134658350834',) no score found for photo 1371550641 We are sending mail with results at report@fotonower.com args[1371550629] : ('0.002488134658350834',) no score found for photo 1371550629 We are sending mail with results at report@fotonower.com args[1371550550] : ('0.002488134658350834',) no score found for photo 1371550550 We are sending mail with results at report@fotonower.com args[1371550473] : ('0.002488134658350834',) no score found for photo 1371550473 We are sending mail with results at report@fotonower.com args[1371550386] : ('0.002488134658350834',) no score found for photo 1371550386 We are sending mail with results at report@fotonower.com args[1371550316] : ('0.002488134658350834',) no score found for photo 1371550316 We are sending mail with results at report@fotonower.com args[1371550239] : ('0.002488134658350834',) no score found for photo 1371550239 We are sending mail with results at report@fotonower.com args[1371550196] : ('0.002488134658350834',) no score found for photo 1371550196 We are sending mail with results at report@fotonower.com args[1371550140] : ('0.002488134658350834',) no score found for photo 1371550140 We are sending mail with results at report@fotonower.com args[1371550137] : ('0.002488134658350834',) no score found for photo 1371550137 We are sending mail with results at report@fotonower.com args[1371550032] : ('0.002488134658350834',) no score found for photo 1371550032 We are sending mail with results at report@fotonower.com args[1371549993] : ('0.002488134658350834',) no score found for photo 1371549993 We are sending mail with results at report@fotonower.com args[1371549863] : ('0.002488134658350834',) no score found for photo 1371549863 We are sending mail with results at report@fotonower.com args[1371549777] : ('0.002488134658350834',) no score found for photo 1371549777 We are sending mail with results at report@fotonower.com args[1371549745] : ('0.002488134658350834',) no score found for photo 1371549745 We are sending mail with results at report@fotonower.com args[1371549665] : ('0.002488134658350834',) no score found for photo 1371549665 We are sending mail with results at report@fotonower.com args[1371549576] : ('0.002488134658350834',) no score found for photo 1371549576 We are sending mail with results at report@fotonower.com args[1371549503] : ('0.002488134658350834',) no score found for photo 1371549503 We are sending mail with results at report@fotonower.com args[1371549410] : ('0.002488134658350834',) no score found for photo 1371549410 We are sending mail with results at report@fotonower.com args[1371549343] : ('0.002488134658350834',) no score found for photo 1371549343 We are sending mail with results at report@fotonower.com refus_total : 0.002488134658350834 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24825438 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_P24825438_11-07-2025_06_00_32.pdf results_Auto_P24825438_11-07-2025_06_00_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24825438_11-07-2025_06_00_32.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','24825438','results_Auto_P24825438_11-07-2025_06_00_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24825438_11-07-2025_06_00_32.pdf','pdf','','0.22','0.002488134658350834') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24825438]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1371551302, 1371551301, 1371551217, 1371551214, 1371551206, 1371550946, 1371550942, 1371550798, 1371550794, 1371550792, 1371550641, 1371550629, 1371550550, 1371550473, 1371550386, 1371550316, 1371550239, 1371550196, 1371550140, 1371550137, 1371550032, 1371549993, 1371549863, 1371549777, 1371549745, 1371549665, 1371549576, 1371549503, 1371549410, 1371549343] map_info['map_portfolio_photo'] : {24825438: [1371551302, 1371551301, 1371551217, 1371551214, 1371551206, 1371551141, 1371550946, 1371550942, 1371550827, 1371550798, 1371550794, 1371550792, 1371550641, 1371550629, 1371550550, 1371550535, 1371550473, 1371550386, 1371550316, 1371550239, 1371550196, 1371550195, 1371550140, 1371550137, 1371550032, 1371549993, 1371549936, 1371549863, 1371549777, 1371549745, 1371549665, 1371549576, 1371549503, 1371549501, 1371549410, 1371549343]} final : False mtd_id 4302 list_pids : [1371551302, 1371551301, 1371551217, 1371551214, 1371551206, 1371550946, 1371550942, 1371550798, 1371550794, 1371550792, 1371550641, 1371550629, 1371550550, 1371550473, 1371550386, 1371550316, 1371550239, 1371550196, 1371550140, 1371550137, 1371550032, 1371549993, 1371549863, 1371549777, 1371549745, 1371549665, 1371549576, 1371549503, 1371549410, 1371549343] 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, '3269064') ('4302', '24825438', '1371551302', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371551301', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371551217', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371551214', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371551206', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550946', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550942', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550798', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550794', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550792', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550641', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550629', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550550', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550473', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550386', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550316', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550239', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550196', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550140', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550137', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550032', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549993', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549863', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549777', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549745', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549665', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549576', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549503', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549410', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549343', None, None, None, None, None, '3269064') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 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', '24825438', '1371551302', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371551301', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371551217', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371551214', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371551206', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550946', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550942', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550798', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550794', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550792', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550641', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550629', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550550', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550473', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550386', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550316', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550239', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550196', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550140', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550137', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550032', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549993', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549863', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549777', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549745', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549665', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549576', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549503', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549410', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549343', None, None, None, None, None, '3269064')] time used for this insertion : 0.017618656158447266 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.2675814628601074 time spend to save output : 0.01793527603149414 total time spend for step 4 : 3.2855167388916016 step5:split_time_score Fri Jul 11 06:00:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['24825438'] 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 : [('24825438',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24825438) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1371551301: {'path': 'temp/1752206431_2762122_1371551301_1ddc29a7ca1c2ab2607cc6c72e5fdd6d.jpg', 'extension': 'jpg'}, 1371551302: {'path': 'temp/1752206431_2762122_1371551302_289ffd16ef2e1d4b6e27cfea30339de1.jpg', 'extension': 'jpg'}, 1371549863: {'path': 'temp/1752206431_2762122_1371549863_47e28c875e87a60a921a5c514f556e02.jpg', 'extension': 'jpg'}, 1371549993: {'path': 'temp/1752206431_2762122_1371549993_5cc8345cb9b44f1a2d170db912324ab2.jpg', 'extension': 'jpg'}, 1371550032: {'path': 'temp/1752206431_2762122_1371550032_3f1186af3f50e57301d757377dcdbce7.jpg', 'extension': 'jpg'}, 1371550137: {'path': 'temp/1752206431_2762122_1371550137_26e2be5a8d032f801551a83415755d43.jpg', 'extension': 'jpg'}, 1371550140: {'path': 'temp/1752206431_2762122_1371550140_a62434d6b55532c5e5d078114657b7a6.jpg', 'extension': 'jpg'}, 1371550196: {'path': 'temp/1752206431_2762122_1371550196_6b840460c58f2b93abecbc20a7d027a7.jpg', 'extension': 'jpg'}, 1371550239: {'path': 'temp/1752206431_2762122_1371550239_3c3f2ac6ae49239700981cc5dcc56c24.jpg', 'extension': 'jpg'}, 1371549343: {'path': 'temp/1752206431_2762122_1371549343_78476e6b5fae459ce85e16730f7eb164.jpg', 'extension': 'jpg'}, 1371549410: {'path': 'temp/1752206431_2762122_1371549410_a5556ff3b71209e9e2d072d6c64cca12.jpg', 'extension': 'jpg'}, 1371549503: {'path': 'temp/1752206431_2762122_1371549503_2fe5ba2ffaefdf131d6627996d4d59cf.jpg', 'extension': 'jpg'}, 1371549576: {'path': 'temp/1752206431_2762122_1371549576_6550c7231c03860f9a46f750e492b04e.jpg', 'extension': 'jpg'}, 1371549665: {'path': 'temp/1752206431_2762122_1371549665_0644fa1795fb1f37a1682be4aa16b763.jpg', 'extension': 'jpg'}, 1371549745: {'path': 'temp/1752206431_2762122_1371549745_62ddab58b40b1a9caee064543bb413e7.jpg', 'extension': 'jpg'}, 1371549777: {'path': 'temp/1752206431_2762122_1371549777_8a5c9375efbaa95dc743a14e41e67cfd.jpg', 'extension': 'jpg'}, 1371550794: {'path': 'temp/1752206431_2762122_1371550794_cc5e2d9e5d0f6dc7c06950ddb70291e2.jpg', 'extension': 'jpg'}, 1371550798: {'path': 'temp/1752206431_2762122_1371550798_b7860aab3997347b929fd94e69bb82e7.jpg', 'extension': 'jpg'}, 1371550942: {'path': 'temp/1752206431_2762122_1371550942_446a2660c7150d69a0d1fd678a9c0c40.jpg', 'extension': 'jpg'}, 1371550946: {'path': 'temp/1752206431_2762122_1371550946_e98fc265907cf3bf187a4db9fa5cb5d5.jpg', 'extension': 'jpg'}, 1371551206: {'path': 'temp/1752206431_2762122_1371551206_9b8561774f30badec7527a1fa44553aa.jpg', 'extension': 'jpg'}, 1371551214: {'path': 'temp/1752206431_2762122_1371551214_99a8661588330d5573a996b36410a867.jpg', 'extension': 'jpg'}, 1371551217: {'path': 'temp/1752206431_2762122_1371551217_874623fe8b30544e2d7a03491757cddd.jpg', 'extension': 'jpg'}, 1371550316: {'path': 'temp/1752206431_2762122_1371550316_0caac4a2466dcb6d50286f1b9e465da3.jpg', 'extension': 'jpg'}, 1371550386: {'path': 'temp/1752206431_2762122_1371550386_d4a86fd8acaef48990e9dc9b3387daf1.jpg', 'extension': 'jpg'}, 1371550473: {'path': 'temp/1752206431_2762122_1371550473_e9ecfbdfe8bd257c087b72b57ba4a6c3.jpg', 'extension': 'jpg'}, 1371550550: {'path': 'temp/1752206431_2762122_1371550550_20de767819d47295f574533e2d283885.jpg', 'extension': 'jpg'}, 1371550629: {'path': 'temp/1752206431_2762122_1371550629_4fadf1fdc1f6ddcefe2c8238e0b87087.jpg', 'extension': 'jpg'}, 1371550641: {'path': 'temp/1752206431_2762122_1371550641_ca07b9331507e65ebc251853cf424333.jpg', 'extension': 'jpg'}, 1371550792: {'path': 'temp/1752206431_2762122_1371550792_439d8701f37391ed6a667b67785308bf.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 = 24825438; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 24825438 group by h (('05', 36),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24825438 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 (24825438) 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 (24825438) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 11072025 24825438 Nombre de photos uploadées : 36 / 23040 (0%) 11072025 24825438 Nombre de photos taguées (types de déchets): 0 / 36 (0%) 11072025 24825438 Nombre de photos taguées (volume) : 0 / 36 (0%) [{'photo_id': 1371551217, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/874623fe8b30544e2d7a03491757cddd.jpg', 'username': None, 'uploaded_at': 1752203797, 'text': 'image_11072025_05_15_03_9123.jpg'}, {'photo_id': 1371550798, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b7860aab3997347b929fd94e69bb82e7.jpg', 'username': None, 'uploaded_at': 1752203797, 'text': 'image_11072025_05_15_13_10143.jpg'}, {'photo_id': 1371550386, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d4a86fd8acaef48990e9dc9b3387daf1.jpg', 'username': None, 'uploaded_at': 1752203797, 'text': 'image_11072025_05_15_23_10135.jpg'}, {'photo_id': 1371550137, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/26e2be5a8d032f801551a83415755d43.jpg', 'username': None, 'uploaded_at': 1752203797, 'text': 'image_11072025_05_15_33_10135.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.5299530029296875e-06 ???????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0023970603942871094 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 24825438, '2025-07-11' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1968545,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02320408821105957 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= 1968545 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1968545, 'dashboard_run_id': 1976676, 'mtr_portfolio_id': 24815712, 'dashboard_result_id': 12394066, '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_P24815712_11-07-2025_00_59_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24815713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24815714, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24815715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24815716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24815717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24815718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24815719, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24815720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24815721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24815722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24815723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24815724, 'pht': 3726}}"}, {'dashboat_entry_day': 1968545, 'dashboard_run_id': 1976676, 'mtr_portfolio_id': 24815891, 'dashboard_result_id': 12394067, '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_P24815891_11-07-2025_01_14_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24815922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24815923, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24815924, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24815925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24815926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24815927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24815928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24815929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24815930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24815931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24815932, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24815933, 'pht': 3726}}"}, {'dashboat_entry_day': 1968545, 'dashboard_run_id': 1976676, 'mtr_portfolio_id': 24816337, 'dashboard_result_id': 12394068, '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_P24816337_11-07-2025_01_28_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24816342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24816343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24816344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24816345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24816346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24816347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24816348, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24816349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24816350, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24816351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24816352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24816353, 'pht': 3726}}"}, {'dashboat_entry_day': 1968545, 'dashboard_run_id': 1976676, 'mtr_portfolio_id': 24816682, 'dashboard_result_id': 12394069, '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_P24816682_11-07-2025_02_10_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24816733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24816734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24816735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24816736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24816737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24816738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24816739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24816740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24816741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24816742, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24816743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24816744, 'pht': 3726}}"}, {'dashboat_entry_day': 1968545, 'dashboard_run_id': 1976676, 'mtr_portfolio_id': 24817118, 'dashboard_result_id': 12394070, '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_P24817118_11-07-2025_01_58_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24817145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24817146, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24817147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24817148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24817149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24817150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24817151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24817152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24817153, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24817154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24817155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24817156, 'pht': 3726}}"}, {'dashboat_entry_day': 1968545, 'dashboard_run_id': 1976676, 'mtr_portfolio_id': 24817531, 'dashboard_result_id': 12394071, '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_P24817531_11-07-2025_02_09_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24817585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24817586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24817587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24817588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24817589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24817591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24817592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24817593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24817594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24817595, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24817596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24817597, 'pht': 3726}}"}, {'dashboat_entry_day': 1968545, 'dashboard_run_id': 1976676, 'mtr_portfolio_id': 24819467, 'dashboard_result_id': 12394072, '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_P24819467_11-07-2025_02_29_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24819496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24819497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24819498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24819499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24819500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24819501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24819502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24819503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24819504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24819505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24819506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24819507, 'pht': 3726}}"}, {'dashboat_entry_day': 1968545, 'dashboard_run_id': 1976676, 'mtr_portfolio_id': 24819665, 'dashboard_result_id': 12394073, '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_P24819665_11-07-2025_02_44_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24819672, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24819673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24819674, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24819675, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24819676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24819677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24819678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24819679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24819680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24819681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24819682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24819683, 'pht': 3726}}"}, {'dashboat_entry_day': 1968545, 'dashboard_run_id': 1976676, 'mtr_portfolio_id': 24819958, 'dashboard_result_id': 12394074, '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_P24819958_11-07-2025_04_05_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24819988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24819989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24819990, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24819991, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24819992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24819993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24819994, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24819995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24819996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24819997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24819998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24819999, 'pht': 3726}}"}, {'dashboat_entry_day': 1968545, 'dashboard_run_id': 1976676, 'mtr_portfolio_id': 24820502, 'dashboard_result_id': 12394075, '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_P24820502_11-07-2025_04_06_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24820528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24820529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24820530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24820531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24820532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24820533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24820534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24820535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24820536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24820537, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24820538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24820539, 'pht': 3726}}"}, {'dashboat_entry_day': 1968545, 'dashboard_run_id': 1976676, 'mtr_portfolio_id': 24820893, 'dashboard_result_id': 12394076, '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_P24820893_11-07-2025_03_28_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24820897, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24820898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24820899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24820900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24820901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24820902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24820903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24820904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24820905, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24820906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24820907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24820908, 'pht': 3726}}"}, {'dashboat_entry_day': 1968545, 'dashboard_run_id': 1976676, 'mtr_portfolio_id': 24821283, 'dashboard_result_id': 12394077, '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_P24821283_11-07-2025_04_07_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24821289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24821290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24821291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24821292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24821293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24821294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24821295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24821296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24821297, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24821298, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24821299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24821300, 'pht': 3726}}"}, {'dashboat_entry_day': 1968545, 'dashboard_run_id': 1976676, 'mtr_portfolio_id': 24821562, 'dashboard_result_id': 12394078, '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_P24821562_11-07-2025_04_07_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24821568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24821569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24821570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24821571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24821572, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24821573, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24821574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24821575, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24821576, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24821577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24821578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24821579, 'pht': 3726}}"}, {'dashboat_entry_day': 1968545, 'dashboard_run_id': 1976676, 'mtr_portfolio_id': 24821811, 'dashboard_result_id': 12394079, '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_P24821811_11-07-2025_04_13_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24821818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24821819, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24821820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24821821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24821822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24821823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24821824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24821825, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24821826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24821827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24821828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24821829, 'pht': 3726}}"}, {'dashboat_entry_day': 1968545, 'dashboard_run_id': 1976676, 'mtr_portfolio_id': 24822776, 'dashboard_result_id': 12394080, '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_P24822776_11-07-2025_04_26_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24822780, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24822781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24822782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24822783, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24822784, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24822785, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24822786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24822787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24822788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24822789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24822790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24822791, 'pht': 3726}}"}, {'dashboat_entry_day': 1968545, 'dashboard_run_id': 1976676, 'mtr_portfolio_id': 24823015, 'dashboard_result_id': 12394081, '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_P24823015_11-07-2025_04_44_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24823024, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24823025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24823026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24823027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24823028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24823029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24823030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24823031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24823032, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24823033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24823034, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24823035, 'pht': 3726}}"}, {'dashboat_entry_day': 1968545, 'dashboard_run_id': 1976676, 'mtr_portfolio_id': 24823508, 'dashboard_result_id': 12394082, '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_P24823508_11-07-2025_04_57_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24823559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24823560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24823561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24823562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24823563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24823564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24823565, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24823566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24823567, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24823568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24823569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24823570, 'pht': 3726}}"}, {'dashboat_entry_day': 1968545, 'dashboard_run_id': 1976676, 'mtr_portfolio_id': 24823872, 'dashboard_result_id': 12394083, '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_P24823872_11-07-2025_04_59_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24823901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24823902, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24823903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24823904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24823905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24823906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24823907, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24823908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24823909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24823910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24823911, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24823912, 'pht': 3726}}"}, {'dashboat_entry_day': 1968545, 'dashboard_run_id': 1976676, 'mtr_portfolio_id': 24825438, 'dashboard_result_id': 12394084, '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_P24825438_11-07-2025_05_59_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24825444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24825445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24825446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24825447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24825448, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24825449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24825450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24825451, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24825452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24825453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24825454, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24825455, '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 = 24815712 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': 3267843, 'mtr_portfolio_id': 24815712, 'created_at': datetime.datetime(2025, 7, 11, 0, 59), 'result': '0.05545678684241574', 'result_long': None, 'result_double': None}] Qualite : 0.05545678684241574 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24815712 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24815712_11-07-2025_00_59_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24815712 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_P24815712_11-07-2025_00_59_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24815713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24815714, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24815715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24815716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24815717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24815718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24815719, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24815720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24815721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24815722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24815723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24815724, 'pht': 3726}}" where mtr_portfolio_id = 24815712 and dashboard_run_id = 1976676 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`=24815712 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12394066, 0.05545678684241574, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24815712_11-07-2025_00_59_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24815713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24815714, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24815715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24815716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24815717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24815718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24815719, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24815720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24815721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24815722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24815723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24815724, '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 = 24815891 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': 3267901, 'mtr_portfolio_id': 24815891, 'created_at': datetime.datetime(2025, 7, 11, 1, 14, 56), 'result': '0.025593990085961978', 'result_long': None, 'result_double': None}] Qualite : 0.025593990085961978 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24815891 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24815891_11-07-2025_01_14_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24815891 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_P24815891_11-07-2025_01_14_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24815922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24815923, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24815924, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24815925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24815926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24815927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24815928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24815929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24815930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24815931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24815932, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24815933, 'pht': 3726}}" where mtr_portfolio_id = 24815891 and dashboard_run_id = 1976676 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`=24815891 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12394067, 0.025593990085961978, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24815891_11-07-2025_01_14_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24815922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24815923, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24815924, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24815925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24815926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24815927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24815928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24815929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24815930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24815931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24815932, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24815933, '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 = 24816337 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': 3267964, 'mtr_portfolio_id': 24816337, 'created_at': datetime.datetime(2025, 7, 11, 1, 28, 59), 'result': '0.029185702387397736', 'result_long': None, 'result_double': None}] Qualite : 0.029185702387397736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24816337 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24816337_11-07-2025_01_28_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24816337 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_P24816337_11-07-2025_01_28_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24816342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24816343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24816344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24816345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24816346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24816347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24816348, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24816349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24816350, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24816351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24816352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24816353, 'pht': 3726}}" where mtr_portfolio_id = 24816337 and dashboard_run_id = 1976676 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`=24816337 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12394068, 0.029185702387397736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24816337_11-07-2025_01_28_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24816342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24816343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24816344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24816345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24816346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24816347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24816348, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24816349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24816350, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24816351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24816352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24816353, '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 = 24816682 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': 3268007, 'mtr_portfolio_id': 24816682, 'created_at': datetime.datetime(2025, 7, 11, 2, 10, 58), 'result': '0.03206860266542557', 'result_long': None, 'result_double': None}] Qualite : 0.03206860266542557 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24816682 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24816682_11-07-2025_02_10_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24816682 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_P24816682_11-07-2025_02_10_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24816733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24816734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24816735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24816736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24816737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24816738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24816739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24816740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24816741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24816742, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24816743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24816744, 'pht': 3726}}" where mtr_portfolio_id = 24816682 and dashboard_run_id = 1976676 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`=24816682 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12394069, 0.03206860266542557, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24816682_11-07-2025_02_10_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24816733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24816734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24816735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24816736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24816737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24816738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24816739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24816740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24816741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24816742, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24816743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24816744, '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 = 24817118 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': 3268049, 'mtr_portfolio_id': 24817118, 'created_at': datetime.datetime(2025, 7, 11, 1, 58, 58), 'result': '0.0133335968127816', 'result_long': None, 'result_double': None}] Qualite : 0.0133335968127816 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24817118 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24817118_11-07-2025_01_58_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24817118 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_P24817118_11-07-2025_01_58_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24817145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24817146, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24817147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24817148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24817149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24817150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24817151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24817152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24817153, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24817154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24817155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24817156, 'pht': 3726}}" where mtr_portfolio_id = 24817118 and dashboard_run_id = 1976676 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`=24817118 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12394070, 0.0133335968127816, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24817118_11-07-2025_01_58_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24817145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24817146, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24817147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24817148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24817149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24817150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24817151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24817152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24817153, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24817154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24817155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24817156, '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 = 24817531 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 = 24817531 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24817531 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24817531_11-07-2025_02_09_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24817531 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_P24817531_11-07-2025_02_09_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24817585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24817586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24817587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24817588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24817589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24817591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24817592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24817593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24817594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24817595, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24817596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24817597, 'pht': 3726}}" where mtr_portfolio_id = 24817531 and dashboard_run_id = 1976676 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 = 24819467 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': 3268157, 'mtr_portfolio_id': 24819467, 'created_at': datetime.datetime(2025, 7, 11, 2, 29), 'result': '0.05435022973570513', 'result_long': None, 'result_double': None}] Qualite : 0.05435022973570513 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24819467 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24819467_11-07-2025_02_29_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24819467 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_P24819467_11-07-2025_02_29_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24819496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24819497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24819498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24819499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24819500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24819501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24819502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24819503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24819504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24819505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24819506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24819507, 'pht': 3726}}" where mtr_portfolio_id = 24819467 and dashboard_run_id = 1976676 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`=24819467 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12394072, 0.05435022973570513, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24819467_11-07-2025_02_29_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24819496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24819497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24819498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24819499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24819500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24819501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24819502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24819503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24819504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24819505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24819506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24819507, '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 = 24819665 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': 3268202, 'mtr_portfolio_id': 24819665, 'created_at': datetime.datetime(2025, 7, 11, 2, 44, 58), 'result': '0.037752898743258774', 'result_long': None, 'result_double': None}] Qualite : 0.037752898743258774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24819665 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24819665_11-07-2025_02_44_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24819665 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_P24819665_11-07-2025_02_44_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24819672, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24819673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24819674, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24819675, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24819676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24819677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24819678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24819679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24819680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24819681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24819682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24819683, 'pht': 3726}}" where mtr_portfolio_id = 24819665 and dashboard_run_id = 1976676 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`=24819665 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12394073, 0.037752898743258774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24819665_11-07-2025_02_44_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24819672, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24819673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24819674, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24819675, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24819676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24819677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24819678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24819679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24819680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24819681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24819682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24819683, '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 = 24819958 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': 3268246, 'mtr_portfolio_id': 24819958, 'created_at': datetime.datetime(2025, 7, 11, 4, 5, 58), 'result': '0.03410946566970851', 'result_long': None, 'result_double': None}] Qualite : 0.03410946566970851 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24819958 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24819958_11-07-2025_04_05_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24819958 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_P24819958_11-07-2025_04_05_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24819988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24819989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24819990, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24819991, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24819992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24819993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24819994, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24819995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24819996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24819997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24819998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24819999, 'pht': 3726}}" where mtr_portfolio_id = 24819958 and dashboard_run_id = 1976676 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`=24819958 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12394074, 0.03410946566970851, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24819958_11-07-2025_04_05_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24819988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24819989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24819990, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24819991, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24819992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24819993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24819994, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24819995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24819996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24819997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24819998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24819999, '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 = 24820502 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': 3268327, 'mtr_portfolio_id': 24820502, 'created_at': datetime.datetime(2025, 7, 11, 4, 6, 28), 'result': '0.03481196570706783', 'result_long': None, 'result_double': None}] Qualite : 0.03481196570706783 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24820502 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24820502_11-07-2025_04_06_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24820502 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_P24820502_11-07-2025_04_06_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24820528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24820529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24820530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24820531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24820532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24820533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24820534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24820535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24820536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24820537, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24820538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24820539, 'pht': 3726}}" where mtr_portfolio_id = 24820502 and dashboard_run_id = 1976676 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`=24820502 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12394075, 0.03481196570706783, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24820502_11-07-2025_04_06_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24820528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24820529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24820530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24820531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24820532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24820533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24820534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24820535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24820536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24820537, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24820538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24820539, '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 = 24820893 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': 3268370, 'mtr_portfolio_id': 24820893, 'created_at': datetime.datetime(2025, 7, 11, 3, 28, 57), 'result': '0.0036030902776924066', 'result_long': None, 'result_double': None}] Qualite : 0.0036030902776924066 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24820893 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24820893_11-07-2025_03_28_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24820893 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_P24820893_11-07-2025_03_28_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24820897, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24820898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24820899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24820900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24820901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24820902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24820903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24820904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24820905, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24820906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24820907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24820908, 'pht': 3726}}" where mtr_portfolio_id = 24820893 and dashboard_run_id = 1976676 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`=24820893 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12394076, 0.0036030902776924066, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24820893_11-07-2025_03_28_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24820897, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24820898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24820899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24820900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24820901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24820902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24820903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24820904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24820905, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24820906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24820907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24820908, '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 = 24821283 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': 3268412, 'mtr_portfolio_id': 24821283, 'created_at': datetime.datetime(2025, 7, 11, 4, 6, 59), 'result': '0.008902577887161875', 'result_long': None, 'result_double': None}] Qualite : 0.008902577887161875 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24821283 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24821283_11-07-2025_04_07_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24821283 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_P24821283_11-07-2025_04_07_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24821289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24821290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24821291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24821292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24821293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24821294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24821295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24821296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24821297, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24821298, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24821299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24821300, 'pht': 3726}}" where mtr_portfolio_id = 24821283 and dashboard_run_id = 1976676 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`=24821283 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12394077, 0.008902577887161875, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24821283_11-07-2025_04_07_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24821289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24821290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24821291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24821292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24821293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24821294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24821295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24821296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24821297, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24821298, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24821299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24821300, '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 = 24821562 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': 3268465, 'mtr_portfolio_id': 24821562, 'created_at': datetime.datetime(2025, 7, 11, 4, 7, 28), 'result': '0.0025614742576309164', 'result_long': None, 'result_double': None}] Qualite : 0.0025614742576309164 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24821562 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24821562_11-07-2025_04_07_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24821562 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_P24821562_11-07-2025_04_07_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24821568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24821569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24821570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24821571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24821572, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24821573, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24821574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24821575, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24821576, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24821577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24821578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24821579, 'pht': 3726}}" where mtr_portfolio_id = 24821562 and dashboard_run_id = 1976676 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`=24821562 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12394078, 0.0025614742576309164, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24821562_11-07-2025_04_07_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24821568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24821569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24821570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24821571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24821572, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24821573, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24821574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24821575, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24821576, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24821577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24821578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24821579, '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 = 24821811 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': 3268509, 'mtr_portfolio_id': 24821811, 'created_at': datetime.datetime(2025, 7, 11, 4, 13), 'result': '0.0029903776522466146', 'result_long': None, 'result_double': None}] Qualite : 0.0029903776522466146 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24821811 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24821811_11-07-2025_04_13_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24821811 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_P24821811_11-07-2025_04_13_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24821818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24821819, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24821820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24821821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24821822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24821823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24821824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24821825, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24821826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24821827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24821828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24821829, 'pht': 3726}}" where mtr_portfolio_id = 24821811 and dashboard_run_id = 1976676 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`=24821811 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12394079, 0.0029903776522466146, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24821811_11-07-2025_04_13_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24821818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24821819, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24821820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24821821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24821822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24821823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24821824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24821825, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24821826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24821827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24821828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24821829, '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 = 24822776 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': 3268576, 'mtr_portfolio_id': 24822776, 'created_at': datetime.datetime(2025, 7, 11, 4, 26, 57), 'result': '0.0023234548363220047', 'result_long': None, 'result_double': None}] Qualite : 0.0023234548363220047 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24822776 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24822776_11-07-2025_04_26_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24822776 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_P24822776_11-07-2025_04_26_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24822780, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24822781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24822782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24822783, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24822784, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24822785, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24822786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24822787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24822788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24822789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24822790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24822791, 'pht': 3726}}" where mtr_portfolio_id = 24822776 and dashboard_run_id = 1976676 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`=24822776 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12394080, 0.0023234548363220047, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24822776_11-07-2025_04_26_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24822780, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24822781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24822782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24822783, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24822784, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24822785, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24822786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24822787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24822788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24822789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24822790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24822791, '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 = 24823015 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': 3268608, 'mtr_portfolio_id': 24823015, 'created_at': datetime.datetime(2025, 7, 11, 4, 44, 58), 'result': '0.00216243591598377', 'result_long': None, 'result_double': None}] Qualite : 0.00216243591598377 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24823015 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24823015_11-07-2025_04_44_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24823015 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_P24823015_11-07-2025_04_44_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24823024, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24823025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24823026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24823027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24823028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24823029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24823030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24823031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24823032, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24823033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24823034, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24823035, 'pht': 3726}}" where mtr_portfolio_id = 24823015 and dashboard_run_id = 1976676 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`=24823015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12394081, 0.00216243591598377, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24823015_11-07-2025_04_44_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24823024, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24823025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24823026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24823027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24823028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24823029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24823030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24823031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24823032, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24823033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24823034, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24823035, '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 = 24823508 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': 3268656, 'mtr_portfolio_id': 24823508, 'created_at': datetime.datetime(2025, 7, 11, 4, 57), 'result': '0.002282222118302328', 'result_long': None, 'result_double': None}] Qualite : 0.002282222118302328 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24823508 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24823508_11-07-2025_04_57_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24823508 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_P24823508_11-07-2025_04_57_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24823559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24823560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24823561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24823562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24823563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24823564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24823565, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24823566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24823567, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24823568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24823569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24823570, 'pht': 3726}}" where mtr_portfolio_id = 24823508 and dashboard_run_id = 1976676 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`=24823508 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12394082, 0.002282222118302328, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24823508_11-07-2025_04_57_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24823559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24823560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24823561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24823562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24823563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24823564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24823565, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24823566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24823567, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24823568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24823569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24823570, '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 = 24823872 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': 3268695, 'mtr_portfolio_id': 24823872, 'created_at': datetime.datetime(2025, 7, 11, 5, 12, 34), 'result': '0.0028516823719020533', 'result_long': None, 'result_double': None}] Qualite : 0.0028516823719020533 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24823872 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24823872_11-07-2025_05_12_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24823872 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_P24823872_11-07-2025_05_12_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24823901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24823902, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24823903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24823904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24823905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24823906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24823907, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24823908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24823909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24823910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24823911, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24823912, 'pht': 3726}}" where mtr_portfolio_id = 24823872 and dashboard_run_id = 1976676 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`=24823872 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12394083, 0.0028516823719020533, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24823872_11-07-2025_05_12_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24823901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24823902, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24823903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24823904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24823905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24823906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24823907, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24823908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24823909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24823910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24823911, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24823912, '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 = 24825438 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': 3269064, 'mtr_portfolio_id': 24825438, 'created_at': datetime.datetime(2025, 7, 11, 6, 0, 30), 'result': '0.002488134658350834', 'result_long': None, 'result_double': None}] Qualite : 0.002488134658350834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24825438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24825438_11-07-2025_06_00_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24825438 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_P24825438_11-07-2025_06_00_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24825444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24825445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24825446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24825447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24825448, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24825449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24825450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24825451, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24825452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24825453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24825454, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24825455, 'pht': 3726}}" where mtr_portfolio_id = 24825438 and dashboard_run_id = 1976676 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`=24825438 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12394084, 0.002488134658350834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24825438_11-07-2025_06_00_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24825444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24825445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24825446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24825447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24825448, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24825449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24825450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24825451, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24825452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24825453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24825454, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24825455, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24815712,24815891,24816337,24816682,24817118,24817531,24819467,24819665,24819958,24820502,24820893,24821283,24821562,24821811,24822776,24823015,24823508,24823872,24825438) result : ((1371530413,), (1371530422,), (1371530567,), (1371530570,), (1371530726,), (1371530778,), (1371530779,), (1371530812,), (1371530854,), (1371530855,), (1371530904,), (1371530930,), (1371530933,), (1371530962,), (1371530964,), (1371531023,), (1371531068,), (1371531092,), (1371531135,), (1371531136,), (1371531159,), (1371531234,), (1371531235,), (1371531267,), (1371531269,), (1371531323,), (1371531327,), (1371531359,), (1371531360,), (1371531422,), (1371531435,), (1371531486,), (1371531487,), (1371531524,), (1371531566,), (1371531607,), (1371531614,), (1371531615,), (1371531658,), (1371531663,), (1371531698,), (1371531703,), (1371531707,), (1371531710,), (1371531797,), (1371531840,), (1371531841,), (1371531931,), (1371531935,), (1371532004,), (1371532007,), (1371532019,), (1371532023,), (1371532033,), (1371532118,), (1371532122,), (1371532123,), (1371532129,), (1371532283,), (1371532284,), (1371532381,), (1371532480,), (1371532481,), (1371532482,), (1371532564,), (1371532569,), (1371532573,), (1371532663,), (1371532664,), (1371532667,), (1371532669,), (1371532760,), (1371532868,), (1371532881,), (1371532931,), (1371532933,), (1371532985,), (1371532991,), (1371532996,), (1371533133,), (1371533274,), (1371533388,), (1371533533,), (1371531268,), (1371531313,), (1371531315,), (1371531320,), (1371531421,), (1371531433,), (1371531434,), (1371531565,), (1371531616,), (1371531617,), (1371531660,), (1371531700,), (1371531701,), (1371531702,), (1371531706,), (1371531709,), (1371531798,), (1371531837,), (1371531842,), (1371531843,), (1371531851,), (1371531930,), (1371531933,), (1371532010,), (1371532036,), (1371532079,), (1371532116,), (1371532117,), (1371532125,), (1371532127,), (1371532130,), (1371532132,), (1371532219,), (1371532281,), (1371532282,), (1371532285,), (1371532293,), (1371532382,), (1371532461,), (1371532555,), (1371532566,), (1371532567,), (1371532619,), (1371532658,), (1371532659,), (1371532665,), (1371532668,), (1371532670,), (1371532677,), (1371532736,), (1371532754,), (1371532830,), (1371532831,), (1371532858,), (1371532928,), (1371532930,), (1371532984,), (1371532989,), (1371532992,), (1371532998,), (1371533003,), (1371533081,), (1371533082,), (1371533102,), (1371533147,), (1371533156,), (1371533244,), (1371533273,), (1371533394,), (1371533395,), (1371533398,), (1371533478,), (1371533479,), (1371533493,), (1371533528,), (1371533529,), (1371533531,), (1371533534,), (1371533621,), (1371533653,), (1371533662,), (1371533737,), (1371533771,), (1371533772,), (1371533881,), (1371533959,), (1371533960,), (1371533961,), (1371534085,), (1371534130,), (1371534315,), (1371534319,), (1371534322,), (1371534414,), (1371534452,), (1371534549,), (1371532124,), (1371532163,), (1371532198,), (1371532295,), (1371532479,), (1371532565,), (1371532568,), (1371532620,), (1371532629,), (1371532660,), (1371532662,), (1371532762,), (1371532763,), (1371532829,), (1371532867,), (1371532932,), (1371532936,), (1371532987,), (1371532994,), (1371533030,), (1371533057,), (1371533058,), (1371533073,), (1371533077,), (1371533094,), (1371533100,), (1371533103,), (1371533389,), (1371533393,), (1371533397,), (1371533524,), (1371533527,), (1371533530,), (1371533532,), (1371533535,), (1371533606,), (1371533607,), (1371533608,), (1371533623,), (1371533649,), (1371533848,), (1371533883,), (1371533885,), (1371534047,), (1371534080,), (1371534082,), (1371534083,), (1371534084,), (1371534088,), (1371534092,), (1371534093,), (1371534199,), (1371534201,), (1371534326,), (1371534412,), (1371534415,), (1371534456,), (1371534521,), (1371534535,), (1371534542,), (1371534544,), (1371534546,), (1371534547,), (1371534548,), (1371534767,), (1371534769,), (1371534777,), (1371534995,), (1371534996,), (1371534997,), (1371534998,), (1371535113,), (1371535116,), (1371535119,), (1371535120,), (1371535443,), (1371535591,), (1371535672,), (1371533150,), (1371533271,), (1371533272,), (1371533298,), (1371533390,), (1371533503,), (1371533526,), (1371533650,), (1371533663,), (1371533736,), (1371533768,), (1371533769,), (1371533850,), (1371533879,), (1371533880,), (1371533979,), (1371534086,), (1371534087,), (1371534156,), (1371534198,), (1371534203,), (1371534316,), (1371534317,), (1371534320,), (1371534323,), (1371534328,), (1371534368,), (1371534451,), (1371534453,), (1371534536,), (1371534545,), (1371534550,), (1371534729,), (1371534745,), (1371534770,), (1371534882,), (1371534883,), (1371534884,), (1371534887,), (1371534993,), (1371535001,), (1371535005,), (1371535006,), (1371535117,), (1371535118,), (1371535234,), (1371535320,), (1371535428,), (1371535431,), (1371535444,), (1371535548,), (1371535550,), (1371535665,), (1371535666,), (1371535676,), (1371535678,), (1371535788,), (1371535792,), (1371535794,), (1371536017,), (1371536018,), (1371536022,), (1371536024,), (1371536148,), (1371536152,), (1371536169,), (1371536170,), (1371536268,), (1371536272,), (1371536275,), (1371536292,), (1371536519,), (1371536524,), (1371536671,), (1371536747,), (1371536749,), (1371536878,), (1371536894,), (1371537351,), (1371534314,), (1371534318,), (1371534327,), (1371534455,), (1371534534,), (1371534543,), (1371534726,), (1371534775,), (1371534776,), (1371534866,), (1371534881,), (1371534885,), (1371534999,), (1371535002,), (1371535004,), (1371535114,), (1371535115,), (1371535121,), (1371535231,), (1371535233,), (1371535312,), (1371535381,), (1371535430,), (1371535442,), (1371535445,), (1371535541,), (1371535551,), (1371535671,), (1371535673,), (1371535674,), (1371535764,), (1371535787,), (1371535789,), (1371535795,), (1371535796,), (1371535894,), (1371535969,), (1371536019,), (1371536026,), (1371536027,), (1371536137,), (1371536153,), (1371536269,), (1371536271,), (1371536276,), (1371536290,), (1371536291,), (1371536294,), (1371536295,), (1371536296,), (1371536521,), (1371536522,), (1371536623,), (1371536626,), (1371536628,), (1371536669,), (1371536672,), (1371536775,), (1371536867,), (1371536870,), (1371536873,), (1371536874,), (1371536876,), (1371536877,), (1371536879,), (1371536929,), (1371536953,), (1371537016,), (1371537019,), (1371537021,), (1371537233,), (1371537270,), (1371537357,), (1371537365,), (1371537368,), (1371537371,), (1371537467,), (1371537475,), (1371537484,), (1371537486,), (1371537487,), (1371537588,), (1371537602,), (1371537838,), (1371537842,), (1371537947,), (1371537955,), (1371537961,), (1371538059,), (1371535429,), (1371535549,), (1371535664,), (1371535677,), (1371535790,), (1371535893,), (1371536020,), (1371536021,), (1371536133,), (1371536149,), (1371536151,), (1371536247,), (1371536273,), (1371536288,), (1371536289,), (1371536293,), (1371536401,), (1371536516,), (1371536518,), (1371536520,), (1371536624,), (1371536635,), (1371536670,), (1371536673,), (1371536752,), (1371536753,), (1371536875,), (1371536880,), (1371536881,), (1371536883,), (1371536890,), (1371536892,), (1371536893,), (1371537014,), (1371537020,), (1371537234,), (1371537251,), (1371537272,), (1371537354,), (1371537356,), (1371537366,), (1371537369,), (1371537372,), (1371537373,), (1371537479,), (1371537483,), (1371537497,), (1371537498,), (1371537723,), (1371537724,), (1371537725,), (1371537837,), (1371537839,), (1371537841,), (1371537944,), (1371537945,), (1371537946,), (1371537954,), (1371537957,), (1371537958,), (1371537967,), (1371538288,), (1371538289,), (1371538290,), (1371538349,), (1371538363,), (1371538364,), (1371538434,), (1371538493,), (1371538495,), (1371538502,), (1371538503,), (1371538510,), (1371538669,), (1371538732,), (1371538748,), (1371538811,), (1371538812,), (1371536625,), (1371536668,), (1371536748,), (1371536872,), (1371536885,), (1371536889,), (1371537013,), (1371537017,), (1371537101,), (1371537271,), (1371537350,), (1371537352,), (1371537355,), (1371537370,), (1371537478,), (1371537480,), (1371537485,), (1371537495,), (1371537496,), (1371537599,), (1371537600,), (1371537601,), (1371537716,), (1371537816,), (1371537835,), (1371537836,), (1371537840,), (1371537943,), (1371537953,), (1371537956,), (1371537963,), (1371537964,), (1371537965,), (1371538062,), (1371538064,), (1371538066,), (1371538126,), (1371538291,), (1371538358,), (1371538360,), (1371538365,), (1371538498,), (1371538499,), (1371538509,), (1371538512,), (1371538513,), (1371538514,), (1371538585,), (1371538586,), (1371538587,), (1371538643,), (1371538672,), (1371538744,), (1371538745,), (1371538746,), (1371538808,), (1371538809,), (1371538827,), (1371538828,), (1371538831,), (1371538832,), (1371538833,), (1371538912,), (1371538915,), (1371538919,), (1371538921,), (1371538978,), (1371538986,), (1371538987,), (1371539185,), (1371539186,), (1371539190,), (1371539193,), (1371539198,), (1371539199,), (1371539205,), (1371539211,), (1371539213,), (1371539227,), (1371539231,), (1371539684,), (1371539691,), (1371539699,), (1371539707,), (1371537804,), (1371537820,), (1371537821,), (1371537834,), (1371537941,), (1371538060,), (1371538065,), (1371538286,), (1371538287,), (1371538292,), (1371538293,), (1371538361,), (1371538362,), (1371538496,), (1371538497,), (1371538508,), (1371538582,), (1371538583,), (1371538584,), (1371538644,), (1371538667,), (1371538668,), (1371538670,), (1371538671,), (1371538673,), (1371538675,), (1371538747,), (1371538813,), (1371538824,), (1371538834,), (1371538906,), (1371538907,), (1371538909,), (1371538910,), (1371538911,), (1371538913,), (1371538916,), (1371538917,), (1371538922,), (1371538923,), (1371538985,), (1371539188,), (1371539195,), (1371539197,), (1371539203,), (1371539204,), (1371539207,), (1371539208,), (1371539209,), (1371539212,), (1371539216,), (1371539217,), (1371539219,), (1371539220,), (1371539228,), (1371539605,), (1371539606,), (1371539608,), (1371539680,), (1371539681,), (1371539682,), (1371539683,), (1371539686,), (1371539687,), (1371539689,), (1371539694,), (1371539698,), (1371539706,), (1371539708,), (1371540053,), (1371540054,), (1371540056,), (1371540059,), (1371540060,), (1371540143,), (1371540145,), (1371540149,), (1371540152,), (1371540160,), (1371540501,), (1371540502,), (1371540505,), (1371540510,), (1371540607,), (1371540611,), (1371538674,), (1371538731,), (1371538749,), (1371538826,), (1371538837,), (1371538908,), (1371538914,), (1371538918,), (1371538920,), (1371538924,), (1371538983,), (1371538988,), (1371539187,), (1371539192,), (1371539202,), (1371539206,), (1371539210,), (1371539214,), (1371539218,), (1371539221,), (1371539222,), (1371539229,), (1371539230,), (1371539253,), (1371539254,), (1371539350,), (1371539602,), (1371539604,), (1371539607,), (1371539652,), (1371539685,), (1371539688,), (1371539690,), (1371539696,), (1371539701,), (1371539702,), (1371539703,), (1371539705,), (1371539709,), (1371539779,), (1371540055,), (1371540057,), (1371540058,), (1371540062,), (1371540063,), (1371540141,), (1371540142,), (1371540146,), (1371540147,), (1371540151,), (1371540156,), (1371540158,), (1371540159,), (1371540239,), (1371540504,), (1371540506,), (1371540507,), (1371540508,), (1371540602,), (1371540603,), (1371540606,), (1371540608,), (1371540609,), (1371540612,), (1371540613,), (1371540614,), (1371540702,), (1371540968,), (1371540970,), (1371540971,), (1371541060,), (1371541061,), (1371541062,), (1371541063,), (1371541068,), (1371541069,), (1371541070,), (1371541166,), (1371541465,), (1371541466,), (1371541469,), (1371541551,), (1371541643,), (1371539534,), (1371539603,), (1371539704,), (1371539788,), (1371539789,), (1371539860,), (1371539965,), (1371539968,), (1371539969,), (1371539970,), (1371540034,), (1371540061,), (1371540153,), (1371540154,), (1371540240,), (1371540308,), (1371540309,), (1371540310,), (1371540325,), (1371540406,), (1371540407,), (1371540409,), (1371540411,), (1371540412,), (1371540483,), (1371540503,), (1371540601,), (1371540610,), (1371540701,), (1371540774,), (1371540776,), (1371540777,), (1371540785,), (1371540873,), (1371540874,), (1371540875,), (1371540876,), (1371540877,), (1371540948,), (1371540972,), (1371541066,), (1371541067,), (1371541165,), (1371541183,), (1371541184,), (1371541185,), (1371541271,), (1371541351,), (1371541352,), (1371541369,), (1371541370,), (1371541371,), (1371541372,), (1371541468,), (1371541549,), (1371541556,), (1371541646,), (1371541661,), (1371541663,), (1371541669,), (1371541743,), (1371541750,), (1371541769,), (1371541770,), (1371541771,), (1371541846,), (1371541849,), (1371541953,), (1371542032,), (1371542064,), (1371542138,), (1371542158,), (1371542169,), (1371542170,), (1371542250,), (1371542252,), (1371542254,), (1371542256,), (1371542261,), (1371542285,), (1371542357,), (1371542645,), (1371542664,), (1371542765,), (1371540391,), (1371540481,), (1371540509,), (1371540682,), (1371540703,), (1371540775,), (1371540856,), (1371540857,), (1371540880,), (1371540949,), (1371540950,), (1371540969,), (1371541045,), (1371541064,), (1371541149,), (1371541151,), (1371541167,), (1371541168,), (1371541186,), (1371541275,), (1371541277,), (1371541350,), (1371541367,), (1371541368,), (1371541462,), (1371541467,), (1371541555,), (1371541557,), (1371541567,), (1371541644,), (1371541645,), (1371541662,), (1371541664,), (1371541740,), (1371541749,), (1371541847,), (1371541848,), (1371541955,), (1371541959,), (1371542033,), (1371542034,), (1371542060,), (1371542063,), (1371542137,), (1371542157,), (1371542168,), (1371542221,), (1371542251,), (1371542258,), (1371542260,), (1371542264,), (1371542283,), (1371542358,), (1371542375,), (1371542378,), (1371542457,), (1371542579,), (1371542651,), (1371542652,), (1371542750,), (1371542755,), (1371542757,), (1371542763,), (1371542764,), (1371542768,), (1371542874,), (1371542875,), (1371542876,), (1371542877,), (1371543096,), (1371543158,), (1371543159,), (1371543209,), (1371543220,), (1371543223,), (1371543288,), (1371543354,), (1371543357,), (1371541260,), (1371541273,), (1371541274,), (1371541449,), (1371541464,), (1371541553,), (1371541554,), (1371541666,), (1371541667,), (1371541668,), (1371541742,), (1371541747,), (1371541772,), (1371541864,), (1371541936,), (1371541954,), (1371541957,), (1371541958,), (1371542061,), (1371542062,), (1371542139,), (1371542156,), (1371542165,), (1371542167,), (1371542249,), (1371542257,), (1371542265,), (1371542267,), (1371542281,), (1371542282,), (1371542317,), (1371542377,), (1371542458,), (1371542653,), (1371542654,), (1371542657,), (1371542660,), (1371542751,), (1371542752,), (1371542753,), (1371542754,), (1371542767,), (1371542769,), (1371542864,), (1371542868,), (1371542970,), (1371543097,), (1371543153,), (1371543157,), (1371543162,), (1371543210,), (1371543212,), (1371543213,), (1371543218,), (1371543219,), (1371543225,), (1371543355,), (1371543356,), (1371543448,), (1371543543,), (1371543636,), (1371543642,), (1371543643,), (1371543748,), (1371543749,), (1371543750,), (1371543753,), (1371543754,), (1371543756,), (1371543764,), (1371543765,), (1371543864,), (1371543971,), (1371544197,), (1371544249,), (1371544250,), (1371544309,), (1371544314,), (1371544796,), (1371542136,), (1371542172,), (1371542253,), (1371542262,), (1371542266,), (1371542268,), (1371542360,), (1371542376,), (1371542656,), (1371542658,), (1371542659,), (1371542756,), (1371542761,), (1371542762,), (1371542766,), (1371542770,), (1371542866,), (1371542870,), (1371542871,), (1371542872,), (1371542969,), (1371543063,), (1371543154,), (1371543155,), (1371543160,), (1371543214,), (1371543215,), (1371543216,), (1371543217,), (1371543222,), (1371543286,), (1371543333,), (1371543334,), (1371543335,), (1371543446,), (1371543544,), (1371543634,), (1371543637,), (1371543641,), (1371543731,), (1371543747,), (1371543751,), (1371543757,), (1371543758,), (1371543761,), (1371543762,), (1371543763,), (1371543769,), (1371543863,), (1371543966,), (1371544188,), (1371544189,), (1371544191,), (1371544194,), (1371544297,), (1371544299,), (1371544306,), (1371544308,), (1371544310,), (1371544311,), (1371544312,), (1371544316,), (1371544446,), (1371544495,), (1371544717,), (1371544790,), (1371544791,), (1371544793,), (1371544795,), (1371544800,), (1371544803,), (1371544804,), (1371544805,), (1371544806,), (1371544807,), (1371544924,), (1371545058,), (1371545218,), (1371545222,), (1371545298,), (1371545302,), (1371545334,), (1371545463,), (1371543095,), (1371543196,), (1371543224,), (1371543287,), (1371543289,), (1371543447,), (1371543539,), (1371543540,), (1371543542,), (1371543638,), (1371543639,), (1371543656,), (1371543733,), (1371543752,), (1371543760,), (1371543766,), (1371543767,), (1371543862,), (1371543865,), (1371543956,), (1371543968,), (1371543969,), (1371543970,), (1371544192,), (1371544193,), (1371544195,), (1371544196,), (1371544248,), (1371544300,), (1371544305,), (1371544307,), (1371544365,), (1371544366,), (1371544379,), (1371544443,), (1371544445,), (1371544448,), (1371544711,), (1371544712,), (1371544715,), (1371544718,), (1371544719,), (1371544797,), (1371544799,), (1371544874,), (1371544910,), (1371544911,), (1371544916,), (1371544923,), (1371544925,), (1371544926,), (1371545120,), (1371545219,), (1371545224,), (1371545294,), (1371545295,), (1371545300,), (1371545301,), (1371545329,), (1371545330,), (1371545332,), (1371545333,), (1371545410,), (1371545427,), (1371545429,), (1371545557,), (1371545611,), (1371545654,), (1371545658,), (1371545661,), (1371545671,), (1371545672,), (1371545688,), (1371545689,), (1371545690,), (1371545691,), (1371545738,), (1371545739,), (1371545899,), (1371545903,), (1371545971,), (1371546036,), (1371546037,), (1371546038,), (1371544057,), (1371544190,), (1371544251,), (1371544313,), (1371544442,), (1371544444,), (1371544447,), (1371544496,), (1371544590,), (1371544648,), (1371544792,), (1371544798,), (1371544802,), (1371544808,), (1371544809,), (1371544828,), (1371544835,), (1371544858,), (1371544922,), (1371544963,), (1371544964,), (1371544995,), (1371545118,), (1371545164,), (1371545220,), (1371545223,), (1371545299,), (1371545304,), (1371545325,), (1371545326,), (1371545327,), (1371545328,), (1371545426,), (1371545442,), (1371545445,), (1371545447,), (1371545529,), (1371545613,), (1371545656,), (1371545659,), (1371545662,), (1371545673,), (1371545681,), (1371545683,), (1371545685,), (1371545686,), (1371545742,), (1371545743,), (1371545795,), (1371545800,), (1371545803,), (1371545955,), (1371545963,), (1371545964,), (1371545965,), (1371545968,), (1371545969,), (1371545973,), (1371545974,), (1371545975,), (1371546035,), (1371546084,), (1371546086,), (1371546102,), (1371546153,), (1371546234,), (1371546238,), (1371546239,), (1371546240,), (1371546241,), (1371546243,), (1371546244,), (1371546245,), (1371546289,), (1371546313,), (1371546322,), (1371546368,), (1371546370,), (1371546605,), (1371546607,), (1371546611,), (1371546654,), (1371546655,), (1371546658,), (1371545059,), (1371545153,), (1371545196,), (1371545303,), (1371545331,), (1371545411,), (1371545425,), (1371545446,), (1371545545,), (1371545586,), (1371545604,), (1371545605,), (1371545612,), (1371545657,), (1371545674,), (1371545687,), (1371545692,), (1371545740,), (1371545741,), (1371545794,), (1371545799,), (1371545848,), (1371545849,), (1371545898,), (1371545900,), (1371545902,), (1371545957,), (1371545967,), (1371546025,), (1371546039,), (1371546041,), (1371546085,), (1371546100,), (1371546150,), (1371546155,), (1371546211,), (1371546212,), (1371546216,), (1371546217,), (1371546247,), (1371546248,), (1371546288,), (1371546324,), (1371546326,), (1371546363,), (1371546364,), (1371546369,), (1371546374,), (1371546377,), (1371546378,), (1371546379,), (1371546386,), (1371546606,), (1371546609,), (1371546610,), (1371546632,), (1371546661,), (1371546662,), (1371546664,), (1371546666,), (1371546696,), (1371546698,), (1371546726,), (1371546727,), (1371546729,), (1371546942,), (1371546943,), (1371546948,), (1371546988,), (1371547009,), (1371547018,), (1371547033,), (1371547039,), (1371547040,), (1371547215,), (1371547218,), (1371547279,), (1371547348,), (1371547362,), (1371545802,), (1371545904,), (1371545962,), (1371545970,), (1371546083,), (1371546101,), (1371546103,), (1371546152,), (1371546154,), (1371546213,), (1371546214,), (1371546215,), (1371546242,), (1371546246,), (1371546290,), (1371546315,), (1371546323,), (1371546325,), (1371546365,), (1371546366,), (1371546367,), (1371546371,), (1371546372,), (1371546375,), (1371546376,), (1371546382,), (1371546387,), (1371546608,), (1371546629,), (1371546630,), (1371546631,), (1371546649,), (1371546659,), (1371546665,), (1371546671,), (1371546694,), (1371546699,), (1371546700,), (1371546723,), (1371546724,), (1371546728,), (1371546763,), (1371546944,), (1371546945,), (1371546947,), (1371546989,), (1371547000,), (1371547007,), (1371547010,), (1371547011,), (1371547012,), (1371547017,), (1371547028,), (1371547032,), (1371547034,), (1371547037,), (1371547083,), (1371547214,), (1371547216,), (1371547219,), (1371547278,), (1371547280,), (1371547281,), (1371547283,), (1371547330,), (1371547345,), (1371547346,), (1371547352,), (1371547353,), (1371547363,), (1371547366,), (1371547494,), (1371547538,), (1371547541,), (1371547542,), (1371547544,), (1371547565,), (1371547610,), (1371547619,), (1371547623,), (1371547677,), (1371547683,), (1371547688,), (1371547690,), (1371547830,), (1371547838,), (1371547941,), (1371547943,), (1371547944,), (1371546381,), (1371546436,), (1371546695,), (1371546697,), (1371546722,), (1371546725,), (1371546730,), (1371546764,), (1371546820,), (1371546923,), (1371546946,), (1371547014,), (1371547015,), (1371547029,), (1371547030,), (1371547031,), (1371547036,), (1371547038,), (1371547041,), (1371547081,), (1371547105,), (1371547145,), (1371547160,), (1371547161,), (1371547217,), (1371547230,), (1371547282,), (1371547327,), (1371547347,), (1371547350,), (1371547351,), (1371547360,), (1371547364,), (1371547367,), (1371547407,), (1371547427,), (1371547466,), (1371547467,), (1371547469,), (1371547486,), (1371547545,), (1371547564,), (1371547566,), (1371547620,), (1371547622,), (1371547625,), (1371547691,), (1371547692,), (1371547693,), (1371547694,), (1371547741,), (1371547753,), (1371547794,), (1371547796,), (1371547805,), (1371547833,), (1371547836,), (1371547840,), (1371547883,), (1371547938,), (1371547942,), (1371547947,), (1371547949,), (1371547950,), (1371547953,), (1371547961,), (1371547962,), (1371548016,), (1371548019,), (1371548020,), (1371548024,), (1371548039,), (1371548101,), (1371548159,), (1371548185,), (1371548186,), (1371548187,), (1371548203,), (1371548205,), (1371548256,), (1371548257,), (1371548273,), (1371548331,), (1371548344,), (1371548487,), (1371548497,), (1371548560,), (1371548581,), (1371548649,), (1371548660,), (1371549343,), (1371549410,), (1371549501,), (1371549503,), (1371549576,), (1371549665,), (1371549745,), (1371549777,), (1371549863,), (1371549936,), (1371549993,), (1371550032,), (1371550137,), (1371550140,), (1371550195,), (1371550196,), (1371550239,), (1371550316,), (1371550386,), (1371550473,), (1371550535,), (1371550550,), (1371550629,), (1371550641,), (1371550792,), (1371550794,), (1371550798,), (1371550827,), (1371550942,), (1371550946,), (1371551141,), (1371551206,), (1371551214,), (1371551217,), (1371551301,), (1371551302,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'11072025': {'nb_upload': 36, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24825438]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1371551302, 1371551301, 1371551217, 1371551214, 1371551206, 1371550946, 1371550942, 1371550798, 1371550794, 1371550792, 1371550641, 1371550629, 1371550550, 1371550473, 1371550386, 1371550316, 1371550239, 1371550196, 1371550140, 1371550137, 1371550032, 1371549993, 1371549863, 1371549777, 1371549745, 1371549665, 1371549576, 1371549503, 1371549410, 1371549343] map_info['map_portfolio_photo'] : {24825438: [1371551302, 1371551301, 1371551217, 1371551214, 1371551206, 1371551141, 1371550946, 1371550942, 1371550827, 1371550798, 1371550794, 1371550792, 1371550641, 1371550629, 1371550550, 1371550535, 1371550473, 1371550386, 1371550316, 1371550239, 1371550196, 1371550195, 1371550140, 1371550137, 1371550032, 1371549993, 1371549936, 1371549863, 1371549777, 1371549745, 1371549665, 1371549576, 1371549503, 1371549501, 1371549410, 1371549343]} final : True mtd_id 4302 list_pids : [1371551302, 1371551301, 1371551217, 1371551214, 1371551206, 1371550946, 1371550942, 1371550798, 1371550794, 1371550792, 1371550641, 1371550629, 1371550550, 1371550473, 1371550386, 1371550316, 1371550239, 1371550196, 1371550140, 1371550137, 1371550032, 1371549993, 1371549863, 1371549777, 1371549745, 1371549665, 1371549576, 1371549503, 1371549410, 1371549343] Looping around the photos to save general results len do output : 1 /24825438Didn'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, '3269064') ('4302', '24825438', '1371551302', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371551301', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371551217', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371551214', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371551206', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550946', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550942', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550798', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550794', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550792', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550641', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550629', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550550', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550473', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550386', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550316', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550239', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550196', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550140', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550137', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371550032', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549993', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549863', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549777', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549745', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549665', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549576', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549503', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549410', None, None, None, None, None, '3269064') ('4302', None, None, None, None, None, None, None, '3269064') ('4302', '24825438', '1371549343', None, None, None, None, None, '3269064') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 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, '24825438', 'None', None, None, None, None, '3269064'), ('4302', '24825438', '1371551302', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371551301', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371551217', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371551214', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371551206', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550946', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550942', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550798', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550794', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550792', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550641', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550629', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550550', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550473', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550386', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550316', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550239', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550196', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550140', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550137', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371550032', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549993', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549863', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549777', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549745', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549665', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549576', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549503', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549410', None, None, None, None, None, '3269064'), ('4302', '24825438', '1371549343', None, None, None, None, None, '3269064')] time used for this insertion : 0.055817604064941406 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.16990327835083 time spend to save output : 0.05613827705383301 total time spend for step 5 : 1.226041555404663 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 (3269064) 3.02user 1.36system 0:10.51elapsed 41%CPU (0avgtext+0avgdata 169640maxresident)k 0inputs+17488outputs (0major+77010minor)pagefaults 0swaps