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 : 1319856 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 (4108912) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4108912) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28861206 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4108912'] with mtr_portfolio_ids : ['28861206'] and first list_photo_ids : [] new path : /proc/1319856/ Name: python3 Umask: 0002 State: R (running) Tgid: 1319856 Ngid: 0 Pid: 1319856 PPid: 1319855 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1319856 NSpid: 1319856 NSpgid: 1319217 NSsid: 1319217 VmPeak: 1106908 kB VmSize: 1106884 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98380 kB VmRSS: 98380 kB RssAnon: 59904 kB RssFile: 38476 kB RssShmem: 0 kB VmData: 865636 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 552 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 39 nonvoluntary_ctxt_switches: 120 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1319856', 'Ngid': '0', 'Pid': '1319856', 'PPid': '1319855', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1319856', 'NSpid': '1319856', 'NSpgid': '1319217', 'NSsid': '1319217', 'VmPeak': '1106908 kB', 'VmSize': '1106884 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98380 kB', 'VmRSS': '98380 kB', 'RssAnon': '59904 kB', 'RssFile': '38476 kB', 'RssShmem': '0 kB', 'VmData': '865636 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '552 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '39', 'nonvoluntary_ctxt_switches': '120'} ('datou_batch_current', '1319856', '1106908', '0', '1106884', '865636', '98380', b'', 'marlene', '4108912') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (28861206) and hide_status = 0 ) AND ph.photo_id not in (SELECT mtr_photo_id from MTRPhoto.mtr_datou_result_search where mtr_current_id in (4108912 ) ) ORDER BY ph.photo_id DESC LIMIT 0, 200 We have 1 , {} SELECT mtr_photo_id, mtr_portfolio_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (28861206) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1396020518, 'portfolio_id': 28861206}, {'photo_id': 1396019106, 'portfolio_id': 28861206}, {'photo_id': 1396018986, 'portfolio_id': 28861206}, {'photo_id': 1396018983, 'portfolio_id': 28861206}, {'photo_id': 1396018981, 'portfolio_id': 28861206}, {'photo_id': 1396018979, 'portfolio_id': 28861206}, {'photo_id': 1396018967, 'portfolio_id': 28861206}, {'photo_id': 1396018950, 'portfolio_id': 28861206}, {'photo_id': 1396018944, 'portfolio_id': 28861206}, {'photo_id': 1396018918, 'portfolio_id': 28861206}, {'photo_id': 1396018846, 'portfolio_id': 28861206}, {'photo_id': 1396018843, 'portfolio_id': 28861206}, {'photo_id': 1396018840, 'portfolio_id': 28861206}, {'photo_id': 1396018838, 'portfolio_id': 28861206}, {'photo_id': 1396018837, 'portfolio_id': 28861206}, {'photo_id': 1396018836, 'portfolio_id': 28861206}, {'photo_id': 1396018831, 'portfolio_id': 28861206}, {'photo_id': 1396018827, 'portfolio_id': 28861206}, {'photo_id': 1396018824, 'portfolio_id': 28861206}, {'photo_id': 1396018821, 'portfolio_id': 28861206}, {'photo_id': 1396018817, 'portfolio_id': 28861206}, {'photo_id': 1396018814, 'portfolio_id': 28861206}, {'photo_id': 1396018782, 'portfolio_id': 28861206}, {'photo_id': 1396018678, 'portfolio_id': 28861206}, {'photo_id': 1396018647, 'portfolio_id': 28861206}, {'photo_id': 1396018614, 'portfolio_id': 28861206}, {'photo_id': 1396018584, 'portfolio_id': 28861206}, {'photo_id': 1396018582, 'portfolio_id': 28861206}, {'photo_id': 1396018580, 'portfolio_id': 28861206}, {'photo_id': 1396018578, 'portfolio_id': 28861206}, {'photo_id': 1396016892, 'portfolio_id': 28861206}] map_portfolio_id_photo_id: {28861206: [1396020518, 1396019106, 1396018986, 1396018983, 1396018981, 1396018979, 1396018967, 1396018950, 1396018944, 1396018918, 1396018846, 1396018843, 1396018840, 1396018838, 1396018837, 1396018836, 1396018831, 1396018827, 1396018824, 1396018821, 1396018817, 1396018814, 1396018782, 1396018678, 1396018647, 1396018614, 1396018584, 1396018582, 1396018580, 1396018578, 1396016892]} ##### Call download_photos : nb_thread : 1 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos ##### After load_data_input time to download the photos : 0.018442153930664062 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Tue Nov 25 06:14:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28861206) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} beginning of datou step ventilate_hashtags_in_portfolio : To implement ! To do loadFromThcl(), then load ParamDescType : thcl2725 get_desc_type_from_thcl : type of cat SELECT id, mtr_user_id, name, pb_hashtag_id, hashtag_id_list, button_legend_list, portfolio_id_lists, photo_hashtag_type, photo_desc_type, svm_limit, limit_tagging, is_public, live, created_at, updated_at, type_classification FROM MTRDatou.classification_theme WHERE `id` IN (2725) thcls : [{'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5186 remove imagettes from duplicated photo Iterating over portfolio : 28861206 get user id for portfolio 28861206 get sub ptf for main ptf 28861206, type 3726 and hashtags ['papier', 'cartonnette', 'Carton_gris', 'environnement', 'flou', 'mal_croppe', 'kraft', 'autre_refus', 'Carton_brun', 'metal', 'Teint_Dans_La_Masse', 'plastique'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28861206 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','cartonnette','Carton_gris','environnement','flou','mal_croppe','kraft','autre_refus','Carton_brun','metal','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28861206 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','cartonnette','Carton_gris','environnement','flou','mal_croppe','kraft','autre_refus','Carton_brun','metal','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 28861206, 'sub_port_id': 28861209, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590315, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 8, 58)}, 'Carton_brun': {'main_port_id': 28861206, 'sub_port_id': 28861210, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590316, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 8, 58)}, 'cartonnette': {'main_port_id': 28861206, 'sub_port_id': 28861211, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590317, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 8, 58)}, 'flou': {'main_port_id': 28861206, 'sub_port_id': 28861212, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590318, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 8, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 28861206, 'sub_port_id': 28861213, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590319, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 8, 58)}, 'plastique': {'main_port_id': 28861206, 'sub_port_id': 28861214, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590320, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 8, 58)}, 'mal_croppe': {'main_port_id': 28861206, 'sub_port_id': 28861215, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590321, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 8, 58)}, 'Carton_gris': {'main_port_id': 28861206, 'sub_port_id': 28861216, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590322, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 8, 58)}, 'papier': {'main_port_id': 28861206, 'sub_port_id': 28861217, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590323, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 8, 58)}, 'autre_refus': {'main_port_id': 28861206, 'sub_port_id': 28861218, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590324, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 8, 58)}, 'environnement': {'main_port_id': 28861206, 'sub_port_id': 28861219, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590325, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 8, 58)}, 'metal': {'main_port_id': 28861206, 'sub_port_id': 28861220, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590326, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 8, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28861209 , 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=28861206 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='kraft' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861209) result : ((1396018851,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861206) result : ((1396016892,), (1396018578,), (1396018580,), (1396018582,), (1396018584,), (1396018614,), (1396018647,), (1396018678,), (1396018782,), (1396018814,), (1396018817,), (1396018821,), (1396018824,), (1396018827,), (1396018831,), (1396018836,), (1396018837,), (1396018838,), (1396018840,), (1396018843,), (1396018846,), (1396018918,), (1396018944,), (1396018950,), (1396018967,), (1396018979,), (1396018981,), (1396018983,), (1396018986,), (1396019106,), (1396020518,)) 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 28861210 , 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=28861206 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 (28861210) result : ((1396018813,), (1396019040,), (1396019190,), (1396019450,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861206) result : ((1396016892,), (1396018578,), (1396018580,), (1396018582,), (1396018584,), (1396018614,), (1396018647,), (1396018678,), (1396018782,), (1396018814,), (1396018817,), (1396018821,), (1396018824,), (1396018827,), (1396018831,), (1396018836,), (1396018837,), (1396018838,), (1396018840,), (1396018843,), (1396018846,), (1396018918,), (1396018944,), (1396018950,), (1396018967,), (1396018979,), (1396018981,), (1396018983,), (1396018986,), (1396019106,), (1396020518,)) 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 28861211 , 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=28861206 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='cartonnette' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861211) result : ((1396018810,), (1396018811,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861206) result : ((1396016892,), (1396018578,), (1396018580,), (1396018582,), (1396018584,), (1396018614,), (1396018647,), (1396018678,), (1396018782,), (1396018814,), (1396018817,), (1396018821,), (1396018824,), (1396018827,), (1396018831,), (1396018836,), (1396018837,), (1396018838,), (1396018840,), (1396018843,), (1396018846,), (1396018918,), (1396018944,), (1396018950,), (1396018967,), (1396018979,), (1396018981,), (1396018983,), (1396018986,), (1396019106,), (1396020518,)) 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 28861212 , 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=28861206 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='flou' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861212) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861206) result : ((1396016892,), (1396018578,), (1396018580,), (1396018582,), (1396018584,), (1396018614,), (1396018647,), (1396018678,), (1396018782,), (1396018814,), (1396018817,), (1396018821,), (1396018824,), (1396018827,), (1396018831,), (1396018836,), (1396018837,), (1396018838,), (1396018840,), (1396018843,), (1396018846,), (1396018918,), (1396018944,), (1396018950,), (1396018967,), (1396018979,), (1396018981,), (1396018983,), (1396018986,), (1396019106,), (1396020518,)) 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 28861213 , 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=28861206 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Teint_Dans_La_Masse' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861213) result : ((1396018806,), (1396018807,), (1396019032,), (1396019079,), (1396019180,), (1396019181,), (1396019428,), (1396019431,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861206) result : ((1396016892,), (1396018578,), (1396018580,), (1396018582,), (1396018584,), (1396018614,), (1396018647,), (1396018678,), (1396018782,), (1396018814,), (1396018817,), (1396018821,), (1396018824,), (1396018827,), (1396018831,), (1396018836,), (1396018837,), (1396018838,), (1396018840,), (1396018843,), (1396018846,), (1396018918,), (1396018944,), (1396018950,), (1396018967,), (1396018979,), (1396018981,), (1396018983,), (1396018986,), (1396019106,), (1396020518,)) 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 28861214 , 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=28861206 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='plastique' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861214) result : ((1396018794,), (1396021142,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861206) result : ((1396016892,), (1396018578,), (1396018580,), (1396018582,), (1396018584,), (1396018614,), (1396018647,), (1396018678,), (1396018782,), (1396018814,), (1396018817,), (1396018821,), (1396018824,), (1396018827,), (1396018831,), (1396018836,), (1396018837,), (1396018838,), (1396018840,), (1396018843,), (1396018846,), (1396018918,), (1396018944,), (1396018950,), (1396018967,), (1396018979,), (1396018981,), (1396018983,), (1396018986,), (1396019106,), (1396020518,)) 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 28861215 , 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=28861206 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='mal_croppe' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861215) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861206) result : ((1396016892,), (1396018578,), (1396018580,), (1396018582,), (1396018584,), (1396018614,), (1396018647,), (1396018678,), (1396018782,), (1396018814,), (1396018817,), (1396018821,), (1396018824,), (1396018827,), (1396018831,), (1396018836,), (1396018837,), (1396018838,), (1396018840,), (1396018843,), (1396018846,), (1396018918,), (1396018944,), (1396018950,), (1396018967,), (1396018979,), (1396018981,), (1396018983,), (1396018986,), (1396019106,), (1396020518,)) 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 28861216 , 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=28861206 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Carton_gris' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861216) result : ((1396018792,), (1396018849,), (1396019182,), (1396021139,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861206) result : ((1396016892,), (1396018578,), (1396018580,), (1396018582,), (1396018584,), (1396018614,), (1396018647,), (1396018678,), (1396018782,), (1396018814,), (1396018817,), (1396018821,), (1396018824,), (1396018827,), (1396018831,), (1396018836,), (1396018837,), (1396018838,), (1396018840,), (1396018843,), (1396018846,), (1396018918,), (1396018944,), (1396018950,), (1396018967,), (1396018979,), (1396018981,), (1396018983,), (1396018986,), (1396019106,), (1396020518,)) 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 28861217 , 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=28861206 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 (28861217) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861206) result : ((1396016892,), (1396018578,), (1396018580,), (1396018582,), (1396018584,), (1396018614,), (1396018647,), (1396018678,), (1396018782,), (1396018814,), (1396018817,), (1396018821,), (1396018824,), (1396018827,), (1396018831,), (1396018836,), (1396018837,), (1396018838,), (1396018840,), (1396018843,), (1396018846,), (1396018918,), (1396018944,), (1396018950,), (1396018967,), (1396018979,), (1396018981,), (1396018983,), (1396018986,), (1396019106,), (1396020518,)) 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 28861218 , 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=28861206 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='autre_refus' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861218) result : ((1396018808,), (1396018809,), (1396019084,), (1396019445,), (1396019448,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861206) result : ((1396016892,), (1396018578,), (1396018580,), (1396018582,), (1396018584,), (1396018614,), (1396018647,), (1396018678,), (1396018782,), (1396018814,), (1396018817,), (1396018821,), (1396018824,), (1396018827,), (1396018831,), (1396018836,), (1396018837,), (1396018838,), (1396018840,), (1396018843,), (1396018846,), (1396018918,), (1396018944,), (1396018950,), (1396018967,), (1396018979,), (1396018981,), (1396018983,), (1396018986,), (1396019106,), (1396020518,)) 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 28861219 , 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=28861206 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='environnement' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861219) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861206) result : ((1396016892,), (1396018578,), (1396018580,), (1396018582,), (1396018584,), (1396018614,), (1396018647,), (1396018678,), (1396018782,), (1396018814,), (1396018817,), (1396018821,), (1396018824,), (1396018827,), (1396018831,), (1396018836,), (1396018837,), (1396018838,), (1396018840,), (1396018843,), (1396018846,), (1396018918,), (1396018944,), (1396018950,), (1396018967,), (1396018979,), (1396018981,), (1396018983,), (1396018986,), (1396019106,), (1396020518,)) 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 28861220 , 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=28861206 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 (28861220) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28861206) result : ((1396016892,), (1396018578,), (1396018580,), (1396018582,), (1396018584,), (1396018614,), (1396018647,), (1396018678,), (1396018782,), (1396018814,), (1396018817,), (1396018821,), (1396018824,), (1396018827,), (1396018831,), (1396018836,), (1396018837,), (1396018838,), (1396018840,), (1396018843,), (1396018846,), (1396018918,), (1396018944,), (1396018950,), (1396018967,), (1396018979,), (1396018981,), (1396018983,), (1396018986,), (1396019106,), (1396020518,)) 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`=28861206 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','cartonnette','Carton_gris','environnement','flou','mal_croppe','kraft','autre_refus','Carton_brun','metal','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28861206 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','cartonnette','Carton_gris','environnement','flou','mal_croppe','kraft','autre_refus','Carton_brun','metal','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 28861206, 'sub_port_id': 28861221, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590327, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 9)}, 'Carton_brun': {'main_port_id': 28861206, 'sub_port_id': 28861222, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590328, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 9)}, 'cartonnette': {'main_port_id': 28861206, 'sub_port_id': 28861223, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590329, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 9)}, 'flou': {'main_port_id': 28861206, 'sub_port_id': 28861224, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590330, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 9)}, 'Teint_Dans_La_Masse': {'main_port_id': 28861206, 'sub_port_id': 28861225, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590331, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 9)}, 'plastique': {'main_port_id': 28861206, 'sub_port_id': 28861226, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590332, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 9)}, 'mal_croppe': {'main_port_id': 28861206, 'sub_port_id': 28861227, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590333, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 9)}, 'Carton_gris': {'main_port_id': 28861206, 'sub_port_id': 28861228, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590334, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 9)}, 'papier': {'main_port_id': 28861206, 'sub_port_id': 28861229, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590335, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 9)}, 'autre_refus': {'main_port_id': 28861206, 'sub_port_id': 28861230, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590336, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 9)}, 'environnement': {'main_port_id': 28861206, 'sub_port_id': 28861231, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590337, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 9), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 9)}, 'metal': {'main_port_id': 28861206, 'sub_port_id': 28861232, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19590338, 'last_updated_at': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_desc': datetime.datetime(2025, 11, 25, 5, 27), 'last_updated_at_asc': datetime.datetime(2025, 11, 25, 5, 9)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28861221,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28861209 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28861222,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28861210 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28861223,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28861211 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28861224,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28861212 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28861225,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28861213 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28861226,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28861214 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28861227,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28861215 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28861228,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28861216 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28861229,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28861217 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28861230,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28861218 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28861231,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28861219 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28861232,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28861220 lien utilise dans velours : https://marlene.fotonower.com/velours/28861221,28861222,28861223,28861224,28861225,28861226,28861227,28861228,28861229,28861230,28861231,28861232?tags=kraft,Carton_brun,cartonnette,flou,Teint_Dans_La_Masse,plastique,mal_croppe,Carton_gris,papier,autre_refus,environnement,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28861206]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1396020518, 1396019106, 1396018986, 1396018983, 1396018981, 1396018979, 1396018967, 1396018950, 1396018944, 1396018918, 1396018846, 1396018843, 1396018840, 1396018838, 1396018837, 1396018836, 1396018831, 1396018827, 1396018824, 1396018821, 1396018817, 1396018814, 1396018782, 1396018678, 1396018647, 1396018614, 1396018584, 1396018582, 1396018580, 1396018578, 1396016892] map_info['map_portfolio_photo'] : {28861206: [1396020518, 1396019106, 1396018986, 1396018983, 1396018981, 1396018979, 1396018967, 1396018950, 1396018944, 1396018918, 1396018846, 1396018843, 1396018840, 1396018838, 1396018837, 1396018836, 1396018831, 1396018827, 1396018824, 1396018821, 1396018817, 1396018814, 1396018782, 1396018678, 1396018647, 1396018614, 1396018584, 1396018582, 1396018580, 1396018578, 1396016892]} final : False mtd_id 4302 list_pids : [1396020518, 1396019106, 1396018986, 1396018983, 1396018981, 1396018979, 1396018967, 1396018950, 1396018944, 1396018918, 1396018846, 1396018843, 1396018840, 1396018838, 1396018837, 1396018836, 1396018831, 1396018827, 1396018824, 1396018821, 1396018817, 1396018814, 1396018782, 1396018678, 1396018647, 1396018614, 1396018584, 1396018582, 1396018580, 1396018578, 1396016892] Looping around the photos to save general results len do output : 1 /28861206. 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, '4108912') ('4302', '28861206', '1396020518', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396019106', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018986', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018983', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018981', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018979', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018967', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018950', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018944', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018918', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018846', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018843', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018840', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018838', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018837', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018836', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018831', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018827', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018824', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018821', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018817', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018814', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018782', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018678', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018647', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018614', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018584', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018582', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018580', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018578', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396016892', None, None, None, None, None, '4108912') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 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, '28861206', "{'kraft': 28861209, 'Carton_brun': 28861210, 'cartonnette': 28861211, 'flou': 28861212, 'Teint_Dans_La_Masse': 28861213, 'plastique': 28861214, 'mal_croppe': 28861215, 'Carton_gris': 28861216, 'papier': 28861217, 'autre_refus': 28861218, 'environnement': 28861219, 'metal': 28861220}", None, None, None, None, '4108912'), ('4302', '28861206', '1396020518', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396019106', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018986', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018983', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018981', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018979', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018967', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018950', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018944', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018918', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018846', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018843', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018840', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018838', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018837', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018836', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018831', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018827', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018824', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018821', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018817', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018814', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018782', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018678', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018647', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018614', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018584', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018582', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018580', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018578', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396016892', None, None, None, None, None, '4108912')] time used for this insertion : 0.018413066864013672 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8531761169433594 time spend to save output : 0.018931150436401367 total time spend for step 1 : 1.8721072673797607 step2:final Tue Nov 25 06:14:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28861206) 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 28861206 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1396016892,1396018584,1396018582,1396018580,1396018578,1396018678,1396018647,1396018614,1396018782,1396018831,1396018827,1396018824,1396018821,1396018817,1396018814,1396018846,1396018843,1396018840,1396018838,1396018837,1396018836,1396018967,1396018950,1396018944,1396018918,1396018986,1396018983,1396018981,1396018979,1396019106,1396020518); 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([28861206]) Inside saveOutput : final : False verbose : True original output for save of step final : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} new output for save of step final : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} [1396020518, 1396019106, 1396018986, 1396018983, 1396018981, 1396018979, 1396018967, 1396018950, 1396018944, 1396018918, 1396018846, 1396018843, 1396018840, 1396018838, 1396018837, 1396018836, 1396018831, 1396018827, 1396018824, 1396018821, 1396018817, 1396018814, 1396018782, 1396018678, 1396018647, 1396018614, 1396018584, 1396018582, 1396018580, 1396018578, 1396016892] map_info['map_portfolio_photo'] : {28861206: [1396020518, 1396019106, 1396018986, 1396018983, 1396018981, 1396018979, 1396018967, 1396018950, 1396018944, 1396018918, 1396018846, 1396018843, 1396018840, 1396018838, 1396018837, 1396018836, 1396018831, 1396018827, 1396018824, 1396018821, 1396018817, 1396018814, 1396018782, 1396018678, 1396018647, 1396018614, 1396018584, 1396018582, 1396018580, 1396018578, 1396016892]} final : False mtd_id 4302 list_pids : [1396020518, 1396019106, 1396018986, 1396018983, 1396018981, 1396018979, 1396018967, 1396018950, 1396018944, 1396018918, 1396018846, 1396018843, 1396018840, 1396018838, 1396018837, 1396018836, 1396018831, 1396018827, 1396018824, 1396018821, 1396018817, 1396018814, 1396018782, 1396018678, 1396018647, 1396018614, 1396018584, 1396018582, 1396018580, 1396018578, 1396016892] Looping around the photos to save general results len do output : 31 /1396020518.Didn't retrieve data . /1396019106.Didn't retrieve data . /1396018986.Didn't retrieve data . /1396018983.Didn't retrieve data . /1396018981.Didn't retrieve data . /1396018979.Didn't retrieve data . /1396018967.Didn't retrieve data . /1396018950.Didn't retrieve data . /1396018944.Didn't retrieve data . /1396018918.Didn't retrieve data . /1396018846.Didn't retrieve data . /1396018843.Didn't retrieve data . /1396018840.Didn't retrieve data . /1396018838.Didn't retrieve data . /1396018837.Didn't retrieve data . /1396018836.Didn't retrieve data . /1396018831.Didn't retrieve data . /1396018827.Didn't retrieve data . /1396018824.Didn't retrieve data . /1396018821.Didn't retrieve data . /1396018817.Didn't retrieve data . /1396018814.Didn't retrieve data . /1396018782.Didn't retrieve data . /1396018678.Didn't retrieve data . /1396018647.Didn't retrieve data . /1396018614.Didn't retrieve data . /1396018584.Didn't retrieve data . /1396018582.Didn't retrieve data . /1396018580.Didn't retrieve data . /1396018578.Didn't retrieve data . /1396016892.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, '4108912') ('4302', '28861206', '1396020518', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396019106', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018986', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018983', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018981', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018979', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018967', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018950', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018944', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018918', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018846', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018843', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018840', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018838', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018837', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018836', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018831', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018827', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018824', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018821', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018817', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018814', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018782', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018678', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018647', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018614', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018584', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018582', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018580', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018578', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396016892', None, None, None, None, None, '4108912') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 93 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', '28861206', '1396020518', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396019106', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018986', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018983', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018981', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018979', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018967', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018950', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018944', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018918', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018846', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018843', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018840', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018838', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018837', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018836', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018831', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018827', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018824', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018821', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018817', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018814', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018782', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018678', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018647', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018614', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018584', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018582', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018580', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396018578', '0.029312233121478314', None, None, None, None, '4108912'), ('4302', '28861206', '1396016892', '0.029312233121478314', None, None, None, None, '4108912')] time used for this insertion : 0.018619537353515625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07873988151550293 time spend to save output : 0.01995706558227539 total time spend for step 2 : 0.09869694709777832 step3:velours_tree Tue Nov 25 06:14:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {28861206: [{'kraft': 28861209, 'Carton_brun': 28861210, 'cartonnette': 28861211, 'flou': 28861212, 'Teint_Dans_La_Masse': 28861213, 'plastique': 28861214, 'mal_croppe': 28861215, 'Carton_gris': 28861216, 'papier': 28861217, 'autre_refus': 28861218, 'environnement': 28861219, 'metal': 28861220}]} input_args_next_step : {28861206: ()} output_args : {28861206: [{'kraft': 28861209, 'Carton_brun': 28861210, 'cartonnette': 28861211, 'flou': 28861212, 'Teint_Dans_La_Masse': 28861213, 'plastique': 28861214, 'mal_croppe': 28861215, 'Carton_gris': 28861216, 'papier': 28861217, 'autre_refus': 28861218, 'environnement': 28861219, 'metal': 28861220}]} args : 28861206 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 : ({'kraft': 28861209, 'Carton_brun': 28861210, 'cartonnette': 28861211, 'flou': 28861212, 'Teint_Dans_La_Masse': 28861213, 'plastique': 28861214, 'mal_croppe': 28861215, 'Carton_gris': 28861216, 'papier': 28861217, 'autre_refus': 28861218, 'environnement': 28861219, 'metal': 28861220},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28861206) 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([28861206]) 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.287766695022583 time spend to save output : 5.793571472167969e-05 total time spend for step 3 : 0.2878246307373047 step4:send_mail_cod Tue Nov 25 06:14:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} input_args_next_step : {1396020518: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396020518 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396019106 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018986 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018983 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018981 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018979 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018967 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018950 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018944 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018918 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018846 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018843 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018840 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018838 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018837 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018836 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018831 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018827 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018824 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018821 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018817 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018814 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018782 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018678 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018647 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018614 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018584 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018582 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018580 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396018578 depend.output_id : 0 input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ()} output_args : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',)} args : 1396016892 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 : {28861206: [{'kraft': 28861209, 'Carton_brun': 28861210, 'cartonnette': 28861211, 'flou': 28861212, 'Teint_Dans_La_Masse': 28861213, 'plastique': 28861214, 'mal_croppe': 28861215, 'Carton_gris': 28861216, 'papier': 28861217, 'autre_refus': 28861218, 'environnement': 28861219, 'metal': 28861220}]} input_args_next_step : {1396020518: ('0.029312233121478314',), 1396019106: ('0.029312233121478314',), 1396018986: ('0.029312233121478314',), 1396018983: ('0.029312233121478314',), 1396018981: ('0.029312233121478314',), 1396018979: ('0.029312233121478314',), 1396018967: ('0.029312233121478314',), 1396018950: ('0.029312233121478314',), 1396018944: ('0.029312233121478314',), 1396018918: ('0.029312233121478314',), 1396018846: ('0.029312233121478314',), 1396018843: ('0.029312233121478314',), 1396018840: ('0.029312233121478314',), 1396018838: ('0.029312233121478314',), 1396018837: ('0.029312233121478314',), 1396018836: ('0.029312233121478314',), 1396018831: ('0.029312233121478314',), 1396018827: ('0.029312233121478314',), 1396018824: ('0.029312233121478314',), 1396018821: ('0.029312233121478314',), 1396018817: ('0.029312233121478314',), 1396018814: ('0.029312233121478314',), 1396018782: ('0.029312233121478314',), 1396018678: ('0.029312233121478314',), 1396018647: ('0.029312233121478314',), 1396018614: ('0.029312233121478314',), 1396018584: ('0.029312233121478314',), 1396018582: ('0.029312233121478314',), 1396018580: ('0.029312233121478314',), 1396018578: ('0.029312233121478314',), 1396016892: ('0.029312233121478314',), 28861206: ()} output_args : {28861206: [{'kraft': 28861209, 'Carton_brun': 28861210, 'cartonnette': 28861211, 'flou': 28861212, 'Teint_Dans_La_Masse': 28861213, 'plastique': 28861214, 'mal_croppe': 28861215, 'Carton_gris': 28861216, 'papier': 28861217, 'autre_refus': 28861218, 'environnement': 28861219, 'metal': 28861220}]} args : 28861206 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 :32, first value : ('0.029312233121478314',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28861206) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos_view ph WHERE photo_id IN (1396020518,1396019106,1396018986,1396018983,1396018981,1396018979,1396018967,1396018950,1396018944,1396018918,1396018846,1396018843,1396018840,1396018838,1396018837,1396018836,1396018831,1396018827,1396018824,1396018821,1396018817,1396018814,1396018782,1396018678,1396018647,1396018614,1396018584,1396018582,1396018580,1396018578,1396016892) Found this number of photos: 31 ##### Call download_photos : nb_thread : 5 begin to download photo : 1396016892 begin to download photo : 1396018678 begin to download photo : 1396018918 begin to download photo : 1396018831 begin to download photo : 1396018986 download finish for photo 1396018831 begin to download photo : 1396018836 download finish for photo 1396016892 begin to download photo : 1396018578 download finish for photo 1396018918 begin to download photo : 1396018944 download finish for photo 1396018986 begin to download photo : 1396019106 download finish for photo 1396018678 begin to download photo : 1396018782 download finish for photo 1396018944 begin to download photo : 1396018950 download finish for photo 1396018578 begin to download photo : 1396018580 download finish for photo 1396018836 begin to download photo : 1396018837 download finish for photo 1396019106 begin to download photo : 1396020518 download finish for photo 1396018782 begin to download photo : 1396018814 download finish for photo 1396018950 begin to download photo : 1396018967 download finish for photo 1396018580 begin to download photo : 1396018582 download finish for photo 1396018837 begin to download photo : 1396018838 download finish for photo 1396020518 download finish for photo 1396018967 begin to download photo : 1396018979 download finish for photo 1396018582 begin to download photo : 1396018584 download finish for photo 1396018814 begin to download photo : 1396018817 download finish for photo 1396018838 begin to download photo : 1396018840 download finish for photo 1396018979 begin to download photo : 1396018981 download finish for photo 1396018584 begin to download photo : 1396018614 download finish for photo 1396018817 begin to download photo : 1396018821 download finish for photo 1396018840 begin to download photo : 1396018843 download finish for photo 1396018981 begin to download photo : 1396018983 download finish for photo 1396018843 begin to download photo : 1396018846 download finish for photo 1396018614 begin to download photo : 1396018647 download finish for photo 1396018821 begin to download photo : 1396018824 download finish for photo 1396018983 download finish for photo 1396018846 download finish for photo 1396018647 download finish for photo 1396018824 begin to download photo : 1396018827 download finish for photo 1396018827 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 : 31 ; length of list_pids : 31 ; length of list_args : 31 results_Auto_P28861206_25-11-2025_06_14_31.pdf 28861209 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28861209 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396018851: '1764043866_316450_1396016892_05ba72d1041b843a8e6db1101739cc1b_rle_crop_4044574215_0.png'} change filename to text .imagette288612091764047671/ imagette288612091764047671/1764043866_316450_1396016892_05ba72d1041b843a8e6db1101739cc1b_rle_crop_4044574215_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/9c495140e025348c50382b57b32f5b34_54973669.png imagette288612091764047671 28861211 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28861211 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396018810: '1764043767_312190_1396018678_13c7d2b8bc33731700aee9966b8851e7_rle_crop_4044573772_0.png', 1396018811: '1764043767_312190_1396018580_1a58ea2fbebbc683ce2ca39cfb93aa40_rle_crop_4044573788_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/b5cfc244e6311ef5819822654644cded_51608223.png change filename to text .imagette288612111764047672/ imagette288612111764047672/1764043767_312190_1396018580_1a58ea2fbebbc683ce2ca39cfb93aa40_rle_crop_4044573788_0.png.png imagette288612111764047672/1764043767_312190_1396018678_13c7d2b8bc33731700aee9966b8851e7_rle_crop_4044573772_0.png.png imagette288612121764047672/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/d99445709b962a3879bf0b63017074c1_53194424.png imagette288612111764047672 28861212 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28861212 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette288612121764047672 28861214 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28861214 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396018794: '1764043746_311778_1396018647_cdc8c35ec602fb7f4ef38db90960276e_rle_crop_4044573693_0.png', 1396021142: '1764046026_399220_1396018647_cdc8c35ec602fb7f4ef38db90960276e_rle_crop_4044573693_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/f877d5c263b469f58d32c27b0f626a9f_49784410.png change filename to text .imagette288612141764047672/ imagette288612141764047672/1764043746_311778_1396018647_cdc8c35ec602fb7f4ef38db90960276e_rle_crop_4044573693_0.png.png imagette288612141764047672/1764046026_399220_1396018647_cdc8c35ec602fb7f4ef38db90960276e_rle_crop_4044573693_0.png.png imagette288612151764047672/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/f877d5c263b469f58d32c27b0f626a9f_76089149.png imagette288612141764047672 28861215 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28861215 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette288612151764047672 28861218 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28861218 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396018808: '1764043767_312190_1396018678_13c7d2b8bc33731700aee9966b8851e7_rle_crop_4044573780_0.png', 1396018809: '1764043767_312190_1396018580_1a58ea2fbebbc683ce2ca39cfb93aa40_rle_crop_4044573787_0.png', 1396019084: '1764044005_322030_1396018837_91c2bf814e729716e89791776a747704_rle_crop_4044575645_0.png', 1396019445: '1764044225_332389_1396018824_d27e020b8a7517fd95f5d23bcd9677f8_rle_crop_4044578053_0.png', 1396019448: '1764044225_332389_1396018824_d27e020b8a7517fd95f5d23bcd9677f8_rle_crop_4044578055_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/bd22e0a1ce02e87984ac1005f216b644_68865286.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/fbcdfe013d849f6cf655acc9a5e436fe_97095437.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/cb3e70bfc3c342cb6c847a4876dfa431_25428575.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/51636820cf781545963b3fe5bf26e4a2_30927152.png change filename to text .imagette288612181764047672/ imagette288612181764047672/1764044225_332389_1396018824_d27e020b8a7517fd95f5d23bcd9677f8_rle_crop_4044578055_0.png.png imagette288612181764047672/1764044005_322030_1396018837_91c2bf814e729716e89791776a747704_rle_crop_4044575645_0.png.png imagette288612181764047672/1764044225_332389_1396018824_d27e020b8a7517fd95f5d23bcd9677f8_rle_crop_4044578053_0.png.png imagette288612181764047672/1764043767_312190_1396018678_13c7d2b8bc33731700aee9966b8851e7_rle_crop_4044573780_0.png.png imagette288612181764047672/1764043767_312190_1396018580_1a58ea2fbebbc683ce2ca39cfb93aa40_rle_crop_4044573787_0.png.png imagette288612201764047673/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/3dddcbe14692d80065ec867466cf0984_54064460.png imagette288612181764047672 28861220 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28861220 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette288612201764047673 28861210 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28861210 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396018813: '1764043767_312190_1396018678_13c7d2b8bc33731700aee9966b8851e7_rle_crop_4044573779_0.png', 1396019040: '1764043986_321325_1396018944_100150d41ac94c2c6501b60c0fd825d2_rle_crop_4044575586_0.png', 1396019190: '1764044125_327357_1396018986_1bbc996b920657db6392650d611020de_rle_crop_4044575863_0.png', 1396019450: '1764044225_332389_1396018821_a76bbcd52df693b59f09f370bf24696a_rle_crop_4044578085_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/b5d971adf98611bbc9dfa94b8fc01fd1_95106730.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/b6ee49bae512ad7dceafb42d03781fb7_75938889.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/bac0ece6b032a8c3112182336b62d4aa_59818955.png change filename to text .imagette288612101764047673/ imagette288612101764047673/1764043986_321325_1396018944_100150d41ac94c2c6501b60c0fd825d2_rle_crop_4044575586_0.png.png imagette288612101764047673/1764043767_312190_1396018678_13c7d2b8bc33731700aee9966b8851e7_rle_crop_4044573779_0.png.png imagette288612101764047673/1764044225_332389_1396018821_a76bbcd52df693b59f09f370bf24696a_rle_crop_4044578085_0.png.png imagette288612101764047673/1764044125_327357_1396018986_1bbc996b920657db6392650d611020de_rle_crop_4044575863_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/d235d83f664290bd2e695d4243801d96_18630192.png imagette288612101764047673 28861213 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28861213 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396018806: '1764043767_312190_1396018580_1a58ea2fbebbc683ce2ca39cfb93aa40_rle_crop_4044573790_0.png', 1396018807: '1764043767_312190_1396018578_db71de45379148464dae636caa240a30_rle_crop_4044573794_0.png', 1396019032: '1764043986_321325_1396018944_100150d41ac94c2c6501b60c0fd825d2_rle_crop_4044575582_0.png', 1396019079: '1764044005_322030_1396018837_91c2bf814e729716e89791776a747704_rle_crop_4044575652_0.png', 1396019180: '1764044106_326970_1396018983_d781af83e982471a391ddf49b5470606_rle_crop_4044575785_0.png', 1396019181: '1764044106_326970_1396018979_f28aab581ef075ead7d0c81ac34532dd_rle_crop_4044575803_0.png', 1396019428: '1764044225_332389_1396018846_762f0f374a9c58412efa9af027bd447f_rle_crop_4044578033_0.png', 1396019431: '1764044225_332389_1396018814_fa99191a93ba6cd0fb55f6c7c1d08c50_rle_crop_4044578131_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/afa9c428c716659ecbaa8db79e484976_26398832.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/b512cb23924566daac4ca131f8cb77ad_80420444.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/0a98c9fe50e9b551e5888b7d1ec2bed9_86981802.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/323246f38b4fa75c1a517933518d9b26_23032975.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/9090381c64124cca2c99590a504fce08_64293091.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/8873a58ca9c123acde3907e99436867e_29884162.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/ef618a7ec1abbe9f7ec88538b5ddd779_80870344.png change filename to text .imagette288612131764047673/ imagette288612131764047673/1764044005_322030_1396018837_91c2bf814e729716e89791776a747704_rle_crop_4044575652_0.png.png imagette288612131764047673/1764044106_326970_1396018979_f28aab581ef075ead7d0c81ac34532dd_rle_crop_4044575803_0.png.png imagette288612131764047673/1764043767_312190_1396018578_db71de45379148464dae636caa240a30_rle_crop_4044573794_0.png.png imagette288612131764047673/1764044225_332389_1396018814_fa99191a93ba6cd0fb55f6c7c1d08c50_rle_crop_4044578131_0.png.png imagette288612131764047673/1764044106_326970_1396018983_d781af83e982471a391ddf49b5470606_rle_crop_4044575785_0.png.png imagette288612131764047673/1764043767_312190_1396018580_1a58ea2fbebbc683ce2ca39cfb93aa40_rle_crop_4044573790_0.png.png imagette288612131764047673/1764044225_332389_1396018846_762f0f374a9c58412efa9af027bd447f_rle_crop_4044578033_0.png.png imagette288612131764047673/1764043986_321325_1396018944_100150d41ac94c2c6501b60c0fd825d2_rle_crop_4044575582_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/2139ad2b6632f121d4636e8b1098a471_20774531.png imagette288612131764047673 28861216 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28861216 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396018792: '1764043746_311778_1396018614_c2a1c69bb9dbcd1c495fc4035659cd13_rle_crop_4044573712_0.png', 1396018849: '1764043866_316450_1396016892_05ba72d1041b843a8e6db1101739cc1b_rle_crop_4044574211_0.png', 1396019182: '1764044106_326970_1396018983_d781af83e982471a391ddf49b5470606_rle_crop_4044575782_0.png', 1396021139: '1764046026_399220_1396018614_c2a1c69bb9dbcd1c495fc4035659cd13_rle_crop_4044573712_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/affb4aeaee32837d2c77e7dd1b379f31_2900342.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/b1e1225ecbcd6c5db5b134c1c328aa8a_72181807.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/6d4d34846b7047fab99dcf35e1aa6371_99465661.png change filename to text .imagette288612161764047674/ imagette288612161764047674/1764043866_316450_1396016892_05ba72d1041b843a8e6db1101739cc1b_rle_crop_4044574211_0.png.png imagette288612161764047674/1764043746_311778_1396018614_c2a1c69bb9dbcd1c495fc4035659cd13_rle_crop_4044573712_0.png.png imagette288612161764047674/1764044106_326970_1396018983_d781af83e982471a391ddf49b5470606_rle_crop_4044575782_0.png.png imagette288612161764047674/1764046026_399220_1396018614_c2a1c69bb9dbcd1c495fc4035659cd13_rle_crop_4044573712_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/affb4aeaee32837d2c77e7dd1b379f31_60072490.png imagette288612161764047674 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28861206 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28861221,28861222,28861223,28861224,28861225,28861226,28861227,28861228,28861229,28861230,28861231,28861232?tags=kraft,Carton_brun,cartonnette,flou,Teint_Dans_La_Masse,plastique,mal_croppe,Carton_gris,papier,autre_refus,environnement,metal your option no_mail is active, we will not send the real mail to your client args[1396020518] : ('0.029312233121478314',) no score found for photo 1396020518 We are sending mail with results at report@fotonower.com args[1396019106] : ('0.029312233121478314',) no score found for photo 1396019106 We are sending mail with results at report@fotonower.com args[1396018986] : ('0.029312233121478314',) no score found for photo 1396018986 We are sending mail with results at report@fotonower.com args[1396018983] : ('0.029312233121478314',) no score found for photo 1396018983 We are sending mail with results at report@fotonower.com args[1396018981] : ('0.029312233121478314',) no score found for photo 1396018981 We are sending mail with results at report@fotonower.com args[1396018979] : ('0.029312233121478314',) no score found for photo 1396018979 We are sending mail with results at report@fotonower.com args[1396018967] : ('0.029312233121478314',) no score found for photo 1396018967 We are sending mail with results at report@fotonower.com args[1396018950] : ('0.029312233121478314',) no score found for photo 1396018950 We are sending mail with results at report@fotonower.com args[1396018944] : ('0.029312233121478314',) no score found for photo 1396018944 We are sending mail with results at report@fotonower.com args[1396018918] : ('0.029312233121478314',) no score found for photo 1396018918 We are sending mail with results at report@fotonower.com args[1396018846] : ('0.029312233121478314',) no score found for photo 1396018846 We are sending mail with results at report@fotonower.com args[1396018843] : ('0.029312233121478314',) no score found for photo 1396018843 We are sending mail with results at report@fotonower.com args[1396018840] : ('0.029312233121478314',) no score found for photo 1396018840 We are sending mail with results at report@fotonower.com args[1396018838] : ('0.029312233121478314',) no score found for photo 1396018838 We are sending mail with results at report@fotonower.com args[1396018837] : ('0.029312233121478314',) no score found for photo 1396018837 We are sending mail with results at report@fotonower.com args[1396018836] : ('0.029312233121478314',) no score found for photo 1396018836 We are sending mail with results at report@fotonower.com args[1396018831] : ('0.029312233121478314',) no score found for photo 1396018831 We are sending mail with results at report@fotonower.com args[1396018827] : ('0.029312233121478314',) no score found for photo 1396018827 We are sending mail with results at report@fotonower.com args[1396018824] : ('0.029312233121478314',) no score found for photo 1396018824 We are sending mail with results at report@fotonower.com args[1396018821] : ('0.029312233121478314',) no score found for photo 1396018821 We are sending mail with results at report@fotonower.com args[1396018817] : ('0.029312233121478314',) no score found for photo 1396018817 We are sending mail with results at report@fotonower.com args[1396018814] : ('0.029312233121478314',) no score found for photo 1396018814 We are sending mail with results at report@fotonower.com args[1396018782] : ('0.029312233121478314',) no score found for photo 1396018782 We are sending mail with results at report@fotonower.com args[1396018678] : ('0.029312233121478314',) no score found for photo 1396018678 We are sending mail with results at report@fotonower.com args[1396018647] : ('0.029312233121478314',) no score found for photo 1396018647 We are sending mail with results at report@fotonower.com args[1396018614] : ('0.029312233121478314',) no score found for photo 1396018614 We are sending mail with results at report@fotonower.com args[1396018584] : ('0.029312233121478314',) no score found for photo 1396018584 We are sending mail with results at report@fotonower.com args[1396018582] : ('0.029312233121478314',) no score found for photo 1396018582 We are sending mail with results at report@fotonower.com args[1396018580] : ('0.029312233121478314',) no score found for photo 1396018580 We are sending mail with results at report@fotonower.com args[1396018578] : ('0.029312233121478314',) no score found for photo 1396018578 We are sending mail with results at report@fotonower.com args[1396016892] : ('0.029312233121478314',) no score found for photo 1396016892 We are sending mail with results at report@fotonower.com refus_total : 0.029312233121478314 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28861206 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_P28861206_25-11-2025_06_14_31.pdf results_Auto_P28861206_25-11-2025_06_14_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28861206_25-11-2025_06_14_31.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','28861206','results_Auto_P28861206_25-11-2025_06_14_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28861206_25-11-2025_06_14_31.pdf','pdf','','0.29','0.029312233121478314') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28861206]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1396020518, 1396019106, 1396018986, 1396018983, 1396018981, 1396018979, 1396018967, 1396018950, 1396018944, 1396018918, 1396018846, 1396018843, 1396018840, 1396018838, 1396018837, 1396018836, 1396018831, 1396018827, 1396018824, 1396018821, 1396018817, 1396018814, 1396018782, 1396018678, 1396018647, 1396018614, 1396018584, 1396018582, 1396018580, 1396018578, 1396016892] map_info['map_portfolio_photo'] : {28861206: [1396020518, 1396019106, 1396018986, 1396018983, 1396018981, 1396018979, 1396018967, 1396018950, 1396018944, 1396018918, 1396018846, 1396018843, 1396018840, 1396018838, 1396018837, 1396018836, 1396018831, 1396018827, 1396018824, 1396018821, 1396018817, 1396018814, 1396018782, 1396018678, 1396018647, 1396018614, 1396018584, 1396018582, 1396018580, 1396018578, 1396016892]} final : False mtd_id 4302 list_pids : [1396020518, 1396019106, 1396018986, 1396018983, 1396018981, 1396018979, 1396018967, 1396018950, 1396018944, 1396018918, 1396018846, 1396018843, 1396018840, 1396018838, 1396018837, 1396018836, 1396018831, 1396018827, 1396018824, 1396018821, 1396018817, 1396018814, 1396018782, 1396018678, 1396018647, 1396018614, 1396018584, 1396018582, 1396018580, 1396018578, 1396016892] 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, '4108912') ('4302', '28861206', '1396020518', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396019106', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018986', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018983', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018981', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018979', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018967', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018950', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018944', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018918', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018846', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018843', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018840', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018838', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018837', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018836', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018831', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018827', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018824', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018821', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018817', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018814', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018782', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018678', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018647', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018614', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018584', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018582', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018580', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018578', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396016892', None, None, None, None, None, '4108912') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '28861206', '1396020518', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396019106', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018986', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018983', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018981', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018979', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018967', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018950', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018944', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018918', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018846', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018843', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018840', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018838', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018837', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018836', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018831', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018827', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018824', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018821', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018817', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018814', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018782', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018678', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018647', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018614', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018584', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018582', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018580', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018578', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396016892', None, None, None, None, None, '4108912')] time used for this insertion : 0.01841592788696289 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.554640293121338 time spend to save output : 0.018776416778564453 total time spend for step 4 : 5.573416709899902 step5:split_time_score Tue Nov 25 06:14:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['28861206'] 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 : [('28861206',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28861206) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1396018986: {'path': 'temp/1764047670_1319856_1396018986_1bbc996b920657db6392650d611020de.jpg', 'extension': 'jpg'}, 1396019106: {'path': 'temp/1764047670_1319856_1396019106_aeb463b594cbf960e4b988ac8f76e88c.jpg', 'extension': 'jpg'}, 1396020518: {'path': 'temp/1764047670_1319856_1396020518_b3d28f793e32643e07621b30dc5a0653.jpg', 'extension': 'jpg'}, 1396018918: {'path': 'temp/1764047670_1319856_1396018918_94a080a281a62ec8b80ecc574daf427f.jpg', 'extension': 'jpg'}, 1396018944: {'path': 'temp/1764047670_1319856_1396018944_100150d41ac94c2c6501b60c0fd825d2.jpg', 'extension': 'jpg'}, 1396018950: {'path': 'temp/1764047670_1319856_1396018950_906efa5925615e4b8cf697c1f733fd53.jpg', 'extension': 'jpg'}, 1396018967: {'path': 'temp/1764047670_1319856_1396018967_29b6bb82d7591d34ae5b2912ae41ac17.jpg', 'extension': 'jpg'}, 1396018979: {'path': 'temp/1764047670_1319856_1396018979_f28aab581ef075ead7d0c81ac34532dd.jpg', 'extension': 'jpg'}, 1396018981: {'path': 'temp/1764047670_1319856_1396018981_befcc1f7ae61bfc63cffa86c04cbd851.jpg', 'extension': 'jpg'}, 1396018983: {'path': 'temp/1764047670_1319856_1396018983_d781af83e982471a391ddf49b5470606.jpg', 'extension': 'jpg'}, 1396018831: {'path': 'temp/1764047670_1319856_1396018831_c7033c2ed1309729c470e8a369c57f03.jpg', 'extension': 'jpg'}, 1396018836: {'path': 'temp/1764047670_1319856_1396018836_5cbdf181f7dedaa1bb19339ca840f463.jpg', 'extension': 'jpg'}, 1396018837: {'path': 'temp/1764047670_1319856_1396018837_91c2bf814e729716e89791776a747704.jpg', 'extension': 'jpg'}, 1396018838: {'path': 'temp/1764047670_1319856_1396018838_6c1b31f32123dba1b81e420b6af9f249.jpg', 'extension': 'jpg'}, 1396018840: {'path': 'temp/1764047670_1319856_1396018840_0b290202670c9c883d30b2f814c506a6.jpg', 'extension': 'jpg'}, 1396018843: {'path': 'temp/1764047670_1319856_1396018843_e109b93cf19bf33d7f5e7bfd9da39e10.jpg', 'extension': 'jpg'}, 1396018846: {'path': 'temp/1764047670_1319856_1396018846_762f0f374a9c58412efa9af027bd447f.jpg', 'extension': 'jpg'}, 1396016892: {'path': 'temp/1764047670_1319856_1396016892_05ba72d1041b843a8e6db1101739cc1b.jpg', 'extension': 'jpg'}, 1396018578: {'path': 'temp/1764047670_1319856_1396018578_db71de45379148464dae636caa240a30.jpg', 'extension': 'jpg'}, 1396018580: {'path': 'temp/1764047670_1319856_1396018580_1a58ea2fbebbc683ce2ca39cfb93aa40.jpg', 'extension': 'jpg'}, 1396018582: {'path': 'temp/1764047670_1319856_1396018582_7bd2cae2e5ccbb965b65b027f78acd15.jpg', 'extension': 'jpg'}, 1396018584: {'path': 'temp/1764047670_1319856_1396018584_443caca15bb6291dababb1acfa55061e.jpg', 'extension': 'jpg'}, 1396018614: {'path': 'temp/1764047670_1319856_1396018614_c2a1c69bb9dbcd1c495fc4035659cd13.jpg', 'extension': 'jpg'}, 1396018647: {'path': 'temp/1764047670_1319856_1396018647_cdc8c35ec602fb7f4ef38db90960276e.jpg', 'extension': 'jpg'}, 1396018678: {'path': 'temp/1764047670_1319856_1396018678_13c7d2b8bc33731700aee9966b8851e7.jpg', 'extension': 'jpg'}, 1396018782: {'path': 'temp/1764047670_1319856_1396018782_a64a903dfc5bcf47e4cbe638c4648feb.jpg', 'extension': 'jpg'}, 1396018814: {'path': 'temp/1764047670_1319856_1396018814_fa99191a93ba6cd0fb55f6c7c1d08c50.jpg', 'extension': 'jpg'}, 1396018817: {'path': 'temp/1764047670_1319856_1396018817_afd3af74adb1856c3371d47a79da0852.jpg', 'extension': 'jpg'}, 1396018821: {'path': 'temp/1764047670_1319856_1396018821_a76bbcd52df693b59f09f370bf24696a.jpg', 'extension': 'jpg'}, 1396018824: {'path': 'temp/1764047670_1319856_1396018824_d27e020b8a7517fd95f5d23bcd9677f8.jpg', 'extension': 'jpg'}, 1396018827: {'path': 'temp/1764047670_1319856_1396018827_bb743754ed0c9cd04e8e35f487ba958d.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 = 28861206; (('arc_en_ciel_jrm_bis',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 28861206 group by h (('05', 31),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28861206 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 (28861206) 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 (28861206) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 25112025 28861206 Nombre de photos uploadées : 31 / 23040 (0%) 25112025 28861206 Nombre de photos taguées (types de déchets): 0 / 31 (0%) 25112025 28861206 Nombre de photos taguées (volume) : 0 / 31 (0%) [{'photo_id': 1396016892, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/05ba72d1041b843a8e6db1101739cc1b.jpg', 'username': None, 'uploaded_at': 1764043268, 'text': 'image_25112025_05_00_44_010142m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1396018584, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/443caca15bb6291dababb1acfa55061e.jpg', 'username': None, 'uploaded_at': 1764043627, 'text': 'image_25112025_05_00_54_010138m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1396018582, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/7bd2cae2e5ccbb965b65b027f78acd15.jpg', 'username': None, 'uploaded_at': 1764043627, 'text': 'image_25112025_05_06_24_010135m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1396018580, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/25/1a58ea2fbebbc683ce2ca39cfb93aa40.jpg', 'username': None, 'uploaded_at': 1764043627, 'text': 'image_25112025_05_06_34_010142m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ??????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001493692398071289 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 28861206, '2025-11-25' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-11-25' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2638238,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.27330684661865234 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= 2638238 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28852271, 'dashboard_result_id': 17671332, '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_P28852271_25-11-2025_00_18_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28852280, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28852281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28852282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28852283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28852284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28852285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28852286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28852287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28852288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28852289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28852290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28852291, 'pht': 3726}}"}, {'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28852822, 'dashboard_result_id': 17671333, '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_P28852822_25-11-2025_00_37_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28852827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28852828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28852829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28852830, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28852831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28852832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28852833, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28852834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28852835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28852836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28852837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28852838, 'pht': 3726}}"}, {'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28853228, 'dashboard_result_id': 17671334, '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_P28853228_25-11-2025_00_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28853234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28853235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28853236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28853237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28853238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28853239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28853240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28853241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28853242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28853243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28853244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28853245, 'pht': 3726}}"}, {'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28853609, 'dashboard_result_id': 17671335, '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_P28853609_25-11-2025_01_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28853618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28853619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28853620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28853621, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28853622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28853623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28853624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28853625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28853626, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28853627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28853628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28853629, 'pht': 3726}}"}, {'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28854780, 'dashboard_result_id': 17671336, '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_P28854780_25-11-2025_01_47_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28854785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28854786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28854787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28854788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28854789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28854790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28854791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28854792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28854793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28854794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28854795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28854796, 'pht': 3726}}"}, {'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28855135, 'dashboard_result_id': 17671337, '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_P28855135_25-11-2025_02_02_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28855144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28855145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28855146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28855147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28855148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28855149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28855151, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28855152, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28855153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28855154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28855155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28855156, 'pht': 3726}}"}, {'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28855515, 'dashboard_result_id': 17671338, '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_P28855515_25-11-2025_02_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28855520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28855521, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28855522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28855523, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28855524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28855525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28855526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28855527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28855528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28855529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28855530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28855531, 'pht': 3726}}"}, {'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28856051, 'dashboard_result_id': 17671339, '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_P28856051_25-11-2025_02_32_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28856076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28856077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28856078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28856079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28856080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28856081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28856082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28856083, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28856084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28856085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28856086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28856087, 'pht': 3726}}"}, {'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28856612, 'dashboard_result_id': 17671340, '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_P28856612_25-11-2025_02_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28856613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28856614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28856615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28856616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28856617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28856618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28856619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28856620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28856621, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28856622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28856623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28856624, 'pht': 3726}}"}, {'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28856969, 'dashboard_result_id': 17671341, '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_P28856969_25-11-2025_03_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28856995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28856996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28856997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28856998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28856999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28857000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28857001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28857002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28857003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28857004, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28857005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28857006, 'pht': 3726}}"}, {'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28857434, 'dashboard_result_id': 17671342, '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_P28857434_25-11-2025_03_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28857448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28857449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28857450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28857451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28857452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28857453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28857454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28857455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28857456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28857457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28857458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28857460, 'pht': 3726}}"}, {'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28857940, 'dashboard_result_id': 17671343, '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_P28857940_25-11-2025_03_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28857961, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28857962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28857963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28857964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28857965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28857966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28857967, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28857968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28857969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28857970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28857971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28857972, 'pht': 3726}}"}, {'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28858383, 'dashboard_result_id': 17671344, '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_P28858383_25-11-2025_03_49_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28858384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28858385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28858386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28858387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28858388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28858389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28858390, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28858391, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28858392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28858393, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28858394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28858395, 'pht': 3726}}"}, {'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28858949, 'dashboard_result_id': 17671345, '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_P28858949_25-11-2025_04_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28858974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28858975, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28858976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28858977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28858978, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28858979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28858980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28858981, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28858982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28858983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28858984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28858985, 'pht': 3726}}"}, {'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28859371, 'dashboard_result_id': 17671346, '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_P28859371_25-11-2025_06_01_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28859385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28859386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28859387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28859388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28859389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28859390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28859391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28859392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28859393, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28859394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28859395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28859396, 'pht': 3726}}"}, {'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28861206, 'dashboard_result_id': 17671347, '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_P28861206_25-11-2025_05_27_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28861209, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28861210, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28861211, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28861212, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28861213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28861214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28861215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28861216, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28861217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28861218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28861219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28861220, 'pht': 3726}}"}, {'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28861760, 'dashboard_result_id': 17671348, '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_P28861760_25-11-2025_05_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28861763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28861764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28861765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28861766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28861767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28861768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28861769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28861770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28861771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28861772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28861773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28861774, 'pht': 3726}}"}, {'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28861865, 'dashboard_result_id': 17671349, '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_P28861865_25-11-2025_05_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28861870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28861871, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28861872, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28861873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28861874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28861875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28861876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28861877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28861878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28861879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28861880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28861881, 'pht': 3726}}"}, {'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28862315, 'dashboard_result_id': 17671350, '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_P28862315_25-11-2025_06_05_27.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28862320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28862321, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28862322, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28862323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28862324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28862325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28862326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28862327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28862328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28862330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28862331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28862332, 'pht': 3726}}"}, {'dashboat_entry_day': 2638238, 'dashboard_run_id': 2646729, 'mtr_portfolio_id': 28862718, 'dashboard_result_id': 17671351, '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_P28862718_25-11-2025_06_12_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28862727, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28862728, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28862729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28862730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28862731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28862732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28862734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28862735, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28862737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28862738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28862739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28862741, '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 = 28852271 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': 4108896, 'mtr_portfolio_id': 28852271, 'created_at': datetime.datetime(2025, 11, 25, 6, 5, 59), 'result': '0.049333516183051554', 'result_long': None, 'result_double': None}] Qualite : 0.049333516183051554 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28852271 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28852271_25-11-2025_06_06_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28852271 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_P28852271_25-11-2025_06_06_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28852280, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28852281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28852282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28852283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28852284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28852285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28852286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28852287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28852288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28852289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28852290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28852291, 'pht': 3726}}" where mtr_portfolio_id = 28852271 and dashboard_run_id = 2646729 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`=28852271 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671332, 0.049333516183051554, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28852271_25-11-2025_06_06_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28852280, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28852281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28852282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28852283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28852284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28852285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28852286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28852287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28852288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28852289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28852290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28852291, '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 = 28852822 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': 4108897, 'mtr_portfolio_id': 28852822, 'created_at': datetime.datetime(2025, 11, 25, 6, 6, 13), 'result': '0.047831880986532856', 'result_long': None, 'result_double': None}] Qualite : 0.047831880986532856 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28852822 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28852822_25-11-2025_06_06_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28852822 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_P28852822_25-11-2025_06_06_17.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28852827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28852828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28852829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28852830, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28852831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28852832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28852833, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28852834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28852835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28852836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28852837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28852838, 'pht': 3726}}" where mtr_portfolio_id = 28852822 and dashboard_run_id = 2646729 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`=28852822 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671333, 0.047831880986532856, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28852822_25-11-2025_06_06_17.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28852827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28852828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28852829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28852830, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28852831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28852832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28852833, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28852834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28852835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28852836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28852837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28852838, '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 = 28853228 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': 4108898, 'mtr_portfolio_id': 28853228, 'created_at': datetime.datetime(2025, 11, 25, 6, 6, 57), 'result': '0.05847096078835345', 'result_long': None, 'result_double': None}] Qualite : 0.05847096078835345 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28853228 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28853228_25-11-2025_06_07_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28853228 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_P28853228_25-11-2025_06_07_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28853234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28853235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28853236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28853237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28853238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28853239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28853240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28853241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28853242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28853243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28853244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28853245, 'pht': 3726}}" where mtr_portfolio_id = 28853228 and dashboard_run_id = 2646729 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`=28853228 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671334, 0.05847096078835345, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28853228_25-11-2025_06_07_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28853234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28853235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28853236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28853237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28853238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28853239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28853240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28853241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28853242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28853243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28853244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28853245, '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 = 28853609 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': 4108899, 'mtr_portfolio_id': 28853609, 'created_at': datetime.datetime(2025, 11, 25, 6, 7, 31), 'result': '0.061999187655993215', 'result_long': None, 'result_double': None}] Qualite : 0.061999187655993215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28853609 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28853609_25-11-2025_06_07_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28853609 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_P28853609_25-11-2025_06_07_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28853618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28853619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28853620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28853621, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28853622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28853623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28853624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28853625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28853626, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28853627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28853628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28853629, 'pht': 3726}}" where mtr_portfolio_id = 28853609 and dashboard_run_id = 2646729 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`=28853609 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671335, 0.061999187655993215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28853609_25-11-2025_06_07_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28853618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28853619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28853620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28853621, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28853622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28853623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28853624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28853625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28853626, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28853627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28853628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28853629, '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 = 28854780 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': 4108900, 'mtr_portfolio_id': 28854780, 'created_at': datetime.datetime(2025, 11, 25, 6, 8, 1), 'result': '0.06832627871877223', 'result_long': None, 'result_double': None}] Qualite : 0.06832627871877223 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28854780 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28854780_25-11-2025_06_08_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28854780 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_P28854780_25-11-2025_06_08_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28854785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28854786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28854787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28854788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28854789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28854790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28854791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28854792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28854793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28854794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28854795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28854796, 'pht': 3726}}" where mtr_portfolio_id = 28854780 and dashboard_run_id = 2646729 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`=28854780 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671336, 0.06832627871877223, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28854780_25-11-2025_06_08_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28854785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28854786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28854787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28854788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28854789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28854790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28854791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28854792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28854793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28854794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28854795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28854796, '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 = 28855135 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': 4108901, 'mtr_portfolio_id': 28855135, 'created_at': datetime.datetime(2025, 11, 25, 6, 8, 30), 'result': '0.05083645559457072', 'result_long': None, 'result_double': None}] Qualite : 0.05083645559457072 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28855135 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28855135_25-11-2025_06_08_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28855135 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_P28855135_25-11-2025_06_08_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28855144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28855145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28855146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28855147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28855148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28855149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28855151, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28855152, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28855153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28855154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28855155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28855156, 'pht': 3726}}" where mtr_portfolio_id = 28855135 and dashboard_run_id = 2646729 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`=28855135 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671337, 0.05083645559457072, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28855135_25-11-2025_06_08_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28855144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28855145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28855146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28855147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28855148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28855149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28855151, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28855152, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28855153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28855154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28855155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28855156, '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 = 28855515 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': 4108902, 'mtr_portfolio_id': 28855515, 'created_at': datetime.datetime(2025, 11, 25, 6, 9, 26), 'result': '0.05390802139963221', 'result_long': None, 'result_double': None}] Qualite : 0.05390802139963221 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28855515 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28855515_25-11-2025_06_09_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28855515 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_P28855515_25-11-2025_06_09_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28855520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28855521, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28855522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28855523, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28855524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28855525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28855526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28855527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28855528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28855529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28855530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28855531, 'pht': 3726}}" where mtr_portfolio_id = 28855515 and dashboard_run_id = 2646729 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`=28855515 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671338, 0.05390802139963221, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28855515_25-11-2025_06_09_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28855520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28855521, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28855522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28855523, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28855524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28855525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28855526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28855527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28855528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28855529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28855530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28855531, '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 = 28856051 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': 4108903, 'mtr_portfolio_id': 28856051, 'created_at': datetime.datetime(2025, 11, 25, 6, 9, 58), 'result': '0.0421666125047908', 'result_long': None, 'result_double': None}] Qualite : 0.0421666125047908 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28856051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28856051_25-11-2025_06_10_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28856051 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_P28856051_25-11-2025_06_10_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28856076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28856077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28856078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28856079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28856080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28856081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28856082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28856083, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28856084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28856085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28856086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28856087, 'pht': 3726}}" where mtr_portfolio_id = 28856051 and dashboard_run_id = 2646729 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`=28856051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671339, 0.0421666125047908, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28856051_25-11-2025_06_10_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28856076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28856077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28856078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28856079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28856080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28856081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28856082, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28856083, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28856084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28856085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28856086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28856087, '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 = 28856612 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': 4108904, 'mtr_portfolio_id': 28856612, 'created_at': datetime.datetime(2025, 11, 25, 6, 10, 30), 'result': '0.07900121265334802', 'result_long': None, 'result_double': None}] Qualite : 0.07900121265334802 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28856612 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28856612_25-11-2025_06_10_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28856612 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_P28856612_25-11-2025_06_10_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28856613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28856614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28856615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28856616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28856617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28856618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28856619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28856620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28856621, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28856622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28856623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28856624, 'pht': 3726}}" where mtr_portfolio_id = 28856612 and dashboard_run_id = 2646729 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`=28856612 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671340, 0.07900121265334802, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28856612_25-11-2025_06_10_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28856613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28856614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28856615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28856616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28856617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28856618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28856619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28856620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28856621, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28856622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28856623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28856624, '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 = 28856969 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': 4108905, 'mtr_portfolio_id': 28856969, 'created_at': datetime.datetime(2025, 11, 25, 6, 11, 11), 'result': '0.04128446381566854', 'result_long': None, 'result_double': None}] Qualite : 0.04128446381566854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28856969 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28856969_25-11-2025_06_11_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28856969 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_P28856969_25-11-2025_06_11_14.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28856995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28856996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28856997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28856998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28856999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28857000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28857001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28857002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28857003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28857004, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28857005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28857006, 'pht': 3726}}" where mtr_portfolio_id = 28856969 and dashboard_run_id = 2646729 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`=28856969 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671341, 0.04128446381566854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28856969_25-11-2025_06_11_14.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28856995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28856996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28856997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28856998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28856999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28857000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28857001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28857002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28857003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28857004, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28857005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28857006, '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 = 28857434 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': 4108906, 'mtr_portfolio_id': 28857434, 'created_at': datetime.datetime(2025, 11, 25, 6, 11, 29), 'result': '0.049220871365716845', 'result_long': None, 'result_double': None}] Qualite : 0.049220871365716845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28857434 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28857434_25-11-2025_06_11_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28857434 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_P28857434_25-11-2025_06_11_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28857448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28857449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28857450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28857451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28857452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28857453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28857454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28857455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28857456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28857457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28857458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28857460, 'pht': 3726}}" where mtr_portfolio_id = 28857434 and dashboard_run_id = 2646729 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`=28857434 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671342, 0.049220871365716845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28857434_25-11-2025_06_11_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28857448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28857449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28857450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28857451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28857452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28857453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28857454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28857455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28857456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28857457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28857458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28857460, '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 = 28857940 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': 4108907, 'mtr_portfolio_id': 28857940, 'created_at': datetime.datetime(2025, 11, 25, 6, 11, 59), 'result': '0.05283995255350041', 'result_long': None, 'result_double': None}] Qualite : 0.05283995255350041 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28857940 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28857940_25-11-2025_06_12_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28857940 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_P28857940_25-11-2025_06_12_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28857961, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28857962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28857963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28857964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28857965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28857966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28857967, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28857968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28857969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28857970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28857971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28857972, 'pht': 3726}}" where mtr_portfolio_id = 28857940 and dashboard_run_id = 2646729 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`=28857940 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671343, 0.05283995255350041, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28857940_25-11-2025_06_12_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28857961, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28857962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28857963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28857964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28857965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28857966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28857967, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28857968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28857969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28857970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28857971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28857972, '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 = 28858383 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': 4108908, 'mtr_portfolio_id': 28858383, 'created_at': datetime.datetime(2025, 11, 25, 6, 12, 31), 'result': '0.053503046476301025', 'result_long': None, 'result_double': None}] Qualite : 0.053503046476301025 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28858383 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28858383_25-11-2025_06_12_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28858383 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_P28858383_25-11-2025_06_12_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28858384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28858385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28858386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28858387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28858388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28858389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28858390, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28858391, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28858392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28858393, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28858394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28858395, 'pht': 3726}}" where mtr_portfolio_id = 28858383 and dashboard_run_id = 2646729 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`=28858383 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671344, 0.053503046476301025, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28858383_25-11-2025_06_12_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28858384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28858385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28858386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28858387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28858388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28858389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28858390, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28858391, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28858392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28858393, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28858394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28858395, '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 = 28858949 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': 4108909, 'mtr_portfolio_id': 28858949, 'created_at': datetime.datetime(2025, 11, 25, 6, 13, 28), 'result': '0.0476547460180373', 'result_long': None, 'result_double': None}] Qualite : 0.0476547460180373 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28858949 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28858949_25-11-2025_06_13_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28858949 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_P28858949_25-11-2025_06_13_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28858974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28858975, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28858976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28858977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28858978, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28858979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28858980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28858981, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28858982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28858983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28858984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28858985, 'pht': 3726}}" where mtr_portfolio_id = 28858949 and dashboard_run_id = 2646729 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`=28858949 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671345, 0.0476547460180373, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28858949_25-11-2025_06_13_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28858974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28858975, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28858976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28858977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28858978, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28858979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28858980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28858981, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28858982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28858983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28858984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28858985, '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 = 28859371 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': 4108910, 'mtr_portfolio_id': 28859371, 'created_at': datetime.datetime(2025, 11, 25, 6, 13, 59), 'result': '0.04812433386354002', 'result_long': None, 'result_double': None}] Qualite : 0.04812433386354002 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28859371 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28859371_25-11-2025_06_14_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28859371 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_P28859371_25-11-2025_06_14_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28859385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28859386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28859387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28859388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28859389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28859390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28859391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28859392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28859393, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28859394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28859395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28859396, 'pht': 3726}}" where mtr_portfolio_id = 28859371 and dashboard_run_id = 2646729 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`=28859371 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671346, 0.04812433386354002, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28859371_25-11-2025_06_14_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28859385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28859386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28859387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28859388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28859389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28859390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28859391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28859392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28859393, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28859394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28859395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28859396, '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 = 28861206 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': 4108912, 'mtr_portfolio_id': 28861206, 'created_at': datetime.datetime(2025, 11, 25, 6, 14, 30), 'result': '0.029312233121478314', 'result_long': None, 'result_double': None}] Qualite : 0.029312233121478314 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28861206 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28861206_25-11-2025_06_14_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28861206 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_P28861206_25-11-2025_06_14_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28861209, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28861210, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28861211, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28861212, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28861213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28861214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28861215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28861216, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28861217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28861218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28861219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28861220, 'pht': 3726}}" where mtr_portfolio_id = 28861206 and dashboard_run_id = 2646729 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`=28861206 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671347, 0.029312233121478314, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28861206_25-11-2025_06_14_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28861209, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28861210, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28861211, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28861212, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28861213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28861214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28861215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28861216, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28861217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28861218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28861219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28861220, '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 = 28861760 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': 4108825, 'mtr_portfolio_id': 28861760, 'created_at': datetime.datetime(2025, 11, 25, 5, 33), 'result': '0.05773005884032755', 'result_long': None, 'result_double': None}] Qualite : 0.05773005884032755 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28861760 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28861760_25-11-2025_05_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28861760 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_P28861760_25-11-2025_05_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28861763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28861764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28861765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28861766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28861767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28861768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28861769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28861770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28861771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28861772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28861773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28861774, 'pht': 3726}}" where mtr_portfolio_id = 28861760 and dashboard_run_id = 2646725 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`=28861760 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671348, 0.05773005884032755, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28861760_25-11-2025_05_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28861763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28861764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28861765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28861766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28861767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28861768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28861769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28861770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28861771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28861772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28861773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28861774, '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 = 28861865 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': 4108836, 'mtr_portfolio_id': 28861865, 'created_at': datetime.datetime(2025, 11, 25, 5, 49), 'result': '0.04195591839053495', 'result_long': None, 'result_double': None}] Qualite : 0.04195591839053495 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28861865 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28861865_25-11-2025_05_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28861865 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_P28861865_25-11-2025_05_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28861870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28861871, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28861872, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28861873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28861874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28861875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28861876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28861877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28861878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28861879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28861880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28861881, 'pht': 3726}}" where mtr_portfolio_id = 28861865 and dashboard_run_id = 2646725 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`=28861865 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671349, 0.04195591839053495, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28861865_25-11-2025_05_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28861870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28861871, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28861872, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28861873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28861874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28861875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28861876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28861877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28861878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28861879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28861880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28861881, '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 = 28862315 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': 4109018, 'mtr_portfolio_id': 28862315, 'created_at': datetime.datetime(2025, 11, 25, 6, 5, 27), 'result': '0.0496565246192142', 'result_long': None, 'result_double': None}] Qualite : 0.0496565246192142 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28862315 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28862315_25-11-2025_06_05_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28862315 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_P28862315_25-11-2025_06_05_27.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28862320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28862321, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28862322, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28862323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28862324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28862325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28862326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28862327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28862328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28862330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28862331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28862332, 'pht': 3726}}" where mtr_portfolio_id = 28862315 and dashboard_run_id = 2646725 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`=28862315 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671350, 0.0496565246192142, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28862315_25-11-2025_06_05_27.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28862320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28862321, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28862322, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28862323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28862324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28862325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28862326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28862327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28862328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28862330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28862331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28862332, '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 = 28862718 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': 4109089, 'mtr_portfolio_id': 28862718, 'created_at': datetime.datetime(2025, 11, 25, 6, 12, 58), 'result': '0.04607796848783452', 'result_long': None, 'result_double': None}] Qualite : 0.04607796848783452 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28862718 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28862718_25-11-2025_06_12_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28862718 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_P28862718_25-11-2025_06_12_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28862727, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28862728, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28862729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28862730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28862731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28862732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28862734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28862735, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28862737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28862738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28862739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28862741, 'pht': 3726}}" where mtr_portfolio_id = 28862718 and dashboard_run_id = 2646725 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`=28862718 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17671351, 0.04607796848783452, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28862718_25-11-2025_06_12_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28862727, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28862728, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28862729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28862730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28862731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28862732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28862734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28862735, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28862737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28862738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28862739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28862741, '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 (28852271,28852822,28853228,28853609,28854780,28855135,28855515,28856051,28856612,28856969,28857434,28857940,28858383,28858949,28859371,28861206,28861760,28861865,28862315,28862718) result : ((1395986523,), (1395986530,), (1395986538,), (1395986562,), (1395986615,), (1395986617,), (1395986634,), (1395986650,), (1395986669,), (1395986712,), (1395987195,), (1395987196,), (1395987197,), (1395987203,), (1395987237,), (1395987363,), (1395987365,), (1395987367,), (1395987370,), (1395987387,), (1395987388,), (1395987391,), (1395987393,), (1395987397,), (1395987400,), (1395987416,), (1395987429,), (1395987440,), (1395987442,), (1395987444,), (1395987448,), (1395987524,), (1395987525,), (1395987526,), (1395987657,), (1395987695,), (1395987733,), (1395987743,), (1395987746,), (1395987827,), (1395987830,), (1395987832,), (1395987835,), (1395987838,), (1395987847,), (1395987871,), (1395987873,), (1395987877,), (1395987882,), (1395987886,), (1395987889,), (1395987892,), (1395987893,), (1395987895,), (1395987897,), (1395987899,), (1395987929,), (1395987930,), (1395987933,), (1395987935,), (1395987940,), (1395987941,), (1395987943,), (1395987945,), (1395988007,), (1395988009,), (1395988011,), (1395988014,), (1395988015,), (1395988016,), (1395988020,), (1395988021,), (1395988024,), (1395988028,), (1395988032,), (1395988035,), (1395988053,), (1395988054,), (1395988055,), (1395988057,), (1395988063,), (1395988085,), (1395988089,), (1395988093,), (1395988098,), (1395988150,), (1395988135,), (1395988141,), (1395988142,), (1395988144,), (1395988148,), (1395988188,), (1395988189,), (1395988191,), (1395988193,), (1395988197,), (1395988432,), (1395988433,), (1395988436,), (1395988442,), (1395988587,), (1395988589,), (1395988591,), (1395989172,), (1395989237,), (1395989279,), (1395989320,), (1395989375,), (1395989434,), (1395989571,), (1395989572,), (1395989573,), (1395989575,), (1395989578,), (1395989833,), (1395989834,), (1395989859,), (1395989932,), (1395989933,), (1395989934,), (1395989961,), (1395989963,), (1395989965,), (1395989968,), (1395989972,), (1395989984,), (1395989987,), (1395989991,), (1395989996,), (1395990011,), (1395990013,), (1395990015,), (1395990018,), (1395990021,), (1395990033,), (1395990035,), (1395990037,), (1395990039,), (1395990069,), (1395990070,), (1395990071,), (1395990073,), (1395990124,), (1395990125,), (1395990126,), (1395990363,), (1395990366,), (1395990399,), (1395990406,), (1395990410,), (1395990415,), (1395990443,), (1395990453,), (1395990455,), (1395990456,), (1395990458,), (1395990460,), (1395990461,), (1395990489,), (1395990490,), (1395990492,), (1395990555,), (1395990562,), (1395990563,), (1395990564,), (1395990565,), (1395990432,), (1395990434,), (1395990435,), (1395990438,), (1395990441,), (1395990484,), (1395990486,), (1395990488,), (1395990505,), (1395990509,), (1395990518,), (1395990526,), (1395990528,), (1395990529,), (1395990533,), (1395990534,), (1395990539,), (1395990548,), (1395990552,), (1395990569,), (1395990573,), (1395990577,), (1395990587,), (1395990591,), (1395990615,), (1395990616,), (1395990628,), (1395990652,), (1395990683,), (1395990767,), (1395990769,), (1395990772,), (1395990777,), (1395990798,), (1395990800,), (1395990802,), (1395990805,), (1395990809,), (1395990823,), (1395990824,), (1395990825,), (1395990827,), (1395990870,), (1395990872,), (1395990875,), (1395990878,), (1395990881,), (1395990885,), (1395990892,), (1395990895,), (1395990898,), (1395990901,), (1395990907,), (1395990909,), (1395990912,), (1395990939,), (1395990941,), (1395990943,), (1395990946,), (1395990950,), (1395990953,), (1395990966,), (1395990967,), (1395990968,), (1395990970,), (1395990982,), (1395991015,), (1395991017,), (1395991019,), (1395991029,), (1395991066,), (1395991267,), (1395991277,), (1395991296,), (1395991300,), (1395991305,), (1395991401,), (1395991381,), (1395991383,), (1395991385,), (1395991454,), (1395991455,), (1395991456,), (1395991458,), (1395991461,), (1395991487,), (1395991489,), (1395991491,), (1395991494,), (1395991516,), (1395991523,), (1395991527,), (1395991529,), (1395991533,), (1395991535,), (1395991549,), (1395991551,), (1395991553,), (1395991556,), (1395991559,), (1395991560,), (1395991566,), (1395991568,), (1395991570,), (1395991572,), (1395991574,), (1395991580,), (1395991588,), (1395991592,), (1395991596,), (1395991619,), (1395991621,), (1395991625,), (1395991633,), (1395991684,), (1395991746,), (1395991748,), (1395991750,), (1395991769,), (1395991771,), (1395991773,), (1395991776,), (1395991793,), (1395991795,), (1395991798,), (1395991803,), (1395991808,), (1395991854,), (1395991858,), (1395991862,), (1395991867,), (1395991870,), (1395991881,), (1395991885,), (1395991890,), (1395991918,), (1395993393,), (1395993394,), (1395993396,), (1395993399,), (1395993403,), (1395993407,), (1395993429,), (1395993431,), (1395993433,), (1395993455,), (1395993456,), (1395993489,), (1395993491,), (1395993498,), (1395993507,), (1395993518,), (1395993538,), (1395993539,), (1395993540,), (1395993542,), (1395993569,), (1395993570,), (1395993571,), (1395993610,), (1395993611,), (1395993612,), (1395993614,), (1395993618,), (1395993622,), (1395993648,), (1395993650,), (1395993653,), (1395993657,), (1395993661,), (1395993664,), (1395993672,), (1395993674,), (1395993675,), (1395993676,), (1395993677,), (1395993678,), (1395993681,), (1395993684,), (1395993688,), (1395993691,), (1395993705,), (1395993707,), (1395993709,), (1395993712,), (1395993738,), (1395993739,), (1395993740,), (1395993742,), (1395993763,), (1395993768,), (1395993771,), (1395993773,), (1395993777,), (1395993789,), (1395993791,), (1395993794,), (1395993797,), (1395993839,), (1395993828,), (1395993830,), (1395993832,), (1395993835,), (1395993852,), (1395993854,), (1395993856,), (1395993859,), (1395993862,), (1395993875,), (1395993877,), (1395993879,), (1395993901,), (1395993903,), (1395993905,), (1395993924,), (1395993928,), (1395993931,), (1395993935,), (1395993939,), (1395993942,), (1395993949,), (1395993951,), (1395993953,), (1395993956,), (1395993960,), (1395993964,), (1395993987,), (1395993989,), (1395993992,), (1395994010,), (1395994011,), (1395994012,), (1395994014,), (1395994018,), (1395994020,), (1395994031,), (1395994033,), (1395994035,), (1395994064,), (1395994066,), (1395994068,), (1395994091,), (1395994093,), (1395994113,), (1395994115,), (1395994116,), (1395994118,), (1395994122,), (1395994145,), (1395994147,), (1395994149,), (1395994172,), (1395994174,), (1395994177,), (1395994190,), (1395994193,), (1395994296,), (1395994262,), (1395994837,), (1395994868,), (1395994900,), (1395994933,), (1395994981,), (1395995453,), (1395995484,), (1395995514,), (1395995545,), (1395995579,), (1395995719,), (1395995721,), (1395995752,), (1395995783,), (1395995818,), (1395996016,), (1395996029,), (1395996030,), (1395996033,), (1395996070,), (1395996314,), (1395996346,), (1395996378,), (1395996413,), (1395996451,), (1395996812,), (1395996844,), (1395996874,), (1395996907,), (1395997267,), (1395997278,), (1395997311,), (1395997343,), (1395997381,), (1395997417,), (1395998050,), (1395998145,), (1395998209,), (1395998279,), (1395998740,), (1395998741,), (1395998744,), (1395998775,), (1395999130,), (1395999165,), (1395999196,), (1395999224,), (1395999228,), (1395999230,), (1395999296,), (1395999298,), (1395999300,), (1395999308,), (1395999316,), (1395999348,), (1395999349,), (1395999392,), (1395999393,), (1395999394,), (1395999396,), (1395999400,), (1395999413,), (1395999415,), (1395999418,), (1395999421,), (1395999423,), (1395999427,), (1395999462,), (1395999458,), (1395999460,), (1395999511,), (1395999542,), (1395999544,), (1395999548,), (1395999555,), (1395999559,), (1395999561,), (1395999571,), (1395999574,), (1395999578,), (1395999582,), (1395999585,), (1395999586,), (1395999590,), (1395999601,), (1395999609,), (1395999610,), (1395999611,), (1395999629,), (1395999642,), (1395999646,), (1395999650,), (1395999653,), (1395999664,), (1395999666,), (1395999668,), (1395999671,), (1395999675,), (1395999707,), (1395999708,), (1395999709,), (1395999711,), (1395999714,), (1395999717,), (1395999730,), (1395999732,), (1395999734,), (1395999737,), (1395999740,), (1395999744,), (1395999750,), (1395999774,), (1395999775,), (1395999777,), (1395999780,), (1395999786,), (1395999805,), (1395999806,), (1395999807,), (1395999809,), (1395999845,), (1395999847,), (1395999849,), (1395999856,), (1395999860,), (1395999875,), (1395999877,), (1395999880,), (1395999898,), (1395999900,), (1395999902,), (1395999905,), (1395999909,), (1395999937,), (1396000043,), (1396000045,), (1396000077,), (1396000079,), (1396000081,), (1396000098,), (1396000102,), (1396000154,), (1396000156,), (1396000403,), (1396000411,), (1396000420,), (1396000426,), (1396000429,), (1396000603,), (1396000608,), (1396000609,), (1396000628,), (1396000630,), (1396000633,), (1396000638,), (1396000644,), (1396000650,), (1396000672,), (1396000662,), (1396000663,), (1396000670,), (1396000690,), (1396000692,), (1396000694,), (1396000710,), (1396000712,), (1396000714,), (1396000716,), (1396000718,), (1396000721,), (1396000745,), (1396000746,), (1396000747,), (1396000749,), (1396000752,), (1396000770,), (1396000772,), (1396000774,), (1396000777,), (1396000794,), (1396000816,), (1396000818,), (1396000820,), (1396000823,), (1396000827,), (1396000831,), (1396000851,), (1396000854,), (1396000866,), (1396000869,), (1396000873,), (1396000892,), (1396000893,), (1396000894,), (1396000913,), (1396000915,), (1396000919,), (1396000924,), (1396000928,), (1396000940,), (1396000941,), (1396000942,), (1396000944,), (1396000947,), (1396000950,), (1396000968,), (1396000969,), (1396000971,), (1396001003,), (1396001038,), (1396001070,), (1396001105,), (1396001139,), (1396001201,), (1396001828,), (1396001832,), (1396001836,), (1396001841,), (1396001844,), (1396001852,), (1396001853,), (1396001855,), (1396001857,), (1396001876,), (1396001868,), (1396001870,), (1396001871,), (1396001873,), (1396002122,), (1396002158,), (1396002196,), (1396002228,), (1396002264,), (1396002619,), (1396002620,), (1396002622,), (1396002625,), (1396002629,), (1396002633,), (1396002804,), (1396002805,), (1396002807,), (1396002824,), (1396002881,), (1396002941,), (1396003342,), (1396003372,), (1396003401,), (1396003432,), (1396003729,), (1396003731,), (1396003733,), (1396003760,), (1396003792,), (1396003828,), (1396003916,), (1396003917,), (1396003918,), (1396003920,), (1396003947,), (1396003950,), (1396003953,), (1396003956,), (1396003959,), (1396003962,), (1396003966,), (1396003967,), (1396003972,), (1396003973,), (1396003975,), (1396003978,), (1396003981,), (1396003986,), (1396004011,), (1396004014,), (1396004017,), (1396004021,), (1396004038,), (1396004040,), (1396004042,), (1396004044,), (1396004047,), (1396004050,), (1396004062,), (1396004063,), (1396004064,), (1396004066,), (1396004070,), (1396004085,), (1396004086,), (1396004087,), (1396004089,), (1396004092,), (1396004096,), (1396004140,), (1396004141,), (1396004142,), (1396004160,), (1396004164,), (1396004167,), (1396004170,), (1396004192,), (1396004184,), (1396004186,), (1396004187,), (1396004189,), (1396004225,), (1396004226,), (1396004263,), (1396004264,), (1396004265,), (1396004267,), (1396004271,), (1396004291,), (1396004293,), (1396004295,), (1396004313,), (1396004315,), (1396004317,), (1396004320,), (1396004324,), (1396004350,), (1396004353,), (1396004354,), (1396004355,), (1396004359,), (1396004361,), (1396004379,), (1396004381,), (1396004443,), (1396004444,), (1396004445,), (1396004447,), (1396004449,), (1396004470,), (1396004472,), (1396004474,), (1396004477,), (1396004510,), (1396004512,), (1396004514,), (1396004516,), (1396004519,), (1396004530,), (1396004531,), (1396004532,), (1396004551,), (1396004624,), (1396004673,), (1396004666,), (1396004667,), (1396004670,), (1396004713,), (1396004715,), (1396004734,), (1396005146,), (1396005147,), (1396005148,), (1396005150,), (1396005152,), (1396005179,), (1396005349,), (1396005352,), (1396005399,), (1396005401,), (1396005404,), (1396005409,), (1396005423,), (1396005424,), (1396005425,), (1396005427,), (1396005432,), (1396005546,), (1396005556,), (1396005667,), (1396005669,), (1396005671,), (1396005679,), (1396005713,), (1396005714,), (1396005715,), (1396005717,), (1396005733,), (1396005734,), (1396005765,), (1396005767,), (1396005769,), (1396005771,), (1396005774,), (1396005785,), (1396005787,), (1396005814,), (1396005806,), (1396005807,), (1396005808,), (1396005810,), (1396005829,), (1396005834,), (1396005844,), (1396005854,), (1396005880,), (1396005881,), (1396005882,), (1396005884,), (1396005888,), (1396005911,), (1396005912,), (1396005913,), (1396005915,), (1396005918,), (1396005932,), (1396005961,), (1396005962,), (1396005964,), (1396005966,), (1396005969,), (1396005983,), (1396005984,), (1396005985,), (1396005987,), (1396006017,), (1396006019,), (1396006022,), (1396006026,), (1396006050,), (1396006052,), (1396006054,), (1396006057,), (1396006078,), (1396006079,), (1396006080,), (1396006103,), (1396006105,), (1396006107,), (1396006110,), (1396006113,), (1396006145,), (1396006150,), (1396006187,), (1396006188,), (1396006189,), (1396006306,), (1396006341,), (1396006375,), (1396006409,), (1396006446,), (1396006633,), (1396006698,), (1396006764,), (1396007435,), (1396007106,), (1396007174,), (1396007239,), (1396007307,), (1396007373,), (1396007663,), (1396007713,), (1396007759,), (1396007775,), (1396007780,), (1396007999,), (1396008001,), (1396008003,), (1396008031,), (1396008032,), (1396008033,), (1396008035,), (1396008039,), (1396008063,), (1396008064,), (1396008066,), (1396008069,), (1396008105,), (1396008106,), (1396008109,), (1396008118,), (1396008122,), (1396008125,), (1396008139,), (1396008141,), (1396008146,), (1396008150,), (1396008161,), (1396008168,), (1396008192,), (1396008194,), (1396008199,), (1396008202,), (1396008226,), (1396008227,), (1396008228,), (1396008230,), (1396008264,), (1396008266,), (1396008268,), (1396008271,), (1396008305,), (1396008307,), (1396008310,), (1396008315,), (1396008338,), (1396016911,), (1396016892,), (1396018578,), (1396018580,), (1396018582,), (1396018584,), (1396018614,), (1396018647,), (1396018678,), (1396018782,), (1396018814,), (1396018817,), (1396018821,), (1396018824,), (1396018827,), (1396018831,), (1396018836,), (1396018837,), (1396018838,), (1396018840,), (1396018843,), (1396018846,), (1396018918,), (1396018944,), (1396018950,), (1396018967,), (1396018979,), (1396018981,), (1396018983,), (1396018986,), (1396019106,), (1396020518,), (1396020516,), (1396020537,), (1396020538,), (1396020539,), (1396020541,), (1396020579,), (1396020581,), (1396020583,), (1396020586,), (1396020590,), (1396020601,), (1396020606,), (1396020608,), (1396020612,), (1396020616,), (1396020619,), (1396020644,), (1396020647,), (1396020652,), (1396020655,), (1396020658,), (1396020661,), (1396020664,), (1396020665,), (1396020668,), (1396020692,), (1396020674,), (1396020677,), (1396020680,), (1396020683,), (1396020686,), (1396020705,), (1396020707,), (1396020709,), (1396020725,), (1396020727,), (1396020729,), (1396020732,), (1396020736,), (1396020737,), (1396020750,), (1396020752,), (1396020754,), (1396020757,), (1396020787,), (1396020789,), (1396020818,), (1396020821,), (1396020836,), (1396020837,), (1396020838,), (1396020839,), (1396020865,), (1396020875,), (1396020877,), (1396020880,), (1396020884,), (1396020887,), (1396020898,), (1396020899,), (1396020900,), (1396020902,), (1396020906,), (1396020924,), (1396020926,), (1396020928,), (1396020943,), (1396020945,), (1396020947,), (1396020950,), (1396020970,), (1396020972,), (1396020979,), (1396020983,), (1396021002,), (1396021004,), (1396021007,), (1396021012,), (1396021016,), (1396021036,), (1396021039,), (1396021043,), (1396021047,), (1396021051,), (1396021064,), (1396021065,), (1396021067,), (1396021102,), (1396021087,), (1396021088,), (1396021089,), (1396021096,), (1396021125,), (1396021126,), (1396021127,), (1396021129,), (1396021133,), (1396021158,), (1396021159,), (1396021161,), (1396021165,), (1396021169,), (1396021172,), (1396021181,), (1396021182,), (1396021183,), (1396021187,), (1396021188,), (1396021191,), (1396021195,), (1396021210,), (1396021212,), (1396021236,), (1396021238,), (1396021240,), (1396021243,), (1396021277,), (1396021278,), (1396021281,), (1396021283,), (1396021287,), (1396021300,), (1396021302,), (1396021304,), (1396021307,), (1396021311,), (1396021346,), (1396021347,), (1396021348,), (1396021363,), (1396021366,), (1396021370,), (1396021374,), (1396021378,), (1396021383,), (1396021388,), (1396021398,), (1396021405,), (1396021409,), (1396021948,), (1396022077,), (1396022120,), (1396022152,), (1396022153,), (1396022317,), (1396022287,), (1396022291,), (1396022314,), (1396022359,), (1396022388,), (1396022390,), (1396022392,), (1396022395,), (1396022421,), (1396022423,), (1396022425,), (1396022441,), (1396022889,), (1396022923,), (1396022954,), (1396023256,), (1396023323,), (1396023390,), (1396023457,), (1396023524,), (1396023561,), (1396023856,), (1396023859,), (1396023882,), (1396023884,), (1396023929,), (1396023931,), (1396023933,), (1396023936,), (1396023940,), (1396023944,), (1396023958,), (1396023959,), (1396023960,), (1396023962,), (1396023965,), (1396023968,), (1396023982,), (1396023984,), (1396023989,), (1396023993,), (1396023997,), (1396023999,), (1396024007,), (1396024009,), (1396024011,), (1396024015,), (1396024016,), (1396024018,), (1396024022,), (1396024026,), (1396024034,), (1396024045,), (1396024047,), (1396024052,), (1396024062,), (1396024074,), (1396024111,), (1396024112,), (1396024113,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'25112025': {'nb_upload': 31, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28861206]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1396020518, 1396019106, 1396018986, 1396018983, 1396018981, 1396018979, 1396018967, 1396018950, 1396018944, 1396018918, 1396018846, 1396018843, 1396018840, 1396018838, 1396018837, 1396018836, 1396018831, 1396018827, 1396018824, 1396018821, 1396018817, 1396018814, 1396018782, 1396018678, 1396018647, 1396018614, 1396018584, 1396018582, 1396018580, 1396018578, 1396016892] map_info['map_portfolio_photo'] : {28861206: [1396020518, 1396019106, 1396018986, 1396018983, 1396018981, 1396018979, 1396018967, 1396018950, 1396018944, 1396018918, 1396018846, 1396018843, 1396018840, 1396018838, 1396018837, 1396018836, 1396018831, 1396018827, 1396018824, 1396018821, 1396018817, 1396018814, 1396018782, 1396018678, 1396018647, 1396018614, 1396018584, 1396018582, 1396018580, 1396018578, 1396016892]} final : True mtd_id 4302 list_pids : [1396020518, 1396019106, 1396018986, 1396018983, 1396018981, 1396018979, 1396018967, 1396018950, 1396018944, 1396018918, 1396018846, 1396018843, 1396018840, 1396018838, 1396018837, 1396018836, 1396018831, 1396018827, 1396018824, 1396018821, 1396018817, 1396018814, 1396018782, 1396018678, 1396018647, 1396018614, 1396018584, 1396018582, 1396018580, 1396018578, 1396016892] Looping around the photos to save general results len do output : 1 /28861206Didn'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, '4108912') ('4302', '28861206', '1396020518', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396019106', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018986', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018983', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018981', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018979', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018967', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018950', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018944', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018918', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018846', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018843', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018840', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018838', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018837', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018836', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018831', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018827', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018824', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018821', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018817', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018814', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018782', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018678', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018647', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018614', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018584', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018582', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018580', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396018578', None, None, None, None, None, '4108912') ('4302', None, None, None, None, None, None, None, '4108912') ('4302', '28861206', '1396016892', None, None, None, None, None, '4108912') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 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, '28861206', 'None', None, None, None, None, '4108912'), ('4302', '28861206', '1396020518', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396019106', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018986', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018983', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018981', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018979', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018967', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018950', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018944', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018918', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018846', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018843', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018840', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018838', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018837', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018836', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018831', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018827', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018824', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018821', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018817', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018814', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018782', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018678', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018647', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018614', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018584', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018582', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018580', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396018578', None, None, None, None, None, '4108912'), ('4302', '28861206', '1396016892', None, None, None, None, None, '4108912')] time used for this insertion : 0.01922011375427246 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.1550116539001465 time spend to save output : 0.01947784423828125 total time spend for step 5 : 2.1744894981384277 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 (4108912) 2.82user 2.24system 0:12.27elapsed 41%CPU (0avgtext+0avgdata 168156maxresident)k 984inputs+20048outputs (4major+80732minor)pagefaults 0swaps