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 : 3722542 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 (2737627) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2737627) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22206611 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2737627'] with mtr_portfolio_ids : ['22206611'] and first list_photo_ids : [] new path : /proc/3722542/ Name: python3 Umask: 0002 State: R (running) Tgid: 3722542 Ngid: 0 Pid: 3722542 PPid: 3722541 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3722542 NSpid: 3722542 NSpgid: 3719277 NSsid: 3719277 VmPeak: 1106936 kB VmSize: 1106936 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98804 kB VmRSS: 98804 kB RssAnon: 59804 kB RssFile: 39000 kB RssShmem: 0 kB VmData: 865684 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 616 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 56 nonvoluntary_ctxt_switches: 157 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3722542', 'Ngid': '0', 'Pid': '3722542', 'PPid': '3722541', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3722542', 'NSpid': '3722542', 'NSpgid': '3719277', 'NSsid': '3719277', 'VmPeak': '1106936 kB', 'VmSize': '1106936 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98804 kB', 'VmRSS': '98804 kB', 'RssAnon': '59804 kB', 'RssFile': '39000 kB', 'RssShmem': '0 kB', 'VmData': '865684 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '616 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '00000 result : ((1351202442,), (1351202724,), (1351202787,), (1351202906,), (1351202967,), (1351203502,), (1351203558,), (1351203627,), (1351203691,), (1351203730,), (1351203820,), (1351204723,), (1351204766,), (1351205211,), (1351205240,), (1351205315,), (1351205390,), (1351205415,), (1351205696,), (1351205722,), (1351205729,), (1351205744,), (1351205754,), (1351205758,), (1351205991,), (1351206038,), (1351206086,), (1351206115,), (1351206476,), (1351206501,), (1351206529,), (1351206555,), (1351206583,), (1351206612,)) 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 22206652 , 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=22206611 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 (22206652) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22206611) result : ((1351202442,), (1351202724,), (1351202787,), (1351202906,), (1351202967,), (1351203502,), (1351203558,), (1351203627,), (1351203691,), (1351203730,), (1351203820,), (1351204723,), (1351204766,), (1351205211,), (1351205240,), (1351205315,), (1351205390,), (1351205415,), (1351205696,), (1351205722,), (1351205729,), (1351205744,), (1351205754,), (1351205758,), (1351205991,), (1351206038,), (1351206086,), (1351206115,), (1351206476,), (1351206501,), (1351206529,), (1351206555,), (1351206583,), (1351206612,)) 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 22206653 , 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=22206611 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 (22206653) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22206611) result : ((1351202442,), (1351202724,), (1351202787,), (1351202906,), (1351202967,), (1351203502,), (1351203558,), (1351203627,), (1351203691,), (1351203730,), (1351203820,), (1351204723,), (1351204766,), (1351205211,), (1351205240,), (1351205315,), (1351205390,), (1351205415,), (1351205696,), (1351205722,), (1351205729,), (1351205744,), (1351205754,), (1351205758,), (1351205991,), (1351206038,), (1351206086,), (1351206115,), (1351206476,), (1351206501,), (1351206529,), (1351206555,), (1351206583,), (1351206612,)) 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 22206654 , 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=22206611 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 (22206654) result : ((1351206041,), (1351206042,), (1351206043,), (1351206142,), (1351207176,), (1351207177,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22206611) result : ((1351202442,), (1351202724,), (1351202787,), (1351202906,), (1351202967,), (1351203502,), (1351203558,), (1351203627,), (1351203691,), (1351203730,), (1351203820,), (1351204723,), (1351204766,), (1351205211,), (1351205240,), (1351205315,), (1351205390,), (1351205415,), (1351205696,), (1351205722,), (1351205729,), (1351205744,), (1351205754,), (1351205758,), (1351205991,), (1351206038,), (1351206086,), (1351206115,), (1351206476,), (1351206501,), (1351206529,), (1351206555,), (1351206583,), (1351206612,)) 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`=22206611 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','plastique','Carton_gris','mal_croppe','Carton_brun','kraft','Teint_Dans_La_Masse','environnement','flou','autre_refus','cartonnette','metal')) 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`=22206611 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','plastique','Carton_gris','mal_croppe','Carton_brun','kraft','Teint_Dans_La_Masse','environnement','flou','autre_refus','cartonnette','metal')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 22206611, 'sub_port_id': 22206655, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14680157, 'last_updated_at': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 16, 35, 28)}, 'autre_refus': {'main_port_id': 22206611, 'sub_port_id': 22206656, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14680158, 'last_updated_at': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 16, 35, 28)}, 'mal_croppe': {'main_port_id': 22206611, 'sub_port_id': 22206657, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14680159, 'last_updated_at': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 16, 35, 28)}, 'Carton_gris': {'main_port_id': 22206611, 'sub_port_id': 22206658, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14680160, 'last_updated_at': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 16, 35, 28)}, 'kraft': {'main_port_id': 22206611, 'sub_port_id': 22206659, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14680161, 'last_updated_at': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 16, 35, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 22206611, 'sub_port_id': 22206660, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14680162, 'last_updated_at': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 16, 35, 28)}, 'flou': {'main_port_id': 22206611, 'sub_port_id': 22206661, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14680163, 'last_updated_at': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 16, 35, 28)}, 'cartonnette': {'main_port_id': 22206611, 'sub_port_id': 22206662, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14680164, 'last_updated_at': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 16, 35, 28)}, 'environnement': {'main_port_id': 22206611, 'sub_port_id': 22206663, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14680165, 'last_updated_at': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 16, 35, 28)}, 'metal': {'main_port_id': 22206611, 'sub_port_id': 22206664, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14680166, 'last_updated_at': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 16, 35, 28)}, 'papier': {'main_port_id': 22206611, 'sub_port_id': 22206665, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14680167, 'last_updated_at': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 16, 35, 28)}, 'Carton_brun': {'main_port_id': 22206611, 'sub_port_id': 22206666, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14680168, 'last_updated_at': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_desc': datetime.datetime(2025, 4, 18, 16, 35, 28), 'last_updated_at_asc': datetime.datetime(2025, 4, 18, 16, 35, 28)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22206655,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22206643 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22206656,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22206644 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22206657,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22206645 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22206658,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22206646 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22206659,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22206647 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22206660,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22206648 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22206661,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22206649 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22206662,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22206650 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22206663,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22206651 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22206664,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22206652 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22206665,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22206653 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22206666,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22206654 lien utilise dans velours : https://www.fotonower.com/velours/22206655,22206656,22206657,22206658,22206659,22206660,22206661,22206662,22206663,22206664,22206665,22206666?tags=plastique,autre_refus,mal_croppe,Carton_gris,kraft,Teint_Dans_La_Masse,flou,cartonnette,environnement,metal,papier,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22206611]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1351206612, 1351206583, 1351206555, 1351206529, 1351206501, 1351206476, 1351206115, 1351206086, 1351206038, 1351205991, 1351205758, 1351205754, 1351205744, 1351205729, 1351205722, 1351205696, 1351205415, 1351205390, 1351205315, 1351205240, 1351205211] map_info['map_portfolio_photo'] : {22206611: [1351206612, 1351206583, 1351206555, 1351206529, 1351206501, 1351206476, 1351206115, 1351206086, 1351206038, 1351205991, 1351205758, 1351205754, 1351205744, 1351205729, 1351205722, 1351205696, 1351205415, 1351205390, 1351205315, 1351205240, 1351205211, 1351204766, 1351204723, 1351203820, 1351203730, 1351203691, 1351203627, 1351203558, 1351203502, 1351202967, 1351202906, 1351202787, 1351202724, 1351202442]} final : False mtd_id 4302 list_pids : [1351206612, 1351206583, 1351206555, 1351206529, 1351206501, 1351206476, 1351206115, 1351206086, 1351206038, 1351205991, 1351205758, 1351205754, 1351205744, 1351205729, 1351205722, 1351205696, 1351205415, 1351205390, 1351205315, 1351205240, 1351205211] Looping around the photos to save general results len do output : 1 /22206611. 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, '2737627') ('4302', '22206611', '1351206612', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206583', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206555', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206529', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206501', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206476', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206115', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206086', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206038', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205991', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205758', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205754', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205744', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205729', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205722', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205696', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205415', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205390', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205315', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205240', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205211', None, None, None, None, None, '2737627') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 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, '22206611', "{'plastique': 22206643, 'autre_refus': 22206644, 'mal_croppe': 22206645, 'Carton_gris': 22206646, 'kraft': 22206647, 'Teint_Dans_La_Masse': 22206648, 'flou': 22206649, 'cartonnette': 22206650, 'environnement': 22206651, 'metal': 22206652, 'papier': 22206653, 'Carton_brun': 22206654}", None, None, None, None, '2737627'), ('4302', '22206611', '1351206612', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206583', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206555', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206529', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206501', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206476', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206115', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206086', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206038', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205991', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205758', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205754', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205744', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205729', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205722', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205696', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205415', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205390', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205315', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205240', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205211', None, None, None, None, None, '2737627')] time used for this insertion : 0.01642608642578125 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.482912302017212 time spend to save output : 0.016840219497680664 total time spend for step 1 : 1.4997525215148926 step2:final Fri Apr 18 16:39:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22206611) 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 22206611 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1351202442,1351202967,1351202906,1351202787,1351202724,1351203820,1351203730,1351203691,1351203627,1351203558,1351203502,1351204766,1351204723,1351205415,1351205390,1351205315,1351205240,1351205211,1351205758,1351205754,1351205744,1351205729,1351205722,1351205696,1351206115,1351206086,1351206038,1351205991,1351206612,1351206583,1351206555,1351206529,1351206501,1351206476); 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([22206611]) Inside saveOutput : final : False verbose : True original output for save of step final : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} new output for save of step final : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} [1351206612, 1351206583, 1351206555, 1351206529, 1351206501, 1351206476, 1351206115, 1351206086, 1351206038, 1351205991, 1351205758, 1351205754, 1351205744, 1351205729, 1351205722, 1351205696, 1351205415, 1351205390, 1351205315, 1351205240, 1351205211] map_info['map_portfolio_photo'] : {22206611: [1351206612, 1351206583, 1351206555, 1351206529, 1351206501, 1351206476, 1351206115, 1351206086, 1351206038, 1351205991, 1351205758, 1351205754, 1351205744, 1351205729, 1351205722, 1351205696, 1351205415, 1351205390, 1351205315, 1351205240, 1351205211, 1351204766, 1351204723, 1351203820, 1351203730, 1351203691, 1351203627, 1351203558, 1351203502, 1351202967, 1351202906, 1351202787, 1351202724, 1351202442]} final : False mtd_id 4302 list_pids : [1351206612, 1351206583, 1351206555, 1351206529, 1351206501, 1351206476, 1351206115, 1351206086, 1351206038, 1351205991, 1351205758, 1351205754, 1351205744, 1351205729, 1351205722, 1351205696, 1351205415, 1351205390, 1351205315, 1351205240, 1351205211] Looping around the photos to save general results len do output : 21 /1351206612.Didn't retrieve data . /1351206583.Didn't retrieve data . /1351206555.Didn't retrieve data . /1351206529.Didn't retrieve data . /1351206501.Didn't retrieve data . /1351206476.Didn't retrieve data . /1351206115.Didn't retrieve data . /1351206086.Didn't retrieve data . /1351206038.Didn't retrieve data . /1351205991.Didn't retrieve data . /1351205758.Didn't retrieve data . /1351205754.Didn't retrieve data . /1351205744.Didn't retrieve data . /1351205729.Didn't retrieve data . /1351205722.Didn't retrieve data . /1351205696.Didn't retrieve data . /1351205415.Didn't retrieve data . /1351205390.Didn't retrieve data . /1351205315.Didn't retrieve data . /1351205240.Didn't retrieve data . /1351205211.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, '2737627') ('4302', '22206611', '1351206612', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206583', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206555', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206529', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206501', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206476', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206115', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206086', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206038', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205991', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205758', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205754', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205744', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205729', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205722', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205696', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205415', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205390', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205315', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205240', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205211', None, None, None, None, None, '2737627') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 63 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', '22206611', '1351206612', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351206583', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351206555', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351206529', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351206501', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351206476', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351206115', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351206086', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351206038', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351205991', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351205758', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351205754', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351205744', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351205729', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351205722', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351205696', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351205415', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351205390', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351205315', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351205240', '0.05383724761394021', None, None, None, None, '2737627'), ('4302', '22206611', '1351205211', '0.05383724761394021', None, None, None, None, '2737627')] time used for this insertion : 0.01730489730834961 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06979560852050781 time spend to save output : 0.018073320388793945 total time spend for step 2 : 0.08786892890930176 step3:velours_tree Fri Apr 18 16:39:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {22206611: [{'plastique': 22206643, 'autre_refus': 22206644, 'mal_croppe': 22206645, 'Carton_gris': 22206646, 'kraft': 22206647, 'Teint_Dans_La_Masse': 22206648, 'flou': 22206649, 'cartonnette': 22206650, 'environnement': 22206651, 'metal': 22206652, 'papier': 22206653, 'Carton_brun': 22206654}]} input_args_next_step : {22206611: ()} output_args : {22206611: [{'plastique': 22206643, 'autre_refus': 22206644, 'mal_croppe': 22206645, 'Carton_gris': 22206646, 'kraft': 22206647, 'Teint_Dans_La_Masse': 22206648, 'flou': 22206649, 'cartonnette': 22206650, 'environnement': 22206651, 'metal': 22206652, 'papier': 22206653, 'Carton_brun': 22206654}]} args : 22206611 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 : ({'plastique': 22206643, 'autre_refus': 22206644, 'mal_croppe': 22206645, 'Carton_gris': 22206646, 'kraft': 22206647, 'Teint_Dans_La_Masse': 22206648, 'flou': 22206649, 'cartonnette': 22206650, 'environnement': 22206651, 'metal': 22206652, 'papier': 22206653, 'Carton_brun': 22206654},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22206611) 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([22206611]) 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.44504332542419434 time spend to save output : 7.796287536621094e-05 total time spend for step 3 : 0.44512128829956055 step4:send_mail_cod Fri Apr 18 16:39:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} input_args_next_step : {1351206612: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351206612 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351206583 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351206555 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351206529 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351206501 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351206476 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351206115 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351206086 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351206038 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351205991 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351205758 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351205754 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351205744 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351205729 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351205722 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351205696 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351205415 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351205390 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351205315 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351205240 depend.output_id : 0 input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ()} output_args : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',)} args : 1351205211 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 : {22206611: [{'plastique': 22206643, 'autre_refus': 22206644, 'mal_croppe': 22206645, 'Carton_gris': 22206646, 'kraft': 22206647, 'Teint_Dans_La_Masse': 22206648, 'flou': 22206649, 'cartonnette': 22206650, 'environnement': 22206651, 'metal': 22206652, 'papier': 22206653, 'Carton_brun': 22206654}]} input_args_next_step : {1351206612: ('0.05383724761394021',), 1351206583: ('0.05383724761394021',), 1351206555: ('0.05383724761394021',), 1351206529: ('0.05383724761394021',), 1351206501: ('0.05383724761394021',), 1351206476: ('0.05383724761394021',), 1351206115: ('0.05383724761394021',), 1351206086: ('0.05383724761394021',), 1351206038: ('0.05383724761394021',), 1351205991: ('0.05383724761394021',), 1351205758: ('0.05383724761394021',), 1351205754: ('0.05383724761394021',), 1351205744: ('0.05383724761394021',), 1351205729: ('0.05383724761394021',), 1351205722: ('0.05383724761394021',), 1351205696: ('0.05383724761394021',), 1351205415: ('0.05383724761394021',), 1351205390: ('0.05383724761394021',), 1351205315: ('0.05383724761394021',), 1351205240: ('0.05383724761394021',), 1351205211: ('0.05383724761394021',), 22206611: ()} output_args : {22206611: [{'plastique': 22206643, 'autre_refus': 22206644, 'mal_croppe': 22206645, 'Carton_gris': 22206646, 'kraft': 22206647, 'Teint_Dans_La_Masse': 22206648, 'flou': 22206649, 'cartonnette': 22206650, 'environnement': 22206651, 'metal': 22206652, 'papier': 22206653, 'Carton_brun': 22206654}]} args : 22206611 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 :22, first value : ('0.05383724761394021',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22206611) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1351206612,1351206583,1351206555,1351206529,1351206501,1351206476,1351206115,1351206086,1351206038,1351205991,1351205758,1351205754,1351205744,1351205729,1351205722,1351205696,1351205415,1351205390,1351205315,1351205240,1351205211) Found this number of photos: 21 ##### Call download_photos : nb_thread : 5 begin to download photo : 1351205211 begin to download photo : 1351205696 begin to download photo : 1351205758 begin to download photo : 1351206476 begin to download photo : 1351206612 download finish for photo 1351205211 begin to download photo : 1351205240 download finish for photo 1351206476 begin to download photo : 1351206501 download finish for photo 1351206612 download finish for photo 1351205758 begin to download photo : 1351205991 download finish for photo 1351205696 begin to download photo : 1351205722 download finish for photo 1351205240 begin to download photo : 1351205315 download finish for photo 1351206501 begin to download photo : 1351206529 download finish for photo 1351205722 begin to download photo : 1351205729 download finish for photo 1351205991 begin to download photo : 1351206038 download finish for photo 1351205315 begin to download photo : 1351205390 download finish for photo 1351206038 begin to download photo : 1351206086 download finish for photo 1351206529 begin to download photo : 1351206555 download finish for photo 1351205729 begin to download photo : 1351205744 download finish for photo 1351205744 begin to download photo : 1351205754 download finish for photo 1351205390 begin to download photo : 1351205415 download finish for photo 1351206086 begin to download photo : 1351206115 download finish for photo 1351206555 begin to download photo : 1351206583 download finish for photo 1351205415 download finish for photo 1351206115 download finish for photo 1351206583 download finish for photo 1351205754 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 21 ; length of list_pids : 21 ; length of list_args : 21 results_Auto_P22206611_18-04-2025_16_39_02.pdf 22206643 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22206643 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351206052: '1744986911_69502_1351203502_0b3b6779ac2d9df78db18ab9cd98222f_rle_crop_3754784755_0.png', 1351206155: '1744986941_2896602_1351202724_f05beca5df939cc862f85a2f0c11b607_rle_crop_3754783888_0.png', 1351206806: '1744987033_70903_1351205696_e831ce89c2fd3a3f54057e46a1b593b3_rle_crop_3754790842_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/1afe62e3d89515cf890d3ed68577a0c0_11996355.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/e8187c1a3c16dc5dabbe6281b0b32b93_1426101.png change filename to text .imagette222066431744987142/ imagette222066431744987142/1744987033_70903_1351205696_e831ce89c2fd3a3f54057e46a1b593b3_rle_crop_3754790842_0.png.png imagette222066431744987142/1744986941_2896602_1351202724_f05beca5df939cc862f85a2f0c11b607_rle_crop_3754783888_0.png.png imagette222066431744987142/1744986911_69502_1351203502_0b3b6779ac2d9df78db18ab9cd98222f_rle_crop_3754784755_0.png.png imagette222066441744987142/ imagette222066451744987142/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/9d4409cadf7400bb4ccf7f7bc2ebbc38_60700217.png imagette222066431744987142 22206644 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22206644 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222066441744987142 22206645 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22206645 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222066451744987142 22206647 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22206647 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351206071: '1744986911_69502_1351204766_c2e1e6d7b09c113cffe3a97338cf6340_rle_crop_3754784474_0.png', 1351206815: '1744987033_70903_1351206115_17056c36ed85135f47a9815b48c5c79f_rle_crop_3754790779_0.png', 1351206816: '1744987033_70903_1351206115_17056c36ed85135f47a9815b48c5c79f_rle_crop_3754790777_0.png', 1351206817: '1744987033_70903_1351205696_e831ce89c2fd3a3f54057e46a1b593b3_rle_crop_3754790849_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/82c3419bdd38b748d494d7e32592ce22_17033382.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/4fae1ba48933a2b6e284f50a61ab6451_16227265.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/7c462444feb2e78060097a53de856892_80675097.png change filename to text .imagette222066471744987142/ imagette222066471744987142/1744987033_70903_1351206115_17056c36ed85135f47a9815b48c5c79f_rle_crop_3754790777_0.png.png imagette222066471744987142/1744987033_70903_1351205696_e831ce89c2fd3a3f54057e46a1b593b3_rle_crop_3754790849_0.png.png imagette222066471744987142/1744987033_70903_1351206115_17056c36ed85135f47a9815b48c5c79f_rle_crop_3754790779_0.png.png imagette222066471744987142/1744986911_69502_1351204766_c2e1e6d7b09c113cffe3a97338cf6340_rle_crop_3754784474_0.png.png imagette222066491744987142/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/0588f9e95b2851e07f56ecae6b5e25b1_98173475.png imagette222066471744987142 22206649 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22206649 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222066491744987142 22206650 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22206650 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351206026: '1744986911_69502_1351204766_c2e1e6d7b09c113cffe3a97338cf6340_rle_crop_3754784476_0.png', 1351206027: '1744986911_69502_1351204766_c2e1e6d7b09c113cffe3a97338cf6340_rle_crop_3754784475_0.png', 1351206028: '1744986911_69502_1351203691_a4e3b9ae5d3a3a8a5103a2d2197712e7_rle_crop_3754784704_0.png', 1351206029: '1744986911_69502_1351203627_c366fb5c3319f6b0c2bf5041fb42b6da_rle_crop_3754784715_0.png', 1351206030: '1744986911_69502_1351203627_c366fb5c3319f6b0c2bf5041fb42b6da_rle_crop_3754784713_0.png', 1351206122: '1744986941_2896602_1351202724_f05beca5df939cc862f85a2f0c11b607_rle_crop_3754783892_0.png', 1351206125: '1744986941_2896602_1351202724_f05beca5df939cc862f85a2f0c11b607_rle_crop_3754783891_0.png', 1351206128: '1744986941_2896602_1351202724_f05beca5df939cc862f85a2f0c11b607_rle_crop_3754783889_0.png', 1351206798: '1744987033_70903_1351206115_17056c36ed85135f47a9815b48c5c79f_rle_crop_3754790780_0.png', 1351206799: '1744987033_70903_1351205754_be711fcabe720d5fcdf8c9fca7fbce9e_rle_crop_3754790799_0.png', 1351206800: '1744987033_70903_1351205754_be711fcabe720d5fcdf8c9fca7fbce9e_rle_crop_3754790798_0.png', 1351206801: '1744987033_70903_1351205729_94a606ba64957e22d05d2b6a33161cc9_rle_crop_3754790824_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/b38cdd8ca3c34ea67fb3f026b8b6d826_68396336.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/216dfb092b4bae251f0c2bd315f65e2d_52251676.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/cb6404339adc2852215f591c577921bc_82814628.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/f255f592940a7233c92d451ed79333bf_88979836.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/441921d4fdbcd548d25a48976001b209_69849486.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/cd26c1037ca811868d15277f1850dfee_8983306.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/26b3e5020d0440f805adac7e0a01e522_23095370.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/21727e8aa5fd9f0bea78baebe52ad616_47959785.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/04f48cb9e232f13b500d2a9c087eeb10_59064723.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/417d193fec73e4f107c050cbc87f7e2b_1946845.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/7d1cdac0ea7218683f6d1e96180cc346_74219801.png change filename to text .imagette222066501744987142/ imagette222066501744987142/1744986911_69502_1351204766_c2e1e6d7b09c113cffe3a97338cf6340_rle_crop_3754784476_0.png.png imagette222066501744987142/1744987033_70903_1351205754_be711fcabe720d5fcdf8c9fca7fbce9e_rle_crop_3754790799_0.png.png imagette222066501744987142/1744987033_70903_1351205754_be711fcabe720d5fcdf8c9fca7fbce9e_rle_crop_3754790798_0.png.png imagette222066501744987142/1744986911_69502_1351204766_c2e1e6d7b09c113cffe3a97338cf6340_rle_crop_3754784475_0.png.png imagette222066501744987142/1744987033_70903_1351206115_17056c36ed85135f47a9815b48c5c79f_rle_crop_3754790780_0.png.png imagette222066501744987142/1744986941_2896602_1351202724_f05beca5df939cc862f85a2f0c11b607_rle_crop_3754783892_0.png.png imagette222066501744987142/1744986911_69502_1351203691_a4e3b9ae5d3a3a8a5103a2d2197712e7_rle_crop_3754784704_0.png.png imagette222066501744987142/1744986911_69502_1351203627_c366fb5c3319f6b0c2bf5041fb42b6da_rle_crop_3754784715_0.png.png imagette222066501744987142/1744986911_69502_1351203627_c366fb5c3319f6b0c2bf5041fb42b6da_rle_crop_3754784713_0.png.png imagette222066501744987142/1744986941_2896602_1351202724_f05beca5df939cc862f85a2f0c11b607_rle_crop_3754783889_0.png.png imagette222066501744987142/1744987033_70903_1351205729_94a606ba64957e22d05d2b6a33161cc9_rle_crop_3754790824_0.png.png imagette222066501744987142/1744986941_2896602_1351202724_f05beca5df939cc862f85a2f0c11b607_rle_crop_3754783891_0.png.png imagette222066521744987143/ wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/77ecf1972c6f8ddc8914dd7af35e4a1f_99653779.png imagette222066501744987142 22206652 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22206652 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222066521744987143 22206646 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22206646 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351206008: '1744986911_69502_1351203730_54e4f002c8b49749b8e34909ba47356b_rle_crop_3754784680_0.png', 1351206010: '1744986911_69502_1351203691_a4e3b9ae5d3a3a8a5103a2d2197712e7_rle_crop_3754784697_0.png', 1351206108: '1744986941_2896602_1351202906_0420d9eba5bc0c35475e509c7cdc2208_rle_crop_3754783861_0.png', 1351206755: '1744987046_3412176_1351206038_4bf40d4f4d729d922f8d04a54e0223bd_rle_crop_3754790758_0.png', 1351206785: '1744987033_70903_1351205744_4f72cc9a9fa9cf46b85ff3e0e7f8e0b9_rle_crop_3754790808_0.png', 1351206786: '1744987033_70903_1351205729_94a606ba64957e22d05d2b6a33161cc9_rle_crop_3754790818_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/103d9f1b08f937f11f661633b8f39d82_23276732.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/63435c23aa7b914fa53189e08355bd54_43673244.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/33de92bca1a15f955c7dece0e150bd71_75460332.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/532c6261b864ab546488257ca1e023a1_88790126.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/a3c3f7f8bba96a0d2f99c840a661a62e_60693449.png change filename to text .imagette222066461744987143/ imagette222066461744987143/1744987033_70903_1351205744_4f72cc9a9fa9cf46b85ff3e0e7f8e0b9_rle_crop_3754790808_0.png.png imagette222066461744987143/1744986941_2896602_1351202906_0420d9eba5bc0c35475e509c7cdc2208_rle_crop_3754783861_0.png.png imagette222066461744987143/1744986911_69502_1351203691_a4e3b9ae5d3a3a8a5103a2d2197712e7_rle_crop_3754784697_0.png.png imagette222066461744987143/1744987033_70903_1351205729_94a606ba64957e22d05d2b6a33161cc9_rle_crop_3754790818_0.png.png imagette222066461744987143/1744986911_69502_1351203730_54e4f002c8b49749b8e34909ba47356b_rle_crop_3754784680_0.png.png imagette222066461744987143/1744987046_3412176_1351206038_4bf40d4f4d729d922f8d04a54e0223bd_rle_crop_3754790758_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/4e0a4c86bd9f6e1d32abf98ce56e2e16_3554619.png imagette222066461744987143 22206648 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22206648 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351205993: '1744986911_69502_1351203627_c366fb5c3319f6b0c2bf5041fb42b6da_rle_crop_3754784719_0.png', 1351205994: '1744986911_69502_1351203502_0b3b6779ac2d9df78db18ab9cd98222f_rle_crop_3754784752_0.png', 1351206754: '1744987046_3412176_1351206086_48c1b0e416e2b0b0b74a2c48980a0063_rle_crop_3754790750_0.png', 1351207173: '1744987067_2900936_1351205240_5779653914db83a4e0a4531d3b4e9091_rle_crop_3754795963_0.png', 1351207174: '1744987067_2900936_1351205211_5762c65a148737c1036c045ef05ede71_rle_crop_3754796022_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/f46b5a4a1702843ec3c122dd92413e26_21022759.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/fa6004584027b56b958f67042b8207c2_69354106.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/70aab66aeee38cd91f23c9bfce1c526e_11002027.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/92a7c981faac2fb1ccf63c98dcbca853_77725919.png change filename to text .imagette222066481744987143/ imagette222066481744987143/1744987067_2900936_1351205211_5762c65a148737c1036c045ef05ede71_rle_crop_3754796022_0.png.png imagette222066481744987143/1744987067_2900936_1351205240_5779653914db83a4e0a4531d3b4e9091_rle_crop_3754795963_0.png.png imagette222066481744987143/1744986911_69502_1351203502_0b3b6779ac2d9df78db18ab9cd98222f_rle_crop_3754784752_0.png.png imagette222066481744987143/1744987046_3412176_1351206086_48c1b0e416e2b0b0b74a2c48980a0063_rle_crop_3754790750_0.png.png imagette222066481744987143/1744986911_69502_1351203627_c366fb5c3319f6b0c2bf5041fb42b6da_rle_crop_3754784719_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/33fa0ee729dbf9ad98f783d40f433451_24630862.png imagette222066481744987143 22206654 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22206654 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351206041: '1744986911_69502_1351204766_c2e1e6d7b09c113cffe3a97338cf6340_rle_crop_3754784477_0.png', 1351206042: '1744986911_69502_1351203502_0b3b6779ac2d9df78db18ab9cd98222f_rle_crop_3754784750_0.png', 1351206043: '1744986911_69502_1351203502_0b3b6779ac2d9df78db18ab9cd98222f_rle_crop_3754784753_0.png', 1351206142: '1744986941_2896602_1351202906_0420d9eba5bc0c35475e509c7cdc2208_rle_crop_3754783864_0.png', 1351207176: '1744987067_2900936_1351205211_5762c65a148737c1036c045ef05ede71_rle_crop_3754796024_0.png', 1351207177: '1744987067_2900936_1351205211_5762c65a148737c1036c045ef05ede71_rle_crop_3754796018_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/f4038b6ca07de85ea7400770440e0a5f_85459966.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/f587c6989323677f76b4a8509b1af299_32339480.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/f8cc080cdc8d62284b081226550c047c_43086258.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/9896080200f4671c6daa070981ce1d47_42145671.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/6d2102dc5a4d16a82b8ac4a846cfa4f3_49863290.png change filename to text .imagette222066541744987144/ imagette222066541744987144/1744986911_69502_1351203502_0b3b6779ac2d9df78db18ab9cd98222f_rle_crop_3754784750_0.png.png imagette222066541744987144/1744987067_2900936_1351205211_5762c65a148737c1036c045ef05ede71_rle_crop_3754796018_0.png.png imagette222066541744987144/1744987067_2900936_1351205211_5762c65a148737c1036c045ef05ede71_rle_crop_3754796024_0.png.png imagette222066541744987144/1744986941_2896602_1351202906_0420d9eba5bc0c35475e509c7cdc2208_rle_crop_3754783864_0.png.png imagette222066541744987144/1744986911_69502_1351204766_c2e1e6d7b09c113cffe3a97338cf6340_rle_crop_3754784477_0.png.png imagette222066541744987144/1744986911_69502_1351203502_0b3b6779ac2d9df78db18ab9cd98222f_rle_crop_3754784753_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/52e627f0cae349763375f1a1cf7dc304_86762753.png imagette222066541744987144 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22206611 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22206655,22206656,22206657,22206658,22206659,22206660,22206661,22206662,22206663,22206664,22206665,22206666?tags=plastique,autre_refus,mal_croppe,Carton_gris,kraft,Teint_Dans_La_Masse,flou,cartonnette,environnement,metal,papier,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1351206612] : ('0.05383724761394021',) no score found for photo 1351206612 We are sending mail with results at report@fotonower.com args[1351206583] : ('0.05383724761394021',) no score found for photo 1351206583 We are sending mail with results at report@fotonower.com args[1351206555] : ('0.05383724761394021',) no score found for photo 1351206555 We are sending mail with results at report@fotonower.com args[1351206529] : ('0.05383724761394021',) no score found for photo 1351206529 We are sending mail with results at report@fotonower.com args[1351206501] : ('0.05383724761394021',) no score found for photo 1351206501 We are sending mail with results at report@fotonower.com args[1351206476] : ('0.05383724761394021',) no score found for photo 1351206476 We are sending mail with results at report@fotonower.com args[1351206115] : ('0.05383724761394021',) no score found for photo 1351206115 We are sending mail with results at report@fotonower.com args[1351206086] : ('0.05383724761394021',) no score found for photo 1351206086 We are sending mail with results at report@fotonower.com args[1351206038] : ('0.05383724761394021',) no score found for photo 1351206038 We are sending mail with results at report@fotonower.com args[1351205991] : ('0.05383724761394021',) no score found for photo 1351205991 We are sending mail with results at report@fotonower.com args[1351205758] : ('0.05383724761394021',) no score found for photo 1351205758 We are sending mail with results at report@fotonower.com args[1351205754] : ('0.05383724761394021',) no score found for photo 1351205754 We are sending mail with results at report@fotonower.com args[1351205744] : ('0.05383724761394021',) no score found for photo 1351205744 We are sending mail with results at report@fotonower.com args[1351205729] : ('0.05383724761394021',) no score found for photo 1351205729 We are sending mail with results at report@fotonower.com args[1351205722] : ('0.05383724761394021',) no score found for photo 1351205722 We are sending mail with results at report@fotonower.com args[1351205696] : ('0.05383724761394021',) no score found for photo 1351205696 We are sending mail with results at report@fotonower.com args[1351205415] : ('0.05383724761394021',) no score found for photo 1351205415 We are sending mail with results at report@fotonower.com args[1351205390] : ('0.05383724761394021',) no score found for photo 1351205390 We are sending mail with results at report@fotonower.com args[1351205315] : ('0.05383724761394021',) no score found for photo 1351205315 We are sending mail with results at report@fotonower.com args[1351205240] : ('0.05383724761394021',) no score found for photo 1351205240 We are sending mail with results at report@fotonower.com args[1351205211] : ('0.05383724761394021',) no score found for photo 1351205211 We are sending mail with results at report@fotonower.com refus_total : 0.05383724761394021 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22206611 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_P22206611_18-04-2025_16_39_02.pdf results_Auto_P22206611_18-04-2025_16_39_02.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22206611_18-04-2025_16_39_02.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','22206611','results_Auto_P22206611_18-04-2025_16_39_02.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22206611_18-04-2025_16_39_02.pdf','pdf','','0.27','0.05383724761394021') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22206611]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1351206612, 1351206583, 1351206555, 1351206529, 1351206501, 1351206476, 1351206115, 1351206086, 1351206038, 1351205991, 1351205758, 1351205754, 1351205744, 1351205729, 1351205722, 1351205696, 1351205415, 1351205390, 1351205315, 1351205240, 1351205211] map_info['map_portfolio_photo'] : {22206611: [1351206612, 1351206583, 1351206555, 1351206529, 1351206501, 1351206476, 1351206115, 1351206086, 1351206038, 1351205991, 1351205758, 1351205754, 1351205744, 1351205729, 1351205722, 1351205696, 1351205415, 1351205390, 1351205315, 1351205240, 1351205211, 1351204766, 1351204723, 1351203820, 1351203730, 1351203691, 1351203627, 1351203558, 1351203502, 1351202967, 1351202906, 1351202787, 1351202724, 1351202442]} final : False mtd_id 4302 list_pids : [1351206612, 1351206583, 1351206555, 1351206529, 1351206501, 1351206476, 1351206115, 1351206086, 1351206038, 1351205991, 1351205758, 1351205754, 1351205744, 1351205729, 1351205722, 1351205696, 1351205415, 1351205390, 1351205315, 1351205240, 1351205211] 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, '2737627') ('4302', '22206611', '1351206612', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206583', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206555', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206529', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206501', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206476', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206115', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206086', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206038', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205991', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205758', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205754', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205744', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205729', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205722', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205696', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205415', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205390', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205315', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205240', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205211', None, None, None, None, None, '2737627') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 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', '22206611', '1351206612', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206583', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206555', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206529', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206501', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206476', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206115', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206086', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206038', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205991', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205758', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205754', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205744', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205729', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205722', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205696', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205415', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205390', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205315', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205240', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205211', None, None, None, None, None, '2737627')] time used for this insertion : 0.019654035568237305 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.747183799743652 time spend to save output : 0.02000141143798828 total time spend for step 4 : 4.767185211181641 step5:split_time_score Fri Apr 18 16:39:06 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['22206611'] 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 : [('22206611',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22206611) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1351206612: {'path': 'temp/1744987141_3722542_1351206612_72639a59b95f79d49be2dc7617a99f26.jpg', 'extension': 'jpg'}, 1351205211: {'path': 'temp/1744987141_3722542_1351205211_5762c65a148737c1036c045ef05ede71.jpg', 'extension': 'jpg'}, 1351205240: {'path': 'temp/1744987141_3722542_1351205240_5779653914db83a4e0a4531d3b4e9091.jpg', 'extension': 'jpg'}, 1351205315: {'path': 'temp/1744987141_3722542_1351205315_d0263a0dea6281b7eaa5b3fba5ffe828.jpg', 'extension': 'jpg'}, 1351205390: {'path': 'temp/1744987141_3722542_1351205390_f40e77d74cedc46d0e223ca3d894c528.jpg', 'extension': 'jpg'}, 1351205415: {'path': 'temp/1744987141_3722542_1351205415_eb6b38c18dfe6ea8d6c8a8f5d7d065d7.jpg', 'extension': 'jpg'}, 1351205758: {'path': 'temp/1744987141_3722542_1351205758_79801869c2b245a6ecefb042a81290f6.jpg', 'extension': 'jpg'}, 1351205991: {'path': 'temp/1744987141_3722542_1351205991_cad1872b3affa36fe41b01d77546f38d.jpg', 'extension': 'jpg'}, 1351206038: {'path': 'temp/1744987141_3722542_1351206038_4bf40d4f4d729d922f8d04a54e0223bd.jpg', 'extension': 'jpg'}, 1351206086: {'path': 'temp/1744987141_3722542_1351206086_48c1b0e416e2b0b0b74a2c48980a0063.jpg', 'extension': 'jpg'}, 1351206115: {'path': 'temp/1744987141_3722542_1351206115_17056c36ed85135f47a9815b48c5c79f.jpg', 'extension': 'jpg'}, 1351206476: {'path': 'temp/1744987141_3722542_1351206476_dfec7c10d2162634fc4a159815e2d13a.jpg', 'extension': 'jpg'}, 1351206501: {'path': 'temp/1744987141_3722542_1351206501_41dddd07995b90d8da571e54df876cb2.jpg', 'extension': 'jpg'}, 1351206529: {'path': 'temp/1744987141_3722542_1351206529_a7f60c619951648fa3644e7d64127936.jpg', 'extension': 'jpg'}, 1351206555: {'path': 'temp/1744987141_3722542_1351206555_9a8e9bf0ddf44bb578ffc55bec4dbfd8.jpg', 'extension': 'jpg'}, 1351206583: {'path': 'temp/1744987141_3722542_1351206583_3391441c88afa124e31df11012f59ccc.jpg', 'extension': 'jpg'}, 1351205696: {'path': 'temp/1744987141_3722542_1351205696_e831ce89c2fd3a3f54057e46a1b593b3.jpg', 'extension': 'jpg'}, 1351205722: {'path': 'temp/1744987141_3722542_1351205722_307c44bcdbc735727ceb373ce7b31afa.jpg', 'extension': 'jpg'}, 1351205729: {'path': 'temp/1744987141_3722542_1351205729_94a606ba64957e22d05d2b6a33161cc9.jpg', 'extension': 'jpg'}, 1351205744: {'path': 'temp/1744987141_3722542_1351205744_4f72cc9a9fa9cf46b85ff3e0e7f8e0b9.jpg', 'extension': 'jpg'}, 1351205754: {'path': 'temp/1744987141_3722542_1351205754_be711fcabe720d5fcdf8c9fca7fbce9e.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 = 22206611; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 22206611 group by h (('16', 34),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22206611 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 (22206611) 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 (22206611) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 18042025 22206611 Nombre de photos uploadées : 34 / 23040 (0%) 18042025 22206611 Nombre de photos taguées (types de déchets): 0 / 34 (0%) 18042025 22206611 Nombre de photos taguées (volume) : 0 / 34 (0%) [{'photo_id': 1351202442, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/31a0d06525dc01d28a3227d37dd597b8.jpg', 'username': None, 'uploaded_at': 1744986663, 'text': 'image_18042025_16_30_04_10159.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1351202967, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/efb6344852335ce9b6d5361f36ab46e8.jpg', 'username': None, 'uploaded_at': 1744986678, 'text': 'image_18042025_16_30_14_10133.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1351202906, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/0420d9eba5bc0c35475e509c7cdc2208.jpg', 'username': None, 'uploaded_at': 1744986678, 'text': 'image_18042025_16_30_24_10132.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1351202787, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/18/3fd9078d9206b88152cfba7e77d84c5c.jpg', 'username': None, 'uploaded_at': 1744986678, 'text': 'image_18042025_16_30_33_9127.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 2.193450927734375e-05 ?????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014460086822509766 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22206611, '2025-04-18' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1725253,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.032514333724975586 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= 1725253 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1725253, 'dashboard_run_id': 1735567, 'mtr_portfolio_id': 22203468, 'dashboard_result_id': 9985291, '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_P22203468_18-04-2025_16_02_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22203486, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22203487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22203488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22203489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22203490, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22203491, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22203492, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22203493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22203494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22203495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22203496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22203497, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1735567, 'mtr_portfolio_id': 22204432, 'dashboard_result_id': 9985292, '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_P22204432_18-04-2025_16_21_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22204455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22204456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22204457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22204458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22204459, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22204460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22204461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22204462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22204463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22204464, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22204465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22204466, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1735567, 'mtr_portfolio_id': 22205673, 'dashboard_result_id': 9985293, '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_P22205673_18-04-2025_16_35_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22205738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22205739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22205740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22205741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22205742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22205743, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22205744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22205745, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22205746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22205747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22205748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22205749, 'pht': 3726}}"}, {'dashboat_entry_day': 1725253, 'dashboard_run_id': 1735567, 'mtr_portfolio_id': 22206611, 'dashboard_result_id': 9985294, '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_P22206611_18-04-2025_16_35_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22206643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22206644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22206645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22206646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22206647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22206648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22206649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22206650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22206651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22206652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22206653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22206654, '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 = 22203468 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': 2737426, 'mtr_portfolio_id': 22203468, 'created_at': datetime.datetime(2025, 4, 18, 16, 2, 30), 'result': '0.03836131747358875', 'result_long': None, 'result_double': None}] Qualite : 0.03836131747358875 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22203468 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22203468_18-04-2025_16_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22203468 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_P22203468_18-04-2025_16_02_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22203486, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22203487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22203488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22203489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22203490, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22203491, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22203492, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22203493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22203494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22203495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22203496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22203497, 'pht': 3726}}" where mtr_portfolio_id = 22203468 and dashboard_run_id = 1735567 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`=22203468 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9985291, 0.03836131747358875, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22203468_18-04-2025_16_02_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22203486, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22203487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22203488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22203489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22203490, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22203491, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22203492, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22203493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22203494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22203495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22203496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22203497, '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 = 22204432 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': 2737505, 'mtr_portfolio_id': 22204432, 'created_at': datetime.datetime(2025, 4, 18, 16, 20, 59), 'result': '0.06783880925434066', 'result_long': None, 'result_double': None}] Qualite : 0.06783880925434066 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22204432 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22204432_18-04-2025_16_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22204432 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_P22204432_18-04-2025_16_21_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22204455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22204456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22204457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22204458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22204459, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22204460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22204461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22204462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22204463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22204464, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22204465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22204466, 'pht': 3726}}" where mtr_portfolio_id = 22204432 and dashboard_run_id = 1735567 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`=22204432 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9985292, 0.06783880925434066, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22204432_18-04-2025_16_21_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22204455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22204456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22204457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22204458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22204459, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22204460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22204461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22204462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22204463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22204464, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22204465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22204466, '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 = 22205673 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': 2737568, 'mtr_portfolio_id': 22205673, 'created_at': datetime.datetime(2025, 4, 18, 16, 34, 59), 'result': '0.051352452015660736', 'result_long': None, 'result_double': None}] Qualite : 0.051352452015660736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22205673 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22205673_18-04-2025_16_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22205673 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_P22205673_18-04-2025_16_35_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22205738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22205739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22205740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22205741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22205742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22205743, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22205744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22205745, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22205746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22205747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22205748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22205749, 'pht': 3726}}" where mtr_portfolio_id = 22205673 and dashboard_run_id = 1735567 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`=22205673 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9985293, 0.051352452015660736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22205673_18-04-2025_16_35_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22205738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22205739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22205740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22205741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22205742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22205743, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22205744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22205745, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22205746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22205747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22205748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22205749, '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 = 22206611 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': 2737627, 'mtr_portfolio_id': 22206611, 'created_at': datetime.datetime(2025, 4, 18, 16, 39, 1), 'result': '0.05383724761394021', 'result_long': None, 'result_double': None}] Qualite : 0.05383724761394021 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22206611 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22206611_18-04-2025_16_39_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22206611 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_P22206611_18-04-2025_16_39_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22206643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22206644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22206645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22206646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22206647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22206648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22206649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22206650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22206651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22206652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22206653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22206654, 'pht': 3726}}" where mtr_portfolio_id = 22206611 and dashboard_run_id = 1735567 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`=22206611 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9985294, 0.05383724761394021, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22206611_18-04-2025_16_39_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22206643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22206644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22206645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22206646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22206647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22206648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22206649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22206650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22206651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22206652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22206653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22206654, '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 (22203468,22204432,22205673,22206611) result : ((1351168015,), (1351168049,), (1351168548,), (1351168552,), (1351168556,), (1351168562,), (1351168601,), (1351168658,), (1351169168,), (1351169213,), (1351169310,), (1351169392,), (1351170227,), (1351170282,), (1351170336,), (1351170386,), (1351170437,), (1351170497,), (1351170934,), (1351171084,), (1351171152,), (1351171404,), (1351171716,), (1351172049,), (1351172652,), (1351172717,), (1351172849,), (1351172902,), (1351173974,), (1351173994,), (1351174016,), (1351174160,), (1351174343,), (1351174428,), (1351174829,), (1351174901,), (1351174980,), (1351175054,), (1351175144,), (1351175830,), (1351175872,), (1351175941,), (1351175963,), (1351175986,), (1351176014,), (1351176190,), (1351176219,), (1351176248,), (1351176275,), (1351176312,), (1351176342,), (1351176465,), (1351176467,), (1351176470,), (1351176473,), (1351176730,), (1351176762,), (1351176777,), (1351176784,), (1351176787,), (1351176987,), (1351177014,), (1351177041,), (1351177070,), (1351177102,), (1351177129,), (1351177877,), (1351177935,), (1351178268,), (1351178394,), (1351178508,), (1351178616,), (1351179478,), (1351179246,), (1351179324,), (1351179402,), (1351180699,), (1351180777,), (1351180853,), (1351180908,), (1351180965,), (1351181474,), (1351181493,), (1351181537,), (1351181583,), (1351181616,), (1351181670,), (1351182256,), (1351182372,), (1351182609,), (1351183867,), (1351183943,), (1351184017,), (1351184077,), (1351184125,), (1351184246,), (1351184933,), (1351184995,), (1351185075,), (1351185142,), (1351185227,), (1351186007,), (1351186047,), (1351186082,), (1351186115,), (1351186159,), (1351186524,), (1351186530,), (1351186569,), (1351186598,), (1351186625,), (1351186660,), (1351187047,), (1351187118,), (1351187186,), (1351187216,), (1351187240,), (1351187404,), (1351187433,), (1351187478,), (1351187529,), (1351187561,), (1351187591,), (1351187795,), (1351187828,), (1351187856,), (1351187902,), (1351188318,), (1351188382,), (1351188483,), (1351188557,), (1351188638,), (1351188697,), (1351189170,), (1351189195,), (1351189222,), (1351189251,), (1351189281,), (1351189647,), (1351189675,), (1351189705,), (1351189729,), (1351189757,), (1351189785,), (1351190173,), (1351190201,), (1351190250,), (1351190274,), (1351190853,), (1351190558,), (1351190611,), (1351190663,), (1351190711,), (1351190785,), (1351191229,), (1351191255,), (1351191285,), (1351191336,), (1351192154,), (1351192213,), (1351192275,), (1351192308,), (1351192337,), (1351192367,), (1351192762,), (1351192789,), (1351192824,), (1351192855,), (1351192903,), (1351192968,), (1351192994,), (1351193024,), (1351193076,), (1351193528,), (1351193556,), (1351193586,), (1351193613,), (1351193634,), (1351194228,), (1351194280,), (1351194331,), (1351194391,), (1351195087,), (1351195274,), (1351195478,), (1351195687,), (1351195990,), (1351196292,), (1351197230,), (1351197303,), (1351197384,), (1351197651,), (1351197772,), (1351198391,), (1351198502,), (1351198671,), (1351199107,), (1351199183,), (1351199384,), (1351199481,), (1351199575,), (1351199796,), (1351200435,), (1351200485,), (1351200535,), (1351200566,), (1351200602,), (1351201268,), (1351201344,), (1351201405,), (1351201808,), (1351201838,), (1351201884,), (1351201943,), (1351202003,), (1351202035,), (1351202245,), (1351202249,), (1351202255,), (1351202257,), (1351202258,), (1351203022,), (1351202442,), (1351202724,), (1351202787,), (1351202906,), (1351202967,), (1351203502,), (1351203558,), (1351203627,), (1351203691,), (1351203730,), (1351203820,), (1351204723,), (1351204766,), (1351205211,), (1351205240,), (1351205315,), (1351205390,), (1351205415,), (1351205696,), (1351205722,), (1351205729,), (1351205744,), (1351205754,), (1351205758,), (1351205991,), (1351206038,), (1351206086,), (1351206115,), (1351206476,), (1351206501,), (1351206529,), (1351206555,), (1351206583,), (1351206612,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'18042025': {'nb_upload': 34, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22206611]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1351206612, 1351206583, 1351206555, 1351206529, 1351206501, 1351206476, 1351206115, 1351206086, 1351206038, 1351205991, 1351205758, 1351205754, 1351205744, 1351205729, 1351205722, 1351205696, 1351205415, 1351205390, 1351205315, 1351205240, 1351205211] map_info['map_portfolio_photo'] : {22206611: [1351206612, 1351206583, 1351206555, 1351206529, 1351206501, 1351206476, 1351206115, 1351206086, 1351206038, 1351205991, 1351205758, 1351205754, 1351205744, 1351205729, 1351205722, 1351205696, 1351205415, 1351205390, 1351205315, 1351205240, 1351205211, 1351204766, 1351204723, 1351203820, 1351203730, 1351203691, 1351203627, 1351203558, 1351203502, 1351202967, 1351202906, 1351202787, 1351202724, 1351202442]} final : True mtd_id 4302 list_pids : [1351206612, 1351206583, 1351206555, 1351206529, 1351206501, 1351206476, 1351206115, 1351206086, 1351206038, 1351205991, 1351205758, 1351205754, 1351205744, 1351205729, 1351205722, 1351205696, 1351205415, 1351205390, 1351205315, 1351205240, 1351205211] Looping around the photos to save general results len do output : 1 /22206611Didn'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, '2737627') ('4302', '22206611', '1351206612', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206583', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206555', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206529', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206501', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206476', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206115', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206086', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351206038', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205991', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205758', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205754', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205744', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205729', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205722', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205696', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205415', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205390', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205315', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205240', None, None, None, None, None, '2737627') ('4302', None, None, None, None, None, None, None, '2737627') ('4302', '22206611', '1351205211', None, None, None, None, None, '2737627') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 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, '22206611', 'None', None, None, None, None, '2737627'), ('4302', '22206611', '1351206612', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206583', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206555', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206529', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206501', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206476', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206115', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206086', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351206038', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205991', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205758', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205754', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205744', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205729', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205722', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205696', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205415', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205390', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205315', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205240', None, None, None, None, None, '2737627'), ('4302', '22206611', '1351205211', None, None, None, None, None, '2737627')] time used for this insertion : 0.019473552703857422 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3473367691040039 time spend to save output : 0.019822359085083008 total time spend for step 5 : 0.3671591281890869 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 (2737627) 2.75user 2.77system 0:11.55elapsed 47%CPU (0avgtext+0avgdata 161436maxresident)k 29288inputs+16360outputs (190major+76569minor)pagefaults 0swaps