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 : 189995 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 (3817130) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3817130) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27431419 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3817130'] with mtr_portfolio_ids : ['27431419'] and first list_photo_ids : [] new path : /proc/189995/ Name: python3 Umask: 0002 State: R (running) Tgid: 189995 Ngid: 0 Pid: 189995 PPid: 189993 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 189995 NSpid: 189995 NSpgid: 189343 NSsid: 189343 VmPeak: 1106856 kB VmSize: 1106856 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98080 kB VmRSS: 98080 kB RssAnon: 59840 kB RssFile: 38240 kB RssShmem: 0 kB VmData: 865608 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 544 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 50 nonvoluntary_ctxt_switches: 109 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '189995', 'Ngid': '0', 'Pid': '189995', 'PPid': '189993', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '189995', 'NSpid': '189995', 'NSpgid': '189343', 'NSsid': '189343', 'VmPeak': '1106856 kB', 'VmSize': '1106856 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98080 kB', 'VmRSS': '98080 kB', 'RssAnon': '59840 kB', 'RssFile': '38240 kB', 'RssShmem': '0 kB', 'VmData': '865608 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '544 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '50', 'nonvoluntary_ctxt_switches': '109'} ('datou_batch_current', '189995', '1106856', '0', '1106856', '865608', '98080', b'', 'marlene', '3817130') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (27431419) 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 (3817130 ) ) 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 (27431419) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1387319455, 'portfolio_id': 27431419}, {'photo_id': 1387318343, 'portfolio_id': 27431419}, {'photo_id': 1387318340, 'portfolio_id': 27431419}, {'photo_id': 1387318336, 'portfolio_id': 27431419}, {'photo_id': 1387318319, 'portfolio_id': 27431419}, {'photo_id': 1387318316, 'portfolio_id': 27431419}, {'photo_id': 1387318312, 'portfolio_id': 27431419}, {'photo_id': 1387318293, 'portfolio_id': 27431419}, {'photo_id': 1387318284, 'portfolio_id': 27431419}, {'photo_id': 1387318279, 'portfolio_id': 27431419}, {'photo_id': 1387318276, 'portfolio_id': 27431419}, {'photo_id': 1387318272, 'portfolio_id': 27431419}, {'photo_id': 1387317946, 'portfolio_id': 27431419}, {'photo_id': 1387317942, 'portfolio_id': 27431419}, {'photo_id': 1387317931, 'portfolio_id': 27431419}, {'photo_id': 1387317126, 'portfolio_id': 27431419}, {'photo_id': 1387317122, 'portfolio_id': 27431419}, {'photo_id': 1387317103, 'portfolio_id': 27431419}, {'photo_id': 1387317099, 'portfolio_id': 27431419}, {'photo_id': 1387317095, 'portfolio_id': 27431419}, {'photo_id': 1387317090, 'portfolio_id': 27431419}, {'photo_id': 1387317062, 'portfolio_id': 27431419}, {'photo_id': 1387317059, 'portfolio_id': 27431419}, {'photo_id': 1387317056, 'portfolio_id': 27431419}, {'photo_id': 1387317035, 'portfolio_id': 27431419}, {'photo_id': 1387317032, 'portfolio_id': 27431419}, {'photo_id': 1387317015, 'portfolio_id': 27431419}, {'photo_id': 1387317011, 'portfolio_id': 27431419}, {'photo_id': 1387317006, 'portfolio_id': 27431419}, {'photo_id': 1387316951, 'portfolio_id': 27431419}, {'photo_id': 1387316906, 'portfolio_id': 27431419}, {'photo_id': 1387316863, 'portfolio_id': 27431419}, {'photo_id': 1387316836, 'portfolio_id': 27431419}, {'photo_id': 1387316829, 'portfolio_id': 27431419}, {'photo_id': 1387316538, 'portfolio_id': 27431419}, {'photo_id': 1387315733, 'portfolio_id': 27431419}, {'photo_id': 1387315729, 'portfolio_id': 27431419}] map_portfolio_id_photo_id: {27431419: [1387319455, 1387318343, 1387318340, 1387318336, 1387318319, 1387318316, 1387318312, 1387318293, 1387318284, 1387318279, 1387318276, 1387318272, 1387317946, 1387317942, 1387317931, 1387317126, 1387317122, 1387317103, 1387317099, 1387317095, 1387317090, 1387317062, 1387317059, 1387317056, 1387317035, 1387317032, 1387317015, 1387317011, 1387317006, 1387316951, 1387316906, 1387316863, 1387316836, 1387316829, 1387316538, 1387315733, 1387315729]} ##### 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.05325675010681152 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Oct 2 06:26: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 (27431419) 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 : 27431419 get user id for portfolio 27431419 get sub ptf for main ptf 27431419, type 3726 and hashtags ['environnement', 'kraft', 'plastique', 'metal', 'Carton_brun', 'mal_croppe', 'cartonnette', 'flou', 'Carton_gris', 'autre_refus', 'papier', 'Teint_Dans_La_Masse'] 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`=27431419 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','kraft','plastique','metal','Carton_brun','mal_croppe','cartonnette','flou','Carton_gris','autre_refus','papier','Teint_Dans_La_Masse')) 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`=27431419 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','kraft','plastique','metal','Carton_brun','mal_croppe','cartonnette','flou','Carton_gris','autre_refus','papier','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 27431419, 'sub_port_id': 27431445, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536193, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 28)}, 'papier': {'main_port_id': 27431419, 'sub_port_id': 27431446, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536194, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 28)}, 'flou': {'main_port_id': 27431419, 'sub_port_id': 27431447, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536195, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 28)}, 'Carton_brun': {'main_port_id': 27431419, 'sub_port_id': 27431448, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536196, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 28)}, 'Carton_gris': {'main_port_id': 27431419, 'sub_port_id': 27431449, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536197, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 28)}, 'cartonnette': {'main_port_id': 27431419, 'sub_port_id': 27431450, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536198, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 28)}, 'plastique': {'main_port_id': 27431419, 'sub_port_id': 27431451, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536199, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 27431419, 'sub_port_id': 27431452, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536200, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 28)}, 'autre_refus': {'main_port_id': 27431419, 'sub_port_id': 27431453, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536201, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 28)}, 'kraft': {'main_port_id': 27431419, 'sub_port_id': 27431454, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536202, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 28)}, 'environnement': {'main_port_id': 27431419, 'sub_port_id': 27431455, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536203, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 28)}, 'metal': {'main_port_id': 27431419, 'sub_port_id': 27431456, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536204, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27431445 , 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=27431419 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 (27431445) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27431419) result : ((1387315729,), (1387315733,), (1387316538,), (1387316829,), (1387316836,), (1387316863,), (1387316906,), (1387316951,), (1387317006,), (1387317011,), (1387317015,), (1387317032,), (1387317035,), (1387317056,), (1387317059,), (1387317062,), (1387317090,), (1387317095,), (1387317099,), (1387317103,), (1387317122,), (1387317126,), (1387317931,), (1387317942,), (1387317946,), (1387318272,), (1387318276,), (1387318279,), (1387318284,), (1387318293,), (1387318312,), (1387318316,), (1387318319,), (1387318336,), (1387318340,), (1387318343,), (1387319455,)) 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 27431446 , 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=27431419 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 (27431446) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27431419) result : ((1387315729,), (1387315733,), (1387316538,), (1387316829,), (1387316836,), (1387316863,), (1387316906,), (1387316951,), (1387317006,), (1387317011,), (1387317015,), (1387317032,), (1387317035,), (1387317056,), (1387317059,), (1387317062,), (1387317090,), (1387317095,), (1387317099,), (1387317103,), (1387317122,), (1387317126,), (1387317931,), (1387317942,), (1387317946,), (1387318272,), (1387318276,), (1387318279,), (1387318284,), (1387318293,), (1387318312,), (1387318316,), (1387318319,), (1387318336,), (1387318340,), (1387318343,), (1387319455,)) 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 27431447 , 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=27431419 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 (27431447) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27431419) result : ((1387315729,), (1387315733,), (1387316538,), (1387316829,), (1387316836,), (1387316863,), (1387316906,), (1387316951,), (1387317006,), (1387317011,), (1387317015,), (1387317032,), (1387317035,), (1387317056,), (1387317059,), (1387317062,), (1387317090,), (1387317095,), (1387317099,), (1387317103,), (1387317122,), (1387317126,), (1387317931,), (1387317942,), (1387317946,), (1387318272,), (1387318276,), (1387318279,), (1387318284,), (1387318293,), (1387318312,), (1387318316,), (1387318319,), (1387318336,), (1387318340,), (1387318343,), (1387319455,)) 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 27431448 , 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=27431419 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 (27431448) result : ((1387318351,), (1387318437,), (1387318776,), (1387318905,), (1387319049,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27431419) result : ((1387315729,), (1387315733,), (1387316538,), (1387316829,), (1387316836,), (1387316863,), (1387316906,), (1387316951,), (1387317006,), (1387317011,), (1387317015,), (1387317032,), (1387317035,), (1387317056,), (1387317059,), (1387317062,), (1387317090,), (1387317095,), (1387317099,), (1387317103,), (1387317122,), (1387317126,), (1387317931,), (1387317942,), (1387317946,), (1387318272,), (1387318276,), (1387318279,), (1387318284,), (1387318293,), (1387318312,), (1387318316,), (1387318319,), (1387318336,), (1387318340,), (1387318343,), (1387319455,)) 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 27431449 , 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=27431419 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 (27431449) result : ((1387318487,), (1387318542,), (1387318833,), (1387318898,), (1387318971,), (1387319045,), (1387319660,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27431419) result : ((1387315729,), (1387315733,), (1387316538,), (1387316829,), (1387316836,), (1387316863,), (1387316906,), (1387316951,), (1387317006,), (1387317011,), (1387317015,), (1387317032,), (1387317035,), (1387317056,), (1387317059,), (1387317062,), (1387317090,), (1387317095,), (1387317099,), (1387317103,), (1387317122,), (1387317126,), (1387317931,), (1387317942,), (1387317946,), (1387318272,), (1387318276,), (1387318279,), (1387318284,), (1387318293,), (1387318312,), (1387318316,), (1387318319,), (1387318336,), (1387318340,), (1387318343,), (1387319455,)) 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 27431450 , 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=27431419 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 (27431450) result : ((1387317134,), (1387317135,), (1387318350,), (1387318434,), (1387318772,), (1387318773,), (1387318774,), (1387318775,), (1387318903,), (1387318904,), (1387318972,), (1387318973,), (1387318974,), (1387318975,), (1387319046,), (1387319047,), (1387319048,), (1387319723,), (1387319724,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27431419) result : ((1387315729,), (1387315733,), (1387316538,), (1387316829,), (1387316836,), (1387316863,), (1387316906,), (1387316951,), (1387317006,), (1387317011,), (1387317015,), (1387317032,), (1387317035,), (1387317056,), (1387317059,), (1387317062,), (1387317090,), (1387317095,), (1387317099,), (1387317103,), (1387317122,), (1387317126,), (1387317931,), (1387317942,), (1387317946,), (1387318272,), (1387318276,), (1387318279,), (1387318284,), (1387318293,), (1387318312,), (1387318316,), (1387318319,), (1387318336,), (1387318340,), (1387318343,), (1387319455,)) 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 27431451 , 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=27431419 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 (27431451) result : ((1387317136,), (1387317137,), (1387318292,), (1387318352,), (1387318438,), (1387318778,), (1387318779,), (1387318834,), (1387318909,), (1387318976,), (1387319050,), (1387319726,), (1387319727,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27431419) result : ((1387315729,), (1387315733,), (1387316538,), (1387316829,), (1387316836,), (1387316863,), (1387316906,), (1387316951,), (1387317006,), (1387317011,), (1387317015,), (1387317032,), (1387317035,), (1387317056,), (1387317059,), (1387317062,), (1387317090,), (1387317095,), (1387317099,), (1387317103,), (1387317122,), (1387317126,), (1387317931,), (1387317942,), (1387317946,), (1387318272,), (1387318276,), (1387318279,), (1387318284,), (1387318293,), (1387318312,), (1387318316,), (1387318319,), (1387318336,), (1387318340,), (1387318343,), (1387319455,)) 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 27431452 , 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=27431419 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 (27431452) result : ((1387318289,), (1387318485,), (1387318768,), (1387318769,), (1387318770,), (1387318893,), (1387318894,), (1387319722,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27431419) result : ((1387315729,), (1387315733,), (1387316538,), (1387316829,), (1387316836,), (1387316863,), (1387316906,), (1387316951,), (1387317006,), (1387317011,), (1387317015,), (1387317032,), (1387317035,), (1387317056,), (1387317059,), (1387317062,), (1387317090,), (1387317095,), (1387317099,), (1387317103,), (1387317122,), (1387317126,), (1387317931,), (1387317942,), (1387317946,), (1387318272,), (1387318276,), (1387318279,), (1387318284,), (1387318293,), (1387318312,), (1387318316,), (1387318319,), (1387318336,), (1387318340,), (1387318343,), (1387319455,)) 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 27431453 , 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=27431419 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 (27431453) result : ((1387318290,), (1387318486,), (1387318967,), (1387318968,), (1387318969,), (1387318970,), (1387319042,), (1387319043,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27431419) result : ((1387315729,), (1387315733,), (1387316538,), (1387316829,), (1387316836,), (1387316863,), (1387316906,), (1387316951,), (1387317006,), (1387317011,), (1387317015,), (1387317032,), (1387317035,), (1387317056,), (1387317059,), (1387317062,), (1387317090,), (1387317095,), (1387317099,), (1387317103,), (1387317122,), (1387317126,), (1387317931,), (1387317942,), (1387317946,), (1387318272,), (1387318276,), (1387318279,), (1387318284,), (1387318293,), (1387318312,), (1387318316,), (1387318319,), (1387318336,), (1387318340,), (1387318343,), (1387319455,)) 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 27431454 , 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=27431419 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 (27431454) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27431419) result : ((1387315729,), (1387315733,), (1387316538,), (1387316829,), (1387316836,), (1387316863,), (1387316906,), (1387316951,), (1387317006,), (1387317011,), (1387317015,), (1387317032,), (1387317035,), (1387317056,), (1387317059,), (1387317062,), (1387317090,), (1387317095,), (1387317099,), (1387317103,), (1387317122,), (1387317126,), (1387317931,), (1387317942,), (1387317946,), (1387318272,), (1387318276,), (1387318279,), (1387318284,), (1387318293,), (1387318312,), (1387318316,), (1387318319,), (1387318336,), (1387318340,), (1387318343,), (1387319455,)) 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 27431455 , 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=27431419 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 (27431455) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27431419) result : ((1387315729,), (1387315733,), (1387316538,), (1387316829,), (1387316836,), (1387316863,), (1387316906,), (1387316951,), (1387317006,), (1387317011,), (1387317015,), (1387317032,), (1387317035,), (1387317056,), (1387317059,), (1387317062,), (1387317090,), (1387317095,), (1387317099,), (1387317103,), (1387317122,), (1387317126,), (1387317931,), (1387317942,), (1387317946,), (1387318272,), (1387318276,), (1387318279,), (1387318284,), (1387318293,), (1387318312,), (1387318316,), (1387318319,), (1387318336,), (1387318340,), (1387318343,), (1387319455,)) 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 27431456 , 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=27431419 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 (27431456) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27431419) result : ((1387315729,), (1387315733,), (1387316538,), (1387316829,), (1387316836,), (1387316863,), (1387316906,), (1387316951,), (1387317006,), (1387317011,), (1387317015,), (1387317032,), (1387317035,), (1387317056,), (1387317059,), (1387317062,), (1387317090,), (1387317095,), (1387317099,), (1387317103,), (1387317122,), (1387317126,), (1387317931,), (1387317942,), (1387317946,), (1387318272,), (1387318276,), (1387318279,), (1387318284,), (1387318293,), (1387318312,), (1387318316,), (1387318319,), (1387318336,), (1387318340,), (1387318343,), (1387319455,)) 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`=27431419 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','kraft','plastique','metal','Carton_brun','mal_croppe','cartonnette','flou','Carton_gris','autre_refus','papier','Teint_Dans_La_Masse')) 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`=27431419 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','kraft','plastique','metal','Carton_brun','mal_croppe','cartonnette','flou','Carton_gris','autre_refus','papier','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 27431419, 'sub_port_id': 27431495, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536241, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 33)}, 'papier': {'main_port_id': 27431419, 'sub_port_id': 27431496, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536242, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 33)}, 'flou': {'main_port_id': 27431419, 'sub_port_id': 27431497, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536243, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 33)}, 'Carton_brun': {'main_port_id': 27431419, 'sub_port_id': 27431498, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536244, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 33)}, 'Carton_gris': {'main_port_id': 27431419, 'sub_port_id': 27431499, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536245, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 33)}, 'cartonnette': {'main_port_id': 27431419, 'sub_port_id': 27431500, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536246, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 33)}, 'plastique': {'main_port_id': 27431419, 'sub_port_id': 27431502, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536247, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 33)}, 'Teint_Dans_La_Masse': {'main_port_id': 27431419, 'sub_port_id': 27431503, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536248, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 33)}, 'autre_refus': {'main_port_id': 27431419, 'sub_port_id': 27431504, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536249, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 33)}, 'kraft': {'main_port_id': 27431419, 'sub_port_id': 27431505, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536250, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 33)}, 'environnement': {'main_port_id': 27431419, 'sub_port_id': 27431506, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536251, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 3, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 33)}, 'metal': {'main_port_id': 27431419, 'sub_port_id': 27431507, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18536252, 'last_updated_at': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 4, 45, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 4, 3, 33)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27431495,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27431445 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27431496,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27431446 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27431497,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27431447 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27431498,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27431448 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27431499,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27431449 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27431500,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27431450 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27431502,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27431451 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27431503,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27431452 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27431504,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27431453 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27431505,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27431454 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27431506,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27431455 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27431507,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27431456 lien utilise dans velours : https://marlene.fotonower.com/velours/27431495,27431496,27431497,27431498,27431499,27431500,27431502,27431503,27431504,27431505,27431506,27431507?tags=mal_croppe,papier,flou,Carton_brun,Carton_gris,cartonnette,plastique,Teint_Dans_La_Masse,autre_refus,kraft,environnement,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27431419]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1387319455, 1387318343, 1387318340, 1387318336, 1387318319, 1387318316, 1387318312, 1387318293, 1387318284, 1387318279, 1387318276, 1387318272, 1387317946, 1387317942, 1387317931, 1387317126, 1387317122, 1387317103, 1387317099, 1387317095, 1387317090, 1387317062, 1387317059, 1387317056, 1387317035, 1387317032, 1387317015, 1387317011, 1387317006, 1387316951, 1387316906, 1387316863, 1387316836, 1387316829, 1387316538, 1387315733, 1387315729] map_info['map_portfolio_photo'] : {27431419: [1387319455, 1387318343, 1387318340, 1387318336, 1387318319, 1387318316, 1387318312, 1387318293, 1387318284, 1387318279, 1387318276, 1387318272, 1387317946, 1387317942, 1387317931, 1387317126, 1387317122, 1387317103, 1387317099, 1387317095, 1387317090, 1387317062, 1387317059, 1387317056, 1387317035, 1387317032, 1387317015, 1387317011, 1387317006, 1387316951, 1387316906, 1387316863, 1387316836, 1387316829, 1387316538, 1387315733, 1387315729]} final : False mtd_id 4302 list_pids : [1387319455, 1387318343, 1387318340, 1387318336, 1387318319, 1387318316, 1387318312, 1387318293, 1387318284, 1387318279, 1387318276, 1387318272, 1387317946, 1387317942, 1387317931, 1387317126, 1387317122, 1387317103, 1387317099, 1387317095, 1387317090, 1387317062, 1387317059, 1387317056, 1387317035, 1387317032, 1387317015, 1387317011, 1387317006, 1387316951, 1387316906, 1387316863, 1387316836, 1387316829, 1387316538, 1387315733, 1387315729] Looping around the photos to save general results len do output : 1 /27431419. 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, '3817130') ('4302', '27431419', '1387319455', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318343', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318340', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318336', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318319', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318316', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318312', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318293', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318284', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318279', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318276', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318272', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317946', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317942', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317931', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317126', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317122', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317103', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317099', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317095', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317090', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317062', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317059', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317056', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317035', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317032', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317015', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317011', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317006', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316951', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316906', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316863', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316836', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316829', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316538', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387315733', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387315729', None, None, None, None, None, '3817130') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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, '27431419', "{'mal_croppe': 27431445, 'papier': 27431446, 'flou': 27431447, 'Carton_brun': 27431448, 'Carton_gris': 27431449, 'cartonnette': 27431450, 'plastique': 27431451, 'Teint_Dans_La_Masse': 27431452, 'autre_refus': 27431453, 'kraft': 27431454, 'environnement': 27431455, 'metal': 27431456}", None, None, None, None, '3817130'), ('4302', '27431419', '1387319455', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318343', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318340', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318336', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318319', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318316', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318312', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318293', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318284', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318279', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318276', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318272', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317946', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317942', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317931', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317126', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317122', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317103', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317099', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317095', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317090', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317062', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317059', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317056', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317035', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317032', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317015', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317011', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317006', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387316951', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387316906', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387316863', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387316836', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387316829', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387316538', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387315733', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387315729', None, None, None, None, None, '3817130')] time used for this insertion : 0.039674997329711914 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.669597387313843 time spend to save output : 0.040128231048583984 total time spend for step 1 : 7.709725618362427 step2:final Thu Oct 2 06:26:36 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 (27431419) 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 27431419 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1387315733,1387315729,1387316951,1387316906,1387316863,1387316836,1387316829,1387316538,1387317015,1387317011,1387317006,1387317035,1387317032,1387317062,1387317059,1387317056,1387317103,1387317099,1387317095,1387317090,1387317126,1387317122,1387317946,1387317942,1387317931,1387318293,1387318284,1387318279,1387318276,1387318272,1387318319,1387318316,1387318312,1387318343,1387318340,1387318336,1387319455); 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([27431419]) Inside saveOutput : final : False verbose : True original output for save of step final : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} new output for save of step final : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} [1387319455, 1387318343, 1387318340, 1387318336, 1387318319, 1387318316, 1387318312, 1387318293, 1387318284, 1387318279, 1387318276, 1387318272, 1387317946, 1387317942, 1387317931, 1387317126, 1387317122, 1387317103, 1387317099, 1387317095, 1387317090, 1387317062, 1387317059, 1387317056, 1387317035, 1387317032, 1387317015, 1387317011, 1387317006, 1387316951, 1387316906, 1387316863, 1387316836, 1387316829, 1387316538, 1387315733, 1387315729] map_info['map_portfolio_photo'] : {27431419: [1387319455, 1387318343, 1387318340, 1387318336, 1387318319, 1387318316, 1387318312, 1387318293, 1387318284, 1387318279, 1387318276, 1387318272, 1387317946, 1387317942, 1387317931, 1387317126, 1387317122, 1387317103, 1387317099, 1387317095, 1387317090, 1387317062, 1387317059, 1387317056, 1387317035, 1387317032, 1387317015, 1387317011, 1387317006, 1387316951, 1387316906, 1387316863, 1387316836, 1387316829, 1387316538, 1387315733, 1387315729]} final : False mtd_id 4302 list_pids : [1387319455, 1387318343, 1387318340, 1387318336, 1387318319, 1387318316, 1387318312, 1387318293, 1387318284, 1387318279, 1387318276, 1387318272, 1387317946, 1387317942, 1387317931, 1387317126, 1387317122, 1387317103, 1387317099, 1387317095, 1387317090, 1387317062, 1387317059, 1387317056, 1387317035, 1387317032, 1387317015, 1387317011, 1387317006, 1387316951, 1387316906, 1387316863, 1387316836, 1387316829, 1387316538, 1387315733, 1387315729] Looping around the photos to save general results len do output : 37 /1387319455.Didn't retrieve data . /1387318343.Didn't retrieve data . /1387318340.Didn't retrieve data . /1387318336.Didn't retrieve data . /1387318319.Didn't retrieve data . /1387318316.Didn't retrieve data . /1387318312.Didn't retrieve data . /1387318293.Didn't retrieve data . /1387318284.Didn't retrieve data . /1387318279.Didn't retrieve data . /1387318276.Didn't retrieve data . /1387318272.Didn't retrieve data . /1387317946.Didn't retrieve data . /1387317942.Didn't retrieve data . /1387317931.Didn't retrieve data . /1387317126.Didn't retrieve data . /1387317122.Didn't retrieve data . /1387317103.Didn't retrieve data . /1387317099.Didn't retrieve data . /1387317095.Didn't retrieve data . /1387317090.Didn't retrieve data . /1387317062.Didn't retrieve data . /1387317059.Didn't retrieve data . /1387317056.Didn't retrieve data . /1387317035.Didn't retrieve data . /1387317032.Didn't retrieve data . /1387317015.Didn't retrieve data . /1387317011.Didn't retrieve data . /1387317006.Didn't retrieve data . /1387316951.Didn't retrieve data . /1387316906.Didn't retrieve data . /1387316863.Didn't retrieve data . /1387316836.Didn't retrieve data . /1387316829.Didn't retrieve data . /1387316538.Didn't retrieve data . /1387315733.Didn't retrieve data . /1387315729.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, '3817130') ('4302', '27431419', '1387319455', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318343', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318340', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318336', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318319', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318316', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318312', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318293', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318284', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318279', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318276', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318272', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317946', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317942', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317931', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317126', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317122', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317103', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317099', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317095', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317090', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317062', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317059', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317056', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317035', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317032', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317015', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317011', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317006', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316951', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316906', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316863', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316836', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316829', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316538', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387315733', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387315729', None, None, None, None, None, '3817130') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 111 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', '27431419', '1387319455', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387318343', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387318340', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387318336', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387318319', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387318316', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387318312', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387318293', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387318284', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387318279', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387318276', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387318272', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387317946', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387317942', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387317931', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387317126', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387317122', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387317103', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387317099', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387317095', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387317090', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387317062', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387317059', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387317056', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387317035', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387317032', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387317015', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387317011', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387317006', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387316951', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387316906', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387316863', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387316836', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387316829', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387316538', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387315733', '0.06146544379296544', None, None, None, None, '3817130'), ('4302', '27431419', '1387315729', '0.06146544379296544', None, None, None, None, '3817130')] time used for this insertion : 0.039231061935424805 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.27652907371520996 time spend to save output : 0.040697336196899414 total time spend for step 2 : 0.3172264099121094 step3:velours_tree Thu Oct 2 06:26:37 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 : {27431419: [{'mal_croppe': 27431445, 'papier': 27431446, 'flou': 27431447, 'Carton_brun': 27431448, 'Carton_gris': 27431449, 'cartonnette': 27431450, 'plastique': 27431451, 'Teint_Dans_La_Masse': 27431452, 'autre_refus': 27431453, 'kraft': 27431454, 'environnement': 27431455, 'metal': 27431456}]} input_args_next_step : {27431419: ()} output_args : {27431419: [{'mal_croppe': 27431445, 'papier': 27431446, 'flou': 27431447, 'Carton_brun': 27431448, 'Carton_gris': 27431449, 'cartonnette': 27431450, 'plastique': 27431451, 'Teint_Dans_La_Masse': 27431452, 'autre_refus': 27431453, 'kraft': 27431454, 'environnement': 27431455, 'metal': 27431456}]} args : 27431419 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 : ({'mal_croppe': 27431445, 'papier': 27431446, 'flou': 27431447, 'Carton_brun': 27431448, 'Carton_gris': 27431449, 'cartonnette': 27431450, 'plastique': 27431451, 'Teint_Dans_La_Masse': 27431452, 'autre_refus': 27431453, 'kraft': 27431454, 'environnement': 27431455, 'metal': 27431456},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27431419) 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([27431419]) 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.29938173294067383 time spend to save output : 5.030632019042969e-05 total time spend for step 3 : 0.29943203926086426 step4:send_mail_cod Thu Oct 2 06:26:37 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 : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} input_args_next_step : {1387319455: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387319455 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387318343 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387318340 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387318336 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387318319 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387318316 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387318312 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387318293 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387318284 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387318279 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387318276 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387318272 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387317946 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387317942 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387317931 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387317126 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387317122 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387317103 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387317099 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387317095 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387317090 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387317062 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387317059 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387317056 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387317035 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387317032 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387317015 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387317011 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387317006 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387316951 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387316906 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387316863 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387316836 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387316829 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387316538 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387315733 depend.output_id : 0 input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ()} output_args : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',)} args : 1387315729 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 : {27431419: [{'mal_croppe': 27431445, 'papier': 27431446, 'flou': 27431447, 'Carton_brun': 27431448, 'Carton_gris': 27431449, 'cartonnette': 27431450, 'plastique': 27431451, 'Teint_Dans_La_Masse': 27431452, 'autre_refus': 27431453, 'kraft': 27431454, 'environnement': 27431455, 'metal': 27431456}]} input_args_next_step : {1387319455: ('0.06146544379296544',), 1387318343: ('0.06146544379296544',), 1387318340: ('0.06146544379296544',), 1387318336: ('0.06146544379296544',), 1387318319: ('0.06146544379296544',), 1387318316: ('0.06146544379296544',), 1387318312: ('0.06146544379296544',), 1387318293: ('0.06146544379296544',), 1387318284: ('0.06146544379296544',), 1387318279: ('0.06146544379296544',), 1387318276: ('0.06146544379296544',), 1387318272: ('0.06146544379296544',), 1387317946: ('0.06146544379296544',), 1387317942: ('0.06146544379296544',), 1387317931: ('0.06146544379296544',), 1387317126: ('0.06146544379296544',), 1387317122: ('0.06146544379296544',), 1387317103: ('0.06146544379296544',), 1387317099: ('0.06146544379296544',), 1387317095: ('0.06146544379296544',), 1387317090: ('0.06146544379296544',), 1387317062: ('0.06146544379296544',), 1387317059: ('0.06146544379296544',), 1387317056: ('0.06146544379296544',), 1387317035: ('0.06146544379296544',), 1387317032: ('0.06146544379296544',), 1387317015: ('0.06146544379296544',), 1387317011: ('0.06146544379296544',), 1387317006: ('0.06146544379296544',), 1387316951: ('0.06146544379296544',), 1387316906: ('0.06146544379296544',), 1387316863: ('0.06146544379296544',), 1387316836: ('0.06146544379296544',), 1387316829: ('0.06146544379296544',), 1387316538: ('0.06146544379296544',), 1387315733: ('0.06146544379296544',), 1387315729: ('0.06146544379296544',), 27431419: ()} output_args : {27431419: [{'mal_croppe': 27431445, 'papier': 27431446, 'flou': 27431447, 'Carton_brun': 27431448, 'Carton_gris': 27431449, 'cartonnette': 27431450, 'plastique': 27431451, 'Teint_Dans_La_Masse': 27431452, 'autre_refus': 27431453, 'kraft': 27431454, 'environnement': 27431455, 'metal': 27431456}]} args : 27431419 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 :38, first value : ('0.06146544379296544',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27431419) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos_view ph WHERE photo_id IN (1387319455,1387318343,1387318340,1387318336,1387318319,1387318316,1387318312,1387318293,1387318284,1387318279,1387318276,1387318272,1387317946,1387317942,1387317931,1387317126,1387317122,1387317103,1387317099,1387317095,1387317090,1387317062,1387317059,1387317056,1387317035,1387317032,1387317015,1387317011,1387317006,1387316951,1387316906,1387316863,1387316836,1387316829,1387316538,1387315733,1387315729) Found this number of photos: 37 ##### Call download_photos : nb_thread : 5 begin to download photo : 1387315729 begin to download photo : 1387317006 begin to download photo : 1387317090 begin to download photo : 1387317946 begin to download photo : 1387318319 download finish for photo 1387317090 begin to download photo : 1387317095 download finish for photo 1387315729 begin to download photo : 1387315733 download finish for photo 1387317006 begin to download photo : 1387317011 download finish for photo 1387317946 begin to download photo : 1387318272 download finish for photo 1387318319 begin to download photo : 1387318336 download finish for photo 1387315733 begin to download photo : 1387316538 download finish for photo 1387317095 begin to download photo : 1387317099 download finish for photo 1387317011 begin to download photo : 1387317015 download finish for photo 1387318336 begin to download photo : 1387318340 download finish for photo 1387318272 begin to download photo : 1387318276 download finish for photo 1387317099 begin to download photo : 1387317103 download finish for photo 1387317015 begin to download photo : 1387317032 download finish for photo 1387316538 begin to download photo : 1387316829 download finish for photo 1387318276 begin to download photo : 1387318279 download finish for photo 1387317103 begin to download photo : 1387317122 download finish for photo 1387317032 begin to download photo : 1387317035 download finish for photo 1387318279 begin to download photo : 1387318284 download finish for photo 1387316829 begin to download photo : 1387316836 download finish for photo 1387317122 begin to download photo : 1387317126 download finish for photo 1387317035 begin to download photo : 1387317056 download finish for photo 1387316836 begin to download photo : 1387316863 download finish for photo 1387318284 begin to download photo : 1387318293 download finish for photo 1387317126 begin to download photo : 1387317931 download finish for photo 1387317056 begin to download photo : 1387317059 download finish for photo 1387316863 begin to download photo : 1387316906 download finish for photo 1387317931 begin to download photo : 1387317942 download finish for photo 1387318293 begin to download photo : 1387318312 download finish for photo 1387317059 begin to download photo : 1387317062 download finish for photo 1387318312 begin to download photo : 1387318316 download finish for photo 1387317062 download finish for photo 1387317942 download finish for photo 1387316906 begin to download photo : 1387316951 download finish for photo 1387318316 download finish for photo 1387316951 download finish for photo 1387318340 begin to download photo : 1387318343 download finish for photo 1387318343 begin to download photo : 1387319455 download finish for photo 1387319455 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette274314451759379200/ imagette274314471759379200/ length of list_filenames : 37 ; length of list_pids : 37 ; length of list_args : 37 results_Auto_P27431419_02-10-2025_06_26_40.pdf 27431445 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27431445 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette274314451759379200 27431447 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27431447 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette274314471759379200 27431450 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27431450 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387318904: '1759372025_4037750_1387317032_bf42b411f60dcb7bb414552391b6598a_rle_crop_3983493153_0.png', 1387319724: '1759373584_4084866_1387316951_47627bad6e0c1f81e639e7d7d2d37804_rle_crop_3983495567_0.png', 1387319723: '1759373584_4084866_1387316951_47627bad6e0c1f81e639e7d7d2d37804_rle_crop_3983495568_0.png', 1387319048: '1759372266_4043455_1387316538_961c4effe17b15112636ef7bc73d45c0_rle_crop_3983493713_0.png', 1387319047: '1759372266_4043455_1387316836_6344ceccdd47476490267b22cc1e9b5c_rle_crop_3983493691_0.png', 1387319046: '1759372266_4043455_1387316906_961d43471dfe281741b9dc9b1f275e59_rle_crop_3983493669_0.png', 1387318975: '1759372146_4040603_1387317056_5baf4d44f91b0ba9255e73f168417f34_rle_crop_3983493267_0.png', 1387318974: '1759372146_4040603_1387317059_0b6240eabf9b48c86a09dd40e709391b_rle_crop_3983493258_0.png', 1387318973: '1759372146_4040603_1387317103_17aa46fa26f5fc06fd7bc9023202d563_rle_crop_3983493247_0.png', 1387318972: '1759372146_4040603_1387317103_17aa46fa26f5fc06fd7bc9023202d563_rle_crop_3983493246_0.png', 1387317134: '1759370826_4001551_1387315729_e9dd61cbd79373a79c80dd03db8e5f80_rle_crop_3983491194_0.png', 1387318903: '1759372025_4037750_1387317062_18afb25a8a102c8adefeb1fd41ea3156_rle_crop_3983493121_0.png', 1387318775: '1759371786_4031138_1387318272_366b60f740ad033337945ff06b59182a_rle_crop_3983492733_0.png', 1387318774: '1759371786_4031138_1387318279_acf485126245a48600a72b7f3f6a0d1c_rle_crop_3983492703_0.png', 1387318773: '1759371786_4031138_1387318279_acf485126245a48600a72b7f3f6a0d1c_rle_crop_3983492700_0.png', 1387318772: '1759371786_4031138_1387318284_470fbfbfbad3a7fc2826671fdb1d871a_rle_crop_3983492681_0.png', 1387318434: '1759371185_4012443_1387317095_e3ef419a1910668faee0e7c392c6ca3c_rle_crop_3983491374_0.png', 1387318350: '1759371065_4008055_1387317095_e3ef419a1910668faee0e7c392c6ca3c_rle_crop_3983491374_0.png', 1387317135: '1759370826_4001551_1387315729_e9dd61cbd79373a79c80dd03db8e5f80_rle_crop_3983491193_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/072c3679b1cfe2cafb083704cb6937d0_26596171.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/225ac6632b57200477b7d6f7ba0251e0_62941387.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/c344b0cce2b151d2770875e2691f929a_88259578.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/a07d1f0be0915c8632055790bb22448e_36665748.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/ce41e36c865a7133cffd319c99681ee6_75827744.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/ba94990ec31b331e78907ae04d8d69f8_21720024.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/213a13b4654eb004be015cb7b4bde4ed_24710601.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/4e043c7a9ad3d3d4d28072351e7436b2_94954105.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/ed7c324e96a35d5b8ac357ce5c9eaf09_8598737.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/8d3578d5795633e83e4d26cbf7b91896_62988925.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/fd178ea211409e4cb84ccf55d616fedb_21229014.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/90c45844b26ef1ce15c3123e748317e7_26433629.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/dbe3fd47c3e63263dd9c618f21c17398_32682559.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/7059652d4508df8793469b50a2545f95_88409996.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/9927b85cd6b8546641e134817a8d6eab_11729903.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/51975f042d3600b2aa24f4da93b6df2e_23935152.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/96a169d49432d13d670201b98cfeb9b1_71881614.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/96a169d49432d13d670201b98cfeb9b1_5016925.png change filename to text .imagette274314501759379200/ imagette274314501759379200/1759370826_4001551_1387315729_e9dd61cbd79373a79c80dd03db8e5f80_rle_crop_3983491193_0.png.png imagette274314501759379200/1759372266_4043455_1387316906_961d43471dfe281741b9dc9b1f275e59_rle_crop_3983493669_0.png.png imagette274314501759379200/1759372025_4037750_1387317062_18afb25a8a102c8adefeb1fd41ea3156_rle_crop_3983493121_0.png.png imagette274314501759379200/1759371185_4012443_1387317095_e3ef419a1910668faee0e7c392c6ca3c_rle_crop_3983491374_0.png.png imagette274314501759379200/1759370826_4001551_1387315729_e9dd61cbd79373a79c80dd03db8e5f80_rle_crop_3983491194_0.png.png imagette274314501759379200/1759372146_4040603_1387317103_17aa46fa26f5fc06fd7bc9023202d563_rle_crop_3983493246_0.png.png imagette274314501759379200/1759373584_4084866_1387316951_47627bad6e0c1f81e639e7d7d2d37804_rle_crop_3983495568_0.png.png imagette274314501759379200/1759372146_4040603_1387317059_0b6240eabf9b48c86a09dd40e709391b_rle_crop_3983493258_0.png.png imagette274314501759379200/1759372266_4043455_1387316538_961c4effe17b15112636ef7bc73d45c0_rle_crop_3983493713_0.png.png imagette274314501759379200/1759372146_4040603_1387317056_5baf4d44f91b0ba9255e73f168417f34_rle_crop_3983493267_0.png.png imagette274314501759379200/1759371065_4008055_1387317095_e3ef419a1910668faee0e7c392c6ca3c_rle_crop_3983491374_0.png.png imagette274314501759379200/1759372025_4037750_1387317032_bf42b411f60dcb7bb414552391b6598a_rle_crop_3983493153_0.png.png imagette274314501759379200/1759371786_4031138_1387318284_470fbfbfbad3a7fc2826671fdb1d871a_rle_crop_3983492681_0.png.png imagette274314501759379200/1759371786_4031138_1387318272_366b60f740ad033337945ff06b59182a_rle_crop_3983492733_0.png.png imagette274314501759379200/1759371786_4031138_1387318279_acf485126245a48600a72b7f3f6a0d1c_rle_crop_3983492700_0.png.png imagette274314501759379200/1759371786_4031138_1387318279_acf485126245a48600a72b7f3f6a0d1c_rle_crop_3983492703_0.png.png imagette274314501759379200/1759372266_4043455_1387316836_6344ceccdd47476490267b22cc1e9b5c_rle_crop_3983493691_0.png.png imagette274314501759379200/1759373584_4084866_1387316951_47627bad6e0c1f81e639e7d7d2d37804_rle_crop_3983495567_0.png.png imagette274314501759379200/1759372146_4040603_1387317103_17aa46fa26f5fc06fd7bc9023202d563_rle_crop_3983493247_0.png.png wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/5cd752d375ed6ed5d5bc6579f7bff7cb_11813059.png imagette274314501759379200 27431451 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27431451 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387317136: '1759370826_4001551_1387315733_7a6ee6b2bdf4305759d3c7521b778137_rle_crop_3983491186_0.png', 1387317137: '1759370826_4001551_1387315729_e9dd61cbd79373a79c80dd03db8e5f80_rle_crop_3983491198_0.png', 1387318292: '1759370945_4004274_1387317035_1c26fd74e1d3f4687c352cc03e62cba0_rle_crop_3983491272_0.png', 1387318352: '1759371065_4008055_1387317099_c8c25be626feece5d15921c3f6b5b6ae_rle_crop_3983491362_0.png', 1387318438: '1759371185_4012443_1387317099_c8c25be626feece5d15921c3f6b5b6ae_rle_crop_3983491362_0.png', 1387318778: '1759371786_4031138_1387318276_0bf2b029702e574aa0683355a3a4ded7_rle_crop_3983492717_0.png', 1387318779: '1759371786_4031138_1387318272_366b60f740ad033337945ff06b59182a_rle_crop_3983492736_0.png', 1387318834: '1759371904_4034054_1387318293_9dacb2cfb462883d92dbeeeb7c513851_rle_crop_3983492833_0.png', 1387318909: '1759372025_4037750_1387317062_18afb25a8a102c8adefeb1fd41ea3156_rle_crop_3983493127_0.png', 1387318976: '1759372146_4040603_1387317056_5baf4d44f91b0ba9255e73f168417f34_rle_crop_3983493274_0.png', 1387319050: '1759372266_4043455_1387316906_961d43471dfe281741b9dc9b1f275e59_rle_crop_3983493672_0.png', 1387319726: '1759373584_4084866_1387316951_47627bad6e0c1f81e639e7d7d2d37804_rle_crop_3983495571_0.png', 1387319727: '1759373584_4084866_1387316951_47627bad6e0c1f81e639e7d7d2d37804_rle_crop_3983495572_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/149a2ea675e1cf98ea39b3e0cce829ea_17817301.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/1ba37f7533701193346a8bd22b87a923_77716957.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/93d111458950621e919fe364129962da_7736033.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/504d9c220f12524cad292b87048fbd08_4408386.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/504d9c220f12524cad292b87048fbd08_54474907.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/f220b5e033a30af1e64492381f57a660_8077166.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/771e6b91f0339fb855fb8a1420da633a_41709152.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/d7111ca29d12fe3f69982aa47914a12f_70696552.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/05317346e97ce4a376970befdb9367d7_87807766.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/ed291c6f805faacb1b1fab95c14e7d78_10905672.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/3d630571e8e7e1608c72cdc6e1176b45_6010850.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/23c16f2d8ebfaa6a32f424c32da4525a_78271965.png change filename to text .imagette274314511759379202/ imagette274314511759379202/1759371904_4034054_1387318293_9dacb2cfb462883d92dbeeeb7c513851_rle_crop_3983492833_0.png.png imagette274314511759379202/1759372266_4043455_1387316906_961d43471dfe281741b9dc9b1f275e59_rle_crop_3983493672_0.png.png imagette274314511759379202/1759371065_4008055_1387317099_c8c25be626feece5d15921c3f6b5b6ae_rle_crop_3983491362_0.png.png imagette274314511759379202/1759371786_4031138_1387318272_366b60f740ad033337945ff06b59182a_rle_crop_3983492736_0.png.png imagette274314511759379202/1759370826_4001551_1387315733_7a6ee6b2bdf4305759d3c7521b778137_rle_crop_3983491186_0.png.png imagette274314511759379202/1759370826_4001551_1387315729_e9dd61cbd79373a79c80dd03db8e5f80_rle_crop_3983491198_0.png.png imagette274314511759379202/1759371786_4031138_1387318276_0bf2b029702e574aa0683355a3a4ded7_rle_crop_3983492717_0.png.png imagette274314511759379202/1759372146_4040603_1387317056_5baf4d44f91b0ba9255e73f168417f34_rle_crop_3983493274_0.png.png imagette274314511759379202/1759370945_4004274_1387317035_1c26fd74e1d3f4687c352cc03e62cba0_rle_crop_3983491272_0.png.png imagette274314511759379202/1759371185_4012443_1387317099_c8c25be626feece5d15921c3f6b5b6ae_rle_crop_3983491362_0.png.png imagette274314511759379202/1759373584_4084866_1387316951_47627bad6e0c1f81e639e7d7d2d37804_rle_crop_3983495571_0.png.png imagette274314511759379202/1759372025_4037750_1387317062_18afb25a8a102c8adefeb1fd41ea3156_rle_crop_3983493127_0.png.png imagette274314511759379202/1759373584_4084866_1387316951_47627bad6e0c1f81e639e7d7d2d37804_rle_crop_3983495572_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/5105f82307aa58e5131740b60a3dd2c0_18057994.png imagette274314511759379202 27431453 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27431453 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387318290: '1759370945_4004274_1387317035_1c26fd74e1d3f4687c352cc03e62cba0_rle_crop_3983491273_0.png', 1387318486: '1759371304_4015144_1387318316_392fe53b190408c92ed26fc900d234b4_rle_crop_3983491831_0.png', 1387318967: '1759372146_4040603_1387317059_0b6240eabf9b48c86a09dd40e709391b_rle_crop_3983493261_0.png', 1387318968: '1759372146_4040603_1387317056_5baf4d44f91b0ba9255e73f168417f34_rle_crop_3983493270_0.png', 1387318969: '1759372146_4040603_1387317056_5baf4d44f91b0ba9255e73f168417f34_rle_crop_3983493273_0.png', 1387318970: '1759372146_4040603_1387317056_5baf4d44f91b0ba9255e73f168417f34_rle_crop_3983493272_0.png', 1387319042: '1759372266_4043455_1387316829_f9e5c32862eaddc99e53ab2a764592fc_rle_crop_3983493696_0.png', 1387319043: '1759372266_4043455_1387316538_961c4effe17b15112636ef7bc73d45c0_rle_crop_3983493709_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/ddd44b73c05864d7cdbbef5393c18731_88932812.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/b36a317e90849d09122588f66f023839_25769451.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/98bfc5a94079946e8ad9251475151ccc_8437359.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/a89007c0c1269abee33b8ff1da4da7df_33339110.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/7733299032f019f470292c531109dbcb_46026613.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/0f0db1095a131b36591790023f6ce5e6_13059528.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/b0c7a43dc60229ab7b9f27834ae5d53a_76517780.png change filename to text .imagette274314531759379203/ imagette274314531759379203/1759372146_4040603_1387317056_5baf4d44f91b0ba9255e73f168417f34_rle_crop_3983493270_0.png.png imagette274314531759379203/1759372146_4040603_1387317056_5baf4d44f91b0ba9255e73f168417f34_rle_crop_3983493273_0.png.png imagette274314531759379203/1759372146_4040603_1387317059_0b6240eabf9b48c86a09dd40e709391b_rle_crop_3983493261_0.png.png imagette274314531759379203/1759372266_4043455_1387316538_961c4effe17b15112636ef7bc73d45c0_rle_crop_3983493709_0.png.png imagette274314531759379203/1759371304_4015144_1387318316_392fe53b190408c92ed26fc900d234b4_rle_crop_3983491831_0.png.png imagette274314531759379203/1759370945_4004274_1387317035_1c26fd74e1d3f4687c352cc03e62cba0_rle_crop_3983491273_0.png.png imagette274314531759379203/1759372146_4040603_1387317056_5baf4d44f91b0ba9255e73f168417f34_rle_crop_3983493272_0.png.png imagette274314531759379203/1759372266_4043455_1387316829_f9e5c32862eaddc99e53ab2a764592fc_rle_crop_3983493696_0.png.png imagette274314541759379204/ imagette274314561759379204/ wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/2dd045b30c2e53a43dd6dbe6914a7bcf_68375641.png imagette274314531759379203 27431454 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27431454 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette274314541759379204 27431456 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27431456 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette274314561759379204 27431448 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27431448 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387318351: '1759371065_4008055_1387317095_e3ef419a1910668faee0e7c392c6ca3c_rle_crop_3983491377_0.png', 1387318437: '1759371185_4012443_1387317095_e3ef419a1910668faee0e7c392c6ca3c_rle_crop_3983491377_0.png', 1387318776: '1759371786_4031138_1387318319_6d72c0f34cb98a287f201c98897bd16c_rle_crop_3983492670_0.png', 1387318905: '1759372025_4037750_1387317032_bf42b411f60dcb7bb414552391b6598a_rle_crop_3983493150_0.png', 1387319049: '1759372266_4043455_1387316538_961c4effe17b15112636ef7bc73d45c0_rle_crop_3983493714_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/837d874f5e8f3b8836973f27feda21a8_91498384.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/837d874f5e8f3b8836973f27feda21a8_36661778.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/4ed68f77a7eebd09195ca74930a6b32c_2088832.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/2e54c3cab42568fa950ab2af27ef8849_95200471.png change filename to text .imagette274314481759379204/ imagette274314481759379204/1759371185_4012443_1387317095_e3ef419a1910668faee0e7c392c6ca3c_rle_crop_3983491377_0.png.png imagette274314481759379204/1759371786_4031138_1387318319_6d72c0f34cb98a287f201c98897bd16c_rle_crop_3983492670_0.png.png imagette274314481759379204/1759372266_4043455_1387316538_961c4effe17b15112636ef7bc73d45c0_rle_crop_3983493714_0.png.png imagette274314481759379204/1759372025_4037750_1387317032_bf42b411f60dcb7bb414552391b6598a_rle_crop_3983493150_0.png.png imagette274314481759379204/1759371065_4008055_1387317095_e3ef419a1910668faee0e7c392c6ca3c_rle_crop_3983491377_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/783b5cdc43bbcf75b1d0cc8e0d3fb830_95547313.png imagette274314481759379204 27431449 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27431449 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387318487: '1759371304_4015144_1387318316_392fe53b190408c92ed26fc900d234b4_rle_crop_3983491835_0.png', 1387318542: '1759371425_4020376_1387318340_8128993ebc5664c2ea28a202cc9e6777_rle_crop_3983492064_0.png', 1387318833: '1759371904_4034054_1387317931_6d81da5bd99d893592b0296cd4c4a61c_rle_crop_3983492848_0.png', 1387318898: '1759372025_4037750_1387317032_bf42b411f60dcb7bb414552391b6598a_rle_crop_3983493148_0.png', 1387318971: '1759372146_4040603_1387317103_17aa46fa26f5fc06fd7bc9023202d563_rle_crop_3983493250_0.png', 1387319045: '1759372266_4043455_1387316906_961d43471dfe281741b9dc9b1f275e59_rle_crop_3983493668_0.png', 1387319660: '1759373465_4079742_1387318343_d490520a559be61722ff72de9a521d99_rle_crop_3983495515_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/da482b93b74b34ddfbe2c6053e8c3574_84056104.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/3d28fe8480f6cbe0a2df046e1c01f63a_76405610.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/330160d8c6fe854e31871d6ec8c806bf_40203801.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/e2e7131e32aae933bf736a69f3161fb5_75888355.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/92e56f497c71644ed7813754529aee26_82573799.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/84e8b61f1b5ee78f7f1f7a82163c569c_96889163.png change filename to text .imagette274314491759379205/ imagette274314491759379205/1759372146_4040603_1387317103_17aa46fa26f5fc06fd7bc9023202d563_rle_crop_3983493250_0.png.png imagette274314491759379205/1759371304_4015144_1387318316_392fe53b190408c92ed26fc900d234b4_rle_crop_3983491835_0.png.png imagette274314491759379205/1759371425_4020376_1387318340_8128993ebc5664c2ea28a202cc9e6777_rle_crop_3983492064_0.png.png imagette274314491759379205/1759372025_4037750_1387317032_bf42b411f60dcb7bb414552391b6598a_rle_crop_3983493148_0.png.png imagette274314491759379205/1759372266_4043455_1387316906_961d43471dfe281741b9dc9b1f275e59_rle_crop_3983493668_0.png.png imagette274314491759379205/1759373465_4079742_1387318343_d490520a559be61722ff72de9a521d99_rle_crop_3983495515_0.png.png imagette274314491759379205/1759371904_4034054_1387317931_6d81da5bd99d893592b0296cd4c4a61c_rle_crop_3983492848_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/a915649a7c4003cfd3cc527eb98613e2_56718293.png imagette274314491759379205 27431452 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27431452 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387318289: '1759370945_4004274_1387317035_1c26fd74e1d3f4687c352cc03e62cba0_rle_crop_3983491276_0.png', 1387318485: '1759371304_4015144_1387318312_8a55bfcddae88c56685419c3e8fc602a_rle_crop_3983491846_0.png', 1387318768: '1759371786_4031138_1387318284_470fbfbfbad3a7fc2826671fdb1d871a_rle_crop_3983492688_0.png', 1387318769: '1759371786_4031138_1387318279_acf485126245a48600a72b7f3f6a0d1c_rle_crop_3983492708_0.png', 1387318770: '1759371786_4031138_1387318276_0bf2b029702e574aa0683355a3a4ded7_rle_crop_3983492724_0.png', 1387318893: '1759372025_4037750_1387317062_18afb25a8a102c8adefeb1fd41ea3156_rle_crop_3983493133_0.png', 1387318894: '1759372025_4037750_1387317062_18afb25a8a102c8adefeb1fd41ea3156_rle_crop_3983493136_0.png', 1387319722: '1759373584_4084866_1387316951_47627bad6e0c1f81e639e7d7d2d37804_rle_crop_3983495570_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/a8df1ee849c6a6b47b2058ae15a2e14b_95129279.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/bacc22e18a0b2e60f98fb3c637f6b3f8_58813956.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/daca1079b76dec5bac799548de562ee4_25838068.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/fae0a661e7b0c0fd80d4b9b3d4e671d2_24514611.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/201a39ded92ba0ae81b415e3705becfc_14647334.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/484ae55b97140e8be9b27eff7c9b751f_83111984.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/6d4e56ef1d1ca6196a42dd4b55a8c8a3_71255189.png change filename to text .imagette274314521759379205/ imagette274314521759379205/1759371786_4031138_1387318276_0bf2b029702e574aa0683355a3a4ded7_rle_crop_3983492724_0.png.png imagette274314521759379205/1759372025_4037750_1387317062_18afb25a8a102c8adefeb1fd41ea3156_rle_crop_3983493133_0.png.png imagette274314521759379205/1759371304_4015144_1387318312_8a55bfcddae88c56685419c3e8fc602a_rle_crop_3983491846_0.png.png imagette274314521759379205/1759371786_4031138_1387318279_acf485126245a48600a72b7f3f6a0d1c_rle_crop_3983492708_0.png.png imagette274314521759379205/1759370945_4004274_1387317035_1c26fd74e1d3f4687c352cc03e62cba0_rle_crop_3983491276_0.png.png imagette274314521759379205/1759372025_4037750_1387317062_18afb25a8a102c8adefeb1fd41ea3156_rle_crop_3983493136_0.png.png imagette274314521759379205/1759373584_4084866_1387316951_47627bad6e0c1f81e639e7d7d2d37804_rle_crop_3983495570_0.png.png imagette274314521759379205/1759371786_4031138_1387318284_470fbfbfbad3a7fc2826671fdb1d871a_rle_crop_3983492688_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/8beaac81bc55b38f96c1145e24c0ca3f_22098203.png imagette274314521759379205 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27431419 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27431495,27431496,27431497,27431498,27431499,27431500,27431502,27431503,27431504,27431505,27431506,27431507?tags=mal_croppe,papier,flou,Carton_brun,Carton_gris,cartonnette,plastique,Teint_Dans_La_Masse,autre_refus,kraft,environnement,metal your option no_mail is active, we will not send the real mail to your client args[1387319455] : ('0.06146544379296544',) no score found for photo 1387319455 We are sending mail with results at report@fotonower.com args[1387318343] : ('0.06146544379296544',) no score found for photo 1387318343 We are sending mail with results at report@fotonower.com args[1387318340] : ('0.06146544379296544',) no score found for photo 1387318340 We are sending mail with results at report@fotonower.com args[1387318336] : ('0.06146544379296544',) no score found for photo 1387318336 We are sending mail with results at report@fotonower.com args[1387318319] : ('0.06146544379296544',) no score found for photo 1387318319 We are sending mail with results at report@fotonower.com args[1387318316] : ('0.06146544379296544',) no score found for photo 1387318316 We are sending mail with results at report@fotonower.com args[1387318312] : ('0.06146544379296544',) no score found for photo 1387318312 We are sending mail with results at report@fotonower.com args[1387318293] : ('0.06146544379296544',) no score found for photo 1387318293 We are sending mail with results at report@fotonower.com args[1387318284] : ('0.06146544379296544',) no score found for photo 1387318284 We are sending mail with results at report@fotonower.com args[1387318279] : ('0.06146544379296544',) no score found for photo 1387318279 We are sending mail with results at report@fotonower.com args[1387318276] : ('0.06146544379296544',) no score found for photo 1387318276 We are sending mail with results at report@fotonower.com args[1387318272] : ('0.06146544379296544',) no score found for photo 1387318272 We are sending mail with results at report@fotonower.com args[1387317946] : ('0.06146544379296544',) no score found for photo 1387317946 We are sending mail with results at report@fotonower.com args[1387317942] : ('0.06146544379296544',) no score found for photo 1387317942 We are sending mail with results at report@fotonower.com args[1387317931] : ('0.06146544379296544',) no score found for photo 1387317931 We are sending mail with results at report@fotonower.com args[1387317126] : ('0.06146544379296544',) no score found for photo 1387317126 We are sending mail with results at report@fotonower.com args[1387317122] : ('0.06146544379296544',) no score found for photo 1387317122 We are sending mail with results at report@fotonower.com args[1387317103] : ('0.06146544379296544',) no score found for photo 1387317103 We are sending mail with results at report@fotonower.com args[1387317099] : ('0.06146544379296544',) no score found for photo 1387317099 We are sending mail with results at report@fotonower.com args[1387317095] : ('0.06146544379296544',) no score found for photo 1387317095 We are sending mail with results at report@fotonower.com args[1387317090] : ('0.06146544379296544',) no score found for photo 1387317090 We are sending mail with results at report@fotonower.com args[1387317062] : ('0.06146544379296544',) no score found for photo 1387317062 We are sending mail with results at report@fotonower.com args[1387317059] : ('0.06146544379296544',) no score found for photo 1387317059 We are sending mail with results at report@fotonower.com args[1387317056] : ('0.06146544379296544',) no score found for photo 1387317056 We are sending mail with results at report@fotonower.com args[1387317035] : ('0.06146544379296544',) no score found for photo 1387317035 We are sending mail with results at report@fotonower.com args[1387317032] : ('0.06146544379296544',) no score found for photo 1387317032 We are sending mail with results at report@fotonower.com args[1387317015] : ('0.06146544379296544',) no score found for photo 1387317015 We are sending mail with results at report@fotonower.com args[1387317011] : ('0.06146544379296544',) no score found for photo 1387317011 We are sending mail with results at report@fotonower.com args[1387317006] : ('0.06146544379296544',) no score found for photo 1387317006 We are sending mail with results at report@fotonower.com args[1387316951] : ('0.06146544379296544',) no score found for photo 1387316951 We are sending mail with results at report@fotonower.com args[1387316906] : ('0.06146544379296544',) no score found for photo 1387316906 We are sending mail with results at report@fotonower.com args[1387316863] : ('0.06146544379296544',) no score found for photo 1387316863 We are sending mail with results at report@fotonower.com args[1387316836] : ('0.06146544379296544',) no score found for photo 1387316836 We are sending mail with results at report@fotonower.com args[1387316829] : ('0.06146544379296544',) no score found for photo 1387316829 We are sending mail with results at report@fotonower.com args[1387316538] : ('0.06146544379296544',) no score found for photo 1387316538 We are sending mail with results at report@fotonower.com args[1387315733] : ('0.06146544379296544',) no score found for photo 1387315733 We are sending mail with results at report@fotonower.com args[1387315729] : ('0.06146544379296544',) no score found for photo 1387315729 We are sending mail with results at report@fotonower.com refus_total : 0.06146544379296544 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27431419 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_P27431419_02-10-2025_06_26_40.pdf results_Auto_P27431419_02-10-2025_06_26_40.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27431419_02-10-2025_06_26_40.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','27431419','results_Auto_P27431419_02-10-2025_06_26_40.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27431419_02-10-2025_06_26_40.pdf','pdf','','0.44','0.06146544379296544') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27431419]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1387319455, 1387318343, 1387318340, 1387318336, 1387318319, 1387318316, 1387318312, 1387318293, 1387318284, 1387318279, 1387318276, 1387318272, 1387317946, 1387317942, 1387317931, 1387317126, 1387317122, 1387317103, 1387317099, 1387317095, 1387317090, 1387317062, 1387317059, 1387317056, 1387317035, 1387317032, 1387317015, 1387317011, 1387317006, 1387316951, 1387316906, 1387316863, 1387316836, 1387316829, 1387316538, 1387315733, 1387315729] map_info['map_portfolio_photo'] : {27431419: [1387319455, 1387318343, 1387318340, 1387318336, 1387318319, 1387318316, 1387318312, 1387318293, 1387318284, 1387318279, 1387318276, 1387318272, 1387317946, 1387317942, 1387317931, 1387317126, 1387317122, 1387317103, 1387317099, 1387317095, 1387317090, 1387317062, 1387317059, 1387317056, 1387317035, 1387317032, 1387317015, 1387317011, 1387317006, 1387316951, 1387316906, 1387316863, 1387316836, 1387316829, 1387316538, 1387315733, 1387315729]} final : False mtd_id 4302 list_pids : [1387319455, 1387318343, 1387318340, 1387318336, 1387318319, 1387318316, 1387318312, 1387318293, 1387318284, 1387318279, 1387318276, 1387318272, 1387317946, 1387317942, 1387317931, 1387317126, 1387317122, 1387317103, 1387317099, 1387317095, 1387317090, 1387317062, 1387317059, 1387317056, 1387317035, 1387317032, 1387317015, 1387317011, 1387317006, 1387316951, 1387316906, 1387316863, 1387316836, 1387316829, 1387316538, 1387315733, 1387315729] 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, '3817130') ('4302', '27431419', '1387319455', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318343', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318340', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318336', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318319', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318316', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318312', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318293', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318284', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318279', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318276', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318272', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317946', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317942', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317931', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317126', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317122', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317103', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317099', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317095', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317090', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317062', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317059', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317056', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317035', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317032', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317015', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317011', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317006', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316951', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316906', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316863', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316836', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316829', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316538', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387315733', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387315729', None, None, None, None, None, '3817130') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 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', '27431419', '1387319455', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318343', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318340', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318336', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318319', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318316', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318312', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318293', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318284', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318279', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318276', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318272', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317946', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317942', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317931', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317126', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317122', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317103', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317099', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317095', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317090', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317062', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317059', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317056', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317035', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317032', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317015', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317011', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317006', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387316951', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387316906', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387316863', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387316836', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387316829', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387316538', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387315733', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387315729', None, None, None, None, None, '3817130')] time used for this insertion : 0.040428876876831055 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.605057954788208 time spend to save output : 0.04081130027770996 total time spend for step 4 : 12.645869255065918 step5:split_time_score Thu Oct 2 06:26:50 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 : ['27431419'] 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 : [('27431419',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27431419) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1387317006: {'path': 'temp/1759379197_189995_1387317006_7bbba9bcb927b7c9a0bed201601a28cf.jpg', 'extension': 'jpg'}, 1387317011: {'path': 'temp/1759379197_189995_1387317011_2db780b2d6ad40eab4a92b067e6da540.jpg', 'extension': 'jpg'}, 1387317015: {'path': 'temp/1759379197_189995_1387317015_9b9b882fea89d2677b29b6f097d53cd4.jpg', 'extension': 'jpg'}, 1387317032: {'path': 'temp/1759379197_189995_1387317032_bf42b411f60dcb7bb414552391b6598a.jpg', 'extension': 'jpg'}, 1387317035: {'path': 'temp/1759379197_189995_1387317035_1c26fd74e1d3f4687c352cc03e62cba0.jpg', 'extension': 'jpg'}, 1387317056: {'path': 'temp/1759379197_189995_1387317056_5baf4d44f91b0ba9255e73f168417f34.jpg', 'extension': 'jpg'}, 1387317059: {'path': 'temp/1759379197_189995_1387317059_0b6240eabf9b48c86a09dd40e709391b.jpg', 'extension': 'jpg'}, 1387317062: {'path': 'temp/1759379197_189995_1387317062_18afb25a8a102c8adefeb1fd41ea3156.jpg', 'extension': 'jpg'}, 1387317090: {'path': 'temp/1759379197_189995_1387317090_59f3aa85721e01862a2d6f6985c0cf3f.jpg', 'extension': 'jpg'}, 1387317095: {'path': 'temp/1759379197_189995_1387317095_e3ef419a1910668faee0e7c392c6ca3c.jpg', 'extension': 'jpg'}, 1387317099: {'path': 'temp/1759379197_189995_1387317099_c8c25be626feece5d15921c3f6b5b6ae.jpg', 'extension': 'jpg'}, 1387317103: {'path': 'temp/1759379197_189995_1387317103_17aa46fa26f5fc06fd7bc9023202d563.jpg', 'extension': 'jpg'}, 1387317122: {'path': 'temp/1759379197_189995_1387317122_7b88edbf4af37cdd0e3ce6ab82aebdca.jpg', 'extension': 'jpg'}, 1387317126: {'path': 'temp/1759379197_189995_1387317126_876bdcdc8529830a90c36ab2b01ae085.jpg', 'extension': 'jpg'}, 1387317931: {'path': 'temp/1759379197_189995_1387317931_6d81da5bd99d893592b0296cd4c4a61c.jpg', 'extension': 'jpg'}, 1387317942: {'path': 'temp/1759379197_189995_1387317942_edfb31fddfaaac7871c4a1b4b01a1527.jpg', 'extension': 'jpg'}, 1387317946: {'path': 'temp/1759379197_189995_1387317946_41b3aa0673aec11077a8391d4a7a9140.jpg', 'extension': 'jpg'}, 1387318272: {'path': 'temp/1759379197_189995_1387318272_366b60f740ad033337945ff06b59182a.jpg', 'extension': 'jpg'}, 1387318276: {'path': 'temp/1759379197_189995_1387318276_0bf2b029702e574aa0683355a3a4ded7.jpg', 'extension': 'jpg'}, 1387318279: {'path': 'temp/1759379197_189995_1387318279_acf485126245a48600a72b7f3f6a0d1c.jpg', 'extension': 'jpg'}, 1387318284: {'path': 'temp/1759379197_189995_1387318284_470fbfbfbad3a7fc2826671fdb1d871a.jpg', 'extension': 'jpg'}, 1387318293: {'path': 'temp/1759379197_189995_1387318293_9dacb2cfb462883d92dbeeeb7c513851.jpg', 'extension': 'jpg'}, 1387318312: {'path': 'temp/1759379197_189995_1387318312_8a55bfcddae88c56685419c3e8fc602a.jpg', 'extension': 'jpg'}, 1387318316: {'path': 'temp/1759379197_189995_1387318316_392fe53b190408c92ed26fc900d234b4.jpg', 'extension': 'jpg'}, 1387315729: {'path': 'temp/1759379197_189995_1387315729_e9dd61cbd79373a79c80dd03db8e5f80.jpg', 'extension': 'jpg'}, 1387315733: {'path': 'temp/1759379197_189995_1387315733_7a6ee6b2bdf4305759d3c7521b778137.jpg', 'extension': 'jpg'}, 1387316538: {'path': 'temp/1759379197_189995_1387316538_961c4effe17b15112636ef7bc73d45c0.jpg', 'extension': 'jpg'}, 1387316829: {'path': 'temp/1759379197_189995_1387316829_f9e5c32862eaddc99e53ab2a764592fc.jpg', 'extension': 'jpg'}, 1387316836: {'path': 'temp/1759379197_189995_1387316836_6344ceccdd47476490267b22cc1e9b5c.jpg', 'extension': 'jpg'}, 1387316863: {'path': 'temp/1759379197_189995_1387316863_7d6c8dac7fc5368ed58aea08f776b501.jpg', 'extension': 'jpg'}, 1387316906: {'path': 'temp/1759379197_189995_1387316906_961d43471dfe281741b9dc9b1f275e59.jpg', 'extension': 'jpg'}, 1387316951: {'path': 'temp/1759379197_189995_1387316951_47627bad6e0c1f81e639e7d7d2d37804.jpg', 'extension': 'jpg'}, 1387318319: {'path': 'temp/1759379197_189995_1387318319_6d72c0f34cb98a287f201c98897bd16c.jpg', 'extension': 'jpg'}, 1387318336: {'path': 'temp/1759379197_189995_1387318336_93bf73981033a62c285521ba51c54f61.jpg', 'extension': 'jpg'}, 1387318340: {'path': 'temp/1759379197_189995_1387318340_8128993ebc5664c2ea28a202cc9e6777.jpg', 'extension': 'jpg'}, 1387318343: {'path': 'temp/1759379197_189995_1387318343_d490520a559be61722ff72de9a521d99.jpg', 'extension': 'jpg'}, 1387319455: {'path': 'temp/1759379197_189995_1387319455_9c295e236c8e42f621a89bb15d9e700a.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 = 27431419; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27431419 group by h (('04', 37),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27431419 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 (27431419) 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 (27431419) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 02102025 27431419 Nombre de photos uploadées : 37 / 23040 (0%) 02102025 27431419 Nombre de photos taguées (types de déchets): 0 / 37 (0%) 02102025 27431419 Nombre de photos taguées (volume) : 0 / 37 (0%) [{'photo_id': 1387315733, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/7a6ee6b2bdf4305759d3c7521b778137.jpg', 'username': None, 'uploaded_at': 1759370468, 'text': 'image_02102025_04_00_14_010261m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1387315729, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/e9dd61cbd79373a79c80dd03db8e5f80.jpg', 'username': None, 'uploaded_at': 1759370468, 'text': 'image_02102025_04_00_44_010144m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1387316951, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/47627bad6e0c1f81e639e7d7d2d37804.jpg', 'username': None, 'uploaded_at': 1759370528, 'text': 'image_02102025_04_00_54_010140m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1387316906, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/961d43471dfe281741b9dc9b1f275e59.jpg', 'username': None, 'uploaded_at': 1759370528, 'text': 'image_02102025_04_01_04_010138m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0017926692962646484 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27431419, '2025-10-02' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2377787,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.630669116973877 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= 2377787 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27424686, 'dashboard_result_id': 15914488, '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_P27424686_02-10-2025_00_19_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27424695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27424696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27424697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27424698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27424699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27424700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27424701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27424702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27424703, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27424704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27424705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27424706, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27425124, 'dashboard_result_id': 15914489, '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_P27425124_02-10-2025_00_33_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27425161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27425162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27425163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27425164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27425165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27425166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27425167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27425168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27425169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27425170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27425171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27425172, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27425471, 'dashboard_result_id': 15914490, '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_P27425471_02-10-2025_00_46_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27425502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27425503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27425504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27425505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27425506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27425507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27425508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27425509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27425510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27425511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27425512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27425513, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27425856, 'dashboard_result_id': 15914491, '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_P27425856_02-10-2025_01_05_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27425930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27425931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27425932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27425933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27425934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27425935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27425936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27425937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27425938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27425939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27425940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27425941, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27427278, 'dashboard_result_id': 15914492, '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_P27427278_02-10-2025_01_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27427281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27427282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27427283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27427284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27427285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27427286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27427287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27427288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27427289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27427290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27427291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27427292, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27427585, 'dashboard_result_id': 15914493, '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_P27427585_02-10-2025_02_03_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27427591, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27427592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27427593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27427594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27427595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27427596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27427597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27427598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27427599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27427600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27427601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27427602, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27427882, 'dashboard_result_id': 15914494, '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_P27427882_02-10-2025_02_19_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27427897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27427898, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27427899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27427900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27427901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27427902, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27427903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27427904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27427905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27427906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27427907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27427908, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27428370, 'dashboard_result_id': 15914495, '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_P27428370_02-10-2025_02_33_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27428376, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27428377, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27428378, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27428379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27428380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27428381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27428382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27428383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27428384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27428385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27428386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27428387, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27428628, 'dashboard_result_id': 15914496, '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_P27428628_02-10-2025_02_49_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27428640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27428641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27428642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27428643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27428644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27428645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27428646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27428647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27428648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27428649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27428650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27428651, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27429102, 'dashboard_result_id': 15914497, '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_P27429102_02-10-2025_03_03_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27429142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27429143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27429144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27429145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27429146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27429147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27429148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27429149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27429150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27429151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27429152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27429153, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27429508, 'dashboard_result_id': 15914498, '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_P27429508_02-10-2025_03_17_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27429518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27429520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27429521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27429522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27429523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27429524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27429525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27429526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27429527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27429528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27429529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27429530, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27430058, 'dashboard_result_id': 15914499, '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_P27430058_02-10-2025_03_33_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27430069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27430070, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27430071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27430072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27430073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27430074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27430075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27430076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27430077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27430078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27430079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27430080, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27430484, 'dashboard_result_id': 15914500, '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_P27430484_02-10-2025_03_49_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27430530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27430531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27430532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27430533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27430534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27430535, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27430536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27430537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27430538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27430539, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27430540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27430541, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27430971, 'dashboard_result_id': 15914501, '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_P27430971_02-10-2025_04_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27431018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27431019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27431020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27431021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27431022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27431023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27431024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27431025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27431026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27431027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27431028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27431029, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27431419, 'dashboard_result_id': 15914502, '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_P27431419_02-10-2025_04_45_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27431445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27431446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27431447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27431448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27431449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27431450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27431451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27431452, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27431453, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27431454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27431455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27431456, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27432843, 'dashboard_result_id': 15914503, '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_P27432843_02-10-2025_05_19_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27432844, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27432845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27432846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27432847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27432848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27432849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27432850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27432851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27432852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27432853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27432854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27432855, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27433044, 'dashboard_result_id': 15914504, '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_P27433044_02-10-2025_05_33_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433046, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433056, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27433373, 'dashboard_result_id': 15914505, '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_P27433373_02-10-2025_05_49_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433378, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433383, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433387, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433388, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27433513, 'dashboard_result_id': 15914506, '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_P27433513_02-10-2025_06_03_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433531, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27433795, 'dashboard_result_id': 15914507, '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_P27433795_02-10-2025_06_19_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433818, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2386967, 'mtr_portfolio_id': 27434083, 'dashboard_result_id': 15914508, '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_P27434083_02-10-2025_06_25_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27434090, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27434091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27434092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27434093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27434094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27434095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27434096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27434097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27434098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27434099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27434100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27434101, '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 = 27424686 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': 3817116, 'mtr_portfolio_id': 27424686, 'created_at': datetime.datetime(2025, 10, 2, 6, 20, 5), 'result': '0.03805004351602606', 'result_long': None, 'result_double': None}] Qualite : 0.03805004351602606 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27424686 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27424686_02-10-2025_06_20_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27424686 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_P27424686_02-10-2025_06_20_07.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27424695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27424696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27424697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27424698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27424699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27424700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27424701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27424702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27424703, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27424704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27424705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27424706, 'pht': 3726}}" where mtr_portfolio_id = 27424686 and dashboard_run_id = 2386967 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`=27424686 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914488, 0.03805004351602606, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27424686_02-10-2025_06_20_07.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27424695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27424696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27424697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27424698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27424699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27424700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27424701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27424702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27424703, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27424704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27424705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27424706, '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 = 27425124 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': 3817117, 'mtr_portfolio_id': 27425124, 'created_at': datetime.datetime(2025, 10, 2, 6, 20, 34), 'result': '0.05952098740432512', 'result_long': None, 'result_double': None}] Qualite : 0.05952098740432512 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27425124 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27425124_02-10-2025_06_20_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27425124 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_P27425124_02-10-2025_06_20_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27425161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27425162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27425163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27425164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27425165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27425166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27425167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27425168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27425169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27425170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27425171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27425172, 'pht': 3726}}" where mtr_portfolio_id = 27425124 and dashboard_run_id = 2386967 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`=27425124 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914489, 0.05952098740432512, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27425124_02-10-2025_06_20_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27425161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27425162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27425163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27425164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27425165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27425166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27425167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27425168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27425169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27425170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27425171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27425172, '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 = 27425471 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': 3817118, 'mtr_portfolio_id': 27425471, 'created_at': datetime.datetime(2025, 10, 2, 6, 20, 41), 'result': '0.03893524702401776', 'result_long': None, 'result_double': None}] Qualite : 0.03893524702401776 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27425471 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27425471_02-10-2025_06_20_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27425471 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_P27425471_02-10-2025_06_20_43.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27425502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27425503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27425504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27425505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27425506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27425507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27425508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27425509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27425510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27425511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27425512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27425513, 'pht': 3726}}" where mtr_portfolio_id = 27425471 and dashboard_run_id = 2386967 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`=27425471 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914490, 0.03893524702401776, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27425471_02-10-2025_06_20_43.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27425502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27425503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27425504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27425505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27425506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27425507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27425508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27425509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27425510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27425511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27425512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27425513, '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 = 27425856 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': 3817119, 'mtr_portfolio_id': 27425856, 'created_at': datetime.datetime(2025, 10, 2, 6, 21, 5), 'result': '0.054578197431255665', 'result_long': None, 'result_double': None}] Qualite : 0.054578197431255665 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27425856 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27425856_02-10-2025_06_21_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27425856 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_P27425856_02-10-2025_06_21_07.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27425930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27425931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27425932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27425933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27425934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27425935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27425936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27425937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27425938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27425939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27425940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27425941, 'pht': 3726}}" where mtr_portfolio_id = 27425856 and dashboard_run_id = 2386967 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`=27425856 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914491, 0.054578197431255665, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27425856_02-10-2025_06_21_07.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27425930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27425931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27425932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27425933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27425934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27425935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27425936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27425937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27425938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27425939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27425940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27425941, '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 = 27427278 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': 3817120, 'mtr_portfolio_id': 27427278, 'created_at': datetime.datetime(2025, 10, 2, 6, 21, 31), 'result': '0.05401482429616102', 'result_long': None, 'result_double': None}] Qualite : 0.05401482429616102 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27427278 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27427278_02-10-2025_06_21_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27427278 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_P27427278_02-10-2025_06_21_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27427281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27427282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27427283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27427284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27427285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27427286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27427287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27427288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27427289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27427290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27427291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27427292, 'pht': 3726}}" where mtr_portfolio_id = 27427278 and dashboard_run_id = 2386967 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`=27427278 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914492, 0.05401482429616102, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27427278_02-10-2025_06_21_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27427281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27427282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27427283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27427284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27427285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27427286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27427287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27427288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27427289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27427290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27427291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27427292, '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 = 27427585 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': 3817121, 'mtr_portfolio_id': 27427585, 'created_at': datetime.datetime(2025, 10, 2, 6, 22, 3), 'result': '0.017369504730147943', 'result_long': None, 'result_double': None}] Qualite : 0.017369504730147943 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27427585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27427585_02-10-2025_06_22_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27427585 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_P27427585_02-10-2025_06_22_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27427591, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27427592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27427593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27427594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27427595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27427596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27427597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27427598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27427599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27427600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27427601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27427602, 'pht': 3726}}" where mtr_portfolio_id = 27427585 and dashboard_run_id = 2386967 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`=27427585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914493, 0.017369504730147943, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27427585_02-10-2025_06_22_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27427591, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27427592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27427593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27427594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27427595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27427596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27427597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27427598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27427599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27427600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27427601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27427602, '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 = 27427882 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': 3817122, 'mtr_portfolio_id': 27427882, 'created_at': datetime.datetime(2025, 10, 2, 6, 22, 34), 'result': '0.055472849667238075', 'result_long': None, 'result_double': None}] Qualite : 0.055472849667238075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27427882 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27427882_02-10-2025_06_22_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27427882 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_P27427882_02-10-2025_06_22_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27427897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27427898, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27427899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27427900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27427901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27427902, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27427903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27427904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27427905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27427906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27427907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27427908, 'pht': 3726}}" where mtr_portfolio_id = 27427882 and dashboard_run_id = 2386967 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`=27427882 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914494, 0.055472849667238075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27427882_02-10-2025_06_22_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27427897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27427898, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27427899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27427900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27427901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27427902, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27427903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27427904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27427905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27427906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27427907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27427908, '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 = 27428370 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': 3817123, 'mtr_portfolio_id': 27428370, 'created_at': datetime.datetime(2025, 10, 2, 6, 23, 32), 'result': '0.07088757582560466', 'result_long': None, 'result_double': None}] Qualite : 0.07088757582560466 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27428370 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27428370_02-10-2025_06_23_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27428370 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_P27428370_02-10-2025_06_23_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27428376, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27428377, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27428378, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27428379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27428380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27428381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27428382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27428383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27428384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27428385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27428386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27428387, 'pht': 3726}}" where mtr_portfolio_id = 27428370 and dashboard_run_id = 2386967 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`=27428370 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914495, 0.07088757582560466, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27428370_02-10-2025_06_23_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27428376, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27428377, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27428378, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27428379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27428380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27428381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27428382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27428383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27428384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27428385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27428386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27428387, '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 = 27428628 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': 3817124, 'mtr_portfolio_id': 27428628, 'created_at': datetime.datetime(2025, 10, 2, 6, 24, 3), 'result': '0.046588805298508854', 'result_long': None, 'result_double': None}] Qualite : 0.046588805298508854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27428628 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27428628_02-10-2025_06_24_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27428628 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_P27428628_02-10-2025_06_24_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27428640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27428641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27428642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27428643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27428644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27428645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27428646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27428647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27428648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27428649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27428650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27428651, 'pht': 3726}}" where mtr_portfolio_id = 27428628 and dashboard_run_id = 2386967 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`=27428628 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914496, 0.046588805298508854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27428628_02-10-2025_06_24_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27428640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27428641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27428642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27428643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27428644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27428645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27428646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27428647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27428648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27428649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27428650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27428651, '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 = 27429102 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': 3817125, 'mtr_portfolio_id': 27429102, 'created_at': datetime.datetime(2025, 10, 2, 6, 24, 34), 'result': '0.077104346897828', 'result_long': None, 'result_double': None}] Qualite : 0.077104346897828 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27429102 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27429102_02-10-2025_06_24_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27429102 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_P27429102_02-10-2025_06_24_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27429142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27429143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27429144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27429145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27429146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27429147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27429148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27429149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27429150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27429151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27429152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27429153, 'pht': 3726}}" where mtr_portfolio_id = 27429102 and dashboard_run_id = 2386967 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`=27429102 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914497, 0.077104346897828, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27429102_02-10-2025_06_24_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27429142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27429143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27429144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27429145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27429146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27429147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27429148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27429149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27429150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27429151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27429152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27429153, '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 = 27429508 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': 3817126, 'mtr_portfolio_id': 27429508, 'created_at': datetime.datetime(2025, 10, 2, 6, 25, 34), 'result': '0.05389259482735209', 'result_long': None, 'result_double': None}] Qualite : 0.05389259482735209 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27429508 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27429508_02-10-2025_06_25_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27429508 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_P27429508_02-10-2025_06_25_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27429518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27429520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27429521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27429522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27429523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27429524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27429525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27429526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27429527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27429528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27429529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27429530, 'pht': 3726}}" where mtr_portfolio_id = 27429508 and dashboard_run_id = 2386967 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`=27429508 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914498, 0.05389259482735209, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27429508_02-10-2025_06_25_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27429518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27429520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27429521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27429522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27429523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27429524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27429525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27429526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27429527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27429528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27429529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27429530, '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 = 27430058 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': 3817127, 'mtr_portfolio_id': 27430058, 'created_at': datetime.datetime(2025, 10, 2, 6, 25, 44), 'result': '0.0423529452624232', 'result_long': None, 'result_double': None}] Qualite : 0.0423529452624232 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27430058 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27430058_02-10-2025_06_25_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27430058 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_P27430058_02-10-2025_06_25_47.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27430069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27430070, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27430071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27430072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27430073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27430074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27430075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27430076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27430077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27430078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27430079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27430080, 'pht': 3726}}" where mtr_portfolio_id = 27430058 and dashboard_run_id = 2386967 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`=27430058 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914499, 0.0423529452624232, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27430058_02-10-2025_06_25_47.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27430069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27430070, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27430071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27430072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27430073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27430074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27430075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27430076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27430077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27430078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27430079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27430080, '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 = 27430484 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': 3817128, 'mtr_portfolio_id': 27430484, 'created_at': datetime.datetime(2025, 10, 2, 6, 26, 4), 'result': '0.0407452815962534', 'result_long': None, 'result_double': None}] Qualite : 0.0407452815962534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27430484 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27430484_02-10-2025_06_26_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27430484 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_P27430484_02-10-2025_06_26_07.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27430530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27430531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27430532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27430533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27430534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27430535, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27430536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27430537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27430538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27430539, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27430540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27430541, 'pht': 3726}}" where mtr_portfolio_id = 27430484 and dashboard_run_id = 2386967 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`=27430484 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914500, 0.0407452815962534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27430484_02-10-2025_06_26_07.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27430530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27430531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27430532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27430533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27430534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27430535, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27430536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27430537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27430538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27430539, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27430540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27430541, '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 = 27430971 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': 3817129, 'mtr_portfolio_id': 27430971, 'created_at': datetime.datetime(2025, 10, 2, 6, 26, 6), 'result': '0.05404940717611321', 'result_long': None, 'result_double': None}] Qualite : 0.05404940717611321 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27430971 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27430971_02-10-2025_06_26_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27430971 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_P27430971_02-10-2025_06_26_09.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27431018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27431019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27431020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27431021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27431022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27431023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27431024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27431025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27431026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27431027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27431028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27431029, 'pht': 3726}}" where mtr_portfolio_id = 27430971 and dashboard_run_id = 2386967 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`=27430971 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914501, 0.05404940717611321, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27430971_02-10-2025_06_26_09.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27431018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27431019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27431020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27431021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27431022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27431023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27431024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27431025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27431026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27431027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27431028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27431029, '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 = 27431419 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': 3817130, 'mtr_portfolio_id': 27431419, 'created_at': datetime.datetime(2025, 10, 2, 6, 26, 37), 'result': '0.06146544379296544', 'result_long': None, 'result_double': None}] Qualite : 0.06146544379296544 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27431419 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27431419_02-10-2025_06_26_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27431419 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_P27431419_02-10-2025_06_26_40.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27431445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27431446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27431447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27431448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27431449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27431450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27431451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27431452, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27431453, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27431454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27431455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27431456, 'pht': 3726}}" where mtr_portfolio_id = 27431419 and dashboard_run_id = 2386967 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`=27431419 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914502, 0.06146544379296544, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27431419_02-10-2025_06_26_40.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27431445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27431446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27431447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27431448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27431449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27431450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27431451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27431452, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27431453, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27431454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27431455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27431456, '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 = 27432843 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': 3816968, 'mtr_portfolio_id': 27432843, 'created_at': datetime.datetime(2025, 10, 2, 5, 19, 33), 'result': '0.018644831053368203', 'result_long': None, 'result_double': None}] Qualite : 0.018644831053368203 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27432843 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27432843_02-10-2025_05_19_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27432843 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_P27432843_02-10-2025_05_19_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27432844, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27432845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27432846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27432847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27432848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27432849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27432850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27432851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27432852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27432853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27432854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27432855, 'pht': 3726}}" where mtr_portfolio_id = 27432843 and dashboard_run_id = 2386967 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`=27432843 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914503, 0.018644831053368203, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27432843_02-10-2025_05_19_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27432844, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27432845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27432846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27432847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27432848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27432849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27432850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27432851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27432852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27432853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27432854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27432855, '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 = 27433044 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': 3816984, 'mtr_portfolio_id': 27433044, 'created_at': datetime.datetime(2025, 10, 2, 5, 33, 3), 'result': '0.027815552344165915', 'result_long': None, 'result_double': None}] Qualite : 0.027815552344165915 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27433044 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27433044_02-10-2025_05_33_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27433044 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_P27433044_02-10-2025_05_33_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433046, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433056, 'pht': 3726}}" where mtr_portfolio_id = 27433044 and dashboard_run_id = 2386967 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`=27433044 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914504, 0.027815552344165915, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27433044_02-10-2025_05_33_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433046, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433056, '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 = 27433373 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': 3817177, 'mtr_portfolio_id': 27433373, 'created_at': datetime.datetime(2025, 10, 2, 5, 49, 30), 'result': '0.025567915666798', 'result_long': None, 'result_double': None}] Qualite : 0.025567915666798 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27433373 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27433373_02-10-2025_05_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27433373 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_P27433373_02-10-2025_05_49_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433378, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433383, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433387, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433388, 'pht': 3726}}" where mtr_portfolio_id = 27433373 and dashboard_run_id = 2386966 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`=27433373 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914505, 0.025567915666798, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27433373_02-10-2025_05_49_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433378, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433383, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433387, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433388, '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 = 27433513 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': 3817205, 'mtr_portfolio_id': 27433513, 'created_at': datetime.datetime(2025, 10, 2, 6, 3, 3), 'result': '0.05057969559259677', 'result_long': None, 'result_double': None}] Qualite : 0.05057969559259677 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27433513 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27433513_02-10-2025_06_03_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27433513 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_P27433513_02-10-2025_06_03_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433531, 'pht': 3726}}" where mtr_portfolio_id = 27433513 and dashboard_run_id = 2386966 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`=27433513 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914506, 0.05057969559259677, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27433513_02-10-2025_06_03_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433531, '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 = 27433795 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': 3817315, 'mtr_portfolio_id': 27433795, 'created_at': datetime.datetime(2025, 10, 2, 6, 19, 33), 'result': '0.049490692622507715', 'result_long': None, 'result_double': None}] Qualite : 0.049490692622507715 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27433795 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27433795_02-10-2025_06_19_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27433795 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_P27433795_02-10-2025_06_19_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433818, 'pht': 3726}}" where mtr_portfolio_id = 27433795 and dashboard_run_id = 2386966 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`=27433795 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914507, 0.049490692622507715, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27433795_02-10-2025_06_19_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433818, '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 = 27434083 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': 3817417, 'mtr_portfolio_id': 27434083, 'created_at': datetime.datetime(2025, 10, 2, 6, 25, 3), 'result': '0.025208548003737435', 'result_long': None, 'result_double': None}] Qualite : 0.025208548003737435 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27434083 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27434083_02-10-2025_06_25_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27434083 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_P27434083_02-10-2025_06_25_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27434090, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27434091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27434092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27434093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27434094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27434095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27434096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27434097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27434098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27434099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27434100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27434101, 'pht': 3726}}" where mtr_portfolio_id = 27434083 and dashboard_run_id = 2386966 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`=27434083 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15914508, 0.025208548003737435, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27434083_02-10-2025_06_25_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27434090, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27434091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27434092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27434093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27434094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27434095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27434096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27434097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27434098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27434099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27434100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27434101, '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 (27424686,27425124,27425471,27425856,27427278,27427585,27427882,27428370,27428628,27429102,27429508,27430058,27430484,27430971,27431419,27432843,27433044,27433373,27433513,27433795,27434083) result : ((1387291774,), (1387291778,), (1387291781,), (1387291812,), (1387291813,), (1387291814,), (1387291816,), (1387291819,), (1387291841,), (1387291844,), (1387291846,), (1387291967,), (1387292459,), (1387292461,), (1387292465,), (1387292467,), (1387292616,), (1387292621,), (1387292626,), (1387292631,), (1387292635,), (1387292637,), (1387292648,), (1387292650,), (1387292651,), (1387292654,), (1387292674,), (1387292677,), (1387292680,), (1387292683,), (1387292702,), (1387292704,), (1387292705,), (1387292706,), (1387295337,), (1387295331,), (1387295334,), (1387295936,), (1387296090,), (1387296143,), (1387296147,), (1387296163,), (1387296164,), (1387296183,), (1387296186,), (1387296189,), (1387296192,), (1387296210,), (1387296213,), (1387296215,), (1387296218,), (1387296238,), (1387296241,), (1387296244,), (1387296247,), (1387296253,), (1387296503,), (1387297042,), (1387297086,), (1387297104,), (1387297107,), (1387297109,), (1387297112,), (1387297251,), (1387297487,), (1387297494,), (1387297497,), (1387297501,), (1387297504,), (1387297507,), (1387297518,), (1387297521,), (1387297524,), (1387297546,), (1387297551,), (1387297582,), (1387297585,), (1387297588,), (1387297577,), (1387297579,), (1387297608,), (1387297611,), (1387297613,), (1387297615,), (1387297617,), (1387297635,), (1387297637,), (1387297745,), (1387297990,), (1387297994,), (1387298190,), (1387298193,), (1387298195,), (1387298199,), (1387298203,), (1387298217,), (1387298220,), (1387298223,), (1387298225,), (1387298231,), (1387298234,), (1387298247,), (1387298249,), (1387298267,), (1387298271,), (1387298275,), (1387298299,), (1387298301,), (1387298304,), (1387298321,), (1387298323,), (1387298679,), (1387298681,), (1387298864,), (1387298866,), (1387298869,), (1387298884,), (1387298887,), (1387298890,), (1387298893,), (1387298895,), (1387298896,), (1387298900,), (1387298908,), (1387298909,), (1387298910,), (1387298929,), (1387298933,), (1387298936,), (1387298956,), (1387298958,), (1387298960,), (1387298963,), (1387298966,), (1387298977,), (1387298980,), (1387299006,), (1387299000,), (1387299003,), (1387299024,), (1387299026,), (1387299028,), (1387299030,), (1387299043,), (1387299046,), (1387299048,), (1387299063,), (1387299065,), (1387299101,), (1387299557,), (1387299561,), (1387299564,), (1387299567,), (1387299860,), (1387299863,), (1387299864,), (1387299865,), (1387299883,), (1387300134,), (1387300238,), (1387300418,), (1387300425,), (1387300427,), (1387300430,), (1387300565,), (1387300622,), (1387300655,), (1387300658,), (1387300661,), (1387300665,), (1387300669,), (1387300698,), (1387300701,), (1387300704,), (1387300706,), (1387300708,), (1387300710,), (1387300738,), (1387300740,), (1387300742,), (1387300745,), (1387300769,), (1387300772,), (1387300773,), (1387300776,), (1387300778,), (1387300780,), (1387301423,), (1387301623,), (1387301626,), (1387301629,), (1387301632,), (1387301633,), (1387304300,), (1387304301,), (1387304303,), (1387304884,), (1387304911,), (1387305176,), (1387305177,), (1387305179,), (1387305270,), (1387305273,), (1387305276,), (1387305278,), (1387305936,), (1387305941,), (1387305942,), (1387305967,), (1387305970,), (1387306250,), (1387306349,), (1387306352,), (1387306523,), (1387306525,), (1387306541,), (1387306544,), (1387306545,), (1387306575,), (1387306577,), (1387306580,), (1387306603,), (1387306607,), (1387306628,), (1387306631,), (1387306634,), (1387306637,), (1387306652,), (1387306656,), (1387306658,), (1387306675,), (1387306674,), (1387306702,), (1387306707,), (1387306711,), (1387306736,), (1387306737,), (1387306764,), (1387306767,), (1387306788,), (1387306791,), (1387306794,), (1387306818,), (1387306820,), (1387306823,), (1387306827,), (1387306831,), (1387306834,), (1387306840,), (1387306845,), (1387306849,), (1387306852,), (1387306854,), (1387306892,), (1387306903,), (1387306924,), (1387306926,), (1387306928,), (1387306931,), (1387306935,), (1387306959,), (1387306961,), (1387306963,), (1387306985,), (1387306987,), (1387306991,), (1387307013,), (1387307016,), (1387307019,), (1387307072,), (1387307076,), (1387307382,), (1387307384,), (1387307386,), (1387307389,), (1387307393,), (1387307408,), (1387307411,), (1387307413,), (1387307416,), (1387307418,), (1387307420,), (1387307421,), (1387307422,), (1387307423,), (1387307405,), (1387307406,), (1387307407,), (1387307424,), (1387307425,), (1387307427,), (1387307457,), (1387307459,), (1387307473,), (1387307475,), (1387307477,), (1387307489,), (1387307899,), (1387308326,), (1387308328,), (1387308701,), (1387308703,), (1387308705,), (1387308709,), (1387308725,), (1387308729,), (1387308730,), (1387308732,), (1387308735,), (1387308738,), (1387308743,), (1387308745,), (1387308753,), (1387308755,), (1387308758,), (1387308761,), (1387308773,), (1387308774,), (1387308775,), (1387308777,), (1387308786,), (1387308788,), (1387308791,), (1387308793,), (1387308795,), (1387308797,), (1387308820,), (1387308822,), (1387310324,), (1387310279,), (1387310337,), (1387310338,), (1387310361,), (1387310363,), (1387310376,), (1387310378,), (1387310379,), (1387310381,), (1387310385,), (1387310390,), (1387310392,), (1387310394,), (1387310430,), (1387310431,), (1387310432,), (1387310433,), (1387310447,), (1387310450,), (1387310454,), (1387310469,), (1387310471,), (1387310472,), (1387310473,), (1387310475,), (1387310483,), (1387310485,), (1387310487,), (1387310497,), (1387310499,), (1387310532,), (1387310534,), (1387310536,), (1387310539,), (1387310541,), (1387310552,), (1387310554,), (1387310556,), (1387310558,), (1387310569,), (1387310573,), (1387310575,), (1387310601,), (1387310608,), (1387310612,), (1387310615,), (1387310596,), (1387310598,), (1387310622,), (1387310625,), (1387310640,), (1387310645,), (1387310647,), (1387310706,), (1387310708,), (1387310712,), (1387310716,), (1387310719,), (1387310722,), (1387310729,), (1387310730,), (1387310731,), (1387310733,), (1387310734,), (1387310736,), (1387310742,), (1387310744,), (1387310746,), (1387310749,), (1387310751,), (1387310760,), (1387310762,), (1387310763,), (1387310765,), (1387310770,), (1387310795,), (1387310797,), (1387310799,), (1387310812,), (1387310814,), (1387310816,), (1387310841,), (1387310845,), (1387310849,), (1387310858,), (1387310860,), (1387310862,), (1387310870,), (1387310871,), (1387310872,), (1387310878,), (1387310880,), (1387310920,), (1387310923,), (1387310926,), (1387310928,), (1387310942,), (1387310954,), (1387310958,), (1387310959,), (1387310986,), (1387310976,), (1387310978,), (1387310981,), (1387310983,), (1387310997,), (1387310998,), (1387310999,), (1387311010,), (1387311039,), (1387311043,), (1387311047,), (1387311065,), (1387311067,), (1387311069,), (1387311071,), (1387311075,), (1387311080,), (1387311082,), (1387311096,), (1387311097,), (1387311098,), (1387311107,), (1387311109,), (1387311111,), (1387311113,), (1387311117,), (1387311120,), (1387311123,), (1387311126,), (1387311129,), (1387311137,), (1387311150,), (1387311151,), (1387311152,), (1387311155,), (1387311172,), (1387311174,), (1387311176,), (1387311178,), (1387311206,), (1387311207,), (1387311208,), (1387311209,), (1387311223,), (1387311225,), (1387311227,), (1387311228,), (1387311238,), (1387311268,), (1387311270,), (1387311292,), (1387311295,), (1387311298,), (1387311322,), (1387311320,), (1387311321,), (1387311359,), (1387311363,), (1387311392,), (1387311395,), (1387312556,), (1387313794,), (1387313796,), (1387313837,), (1387313839,), (1387313984,), (1387314049,), (1387314053,), (1387314055,), (1387314061,), (1387314064,), (1387314067,), (1387314087,), (1387314091,), (1387314115,), (1387314118,), (1387314121,), (1387314124,), (1387314146,), (1387314149,), (1387314152,), (1387314155,), (1387314159,), (1387314178,), (1387314181,), (1387314203,), (1387314223,), (1387314226,), (1387314229,), (1387314232,), (1387314268,), (1387314271,), (1387314276,), (1387314277,), (1387314281,), (1387314284,), (1387314296,), (1387314299,), (1387314301,), (1387314312,), (1387314314,), (1387314317,), (1387314354,), (1387314351,), (1387314373,), (1387314376,), (1387314379,), (1387314381,), (1387314442,), (1387314446,), (1387314451,), (1387314455,), (1387314459,), (1387314474,), (1387314477,), (1387314502,), (1387314505,), (1387314508,), (1387314510,), (1387314523,), (1387314525,), (1387314528,), (1387314533,), (1387314536,), (1387314539,), (1387314550,), (1387314553,), (1387314559,), (1387314561,), (1387314584,), (1387314587,), (1387314590,), (1387314592,), (1387314606,), (1387314609,), (1387314610,), (1387314636,), (1387314638,), (1387314640,), (1387314642,), (1387314649,), (1387314652,), (1387314659,), (1387314661,), (1387314663,), (1387314666,), (1387314669,), (1387314683,), (1387314686,), (1387314688,), (1387314740,), (1387314744,), (1387314747,), (1387314770,), (1387314772,), (1387314773,), (1387314774,), (1387314779,), (1387314793,), (1387314795,), (1387314797,), (1387314837,), (1387314821,), (1387314826,), (1387314830,), (1387314860,), (1387314863,), (1387314883,), (1387314884,), (1387314885,), (1387314903,), (1387314906,), (1387314927,), (1387314930,), (1387314932,), (1387314934,), (1387314936,), (1387314956,), (1387314958,), (1387314961,), (1387314964,), (1387314984,), (1387315037,), (1387315040,), (1387315044,), (1387315047,), (1387315065,), (1387315066,), (1387315067,), (1387315089,), (1387315092,), (1387315095,), (1387315097,), (1387315114,), (1387315117,), (1387315119,), (1387315122,), (1387315128,), (1387315129,), (1387315134,), (1387315136,), (1387315139,), (1387315163,), (1387315164,), (1387315165,), (1387315186,), (1387315189,), (1387315191,), (1387315216,), (1387315218,), (1387315220,), (1387315221,), (1387315224,), (1387315237,), (1387315239,), (1387315241,), (1387315243,), (1387315275,), (1387315261,), (1387315264,), (1387315266,), (1387315269,), (1387315272,), (1387315302,), (1387315304,), (1387315306,), (1387315307,), (1387315328,), (1387315331,), (1387315334,), (1387315338,), (1387315352,), (1387315355,), (1387315358,), (1387315361,), (1387315364,), (1387315367,), (1387315377,), (1387315380,), (1387315382,), (1387315384,), (1387315387,), (1387315402,), (1387315404,), (1387315407,), (1387315410,), (1387315417,), (1387315420,), (1387315423,), (1387315424,), (1387315425,), (1387315426,), (1387315433,), (1387315436,), (1387315439,), (1387315466,), (1387315480,), (1387315483,), (1387315518,), (1387315520,), (1387315522,), (1387315525,), (1387315549,), (1387315552,), (1387315555,), (1387315558,), (1387315588,), (1387315591,), (1387315592,), (1387315608,), (1387315609,), (1387315616,), (1387315665,), (1387315667,), (1387315670,), (1387315697,), (1387315700,), (1387315703,), (1387315707,), (1387315735,), (1387315729,), (1387315733,), (1387316538,), (1387316829,), (1387316836,), (1387316863,), (1387316906,), (1387316951,), (1387317006,), (1387317011,), (1387317015,), (1387317032,), (1387317035,), (1387317056,), (1387317059,), (1387317062,), (1387317090,), (1387317095,), (1387317099,), (1387317103,), (1387317122,), (1387317126,), (1387317931,), (1387317942,), (1387317946,), (1387318272,), (1387318276,), (1387318279,), (1387318284,), (1387318293,), (1387318312,), (1387318316,), (1387318319,), (1387318336,), (1387318340,), (1387318343,), (1387319455,), (1387320309,), (1387322945,), (1387322981,), (1387323045,), (1387323050,), (1387323099,), (1387323103,), (1387323106,), (1387323108,), (1387323110,), (1387323114,), (1387323130,), (1387323289,), (1387323281,), (1387323284,), (1387323286,), (1387323317,), (1387323320,), (1387323344,), (1387323347,), (1387323351,), (1387323371,), (1387323375,), (1387323379,), (1387323401,), (1387323405,), (1387323408,), (1387323412,), (1387323416,), (1387323435,), (1387323440,), (1387323443,), (1387323444,), (1387323446,), (1387323456,), (1387323461,), (1387323498,), (1387323523,), (1387323566,), (1387323569,), (1387323571,), (1387323573,), (1387323594,), (1387323598,), (1387323601,), (1387323604,), (1387323626,), (1387323628,), (1387323629,), (1387323632,), (1387323635,), (1387323638,), (1387323646,), (1387323645,), (1387323929,), (1387323932,), (1387323934,), (1387323957,), (1387323960,), (1387323964,), (1387323987,), (1387323989,), (1387323990,), (1387323992,), (1387323994,), (1387323997,), (1387324003,), (1387324006,), (1387324007,), (1387324009,), (1387324011,), (1387324013,), (1387324016,), (1387324018,), (1387324023,), (1387324039,), (1387324043,), (1387324046,), (1387324049,), (1387324072,), (1387324074,), (1387324076,), (1387324079,), (1387324082,), (1387324084,), (1387324087,), (1387324096,), (1387324100,), (1387324102,), (1387324104,), (1387324107,), (1387324144,), (1387324128,), (1387324131,), (1387324133,), (1387324137,), (1387324141,), (1387324168,), (1387324187,), (1387324198,), (1387324202,), (1387324231,), (1387324237,), (1387324239,), (1387324241,), (1387324255,), (1387324259,), (1387324261,), (1387324264,), (1387324296,), (1387324300,), (1387324302,), (1387324304,), (1387324323,), (1387324326,), (1387324328,), (1387324332,), (1387324372,), (1387324375,), (1387324377,), (1387324427,), (1387324432,), (1387324438,), (1387324441,), (1387324445,), (1387324470,), (1387324474,), (1387324476,), (1387324479,), (1387324483,), (1387324486,), (1387324502,), (1387324505,), (1387324506,), (1387324509,), (1387324512,), (1387324525,), (1387324528,), (1387324532,), (1387324575,), (1387324595,), (1387324597,), (1387324603,), (1387324612,), (1387324633,), (1387324636,), (1387324640,), (1387324643,), (1387324645,), (1387324648,), (1387324663,), (1387324667,), (1387324671,), (1387324681,), (1387324683,), (1387324695,), (1387324760,), (1387324763,), (1387324766,), (1387324769,), (1387325884,), (1387325887,), (1387325890,), (1387326220,), (1387326562,), (1387326565,), (1387326674,), (1387326737,), (1387326760,), (1387327296,), (1387327299,), (1387327302,), (1387327305,), (1387327309,), (1387327312,), (1387327328,), (1387327331,), (1387327334,), (1387327335,), (1387327338,), (1387327357,), (1387327359,), (1387327361,), (1387327365,), (1387327370,), (1387327373,), (1387327381,), (1387327384,), (1387327387,), (1387327390,), (1387327407,), (1387327408,), (1387327409,), (1387327424,), (1387327425,), (1387327428,), (1387327432,), (1387327434,), (1387327447,), (1387327450,), (1387327453,), (1387327456,), (1387327459,), (1387327471,), (1387327477,), (1387327496,), (1387327497,), (1387327518,), (1387327523,), (1387327580,), (1387327564,), (1387327568,), (1387327570,), (1387327573,), (1387327576,), (1387327592,), (1387327594,), (1387327595,), (1387327598,), (1387327602,), (1387327605,), (1387327618,), (1387327621,), (1387327624,), (1387327646,), (1387327649,), (1387327650,), (1387327652,), (1387327676,), (1387327679,), (1387327682,), (1387327686,), (1387327690,), (1387327694,), (1387327706,), (1387327710,), (1387327712,), (1387327713,), (1387327732,), (1387327734,), (1387327736,), (1387327739,), (1387327755,), (1387327759,), (1387327763,), (1387327768,), (1387327773,), (1387327795,), (1387327799,), (1387327802,), (1387327807,), (1387327812,), (1387327823,), (1387327834,), (1387327853,), (1387327856,), (1387327859,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'02102025': {'nb_upload': 37, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27431419]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1387319455, 1387318343, 1387318340, 1387318336, 1387318319, 1387318316, 1387318312, 1387318293, 1387318284, 1387318279, 1387318276, 1387318272, 1387317946, 1387317942, 1387317931, 1387317126, 1387317122, 1387317103, 1387317099, 1387317095, 1387317090, 1387317062, 1387317059, 1387317056, 1387317035, 1387317032, 1387317015, 1387317011, 1387317006, 1387316951, 1387316906, 1387316863, 1387316836, 1387316829, 1387316538, 1387315733, 1387315729] map_info['map_portfolio_photo'] : {27431419: [1387319455, 1387318343, 1387318340, 1387318336, 1387318319, 1387318316, 1387318312, 1387318293, 1387318284, 1387318279, 1387318276, 1387318272, 1387317946, 1387317942, 1387317931, 1387317126, 1387317122, 1387317103, 1387317099, 1387317095, 1387317090, 1387317062, 1387317059, 1387317056, 1387317035, 1387317032, 1387317015, 1387317011, 1387317006, 1387316951, 1387316906, 1387316863, 1387316836, 1387316829, 1387316538, 1387315733, 1387315729]} final : True mtd_id 4302 list_pids : [1387319455, 1387318343, 1387318340, 1387318336, 1387318319, 1387318316, 1387318312, 1387318293, 1387318284, 1387318279, 1387318276, 1387318272, 1387317946, 1387317942, 1387317931, 1387317126, 1387317122, 1387317103, 1387317099, 1387317095, 1387317090, 1387317062, 1387317059, 1387317056, 1387317035, 1387317032, 1387317015, 1387317011, 1387317006, 1387316951, 1387316906, 1387316863, 1387316836, 1387316829, 1387316538, 1387315733, 1387315729] Looping around the photos to save general results len do output : 1 /27431419Didn'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, '3817130') ('4302', '27431419', '1387319455', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318343', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318340', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318336', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318319', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318316', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318312', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318293', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318284', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318279', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318276', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387318272', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317946', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317942', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317931', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317126', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317122', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317103', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317099', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317095', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317090', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317062', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317059', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317056', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317035', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317032', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317015', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317011', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387317006', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316951', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316906', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316863', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316836', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316829', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387316538', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387315733', None, None, None, None, None, '3817130') ('4302', None, None, None, None, None, None, None, '3817130') ('4302', '27431419', '1387315729', None, None, None, None, None, '3817130') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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, '27431419', 'None', None, None, None, None, '3817130'), ('4302', '27431419', '1387319455', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318343', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318340', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318336', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318319', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318316', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318312', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318293', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318284', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318279', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318276', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387318272', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317946', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317942', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317931', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317126', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317122', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317103', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317099', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317095', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317090', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317062', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317059', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317056', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317035', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317032', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317015', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317011', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387317006', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387316951', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387316906', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387316863', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387316836', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387316829', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387316538', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387315733', None, None, None, None, None, '3817130'), ('4302', '27431419', '1387315729', None, None, None, None, None, '3817130')] time used for this insertion : 0.040610313415527344 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.168272256851196 time spend to save output : 0.04104208946228027 total time spend for step 5 : 6.209314346313477 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 (3817130) 3.00user 2.18system 0:32.11elapsed 16%CPU (0avgtext+0avgdata 166640maxresident)k 784inputs+31128outputs (7major+82367minor)pagefaults 0swaps