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 : 1858158 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 (2538330) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2538330) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20146863 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2538330'] with mtr_portfolio_ids : ['20146863'] and first list_photo_ids : [] new path : /proc/1858158/ Name: python3 Umask: 0002 State: R (running) Tgid: 1858158 Ngid: 0 Pid: 1858158 PPid: 1858157 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1858158 NSpid: 1858158 NSpgid: 1857596 NSsid: 1857596 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98500 kB VmRSS: 98500 kB RssAnon: 59804 kB RssFile: 38696 kB RssShmem: 0 kB VmData: 865596 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 540 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 53 nonvoluntary_ctxt_switches: 95 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1858158', 'Ngid': '0', 'Pid': '1858158', 'PPid': '1858157', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1858158', 'NSpid': '1858158', 'NSpgid': '1857596', 'NSsid': '1857596', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98500 kB', 'VmRSS': '98500 kB', 'RssAnon': '59804 kB', 'RssFile': '38696 kB', 'RssShmem': '0 kB', 'VmData': '865596 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '540 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '53', 'nonvoluntary_ctxt_switches': '95'} ('datou_batch_current', '1858158', '1106844', '0', '1106844', '865596', '98500', b'', 'marlene', '2538330') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (20146863) 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 (2538330 ) ) 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 (20146863) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1333553286, 'portfolio_id': 20146863}, {'photo_id': 1333553283, 'portfolio_id': 20146863}, {'photo_id': 1333553280, 'portfolio_id': 20146863}, {'photo_id': 1333553277, 'portfolio_id': 20146863}, {'photo_id': 1333553252, 'portfolio_id': 20146863}, {'photo_id': 1333553250, 'portfolio_id': 20146863}, {'photo_id': 1333553218, 'portfolio_id': 20146863}, {'photo_id': 1333553200, 'portfolio_id': 20146863}, {'photo_id': 1333551509, 'portfolio_id': 20146863}, {'photo_id': 1333551507, 'portfolio_id': 20146863}, {'photo_id': 1333551505, 'portfolio_id': 20146863}, {'photo_id': 1333551504, 'portfolio_id': 20146863}, {'photo_id': 1333551502, 'portfolio_id': 20146863}, {'photo_id': 1333551501, 'portfolio_id': 20146863}, {'photo_id': 1333551435, 'portfolio_id': 20146863}, {'photo_id': 1333551299, 'portfolio_id': 20146863}, {'photo_id': 1333551172, 'portfolio_id': 20146863}, {'photo_id': 1333551168, 'portfolio_id': 20146863}, {'photo_id': 1333551117, 'portfolio_id': 20146863}, {'photo_id': 1333551113, 'portfolio_id': 20146863}, {'photo_id': 1333551081, 'portfolio_id': 20146863}, {'photo_id': 1333551070, 'portfolio_id': 20146863}, {'photo_id': 1333551069, 'portfolio_id': 20146863}, {'photo_id': 1333551068, 'portfolio_id': 20146863}, {'photo_id': 1333551066, 'portfolio_id': 20146863}, {'photo_id': 1333551064, 'portfolio_id': 20146863}, {'photo_id': 1333550978, 'portfolio_id': 20146863}, {'photo_id': 1333550888, 'portfolio_id': 20146863}, {'photo_id': 1333550838, 'portfolio_id': 20146863}, {'photo_id': 1333550818, 'portfolio_id': 20146863}, {'photo_id': 1333550791, 'portfolio_id': 20146863}, {'photo_id': 1333550788, 'portfolio_id': 20146863}, {'photo_id': 1333550723, 'portfolio_id': 20146863}, {'photo_id': 1333550719, 'portfolio_id': 20146863}, {'photo_id': 1333550694, 'portfolio_id': 20146863}, {'photo_id': 1333550692, 'portfolio_id': 20146863}, {'photo_id': 1333550645, 'portfolio_id': 20146863}, {'photo_id': 1333550642, 'portfolio_id': 20146863}] map_portfolio_id_photo_id: {20146863: [1333553286, 1333553283, 1333553280, 1333553277, 1333553252, 1333553250, 1333553218, 1333553200, 1333551509, 1333551507, 1333551505, 1333551504, 1333551502, 1333551501, 1333551435, 1333551299, 1333551172, 1333551168, 1333551117, 1333551113, 1333551081, 1333551070, 1333551069, 1333551068, 1333551066, 1333551064, 1333550978, 1333550888, 1333550838, 1333550818, 1333550791, 1333550788, 1333550723, 1333550719, 1333550694, 1333550692, 1333550645, 1333550642]} ##### 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.015218019485473633 #### 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 Sun Feb 2 00:03: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 (20146863) 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 : 20146863 get user id for portfolio 20146863 get sub ptf for main ptf 20146863, type 3726 and hashtags ['flou', 'autre_refus', 'papier', 'metal', 'mal_croppe', 'environnement', 'Carton_brun', 'kraft', 'plastique', 'Carton_gris', 'Teint_Dans_La_Masse', 'cartonnette'] 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`=20146863 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','autre_refus','papier','metal','mal_croppe','environnement','Carton_brun','kraft','plastique','Carton_gris','Teint_Dans_La_Masse','cartonnette')) 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`=20146863 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','autre_refus','papier','metal','mal_croppe','environnement','Carton_brun','kraft','plastique','Carton_gris','Teint_Dans_La_Masse','cartonnette')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_3726_flou_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_3726_autre_refus_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_3726_papier_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_3726_metal_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_3726_mal_croppe_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_3726_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_3726_Carton_brun_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_3726_kraft_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_3726_plastique_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_3726_Carton_gris_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_3726_Teint_Dans_La_Masse_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_3726_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio INSERT IGNORE INTO MTRPhoto.mtr_port_to_port_ids (`mtr_portfolio_id_1`, `mtr_portfolio_id_2`, `type`, `min_score`, `hashtag_id`, `mtr_user_id`) VALUES (%s,%s,%s,%s,%s,%s)[[20146863, 20146927, 3726, 0.5, 492777938, 979], [20146863, 20146928, 3726, 0.5, 2107752406, 979], [20146863, 20146929, 3726, 0.5, 492668766, 979], [20146863, 20146930, 3726, 0.5, 492628673, 979], [20146863, 20146931, 3726, 0.5, 2107755527, 979], [20146863, 20146932, 3726, 0.5, 493012381, 979], [20146863, 20146933, 3726, 0.5, 2107753024, 979], [20146863, 20146934, 3726, 0.5, 493202403, 979], [20146863, 20146935, 3726, 0.5, 492725882, 979], [20146863, 20146936, 3726, 0.5, 2107753020, 979], [20146863, 20146937, 3726, 0.5, 2107752385, 979], [20146863, 20146938, 3726, 0.5, 702398920, 979]] 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`=20146863 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','autre_refus','papier','metal','mal_croppe','environnement','Carton_brun','kraft','plastique','Carton_gris','Teint_Dans_La_Masse','cartonnette')) 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`=20146863 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','autre_refus','papier','metal','mal_croppe','environnement','Carton_brun','kraft','plastique','Carton_gris','Teint_Dans_La_Masse','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 20146863, 'sub_port_id': 20146927, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859436, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 28)}, 'autre_refus': {'main_port_id': 20146863, 'sub_port_id': 20146928, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859437, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 28)}, 'papier': {'main_port_id': 20146863, 'sub_port_id': 20146929, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859438, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 28)}, 'metal': {'main_port_id': 20146863, 'sub_port_id': 20146930, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859439, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 28)}, 'mal_croppe': {'main_port_id': 20146863, 'sub_port_id': 20146931, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859440, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 28)}, 'environnement': {'main_port_id': 20146863, 'sub_port_id': 20146932, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859441, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 28)}, 'Carton_brun': {'main_port_id': 20146863, 'sub_port_id': 20146933, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859442, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 28)}, 'kraft': {'main_port_id': 20146863, 'sub_port_id': 20146934, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859443, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 28)}, 'plastique': {'main_port_id': 20146863, 'sub_port_id': 20146935, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859444, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 28)}, 'Carton_gris': {'main_port_id': 20146863, 'sub_port_id': 20146936, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859445, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 20146863, 'sub_port_id': 20146937, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859446, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 28)}, 'cartonnette': {'main_port_id': 20146863, 'sub_port_id': 20146938, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859447, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20146927 , 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=20146863 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 (20146927) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20146863) result : ((1333550642,), (1333550645,), (1333550692,), (1333550694,), (1333550719,), (1333550723,), (1333550788,), (1333550791,), (1333550818,), (1333550838,), (1333550888,), (1333550978,), (1333551064,), (1333551066,), (1333551068,), (1333551069,), (1333551070,), (1333551081,), (1333551113,), (1333551117,), (1333551168,), (1333551172,), (1333551299,), (1333551435,), (1333551501,), (1333551502,), (1333551504,), (1333551505,), (1333551507,), (1333551509,), (1333553200,), (1333553218,), (1333553250,), (1333553252,), (1333553277,), (1333553280,), (1333553283,), (1333553286,)) 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 (1333553200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20146928 , 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=20146863 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 (20146928) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20146863) result : ((1333550642,), (1333550645,), (1333550692,), (1333550694,), (1333550719,), (1333550723,), (1333550788,), (1333550791,), (1333550818,), (1333550838,), (1333550888,), (1333550978,), (1333551064,), (1333551066,), (1333551068,), (1333551069,), (1333551070,), (1333551081,), (1333551113,), (1333551117,), (1333551168,), (1333551172,), (1333551299,), (1333551435,), (1333551501,), (1333551502,), (1333551504,), (1333551505,), (1333551507,), (1333551509,), (1333553200,), (1333553218,), (1333553250,), (1333553252,), (1333553277,), (1333553280,), (1333553283,), (1333553286,)) 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 (1333553200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20146929 , 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=20146863 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 (20146929) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20146863) result : ((1333550642,), (1333550645,), (1333550692,), (1333550694,), (1333550719,), (1333550723,), (1333550788,), (1333550791,), (1333550818,), (1333550838,), (1333550888,), (1333550978,), (1333551064,), (1333551066,), (1333551068,), (1333551069,), (1333551070,), (1333551081,), (1333551113,), (1333551117,), (1333551168,), (1333551172,), (1333551299,), (1333551435,), (1333551501,), (1333551502,), (1333551504,), (1333551505,), (1333551507,), (1333551509,), (1333553200,), (1333553218,), (1333553250,), (1333553252,), (1333553277,), (1333553280,), (1333553283,), (1333553286,)) 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 (1333553200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20146930 , 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=20146863 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 (20146930) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20146863) result : ((1333550642,), (1333550645,), (1333550692,), (1333550694,), (1333550719,), (1333550723,), (1333550788,), (1333550791,), (1333550818,), (1333550838,), (1333550888,), (1333550978,), (1333551064,), (1333551066,), (1333551068,), (1333551069,), (1333551070,), (1333551081,), (1333551113,), (1333551117,), (1333551168,), (1333551172,), (1333551299,), (1333551435,), (1333551501,), (1333551502,), (1333551504,), (1333551505,), (1333551507,), (1333551509,), (1333553200,), (1333553218,), (1333553250,), (1333553252,), (1333553277,), (1333553280,), (1333553283,), (1333553286,)) 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 (1333553200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20146931 , 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=20146863 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 (20146931) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20146863) result : ((1333550642,), (1333550645,), (1333550692,), (1333550694,), (1333550719,), (1333550723,), (1333550788,), (1333550791,), (1333550818,), (1333550838,), (1333550888,), (1333550978,), (1333551064,), (1333551066,), (1333551068,), (1333551069,), (1333551070,), (1333551081,), (1333551113,), (1333551117,), (1333551168,), (1333551172,), (1333551299,), (1333551435,), (1333551501,), (1333551502,), (1333551504,), (1333551505,), (1333551507,), (1333551509,), (1333553200,), (1333553218,), (1333553250,), (1333553252,), (1333553277,), (1333553280,), (1333553283,), (1333553286,)) 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 (1333553200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20146932 , 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=20146863 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 (20146932) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20146863) result : ((1333550642,), (1333550645,), (1333550692,), (1333550694,), (1333550719,), (1333550723,), (1333550788,), (1333550791,), (1333550818,), (1333550838,), (1333550888,), (1333550978,), (1333551064,), (1333551066,), (1333551068,), (1333551069,), (1333551070,), (1333551081,), (1333551113,), (1333551117,), (1333551168,), (1333551172,), (1333551299,), (1333551435,), (1333551501,), (1333551502,), (1333551504,), (1333551505,), (1333551507,), (1333551509,), (1333553200,), (1333553218,), (1333553250,), (1333553252,), (1333553277,), (1333553280,), (1333553283,), (1333553286,)) 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 (1333553200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20146933 , 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=20146863 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 (20146933) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20146863) result : ((1333550642,), (1333550645,), (1333550692,), (1333550694,), (1333550719,), (1333550723,), (1333550788,), (1333550791,), (1333550818,), (1333550838,), (1333550888,), (1333550978,), (1333551064,), (1333551066,), (1333551068,), (1333551069,), (1333551070,), (1333551081,), (1333551113,), (1333551117,), (1333551168,), (1333551172,), (1333551299,), (1333551435,), (1333551501,), (1333551502,), (1333551504,), (1333551505,), (1333551507,), (1333551509,), (1333553200,), (1333553218,), (1333553250,), (1333553252,), (1333553277,), (1333553280,), (1333553283,), (1333553286,)) 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 (1333553200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20146934 , 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=20146863 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 (20146934) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20146863) result : ((1333550642,), (1333550645,), (1333550692,), (1333550694,), (1333550719,), (1333550723,), (1333550788,), (1333550791,), (1333550818,), (1333550838,), (1333550888,), (1333550978,), (1333551064,), (1333551066,), (1333551068,), (1333551069,), (1333551070,), (1333551081,), (1333551113,), (1333551117,), (1333551168,), (1333551172,), (1333551299,), (1333551435,), (1333551501,), (1333551502,), (1333551504,), (1333551505,), (1333551507,), (1333551509,), (1333553200,), (1333553218,), (1333553250,), (1333553252,), (1333553277,), (1333553280,), (1333553283,), (1333553286,)) 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 (1333553200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20146935 , 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=20146863 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 (20146935) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20146863) result : ((1333550642,), (1333550645,), (1333550692,), (1333550694,), (1333550719,), (1333550723,), (1333550788,), (1333550791,), (1333550818,), (1333550838,), (1333550888,), (1333550978,), (1333551064,), (1333551066,), (1333551068,), (1333551069,), (1333551070,), (1333551081,), (1333551113,), (1333551117,), (1333551168,), (1333551172,), (1333551299,), (1333551435,), (1333551501,), (1333551502,), (1333551504,), (1333551505,), (1333551507,), (1333551509,), (1333553200,), (1333553218,), (1333553250,), (1333553252,), (1333553277,), (1333553280,), (1333553283,), (1333553286,)) 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 (1333553200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20146936 , 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=20146863 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 (20146936) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20146863) result : ((1333550642,), (1333550645,), (1333550692,), (1333550694,), (1333550719,), (1333550723,), (1333550788,), (1333550791,), (1333550818,), (1333550838,), (1333550888,), (1333550978,), (1333551064,), (1333551066,), (1333551068,), (1333551069,), (1333551070,), (1333551081,), (1333551113,), (1333551117,), (1333551168,), (1333551172,), (1333551299,), (1333551435,), (1333551501,), (1333551502,), (1333551504,), (1333551505,), (1333551507,), (1333551509,), (1333553200,), (1333553218,), (1333553250,), (1333553252,), (1333553277,), (1333553280,), (1333553283,), (1333553286,)) 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 (1333553200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20146937 , 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=20146863 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 (20146937) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20146863) result : ((1333550642,), (1333550645,), (1333550692,), (1333550694,), (1333550719,), (1333550723,), (1333550788,), (1333550791,), (1333550818,), (1333550838,), (1333550888,), (1333550978,), (1333551064,), (1333551066,), (1333551068,), (1333551069,), (1333551070,), (1333551081,), (1333551113,), (1333551117,), (1333551168,), (1333551172,), (1333551299,), (1333551435,), (1333551501,), (1333551502,), (1333551504,), (1333551505,), (1333551507,), (1333551509,), (1333553200,), (1333553218,), (1333553250,), (1333553252,), (1333553277,), (1333553280,), (1333553283,), (1333553286,)) 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 (1333553200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20146938 , 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=20146863 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 (20146938) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20146863) result : ((1333550642,), (1333550645,), (1333550692,), (1333550694,), (1333550719,), (1333550723,), (1333550788,), (1333550791,), (1333550818,), (1333550838,), (1333550888,), (1333550978,), (1333551064,), (1333551066,), (1333551068,), (1333551069,), (1333551070,), (1333551081,), (1333551113,), (1333551117,), (1333551168,), (1333551172,), (1333551299,), (1333551435,), (1333551501,), (1333551502,), (1333551504,), (1333551505,), (1333551507,), (1333551509,), (1333553200,), (1333553218,), (1333553250,), (1333553252,), (1333553277,), (1333553280,), (1333553283,), (1333553286,)) 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 (1333553200) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20146863 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','autre_refus','papier','metal','mal_croppe','environnement','Carton_brun','kraft','plastique','Carton_gris','Teint_Dans_La_Masse','cartonnette')) 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`=20146863 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','autre_refus','papier','metal','mal_croppe','environnement','Carton_brun','kraft','plastique','Carton_gris','Teint_Dans_La_Masse','cartonnette')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_4417_flou_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_4417_autre_refus_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_4417_papier_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_4417_metal_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_4417_mal_croppe_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_4417_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_4417_Carton_brun_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_4417_kraft_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_4417_plastique_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_4417_Carton_gris_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_4417_Teint_Dans_La_Masse_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__01022025_00_30_04_010140_4417_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio INSERT IGNORE INTO MTRPhoto.mtr_port_to_port_ids (`mtr_portfolio_id_1`, `mtr_portfolio_id_2`, `type`, `min_score`, `hashtag_id`, `mtr_user_id`) VALUES (%s,%s,%s,%s,%s,%s)[[20146863, 20146939, 4417, 0.5, 492777938, 979], [20146863, 20146940, 4417, 0.5, 2107752406, 979], [20146863, 20146941, 4417, 0.5, 492668766, 979], [20146863, 20146942, 4417, 0.5, 492628673, 979], [20146863, 20146943, 4417, 0.5, 2107755527, 979], [20146863, 20146944, 4417, 0.5, 493012381, 979], [20146863, 20146945, 4417, 0.5, 2107753024, 979], [20146863, 20146946, 4417, 0.5, 493202403, 979], [20146863, 20146947, 4417, 0.5, 492725882, 979], [20146863, 20146948, 4417, 0.5, 2107753020, 979], [20146863, 20146949, 4417, 0.5, 2107752385, 979], [20146863, 20146950, 4417, 0.5, 702398920, 979]] 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`=20146863 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','autre_refus','papier','metal','mal_croppe','environnement','Carton_brun','kraft','plastique','Carton_gris','Teint_Dans_La_Masse','cartonnette')) 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`=20146863 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','autre_refus','papier','metal','mal_croppe','environnement','Carton_brun','kraft','plastique','Carton_gris','Teint_Dans_La_Masse','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 20146863, 'sub_port_id': 20146939, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859448, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 29)}, 'autre_refus': {'main_port_id': 20146863, 'sub_port_id': 20146940, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859449, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 29)}, 'papier': {'main_port_id': 20146863, 'sub_port_id': 20146941, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859450, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 29)}, 'metal': {'main_port_id': 20146863, 'sub_port_id': 20146942, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859451, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 29)}, 'mal_croppe': {'main_port_id': 20146863, 'sub_port_id': 20146943, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859452, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 29)}, 'environnement': {'main_port_id': 20146863, 'sub_port_id': 20146944, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859453, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 29)}, 'Carton_brun': {'main_port_id': 20146863, 'sub_port_id': 20146945, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859454, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 29)}, 'kraft': {'main_port_id': 20146863, 'sub_port_id': 20146946, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859455, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 29)}, 'plastique': {'main_port_id': 20146863, 'sub_port_id': 20146947, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859456, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 29)}, 'Carton_gris': {'main_port_id': 20146863, 'sub_port_id': 20146948, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859457, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 20146863, 'sub_port_id': 20146949, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859458, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 29)}, 'cartonnette': {'main_port_id': 20146863, 'sub_port_id': 20146950, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12859459, 'last_updated_at': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 2, 2, 0, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 2, 2, 0, 3, 29)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20146939,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20146927 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20146940,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20146928 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20146941,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20146929 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20146942,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20146930 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20146943,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20146931 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20146944,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20146932 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20146945,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20146933 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20146946,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20146934 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20146947,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20146935 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20146948,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20146936 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20146949,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20146937 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20146950,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20146938 lien utilise dans velours : https://www.fotonower.com/velours/20146939,20146940,20146941,20146942,20146943,20146944,20146945,20146946,20146947,20146948,20146949,20146950?tags=flou,autre_refus,papier,metal,mal_croppe,environnement,Carton_brun,kraft,plastique,Carton_gris,Teint_Dans_La_Masse,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20146863]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1333553286, 1333553283, 1333553280, 1333553277, 1333553252, 1333553250, 1333553218, 1333553200, 1333551509, 1333551507, 1333551505, 1333551504, 1333551502, 1333551501, 1333551435, 1333551299, 1333551172, 1333551168, 1333551117, 1333551113, 1333551081, 1333551070, 1333551069, 1333551068, 1333551066, 1333551064, 1333550978, 1333550888, 1333550838, 1333550818, 1333550791, 1333550788, 1333550723, 1333550719, 1333550694, 1333550692, 1333550645, 1333550642] map_info['map_portfolio_photo'] : {20146863: [1333553286, 1333553283, 1333553280, 1333553277, 1333553252, 1333553250, 1333553218, 1333553200, 1333551509, 1333551507, 1333551505, 1333551504, 1333551502, 1333551501, 1333551435, 1333551299, 1333551172, 1333551168, 1333551117, 1333551113, 1333551081, 1333551070, 1333551069, 1333551068, 1333551066, 1333551064, 1333550978, 1333550888, 1333550838, 1333550818, 1333550791, 1333550788, 1333550723, 1333550719, 1333550694, 1333550692, 1333550645, 1333550642]} final : False mtd_id 4302 list_pids : [1333553286, 1333553283, 1333553280, 1333553277, 1333553252, 1333553250, 1333553218, 1333553200, 1333551509, 1333551507, 1333551505, 1333551504, 1333551502, 1333551501, 1333551435, 1333551299, 1333551172, 1333551168, 1333551117, 1333551113, 1333551081, 1333551070, 1333551069, 1333551068, 1333551066, 1333551064, 1333550978, 1333550888, 1333550838, 1333550818, 1333550791, 1333550788, 1333550723, 1333550719, 1333550694, 1333550692, 1333550645, 1333550642] Looping around the photos to save general results len do output : 1 /20146863. 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, '2538330') ('4302', '20146863', '1333553286', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553283', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553280', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553277', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553252', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553250', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553218', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553200', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551509', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551507', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551505', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551504', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551502', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551501', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551435', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551299', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551172', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551168', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551117', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551113', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551081', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551070', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551069', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551068', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551066', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551064', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550978', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550888', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550838', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550818', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550791', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550788', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550723', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550719', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550694', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550692', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550645', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550642', None, None, None, None, None, '2538330') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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, '20146863', "{'flou': 20146927, 'autre_refus': 20146928, 'papier': 20146929, 'metal': 20146930, 'mal_croppe': 20146931, 'environnement': 20146932, 'Carton_brun': 20146933, 'kraft': 20146934, 'plastique': 20146935, 'Carton_gris': 20146936, 'Teint_Dans_La_Masse': 20146937, 'cartonnette': 20146938}", None, None, None, None, '2538330'), ('4302', '20146863', '1333553286', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553283', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553280', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553277', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553252', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553250', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553218', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553200', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551509', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551507', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551505', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551504', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551502', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551501', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551435', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551299', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551172', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551168', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551117', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551113', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551081', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551070', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551069', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551068', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551066', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551064', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550978', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550888', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550838', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550818', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550791', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550788', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550723', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550719', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550694', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550692', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550645', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550642', None, None, None, None, None, '2538330')] time used for this insertion : 0.018446683883666992 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.9685730934143066 time spend to save output : 0.018899917602539062 total time spend for step 1 : 0.9874730110168457 step2:final Sun Feb 2 00:03:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (20146863) 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 20146863 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1333553286,1333553283,1333553280,1333553277,1333553252,1333553250,1333550723,1333550719,1333550694,1333550692,1333550645,1333550642,1333553218,1333553200,1333551509,1333551507,1333551505,1333551081,1333551070,1333551069,1333551068,1333551066,1333551064,1333550978,1333550888,1333550838,1333550818,1333550791,1333550788,1333551504,1333551502,1333551501,1333551435,1333551299,1333551172,1333551168,1333551117,1333551113); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20146863]) Inside saveOutput : final : False verbose : True original output for save of step final : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} new output for save of step final : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} [1333553286, 1333553283, 1333553280, 1333553277, 1333553252, 1333553250, 1333553218, 1333553200, 1333551509, 1333551507, 1333551505, 1333551504, 1333551502, 1333551501, 1333551435, 1333551299, 1333551172, 1333551168, 1333551117, 1333551113, 1333551081, 1333551070, 1333551069, 1333551068, 1333551066, 1333551064, 1333550978, 1333550888, 1333550838, 1333550818, 1333550791, 1333550788, 1333550723, 1333550719, 1333550694, 1333550692, 1333550645, 1333550642] map_info['map_portfolio_photo'] : {20146863: [1333553286, 1333553283, 1333553280, 1333553277, 1333553252, 1333553250, 1333553218, 1333553200, 1333551509, 1333551507, 1333551505, 1333551504, 1333551502, 1333551501, 1333551435, 1333551299, 1333551172, 1333551168, 1333551117, 1333551113, 1333551081, 1333551070, 1333551069, 1333551068, 1333551066, 1333551064, 1333550978, 1333550888, 1333550838, 1333550818, 1333550791, 1333550788, 1333550723, 1333550719, 1333550694, 1333550692, 1333550645, 1333550642]} final : False mtd_id 4302 list_pids : [1333553286, 1333553283, 1333553280, 1333553277, 1333553252, 1333553250, 1333553218, 1333553200, 1333551509, 1333551507, 1333551505, 1333551504, 1333551502, 1333551501, 1333551435, 1333551299, 1333551172, 1333551168, 1333551117, 1333551113, 1333551081, 1333551070, 1333551069, 1333551068, 1333551066, 1333551064, 1333550978, 1333550888, 1333550838, 1333550818, 1333550791, 1333550788, 1333550723, 1333550719, 1333550694, 1333550692, 1333550645, 1333550642] Looping around the photos to save general results len do output : 38 /1333553286.Didn't retrieve data . /1333553283.Didn't retrieve data . /1333553280.Didn't retrieve data . /1333553277.Didn't retrieve data . /1333553252.Didn't retrieve data . /1333553250.Didn't retrieve data . /1333553218.Didn't retrieve data . /1333553200.Didn't retrieve data . /1333551509.Didn't retrieve data . /1333551507.Didn't retrieve data . /1333551505.Didn't retrieve data . /1333551504.Didn't retrieve data . /1333551502.Didn't retrieve data . /1333551501.Didn't retrieve data . /1333551435.Didn't retrieve data . /1333551299.Didn't retrieve data . /1333551172.Didn't retrieve data . /1333551168.Didn't retrieve data . /1333551117.Didn't retrieve data . /1333551113.Didn't retrieve data . /1333551081.Didn't retrieve data . /1333551070.Didn't retrieve data . /1333551069.Didn't retrieve data . /1333551068.Didn't retrieve data . /1333551066.Didn't retrieve data . /1333551064.Didn't retrieve data . /1333550978.Didn't retrieve data . /1333550888.Didn't retrieve data . /1333550838.Didn't retrieve data . /1333550818.Didn't retrieve data . /1333550791.Didn't retrieve data . /1333550788.Didn't retrieve data . /1333550723.Didn't retrieve data . /1333550719.Didn't retrieve data . /1333550694.Didn't retrieve data . /1333550692.Didn't retrieve data . /1333550645.Didn't retrieve data . /1333550642.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, '2538330') ('4302', '20146863', '1333553286', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553283', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553280', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553277', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553252', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553250', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553218', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553200', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551509', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551507', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551505', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551504', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551502', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551501', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551435', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551299', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551172', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551168', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551117', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551113', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551081', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551070', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551069', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551068', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551066', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551064', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550978', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550888', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550838', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550818', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550791', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550788', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550723', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550719', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550694', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550692', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550645', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550642', None, None, None, None, None, '2538330') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 114 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', '20146863', '1333553286', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333553283', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333553280', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333553277', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333553252', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333553250', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333553218', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333553200', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333551509', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333551507', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333551505', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333551504', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333551502', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333551501', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333551435', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333551299', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333551172', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333551168', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333551117', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333551113', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333551081', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333551070', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333551069', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333551068', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333551066', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333551064', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333550978', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333550888', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333550838', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333550818', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333550791', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333550788', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333550723', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333550719', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333550694', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333550692', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333550645', '0.0', None, None, None, None, '2538330'), ('4302', '20146863', '1333550642', '0.0', None, None, None, None, '2538330')] time used for this insertion : 0.015787601470947266 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.014728307723999023 time spend to save output : 0.017241477966308594 total time spend for step 2 : 0.03196978569030762 step3:velours_tree Sun Feb 2 00:03:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {20146863: [{'flou': 20146927, 'autre_refus': 20146928, 'papier': 20146929, 'metal': 20146930, 'mal_croppe': 20146931, 'environnement': 20146932, 'Carton_brun': 20146933, 'kraft': 20146934, 'plastique': 20146935, 'Carton_gris': 20146936, 'Teint_Dans_La_Masse': 20146937, 'cartonnette': 20146938}]} input_args_next_step : {20146863: ()} output_args : {20146863: [{'flou': 20146927, 'autre_refus': 20146928, 'papier': 20146929, 'metal': 20146930, 'mal_croppe': 20146931, 'environnement': 20146932, 'Carton_brun': 20146933, 'kraft': 20146934, 'plastique': 20146935, 'Carton_gris': 20146936, 'Teint_Dans_La_Masse': 20146937, 'cartonnette': 20146938}]} args : 20146863 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 : ({'flou': 20146927, 'autre_refus': 20146928, 'papier': 20146929, 'metal': 20146930, 'mal_croppe': 20146931, 'environnement': 20146932, 'Carton_brun': 20146933, 'kraft': 20146934, 'plastique': 20146935, 'Carton_gris': 20146936, 'Teint_Dans_La_Masse': 20146937, 'cartonnette': 20146938},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20146863) 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([20146863]) 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.3232274055480957 time spend to save output : 6.461143493652344e-05 total time spend for step 3 : 0.3232920169830322 step4:send_mail_cod Sun Feb 2 00:03:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} input_args_next_step : {1333553286: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333553286 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333553283 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333553280 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333553277 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333553252 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333553250 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333553218 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333553200 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333551509 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333551507 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333551505 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333551504 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333551502 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333551501 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333551435 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333551299 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333551172 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333551168 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333551117 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333551113 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333551081 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333551070 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333551069 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333551068 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333551066 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333551064 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333550978 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333550888 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333550838 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333550818 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333550791 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333550788 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333550723 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333550719 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333550694 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333550692 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333550645 depend.output_id : 0 input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ()} output_args : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',)} args : 1333550642 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 : {20146863: [{'flou': 20146927, 'autre_refus': 20146928, 'papier': 20146929, 'metal': 20146930, 'mal_croppe': 20146931, 'environnement': 20146932, 'Carton_brun': 20146933, 'kraft': 20146934, 'plastique': 20146935, 'Carton_gris': 20146936, 'Teint_Dans_La_Masse': 20146937, 'cartonnette': 20146938}]} input_args_next_step : {1333553286: ('0.0',), 1333553283: ('0.0',), 1333553280: ('0.0',), 1333553277: ('0.0',), 1333553252: ('0.0',), 1333553250: ('0.0',), 1333553218: ('0.0',), 1333553200: ('0.0',), 1333551509: ('0.0',), 1333551507: ('0.0',), 1333551505: ('0.0',), 1333551504: ('0.0',), 1333551502: ('0.0',), 1333551501: ('0.0',), 1333551435: ('0.0',), 1333551299: ('0.0',), 1333551172: ('0.0',), 1333551168: ('0.0',), 1333551117: ('0.0',), 1333551113: ('0.0',), 1333551081: ('0.0',), 1333551070: ('0.0',), 1333551069: ('0.0',), 1333551068: ('0.0',), 1333551066: ('0.0',), 1333551064: ('0.0',), 1333550978: ('0.0',), 1333550888: ('0.0',), 1333550838: ('0.0',), 1333550818: ('0.0',), 1333550791: ('0.0',), 1333550788: ('0.0',), 1333550723: ('0.0',), 1333550719: ('0.0',), 1333550694: ('0.0',), 1333550692: ('0.0',), 1333550645: ('0.0',), 1333550642: ('0.0',), 20146863: ()} output_args : {20146863: [{'flou': 20146927, 'autre_refus': 20146928, 'papier': 20146929, 'metal': 20146930, 'mal_croppe': 20146931, 'environnement': 20146932, 'Carton_brun': 20146933, 'kraft': 20146934, 'plastique': 20146935, 'Carton_gris': 20146936, 'Teint_Dans_La_Masse': 20146937, 'cartonnette': 20146938}]} args : 20146863 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 :39, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20146863) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1333553286,1333553283,1333553280,1333553277,1333553252,1333553250,1333553218,1333553200,1333551509,1333551507,1333551505,1333551504,1333551502,1333551501,1333551435,1333551299,1333551172,1333551168,1333551117,1333551113,1333551081,1333551070,1333551069,1333551068,1333551066,1333551064,1333550978,1333550888,1333550838,1333550818,1333550791,1333550788,1333550723,1333550719,1333550694,1333550692,1333550645,1333550642) Found this number of photos: 38 ##### Call download_photos : nb_thread : 5 begin to download photo : 1333550642 begin to download photo : 1333550818 begin to download photo : 1333551070 begin to download photo : 1333551501 begin to download photo : 1333553250 download finish for photo 1333550818 begin to download photo : 1333550838 download finish for photo 1333551501 begin to download photo : 1333551502 download finish for photo 1333550642 begin to download photo : 1333550645 download finish for photo 1333551070 begin to download photo : 1333551081 download finish for photo 1333553250 begin to download photo : 1333553252 download finish for photo 1333551502 begin to download photo : 1333551504 download finish for photo 1333550838 begin to download photo : 1333550888 download finish for photo 1333550645 begin to download photo : 1333550692 download finish for photo 1333551081 begin to download photo : 1333551113 download finish for photo 1333553252 begin to download photo : 1333553277 download finish for photo 1333551504 begin to download photo : 1333551505 download finish for photo 1333551113 begin to download photo : 1333551117 download finish for photo 1333550692 begin to download photo : 1333550694 download finish for photo 1333553277 begin to download photo : 1333553280 download finish for photo 1333550888 begin to download photo : 1333550978 download finish for photo 1333550694 begin to download photo : 1333550719 download finish for photo 1333551505 begin to download photo : 1333551507 download finish for photo 1333551117 begin to download photo : 1333551168 download finish for photo 1333553280 begin to download photo : 1333553283 download finish for photo 1333550978 begin to download photo : 1333551064 download finish for photo 1333550719 begin to download photo : 1333550723 download finish for photo 1333551507 begin to download photo : 1333551509 download finish for photo 1333553283 begin to download photo : 1333553286 download finish for photo 1333551064 begin to download photo : 1333551066 download finish for photo 1333550723 begin to download photo : 1333550788 download finish for photo 1333551168 begin to download photo : 1333551172 download finish for photo 1333551066 begin to download photo : 1333551068 download finish for photo 1333551509 begin to download photo : 1333553200 download finish for photo 1333553286 download finish for photo 1333553200 begin to download photo : 1333553218 download finish for photo 1333551068 begin to download photo : 1333551069 download finish for photo 1333551172 begin to download photo : 1333551299 download finish for photo 1333550788 begin to download photo : 1333550791 download finish for photo 1333551299 begin to download photo : 1333551435 download finish for photo 1333551069 download finish for photo 1333550791 download finish for photo 1333553218 download finish for photo 1333551435 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette201469271738451010/ imagette201469281738451010/ imagette201469301738451010/ imagette201469311738451010/ imagette201469341738451010/ imagette201469351738451010/ imagette201469381738451010/ imagette201469331738451010/ imagette201469361738451010/ imagette201469371738451010/ length of list_filenames : 38 ; length of list_pids : 38 ; length of list_args : 38 results_Auto_P20146863_02-02-2025_00_03_30.pdf 20146927 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20146927 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201469271738451010 20146928 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20146928 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201469281738451010 20146930 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20146930 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201469301738451010 20146931 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20146931 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201469311738451010 20146934 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20146934 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201469341738451010 20146935 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20146935 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201469351738451010 20146938 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20146938 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201469381738451010 20146933 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20146933 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201469331738451010 20146936 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20146936 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201469361738451010 20146937 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20146937 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201469371738451010 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20146863 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20146939,20146940,20146941,20146942,20146943,20146944,20146945,20146946,20146947,20146948,20146949,20146950?tags=flou,autre_refus,papier,metal,mal_croppe,environnement,Carton_brun,kraft,plastique,Carton_gris,Teint_Dans_La_Masse,cartonnette your option no_mail is active, we will not send the real mail to your client args[1333553286] : ('0.0',) no score found for photo 1333553286 We are sending mail with results at report@fotonower.com args[1333553283] : ('0.0',) no score found for photo 1333553283 We are sending mail with results at report@fotonower.com args[1333553280] : ('0.0',) no score found for photo 1333553280 We are sending mail with results at report@fotonower.com args[1333553277] : ('0.0',) no score found for photo 1333553277 We are sending mail with results at report@fotonower.com args[1333553252] : ('0.0',) no score found for photo 1333553252 We are sending mail with results at report@fotonower.com args[1333553250] : ('0.0',) no score found for photo 1333553250 We are sending mail with results at report@fotonower.com args[1333553218] : ('0.0',) no score found for photo 1333553218 We are sending mail with results at report@fotonower.com args[1333553200] : ('0.0',) no score found for photo 1333553200 We are sending mail with results at report@fotonower.com args[1333551509] : ('0.0',) no score found for photo 1333551509 We are sending mail with results at report@fotonower.com args[1333551507] : ('0.0',) no score found for photo 1333551507 We are sending mail with results at report@fotonower.com args[1333551505] : ('0.0',) no score found for photo 1333551505 We are sending mail with results at report@fotonower.com args[1333551504] : ('0.0',) no score found for photo 1333551504 We are sending mail with results at report@fotonower.com args[1333551502] : ('0.0',) no score found for photo 1333551502 We are sending mail with results at report@fotonower.com args[1333551501] : ('0.0',) no score found for photo 1333551501 We are sending mail with results at report@fotonower.com args[1333551435] : ('0.0',) no score found for photo 1333551435 We are sending mail with results at report@fotonower.com args[1333551299] : ('0.0',) no score found for photo 1333551299 We are sending mail with results at report@fotonower.com args[1333551172] : ('0.0',) no score found for photo 1333551172 We are sending mail with results at report@fotonower.com args[1333551168] : ('0.0',) no score found for photo 1333551168 We are sending mail with results at report@fotonower.com args[1333551117] : ('0.0',) no score found for photo 1333551117 We are sending mail with results at report@fotonower.com args[1333551113] : ('0.0',) no score found for photo 1333551113 We are sending mail with results at report@fotonower.com args[1333551081] : ('0.0',) no score found for photo 1333551081 We are sending mail with results at report@fotonower.com args[1333551070] : ('0.0',) no score found for photo 1333551070 We are sending mail with results at report@fotonower.com args[1333551069] : ('0.0',) no score found for photo 1333551069 We are sending mail with results at report@fotonower.com args[1333551068] : ('0.0',) no score found for photo 1333551068 We are sending mail with results at report@fotonower.com args[1333551066] : ('0.0',) no score found for photo 1333551066 We are sending mail with results at report@fotonower.com args[1333551064] : ('0.0',) no score found for photo 1333551064 We are sending mail with results at report@fotonower.com args[1333550978] : ('0.0',) no score found for photo 1333550978 We are sending mail with results at report@fotonower.com args[1333550888] : ('0.0',) no score found for photo 1333550888 We are sending mail with results at report@fotonower.com args[1333550838] : ('0.0',) no score found for photo 1333550838 We are sending mail with results at report@fotonower.com args[1333550818] : ('0.0',) no score found for photo 1333550818 We are sending mail with results at report@fotonower.com args[1333550791] : ('0.0',) no score found for photo 1333550791 We are sending mail with results at report@fotonower.com args[1333550788] : ('0.0',) no score found for photo 1333550788 We are sending mail with results at report@fotonower.com args[1333550723] : ('0.0',) no score found for photo 1333550723 We are sending mail with results at report@fotonower.com args[1333550719] : ('0.0',) no score found for photo 1333550719 We are sending mail with results at report@fotonower.com args[1333550694] : ('0.0',) no score found for photo 1333550694 We are sending mail with results at report@fotonower.com args[1333550692] : ('0.0',) no score found for photo 1333550692 We are sending mail with results at report@fotonower.com args[1333550645] : ('0.0',) no score found for photo 1333550645 We are sending mail with results at report@fotonower.com args[1333550642] : ('0.0',) no score found for photo 1333550642 We are sending mail with results at report@fotonower.com refus_total : 0.0 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20146863 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_P20146863_02-02-2025_00_03_30.pdf results_Auto_P20146863_02-02-2025_00_03_30.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20146863_02-02-2025_00_03_30.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','20146863','results_Auto_P20146863_02-02-2025_00_03_30.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20146863_02-02-2025_00_03_30.pdf','pdf','','0.29','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20146863]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1333553286, 1333553283, 1333553280, 1333553277, 1333553252, 1333553250, 1333553218, 1333553200, 1333551509, 1333551507, 1333551505, 1333551504, 1333551502, 1333551501, 1333551435, 1333551299, 1333551172, 1333551168, 1333551117, 1333551113, 1333551081, 1333551070, 1333551069, 1333551068, 1333551066, 1333551064, 1333550978, 1333550888, 1333550838, 1333550818, 1333550791, 1333550788, 1333550723, 1333550719, 1333550694, 1333550692, 1333550645, 1333550642] map_info['map_portfolio_photo'] : {20146863: [1333553286, 1333553283, 1333553280, 1333553277, 1333553252, 1333553250, 1333553218, 1333553200, 1333551509, 1333551507, 1333551505, 1333551504, 1333551502, 1333551501, 1333551435, 1333551299, 1333551172, 1333551168, 1333551117, 1333551113, 1333551081, 1333551070, 1333551069, 1333551068, 1333551066, 1333551064, 1333550978, 1333550888, 1333550838, 1333550818, 1333550791, 1333550788, 1333550723, 1333550719, 1333550694, 1333550692, 1333550645, 1333550642]} final : False mtd_id 4302 list_pids : [1333553286, 1333553283, 1333553280, 1333553277, 1333553252, 1333553250, 1333553218, 1333553200, 1333551509, 1333551507, 1333551505, 1333551504, 1333551502, 1333551501, 1333551435, 1333551299, 1333551172, 1333551168, 1333551117, 1333551113, 1333551081, 1333551070, 1333551069, 1333551068, 1333551066, 1333551064, 1333550978, 1333550888, 1333550838, 1333550818, 1333550791, 1333550788, 1333550723, 1333550719, 1333550694, 1333550692, 1333550645, 1333550642] 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, '2538330') ('4302', '20146863', '1333553286', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553283', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553280', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553277', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553252', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553250', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553218', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553200', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551509', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551507', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551505', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551504', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551502', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551501', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551435', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551299', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551172', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551168', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551117', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551113', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551081', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551070', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551069', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551068', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551066', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551064', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550978', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550888', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550838', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550818', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550791', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550788', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550723', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550719', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550694', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550692', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550645', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550642', None, None, None, None, None, '2538330') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20146863', '1333553286', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553283', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553280', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553277', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553252', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553250', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553218', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553200', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551509', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551507', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551505', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551504', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551502', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551501', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551435', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551299', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551172', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551168', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551117', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551113', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551081', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551070', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551069', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551068', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551066', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551064', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550978', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550888', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550838', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550818', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550791', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550788', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550723', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550719', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550694', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550692', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550645', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550642', None, None, None, None, None, '2538330')] time used for this insertion : 0.01741766929626465 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.4538207054138184 time spend to save output : 0.01789093017578125 total time spend for step 4 : 3.4717116355895996 step5:split_time_score Sun Feb 2 00:03:33 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 : ['20146863'] 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 : [('20146863',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20146863) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1333553250: {'path': 'temp/1738451009_1858158_1333553250_ca356fd26e16663bc8a498b872aadb9b.jpg', 'extension': 'jpg'}, 1333553252: {'path': 'temp/1738451009_1858158_1333553252_b608721a2980c1d0fecb3ce3e3fe9a1c.jpg', 'extension': 'jpg'}, 1333553277: {'path': 'temp/1738451009_1858158_1333553277_43041e8f66a2596c384ddb55ae6112a3.jpg', 'extension': 'jpg'}, 1333553280: {'path': 'temp/1738451009_1858158_1333553280_d2808dfe97888c4c5603e15ae272f9f1.jpg', 'extension': 'jpg'}, 1333553283: {'path': 'temp/1738451009_1858158_1333553283_11b63dc6508190233a31bb20fd35d124.jpg', 'extension': 'jpg'}, 1333553286: {'path': 'temp/1738451009_1858158_1333553286_7019682d8b0e22a5cbdc4d47a6802baf.jpg', 'extension': 'jpg'}, 1333550818: {'path': 'temp/1738451009_1858158_1333550818_2f5aeb743489a3c72e3e54795aa86f77.jpg', 'extension': 'jpg'}, 1333550838: {'path': 'temp/1738451009_1858158_1333550838_269234faf61c5ad484d25c65146066f8.jpg', 'extension': 'jpg'}, 1333550888: {'path': 'temp/1738451009_1858158_1333550888_93100de5583c22ca80056e30ac47eec0.jpg', 'extension': 'jpg'}, 1333550978: {'path': 'temp/1738451009_1858158_1333550978_63a2069a0730b6867fe554f0b2a87798.jpg', 'extension': 'jpg'}, 1333551064: {'path': 'temp/1738451009_1858158_1333551064_045136cc88c818c41706c9a18b90a442.jpg', 'extension': 'jpg'}, 1333551066: {'path': 'temp/1738451009_1858158_1333551066_06f572d7950f0c4659c0e685920eb216.jpg', 'extension': 'jpg'}, 1333551068: {'path': 'temp/1738451009_1858158_1333551068_59243a5d9d9200a774725013b7bb6e7c.jpg', 'extension': 'jpg'}, 1333551069: {'path': 'temp/1738451009_1858158_1333551069_633d4bb16208edb3fb7e8efac185c7f0.jpg', 'extension': 'jpg'}, 1333550642: {'path': 'temp/1738451009_1858158_1333550642_98e9ede392a6f4c292cadaab918493e6.jpg', 'extension': 'jpg'}, 1333550645: {'path': 'temp/1738451009_1858158_1333550645_73ba91a3c7f6ff35b95056b51d363a28.jpg', 'extension': 'jpg'}, 1333550692: {'path': 'temp/1738451009_1858158_1333550692_74056d96a29f62c8b1e90970836f2aeb.jpg', 'extension': 'jpg'}, 1333550694: {'path': 'temp/1738451009_1858158_1333550694_b12daaae7ad8f16777061be49f67256f.jpg', 'extension': 'jpg'}, 1333550719: {'path': 'temp/1738451009_1858158_1333550719_1cd8d311874bc91e34ce51788a84b5a1.jpg', 'extension': 'jpg'}, 1333550723: {'path': 'temp/1738451009_1858158_1333550723_74ab633503ac37162b0c676971ec009d.jpg', 'extension': 'jpg'}, 1333550788: {'path': 'temp/1738451009_1858158_1333550788_944089538e12b670cc51b076f7cfefa4.jpg', 'extension': 'jpg'}, 1333550791: {'path': 'temp/1738451009_1858158_1333550791_d59813869dfbc3e2d29899a74d3c87d5.jpg', 'extension': 'jpg'}, 1333551501: {'path': 'temp/1738451009_1858158_1333551501_e2023096dd984b0dc588bc93b5b15b46.jpg', 'extension': 'jpg'}, 1333551502: {'path': 'temp/1738451009_1858158_1333551502_2a38fe7cf2fe7a2c08369ceabb731e06.jpg', 'extension': 'jpg'}, 1333551504: {'path': 'temp/1738451009_1858158_1333551504_1521f9d730eface2e3ecb54487caadce.jpg', 'extension': 'jpg'}, 1333551505: {'path': 'temp/1738451009_1858158_1333551505_6741553065cdc232377ebd4b3a29c252.jpg', 'extension': 'jpg'}, 1333551507: {'path': 'temp/1738451009_1858158_1333551507_ea7f373a4da83cc21d9dd16cd4b8ef10.jpg', 'extension': 'jpg'}, 1333551509: {'path': 'temp/1738451009_1858158_1333551509_ef712d0795ea6cb40b4f6bd8430fd3d4.jpg', 'extension': 'jpg'}, 1333553200: {'path': 'temp/1738451009_1858158_1333553200_c9997bc5e40071800ba970087a2e16a3.jpg', 'extension': 'jpg'}, 1333553218: {'path': 'temp/1738451009_1858158_1333553218_fc5874c3c231026315048f76d45cf382.jpg', 'extension': 'jpg'}, 1333551070: {'path': 'temp/1738451009_1858158_1333551070_52e6e1bd0d48049b9da2e3b71c8d3413.jpg', 'extension': 'jpg'}, 1333551081: {'path': 'temp/1738451009_1858158_1333551081_2d7c7384da0d45342a8edf1df8253eb7.jpg', 'extension': 'jpg'}, 1333551113: {'path': 'temp/1738451009_1858158_1333551113_9a75df0c71d3e8c5eb014807ba77e438.jpg', 'extension': 'jpg'}, 1333551117: {'path': 'temp/1738451009_1858158_1333551117_183fc2fe1cf3eb983d580ae17ba1ce21.jpg', 'extension': 'jpg'}, 1333551168: {'path': 'temp/1738451009_1858158_1333551168_6ef9d9a8c92f8f893353bd64b95b7caa.jpg', 'extension': 'jpg'}, 1333551172: {'path': 'temp/1738451009_1858158_1333551172_e61555f9214b4821774d7c43d3edab15.jpg', 'extension': 'jpg'}, 1333551299: {'path': 'temp/1738451009_1858158_1333551299_d3ef68fea2e81b7749bb9c6fdf4ad4d5.jpg', 'extension': 'jpg'}, 1333551435: {'path': 'temp/1738451009_1858158_1333551435_f30e532339b781cd7fa7eb6fb8922ffe.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 = 20146863; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 20146863 group by h (('00', 38),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20146863 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 (20146863) 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 (20146863) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 01022025 20146863 Nombre de photos uploadées : 38 / 23040 (0%) 01022025 20146863 Nombre de photos taguées (types de déchets): 0 / 38 (0%) 01022025 20146863 Nombre de photos taguées (volume) : 0 / 38 (0%) [{'photo_id': 1333553286, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/7019682d8b0e22a5cbdc4d47a6802baf.jpg', 'username': None, 'uploaded_at': 1738372837, 'text': 'image_01022025_00_30_04_10140.jpg'}, {'photo_id': 1333553283, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/11b63dc6508190233a31bb20fd35d124.jpg', 'username': None, 'uploaded_at': 1738372837, 'text': 'image_01022025_00_30_14_10138.jpg'}, {'photo_id': 1333553280, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/d2808dfe97888c4c5603e15ae272f9f1.jpg', 'username': None, 'uploaded_at': 1738372837, 'text': 'image_01022025_00_30_23_9149.jpg'}, {'photo_id': 1333553277, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/1/43041e8f66a2596c384ddb55ae6112a3.jpg', 'username': None, 'uploaded_at': 1738372837, 'text': 'image_01022025_00_30_33_10225.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ?????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0012171268463134766 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20146863, '2025-02-01' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1570512,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.022755861282348633 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= 1570512 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1570512, 'dashboard_run_id': 1579383, 'mtr_portfolio_id': 20146861, 'dashboard_result_id': 8650889, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1570512, 'dashboard_run_id': 1579383, 'mtr_portfolio_id': 20146862, 'dashboard_result_id': 8650890, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1570512, 'dashboard_run_id': 1579383, 'mtr_portfolio_id': 20146863, 'dashboard_result_id': 8650891, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1570512, 'dashboard_run_id': 1579383, 'mtr_portfolio_id': 20146864, 'dashboard_result_id': 8650892, '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_P20146864_02-02-2025_00_03_01.pdf'}"}, {'dashboat_entry_day': 1570512, 'dashboard_run_id': 1579383, 'mtr_portfolio_id': 20129197, 'dashboard_result_id': 8650893, '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_P20129197_02-02-2025_00_01_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20129229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20129230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20129231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20129232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20129233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20129234, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20129235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20129236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20129237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20129238, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20129239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20129240, 'pht': 3726}}"}, {'dashboat_entry_day': 1570512, 'dashboard_run_id': 1579383, 'mtr_portfolio_id': 20129199, 'dashboard_result_id': 8650894, '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_P20129199_02-02-2025_00_02_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20129314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20129315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20129316, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20129317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20129318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20129319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20129320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20129321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20129322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20129323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20129324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20129325, 'pht': 3726}}"}, {'dashboat_entry_day': 1570512, 'dashboard_run_id': 1579383, 'mtr_portfolio_id': 20129398, 'dashboard_result_id': 8650895, '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_P20129398_01-02-2025_02_51_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20129407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20129408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20129409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20129410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20129411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20129412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20129413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20129414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20129415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20129416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20129417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20129418, 'pht': 3726}}"}, {'dashboat_entry_day': 1570512, 'dashboard_run_id': 1579383, 'mtr_portfolio_id': 20129522, 'dashboard_result_id': 8650896, '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_P20129522_01-02-2025_02_43_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20129530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20129531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20129532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20129533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20129534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20129535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20129536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20129537, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20129538, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20129539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20129540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20129541, 'pht': 3726}}"}, {'dashboat_entry_day': 1570512, 'dashboard_run_id': 1579383, 'mtr_portfolio_id': 20129564, 'dashboard_result_id': 8650897, '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_P20129564_01-02-2025_02_49_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20129631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20129632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20129633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20129634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20129635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20129636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20129637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20129638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20129639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20129640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20129641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20129642, 'pht': 3726}}"}, {'dashboat_entry_day': 1570512, 'dashboard_run_id': 1579383, 'mtr_portfolio_id': 20130338, 'dashboard_result_id': 8650898, '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_P20130338_01-02-2025_03_06_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20130339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20130340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20130341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20130342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20130343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20130344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20130345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20130346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20130347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20130348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20130349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20130350, 'pht': 3726}}"}, {'dashboat_entry_day': 1570512, 'dashboard_run_id': 1579383, 'mtr_portfolio_id': 20131031, 'dashboard_result_id': 8650899, '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_P20131031_01-02-2025_03_16_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20131106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20131107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20131108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20131109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20131110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20131111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20131112, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20131113, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20131114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20131115, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20131116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20131117, 'pht': 3726}}"}, {'dashboat_entry_day': 1570512, 'dashboard_run_id': 1579383, 'mtr_portfolio_id': 20131722, 'dashboard_result_id': 8650900, '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_P20131722_01-02-2025_03_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20131743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20131744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20131745, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20131746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20131747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20131748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20131749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20131750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20131751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20131752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20131753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20131754, 'pht': 3726}}"}, {'dashboat_entry_day': 1570512, 'dashboard_run_id': 1579383, 'mtr_portfolio_id': 20132396, 'dashboard_result_id': 8650901, '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_P20132396_01-02-2025_03_46_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20132400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20132401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20132402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20132403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20132404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20132405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20132406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20132407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20132408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20132409, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20132410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20132411, 'pht': 3726}}"}, {'dashboat_entry_day': 1570512, 'dashboard_run_id': 1579383, 'mtr_portfolio_id': 20132801, 'dashboard_result_id': 8650902, '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_P20132801_01-02-2025_04_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20132805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20132806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20132807, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20132808, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20132809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20132810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20132811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20132812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20132813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20132814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20132815, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20132816, 'pht': 3726}}"}, {'dashboat_entry_day': 1570512, 'dashboard_run_id': 1579383, 'mtr_portfolio_id': 20133387, 'dashboard_result_id': 8650903, '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_P20133387_01-02-2025_04_14_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20133406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20133407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20133408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20133409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20133410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20133411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20133412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20133413, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20133414, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20133415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20133416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20133417, 'pht': 3726}}"}, {'dashboat_entry_day': 1570512, 'dashboard_run_id': 1579383, 'mtr_portfolio_id': 20134034, 'dashboard_result_id': 8650904, '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_P20134034_01-02-2025_04_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20134039, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20134040, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20134041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20134042, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20134043, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20134044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20134045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20134046, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20134047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20134048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20134049, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20134050, 'pht': 3726}}"}, {'dashboat_entry_day': 1570512, 'dashboard_run_id': 1579383, 'mtr_portfolio_id': 20134638, 'dashboard_result_id': 8650905, '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_P20134638_01-02-2025_04_45_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20134642, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20134643, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20134644, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20134645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20134646, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20134647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20134648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20134649, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20134650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20134651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20134652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20134653, '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 = 20146861 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20146861 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20146861 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20146861%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20146861 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 20146861 and dashboard_run_id = 1579383 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 = 20146862 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20146862 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20146862 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20146862%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20146862 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 20146862 and dashboard_run_id = 1579383 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 = 20146863 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20146863 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20146863 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20146863 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20146863 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20146863 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20146863_02-02-2025_00_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20146863 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_P20146863_02-02-2025_00_03_30.pdf'}" where mtr_portfolio_id = 20146863 and dashboard_run_id = 1579383 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 = 20146864 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20146864 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 20146864 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20146864 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20146864 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20146864 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20146864_02-02-2025_00_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20146864 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_P20146864_02-02-2025_00_03_01.pdf'}" where mtr_portfolio_id = 20146864 and dashboard_run_id = 1579383 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 = 20129197 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': 2535968, 'mtr_portfolio_id': 20129197, 'created_at': datetime.datetime(2025, 2, 2, 0, 1, 33), 'result': '0.042535554752810116', 'result_long': None, 'result_double': None}] Qualite : 0.042535554752810116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20129197 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20129197_02-02-2025_00_01_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20129197 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_P20129197_02-02-2025_00_01_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20129229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20129230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20129231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20129232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20129233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20129234, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20129235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20129236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20129237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20129238, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20129239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20129240, 'pht': 3726}}" where mtr_portfolio_id = 20129197 and dashboard_run_id = 1579383 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`=20129197 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8650893, 0.042535554752810116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20129197_02-02-2025_00_01_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20129229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20129230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20129231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20129232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20129233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20129234, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20129235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20129236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20129237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20129238, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20129239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20129240, '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 = 20129199 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': 2535969, 'mtr_portfolio_id': 20129199, 'created_at': datetime.datetime(2025, 2, 2, 0, 2, 28), 'result': '0.036005022418422586', 'result_long': None, 'result_double': None}] Qualite : 0.036005022418422586 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20129199 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20129199_02-02-2025_00_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20129199 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_P20129199_02-02-2025_00_02_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20129314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20129315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20129316, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20129317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20129318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20129319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20129320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20129321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20129322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20129323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20129324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20129325, 'pht': 3726}}" where mtr_portfolio_id = 20129199 and dashboard_run_id = 1579383 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`=20129199 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8650894, 0.036005022418422586, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20129199_02-02-2025_00_02_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20129314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20129315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20129316, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20129317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20129318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20129319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20129320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20129321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20129322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20129323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20129324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20129325, '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 = 20129398 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': 2535992, 'mtr_portfolio_id': 20129398, 'created_at': datetime.datetime(2025, 2, 1, 2, 51, 29), 'result': '0.05307496687723162', 'result_long': None, 'result_double': None}] Qualite : 0.05307496687723162 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20129398 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20129398_01-02-2025_02_51_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20129398 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_P20129398_01-02-2025_02_51_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20129407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20129408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20129409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20129410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20129411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20129412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20129413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20129414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20129415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20129416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20129417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20129418, 'pht': 3726}}" where mtr_portfolio_id = 20129398 and dashboard_run_id = 1579383 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`=20129398 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8650895, 0.05307496687723162, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20129398_01-02-2025_02_51_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20129407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20129408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20129409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20129410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20129411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20129412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20129413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20129414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20129415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20129416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20129417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20129418, '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 = 20129522 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': 2536009, 'mtr_portfolio_id': 20129522, 'created_at': datetime.datetime(2025, 2, 1, 2, 43, 28), 'result': '0.04456191143963002', 'result_long': None, 'result_double': None}] Qualite : 0.04456191143963002 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20129522 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20129522_01-02-2025_02_43_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20129522 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_P20129522_01-02-2025_02_43_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20129530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20129531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20129532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20129533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20129534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20129535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20129536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20129537, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20129538, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20129539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20129540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20129541, 'pht': 3726}}" where mtr_portfolio_id = 20129522 and dashboard_run_id = 1579383 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`=20129522 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8650896, 0.04456191143963002, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20129522_01-02-2025_02_43_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20129530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20129531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20129532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20129533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20129534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20129535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20129536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20129537, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20129538, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20129539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20129540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20129541, '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 = 20129564 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': 2536030, 'mtr_portfolio_id': 20129564, 'created_at': datetime.datetime(2025, 2, 1, 2, 49, 2), 'result': '0.05245472034020985', 'result_long': None, 'result_double': None}] Qualite : 0.05245472034020985 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20129564 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20129564_01-02-2025_02_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20129564 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_P20129564_01-02-2025_02_49_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20129631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20129632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20129633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20129634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20129635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20129636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20129637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20129638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20129639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20129640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20129641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20129642, 'pht': 3726}}" where mtr_portfolio_id = 20129564 and dashboard_run_id = 1579383 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`=20129564 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8650897, 0.05245472034020985, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20129564_01-02-2025_02_49_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20129631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20129632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20129633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20129634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20129635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20129636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20129637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20129638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20129639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20129640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20129641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20129642, '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 = 20130338 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': 2536180, 'mtr_portfolio_id': 20130338, 'created_at': datetime.datetime(2025, 2, 1, 3, 6, 57), 'result': '0.053815852550840204', 'result_long': None, 'result_double': None}] Qualite : 0.053815852550840204 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20130338 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20130338_01-02-2025_03_06_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20130338 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_P20130338_01-02-2025_03_06_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20130339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20130340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20130341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20130342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20130343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20130344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20130345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20130346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20130347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20130348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20130349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20130350, 'pht': 3726}}" where mtr_portfolio_id = 20130338 and dashboard_run_id = 1579383 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`=20130338 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8650898, 0.053815852550840204, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20130338_01-02-2025_03_06_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20130339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20130340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20130341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20130342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20130343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20130344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20130345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20130346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20130347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20130348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20130349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20130350, '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 = 20131031 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': 2536250, 'mtr_portfolio_id': 20131031, 'created_at': datetime.datetime(2025, 2, 1, 3, 16, 58), 'result': '0.032167850364243154', 'result_long': None, 'result_double': None}] Qualite : 0.032167850364243154 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20131031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20131031_01-02-2025_03_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20131031 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_P20131031_01-02-2025_03_16_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20131106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20131107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20131108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20131109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20131110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20131111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20131112, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20131113, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20131114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20131115, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20131116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20131117, 'pht': 3726}}" where mtr_portfolio_id = 20131031 and dashboard_run_id = 1579383 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`=20131031 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8650899, 0.032167850364243154, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20131031_01-02-2025_03_16_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20131106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20131107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20131108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20131109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20131110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20131111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20131112, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20131113, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20131114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20131115, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20131116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20131117, '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 = 20131722 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': 2536321, 'mtr_portfolio_id': 20131722, 'created_at': datetime.datetime(2025, 2, 1, 3, 33), 'result': '0.04477855655213374', 'result_long': None, 'result_double': None}] Qualite : 0.04477855655213374 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20131722 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20131722_01-02-2025_03_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20131722 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_P20131722_01-02-2025_03_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20131743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20131744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20131745, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20131746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20131747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20131748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20131749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20131750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20131751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20131752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20131753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20131754, 'pht': 3726}}" where mtr_portfolio_id = 20131722 and dashboard_run_id = 1579383 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`=20131722 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8650900, 0.04477855655213374, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20131722_01-02-2025_03_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20131743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20131744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20131745, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20131746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20131747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20131748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20131749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20131750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20131751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20131752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20131753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20131754, '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 = 20132396 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': 2536374, 'mtr_portfolio_id': 20132396, 'created_at': datetime.datetime(2025, 2, 1, 3, 46, 30), 'result': '0.03261795764197156', 'result_long': None, 'result_double': None}] Qualite : 0.03261795764197156 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20132396 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20132396_01-02-2025_03_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20132396 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_P20132396_01-02-2025_03_46_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20132400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20132401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20132402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20132403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20132404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20132405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20132406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20132407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20132408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20132409, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20132410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20132411, 'pht': 3726}}" where mtr_portfolio_id = 20132396 and dashboard_run_id = 1579383 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`=20132396 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8650901, 0.03261795764197156, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20132396_01-02-2025_03_46_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20132400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20132401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20132402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20132403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20132404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20132405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20132406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20132407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20132408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20132409, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20132410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20132411, '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 = 20132801 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': 2536403, 'mtr_portfolio_id': 20132801, 'created_at': datetime.datetime(2025, 2, 1, 4, 2, 58), 'result': '0.049416957554250546', 'result_long': None, 'result_double': None}] Qualite : 0.049416957554250546 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20132801 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20132801_01-02-2025_04_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20132801 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_P20132801_01-02-2025_04_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20132805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20132806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20132807, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20132808, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20132809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20132810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20132811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20132812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20132813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20132814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20132815, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20132816, 'pht': 3726}}" where mtr_portfolio_id = 20132801 and dashboard_run_id = 1579383 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`=20132801 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8650902, 0.049416957554250546, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20132801_01-02-2025_04_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20132805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20132806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20132807, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20132808, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20132809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20132810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20132811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20132812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20132813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20132814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20132815, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20132816, '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 = 20133387 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': 2536448, 'mtr_portfolio_id': 20133387, 'created_at': datetime.datetime(2025, 2, 1, 4, 14, 30), 'result': '0.05752133669136763', 'result_long': None, 'result_double': None}] Qualite : 0.05752133669136763 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20133387 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20133387_01-02-2025_04_14_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20133387 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_P20133387_01-02-2025_04_14_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20133406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20133407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20133408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20133409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20133410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20133411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20133412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20133413, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20133414, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20133415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20133416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20133417, 'pht': 3726}}" where mtr_portfolio_id = 20133387 and dashboard_run_id = 1579383 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`=20133387 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8650903, 0.05752133669136763, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20133387_01-02-2025_04_14_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20133406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20133407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20133408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20133409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20133410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20133411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20133412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20133413, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20133414, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20133415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20133416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20133417, '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 = 20134034 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': 2536494, 'mtr_portfolio_id': 20134034, 'created_at': datetime.datetime(2025, 2, 1, 4, 32, 57), 'result': '0.06455457521710552', 'result_long': None, 'result_double': None}] Qualite : 0.06455457521710552 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20134034 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20134034_01-02-2025_04_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20134034 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_P20134034_01-02-2025_04_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20134039, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20134040, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20134041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20134042, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20134043, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20134044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20134045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20134046, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20134047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20134048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20134049, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20134050, 'pht': 3726}}" where mtr_portfolio_id = 20134034 and dashboard_run_id = 1579383 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`=20134034 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8650904, 0.06455457521710552, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20134034_01-02-2025_04_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20134039, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20134040, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20134041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20134042, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20134043, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20134044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20134045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20134046, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20134047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20134048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20134049, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20134050, '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 = 20134638 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': 2536531, 'mtr_portfolio_id': 20134638, 'created_at': datetime.datetime(2025, 2, 1, 4, 44, 58), 'result': '0.03876273539194888', 'result_long': None, 'result_double': None}] Qualite : 0.03876273539194888 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20134638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20134638_01-02-2025_04_45_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20134638 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_P20134638_01-02-2025_04_45_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20134642, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20134643, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20134644, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20134645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20134646, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20134647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20134648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20134649, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20134650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20134651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20134652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20134653, 'pht': 3726}}" where mtr_portfolio_id = 20134638 and dashboard_run_id = 1579383 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`=20134638 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8650905, 0.03876273539194888, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20134638_01-02-2025_04_45_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20134642, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20134643, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20134644, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20134645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20134646, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20134647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20134648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20134649, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20134650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20134651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20134652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20134653, '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 (20146861,20146862,20146863,20146864,20129197,20129199,20129398,20129522,20129564,20130338,20131031,20131722,20132396,20132801,20133387,20134034,20134638) result : ((1333553723,), (1333554246,), (1333554305,), (1333554309,), (1333554402,), (1333554412,), (1333554495,), (1333554558,), (1333554570,), (1333554631,), (1333554673,), (1333554677,), (1333554679,), (1333554788,), (1333554791,), (1333554794,), (1333554797,), (1333554799,), (1333554801,), (1333561688,), (1333561689,), (1333561702,), (1333561715,), (1333561717,), (1333561721,), (1333561724,), (1333561756,), (1333561822,), (1333561837,), (1333561845,), (1333561847,), (1333561849,), (1333561850,), (1333561915,), (1333561923,), (1333562043,), (1333562064,), (1333562213,), (1333562220,), (1333562362,), (1333562363,), (1333562487,), (1333562515,), (1333562565,), (1333562584,), (1333563013,), (1333563144,), (1333563271,), (1333563275,), (1333563280,), (1333563284,), (1333563291,), (1333563304,), (1333563318,), (1333563320,), (1333563323,), (1333563359,), (1333563386,), (1333563389,), (1333563391,), (1333554804,), (1333554806,), (1333554809,), (1333554812,), (1333554814,), (1333554816,), (1333554826,), (1333554829,), (1333554834,), (1333554839,), (1333554844,), (1333554848,), (1333554936,), (1333554944,), (1333554980,), (1333554991,), (1333554994,), (1333555031,), (1333555039,), (1333555042,), (1333555045,), (1333555048,), (1333555049,), (1333555052,), (1333560155,), (1333560240,), (1333560256,), (1333560260,), (1333560261,), (1333560287,), (1333560288,), (1333560293,), (1333560294,), (1333560297,), (1333560300,), (1333560383,), (1333560384,), (1333560387,), (1333560420,), (1333560464,), (1333560473,), (1333560477,), (1333560479,), (1333560480,), (1333560481,), (1333560772,), (1333560775,), (1333560789,), (1333560794,), (1333560812,), (1333560814,), (1333560824,), (1333560827,), (1333560908,), (1333560927,), (1333560973,), (1333561124,), (1333561230,), (1333561292,), (1333561310,), (1333561366,), (1333561373,), (1333561518,), (1333561537,), (1333561548,), (1333561550,), (1333561658,), (1333561666,), (1333561670,), (1333561674,), (1333561680,), (1333561681,), (1333561686,), (1333555060,), (1333555062,), (1333555065,), (1333555068,), (1333555071,), (1333555074,), (1333555077,), (1333555078,), (1333555079,), (1333555082,), (1333555085,), (1333555091,), (1333555101,), (1333555103,), (1333555105,), (1333555107,), (1333555108,), (1333555111,), (1333556814,), (1333556889,), (1333556894,), (1333556903,), (1333556906,), (1333556908,), (1333556909,), (1333556912,), (1333557017,), (1333558117,), (1333558485,), (1333558488,), (1333558492,), (1333558517,), (1333558578,), (1333558590,), (1333558934,), (1333558936,), (1333558947,), (1333558985,), (1333559125,), (1333559161,), (1333559165,), (1333559179,), (1333559437,), (1333559584,), (1333559598,), (1333559603,), (1333559623,), (1333559654,), (1333559947,), (1333559950,), (1333559963,), (1333559978,), (1333559988,), (1333559992,), (1333560023,), (1333560030,), (1333560093,), (1333560096,), (1333560099,), (1333560104,), (1333560148,), (1333560150,), (1333560151,), (1333560153,), (1333555130,), (1333555139,), (1333555143,), (1333555146,), (1333555149,), (1333555152,), (1333555159,), (1333555162,), (1333555163,), (1333555164,), (1333555165,), (1333555167,), (1333555174,), (1333555178,), (1333555181,), (1333555184,), (1333555192,), (1333555198,), (1333555226,), (1333555232,), (1333555249,), (1333555352,), (1333555355,), (1333555384,), (1333555386,), (1333555402,), (1333555404,), (1333555529,), (1333555533,), (1333555536,), (1333555632,), (1333555645,), (1333555652,), (1333555674,), (1333555676,), (1333555688,), (1333555823,), (1333555824,), (1333555898,), (1333555901,), (1333555903,), (1333555905,), (1333555906,), (1333555911,), (1333556020,), (1333556031,), (1333556048,), (1333556057,), (1333556059,), (1333556061,), (1333556062,), (1333556063,), (1333556088,), (1333556122,), (1333556130,), (1333556133,), (1333556137,), (1333556141,), (1333556222,), (1333556225,), (1333556240,), (1333556344,), (1333556351,), (1333556353,), (1333556354,), (1333556399,), (1333556500,), (1333556501,), (1333556687,), (1333556726,), (1333556794,), (1333556798,), (1333556800,), (1333555203,), (1333555221,), (1333555224,), (1333555496,), (1333555519,), (1333555525,), (1333555799,), (1333555800,), (1333555803,), (1333555804,), (1333555810,), (1333555811,), (1333555814,), (1333555815,), (1333555818,), (1333555820,), (1333555877,), (1333555878,), (1333555879,), (1333555880,), (1333555883,), (1333555885,), (1333555961,), (1333555968,), (1333555972,), (1333555976,), (1333556066,), (1333556069,), (1333556073,), (1333556077,), (1333556081,), (1333556085,), (1333556157,), (1333556159,), (1333556174,), (1333556179,), (1333556184,), (1333556186,), (1333556213,), (1333556216,), (1333556219,), (1333556220,), (1333556404,), (1333556406,), (1333556459,), (1333556460,), (1333556463,), (1333556464,), (1333556467,), (1333556468,), (1333556470,), (1333556496,), (1333556535,), (1333556538,), (1333556547,), (1333556550,), (1333556566,), (1333556576,), (1333556841,), (1333556842,), (1333556870,), (1333556886,), (1333557350,), (1333557509,), (1333557661,), (1333557838,), (1333557987,), (1333558597,), (1333558600,), (1333558603,), (1333558607,), (1333558610,), (1333558731,), (1333558926,), (1333558927,), (1333558928,), (1333558930,), (1333559205,), (1333559216,), (1333559223,), (1333559238,), (1333559248,), (1333559256,), (1333559836,), (1333559672,), (1333559700,), (1333559710,), (1333559722,), (1333559788,), (1333559887,), (1333559903,), (1333559939,), (1333559944,), (1333560034,), (1333560037,), (1333560040,), (1333560163,), (1333560164,), (1333560364,), (1333560382,), (1333560495,), (1333560497,), (1333560598,), (1333560729,), (1333560837,), (1333560840,), (1333560885,), (1333561443,), (1333561502,), (1333561557,), (1333561593,), (1333561711,), (1333564033,), (1333564034,), (1333564050,), (1333564431,), (1333564421,), (1333564424,), (1333564427,), (1333564468,), (1333564471,), (1333564474,), (1333564479,), (1333564483,), (1333564486,), (1333564506,), (1333564510,), (1333564513,), (1333564517,), (1333564553,), (1333564571,), (1333564739,), (1333564958,), (1333565003,), (1333565022,), (1333565025,), (1333565225,), (1333565227,), (1333565250,), (1333565253,), (1333565267,), (1333565271,), (1333565275,), (1333565279,), (1333565284,), (1333565287,), (1333565645,), (1333565668,), (1333565680,), (1333565880,), (1333565889,), (1333565900,), (1333565931,), (1333565932,), (1333565933,), (1333565935,), (1333566032,), (1333566033,), (1333566040,), (1333566073,), (1333566078,), (1333566085,), (1333566090,), (1333566094,), (1333566098,), (1333566124,), (1333566132,), (1333566135,), (1333566142,), (1333566151,), (1333566189,), (1333566190,), (1333566192,), (1333566193,), (1333566195,), (1333566197,), (1333566199,), (1333566201,), (1333566203,), (1333566205,), (1333566207,), (1333566209,), (1333566223,), (1333566224,), (1333566233,), (1333566234,), (1333566236,), (1333566317,), (1333566856,), (1333566901,), (1333566948,), (1333566950,), (1333566954,), (1333566994,), (1333567197,), (1333567201,), (1333567204,), (1333567208,), (1333567223,), (1333567225,), (1333567227,), (1333567230,), (1333567233,), (1333567248,), (1333567249,), (1333567250,), (1333567251,), (1333567631,), (1333567687,), (1333567760,), (1333567836,), (1333568664,), (1333568726,), (1333568791,), (1333569362,), (1333569460,), (1333569516,), (1333569543,), (1333569546,), (1333569596,), (1333569598,), (1333569628,), (1333572135,), (1333572156,), (1333572159,), (1333572341,), (1333572876,), (1333572888,), (1333572889,), (1333573017,), (1333573021,), (1333573026,), (1333573070,), (1333573075,), (1333573079,), (1333573117,), (1333573120,), (1333573123,), (1333573953,), (1333573956,), (1333573961,), (1333573964,), (1333573967,), (1333573988,), (1333574229,), (1333574339,), (1333574409,), (1333574521,), (1333574641,), (1333574659,), (1333574814,), (1333574821,), (1333574855,), (1333574970,), (1333574973,), (1333574976,), (1333574979,), (1333575267,), (1333575270,), (1333575276,), (1333575281,), (1333575284,), (1333575286,), (1333575305,), (1333575308,), (1333575310,), (1333575314,), (1333575521,), (1333575522,), (1333575552,), (1333575588,), (1333575591,), (1333575612,), (1333575621,), (1333575624,), (1333575627,), (1333575631,), (1333575649,), (1333575650,), (1333575651,), (1333575652,), (1333575655,), (1333575684,), (1333575687,), (1333575690,), (1333575798,), (1333575795,), (1333575796,), (1333575797,), (1333575954,), (1333575957,), (1333575960,), (1333575963,), (1333575994,), (1333576538,), (1333576631,), (1333576646,), (1333576700,), (1333576713,), (1333576714,), (1333576818,), (1333576824,), (1333576826,), (1333576827,), (1333576845,), (1333576846,), (1333576847,), (1333576848,), (1333576880,), (1333576881,), (1333576882,), (1333576883,), (1333576885,), (1333577005,), (1333577006,), (1333577007,), (1333577008,), (1333577042,), (1333577048,), (1333577113,), (1333577145,), (1333577200,), (1333577311,), (1333577333,), (1333577334,), (1333577335,), (1333577337,), (1333577339,), (1333577397,), (1333577402,), (1333577407,), (1333577430,), (1333577470,), (1333577471,), (1333577496,), (1333577499,), (1333577502,), (1333577504,), (1333577507,), (1333577578,), (1333577579,), (1333577580,), (1333577581,), (1333577582,), (1333577803,), (1333577807,), (1333577812,), (1333577897,), (1333577893,), (1333577896,), (1333578460,), (1333578518,), (1333578585,), (1333578633,), (1333578636,), (1333578652,), (1333578653,), (1333578654,), (1333578655,), (1333578711,), (1333579023,), (1333579164,), (1333579167,), (1333579173,), (1333579253,), (1333579254,), (1333579255,), (1333579269,), (1333579288,), (1333579291,), (1333579294,), (1333579297,), (1333579301,), (1333579305,), (1333579424,), (1333579426,), (1333579440,), (1333579448,), (1333579715,), (1333579761,), (1333579835,), (1333579899,), (1333581382,), (1333581494,), (1333581635,), (1333581639,), (1333581643,), (1333581646,), (1333581942,), (1333582027,), (1333582196,), (1333582315,), (1333582414,), (1333582979,), (1333582982,), (1333582984,), (1333583011,), (1333583427,), (1333583486,), (1333583561,), (1333583604,), (1333583635,), (1333583640,), (1333583699,), (1333583701,), (1333583703,), (1333583737,), (1333583740,), (1333583753,), (1333583763,), (1333583771,), (1333583778,), (1333583797,), (1333583806,), (1333583856,), (1333583886,), (1333583902,), (1333584135,), (1333585170,), (1333585221,), (1333585256,), (1333585356,), (1333585357,), (1333585358,), (1333585359,), (1333585361,), (1333585391,), (1333585401,), (1333585404,), (1333585407,), (1333585503,), (1333585507,), (1333585741,), (1333585744,), (1333585752,), (1333585778,), (1333585822,), (1333585825,), (1333585827,), (1333585832,), (1333585872,), (1333585874,), (1333585877,), (1333585880,), (1333585882,), (1333585886,), (1333585927,), (1333585929,), (1333585930,), (1333586509,), (1333586513,), (1333586522,), (1333586525,), (1333586528,), (1333586531,), (1333586824,), (1333586853,), (1333586854,), (1333586855,), (1333586857,), (1333586860,), (1333587104,), (1333587121,), (1333587124,), (1333587127,), (1333587131,), (1333587134,), (1333587168,), (1333587169,), (1333587180,), (1333587181,), (1333587675,), (1333587683,), (1333587693,), (1333587697,), (1333588426,), (1333588355,), (1333588361,), (1333588362,), (1333588702,), (1333588703,), (1333588712,), (1333588714,), (1333588807,), (1333588810,), (1333588813,), (1333588815,), (1333588847,), (1333588849,), (1333588850,), (1333588851,), (1333588855,), (1333588882,), (1333588883,), (1333588884,), (1333588885,), (1333588887,), (1333589047,), (1333589059,), (1333589062,), (1333589369,), (1333589409,), (1333589412,), (1333589415,), (1333589491,), (1333590120,), (1333590163,), (1333590220,), (1333590273,), (1333590338,), (1333590554,), (1333590563,), (1333590566,), (1333590570,), (1333591000,), (1333591003,), (1333591092,), (1333591095,), (1333591104,), (1333593539,), (1333547906,), (1333547957,), (1333548027,), (1333548093,), (1333548161,), (1333548225,), (1333548303,), (1333548304,), (1333548307,), (1333548310,), (1333548325,), (1333548345,), (1333548506,), (1333548562,), (1333548573,), (1333548592,), (1333548879,), (1333549055,), (1333550239,), (1333550243,), (1333550248,), (1333550254,), (1333550261,), (1333550266,), (1333550270,), (1333550271,), (1333550283,), (1333550285,), (1333550288,), (1333550291,), (1333553291,), (1333553293,), (1333553297,), (1333553364,), (1333553380,), (1333553414,), (1333553456,), (1333553458,), (1333553459,), (1333553460,), (1333553493,), (1333553542,), (1333553756,), (1333553759,), (1333553801,), (1333553873,), (1333554111,), (1333554119,), (1333554120,), (1333554121,), (1333554132,), (1333554147,), (1333563441,), (1333563582,), (1333563751,), (1333563995,), (1333563999,), (1333564003,), (1333564011,), (1333564019,), (1333564030,), (1333564057,), (1333564072,), (1333564233,), (1333564434,), (1333550642,), (1333550645,), (1333550692,), (1333550694,), (1333550719,), (1333550723,), (1333550788,), (1333550791,), (1333550818,), (1333550838,), (1333550888,), (1333550978,), (1333551064,), (1333551066,), (1333551068,), (1333551069,), (1333551070,), (1333551081,), (1333551113,), (1333551117,), (1333551168,), (1333551172,), (1333551299,), (1333551435,), (1333551501,), (1333551502,), (1333551504,), (1333551505,), (1333551507,), (1333551509,), (1333553200,), (1333553218,), (1333553250,), (1333553252,), (1333553277,), (1333553280,), (1333553283,), (1333553286,), (1333545559,), (1333545599,), (1333551681,), (1333551792,), (1333551830,), (1333551863,), (1333551865,), (1333551867,), (1333551949,), (1333551950,), (1333551985,), (1333552054,), (1333552182,), (1333552277,), (1333552644,), (1333552754,), (1333552822,), (1333552891,), (1333552894,), (1333552896,), (1333552968,), (1333552970,), (1333552973,), (1333552977,), (1333552989,), (1333553059,), (1333553085,), (1333553088,), (1333553090,), (1333553092,), (1333553094,), (1333553097,), (1333553106,), (1333553109,), (1333553111,), (1333553113,), (1333553115,), (1333553118,), (1333553125,), (1333553177,), (1333553198,), (1333553199,), (1333553745,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'01022025': {'nb_upload': 38, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20146863]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1333553286, 1333553283, 1333553280, 1333553277, 1333553252, 1333553250, 1333553218, 1333553200, 1333551509, 1333551507, 1333551505, 1333551504, 1333551502, 1333551501, 1333551435, 1333551299, 1333551172, 1333551168, 1333551117, 1333551113, 1333551081, 1333551070, 1333551069, 1333551068, 1333551066, 1333551064, 1333550978, 1333550888, 1333550838, 1333550818, 1333550791, 1333550788, 1333550723, 1333550719, 1333550694, 1333550692, 1333550645, 1333550642] map_info['map_portfolio_photo'] : {20146863: [1333553286, 1333553283, 1333553280, 1333553277, 1333553252, 1333553250, 1333553218, 1333553200, 1333551509, 1333551507, 1333551505, 1333551504, 1333551502, 1333551501, 1333551435, 1333551299, 1333551172, 1333551168, 1333551117, 1333551113, 1333551081, 1333551070, 1333551069, 1333551068, 1333551066, 1333551064, 1333550978, 1333550888, 1333550838, 1333550818, 1333550791, 1333550788, 1333550723, 1333550719, 1333550694, 1333550692, 1333550645, 1333550642]} final : True mtd_id 4302 list_pids : [1333553286, 1333553283, 1333553280, 1333553277, 1333553252, 1333553250, 1333553218, 1333553200, 1333551509, 1333551507, 1333551505, 1333551504, 1333551502, 1333551501, 1333551435, 1333551299, 1333551172, 1333551168, 1333551117, 1333551113, 1333551081, 1333551070, 1333551069, 1333551068, 1333551066, 1333551064, 1333550978, 1333550888, 1333550838, 1333550818, 1333550791, 1333550788, 1333550723, 1333550719, 1333550694, 1333550692, 1333550645, 1333550642] Looping around the photos to save general results len do output : 1 /20146863Didn'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, '2538330') ('4302', '20146863', '1333553286', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553283', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553280', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553277', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553252', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553250', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553218', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333553200', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551509', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551507', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551505', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551504', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551502', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551501', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551435', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551299', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551172', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551168', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551117', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551113', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551081', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551070', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551069', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551068', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551066', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333551064', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550978', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550888', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550838', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550818', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550791', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550788', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550723', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550719', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550694', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550692', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550645', None, None, None, None, None, '2538330') ('4302', None, None, None, None, None, None, None, '2538330') ('4302', '20146863', '1333550642', None, None, None, None, None, '2538330') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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, '20146863', 'None', None, None, None, None, '2538330'), ('4302', '20146863', '1333553286', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553283', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553280', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553277', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553252', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553250', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553218', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333553200', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551509', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551507', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551505', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551504', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551502', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551501', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551435', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551299', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551172', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551168', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551117', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551113', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551081', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551070', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551069', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551068', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551066', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333551064', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550978', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550888', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550838', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550818', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550791', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550788', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550723', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550719', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550694', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550692', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550645', None, None, None, None, None, '2538330'), ('4302', '20146863', '1333550642', None, None, None, None, None, '2538330')] time used for this insertion : 0.018034696578979492 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.449289083480835 time spend to save output : 0.018455982208251953 total time spend for step 5 : 2.467745065689087 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 (2538330) 2.85user 2.11system 0:09.64elapsed 51%CPU (0avgtext+0avgdata 167260maxresident)k 4560inputs+22368outputs (82major+80152minor)pagefaults 0swaps