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 : 730991 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 (3952939) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3952939) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27873114 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3952939'] with mtr_portfolio_ids : ['27873114'] and first list_photo_ids : [] new path : /proc/730991/ Name: python3 Umask: 0002 State: R (running) Tgid: 730991 Ngid: 0 Pid: 730991 PPid: 730990 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 730991 NSpid: 730991 NSpgid: 729032 NSsid: 729032 VmPeak: 1106856 kB VmSize: 1106856 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100572 kB VmRSS: 100572 kB RssAnon: 59840 kB RssFile: 40732 kB RssShmem: 0 kB VmData: 865608 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 600 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 48 nonvoluntary_ctxt_switches: 93 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '730991', 'Ngid': '0', 'Pid': '730991', 'PPid': '730990', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '730991', 'NSpid': '730991', 'NSpgid': '729032', 'NSsid': '729032', 'VmPeak': '1106856 kB', 'VmSize': '1106856 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100572 kB', 'VmRSS': '100572 kB', 'RssAnon': '59840 kB', 'RssFile': '40732 kB', 'RssShmem': '0 kB', 'VmData': '865608 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '600 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '48', 'nonvoluntary_ctxt_switches': '93'} ('datou_batch_current', '730991', '1106856', '0', '1106856', '865608', '100572', b'', 'marlene', '3952939') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (27873114) 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 (3952939 ) ) 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 (27873114) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1389773324, 'portfolio_id': 27873114}, {'photo_id': 1389773321, 'portfolio_id': 27873114}, {'photo_id': 1389773318, 'portfolio_id': 27873114}, {'photo_id': 1389773308, 'portfolio_id': 27873114}, {'photo_id': 1389773307, 'portfolio_id': 27873114}, {'photo_id': 1389773305, 'portfolio_id': 27873114}, {'photo_id': 1389773304, 'portfolio_id': 27873114}, {'photo_id': 1389773300, 'portfolio_id': 27873114}, {'photo_id': 1389773299, 'portfolio_id': 27873114}, {'photo_id': 1389773296, 'portfolio_id': 27873114}, {'photo_id': 1389773295, 'portfolio_id': 27873114}, {'photo_id': 1389773292, 'portfolio_id': 27873114}, {'photo_id': 1389773291, 'portfolio_id': 27873114}, {'photo_id': 1389773289, 'portfolio_id': 27873114}, {'photo_id': 1389773288, 'portfolio_id': 27873114}, {'photo_id': 1389772939, 'portfolio_id': 27873114}, {'photo_id': 1389772937, 'portfolio_id': 27873114}, {'photo_id': 1389772934, 'portfolio_id': 27873114}, {'photo_id': 1389772928, 'portfolio_id': 27873114}, {'photo_id': 1389772850, 'portfolio_id': 27873114}, {'photo_id': 1389772847, 'portfolio_id': 27873114}, {'photo_id': 1389772844, 'portfolio_id': 27873114}, {'photo_id': 1389772840, 'portfolio_id': 27873114}, {'photo_id': 1389772837, 'portfolio_id': 27873114}, {'photo_id': 1389772187, 'portfolio_id': 27873114}, {'photo_id': 1389772182, 'portfolio_id': 27873114}, {'photo_id': 1389772177, 'portfolio_id': 27873114}, {'photo_id': 1389772158, 'portfolio_id': 27873114}, {'photo_id': 1389772029, 'portfolio_id': 27873114}, {'photo_id': 1389772025, 'portfolio_id': 27873114}, {'photo_id': 1389772006, 'portfolio_id': 27873114}, {'photo_id': 1389771988, 'portfolio_id': 27873114}, {'photo_id': 1389771919, 'portfolio_id': 27873114}, {'photo_id': 1389771910, 'portfolio_id': 27873114}, {'photo_id': 1389771887, 'portfolio_id': 27873114}, {'photo_id': 1389771845, 'portfolio_id': 27873114}, {'photo_id': 1389771838, 'portfolio_id': 27873114}, {'photo_id': 1389771828, 'portfolio_id': 27873114}, {'photo_id': 1389771666, 'portfolio_id': 27873114}, {'photo_id': 1389771658, 'portfolio_id': 27873114}, {'photo_id': 1389771654, 'portfolio_id': 27873114}, {'photo_id': 1389771650, 'portfolio_id': 27873114}, {'photo_id': 1389771640, 'portfolio_id': 27873114}, {'photo_id': 1389771103, 'portfolio_id': 27873114}, {'photo_id': 1389771065, 'portfolio_id': 27873114}, {'photo_id': 1389770992, 'portfolio_id': 27873114}, {'photo_id': 1389770991, 'portfolio_id': 27873114}, {'photo_id': 1389770990, 'portfolio_id': 27873114}, {'photo_id': 1389770943, 'portfolio_id': 27873114}, {'photo_id': 1389770939, 'portfolio_id': 27873114}, {'photo_id': 1389770780, 'portfolio_id': 27873114}, {'photo_id': 1389770779, 'portfolio_id': 27873114}, {'photo_id': 1389770771, 'portfolio_id': 27873114}, {'photo_id': 1389770766, 'portfolio_id': 27873114}, {'photo_id': 1389770758, 'portfolio_id': 27873114}, {'photo_id': 1389770750, 'portfolio_id': 27873114}, {'photo_id': 1389770747, 'portfolio_id': 27873114}, {'photo_id': 1389770734, 'portfolio_id': 27873114}, {'photo_id': 1389770718, 'portfolio_id': 27873114}, {'photo_id': 1389770717, 'portfolio_id': 27873114}, {'photo_id': 1389770290, 'portfolio_id': 27873114}, {'photo_id': 1389770288, 'portfolio_id': 27873114}, {'photo_id': 1389770285, 'portfolio_id': 27873114}, {'photo_id': 1389770276, 'portfolio_id': 27873114}, {'photo_id': 1389770273, 'portfolio_id': 27873114}, {'photo_id': 1389770265, 'portfolio_id': 27873114}, {'photo_id': 1389770228, 'portfolio_id': 27873114}, {'photo_id': 1389770218, 'portfolio_id': 27873114}, {'photo_id': 1389770212, 'portfolio_id': 27873114}, {'photo_id': 1389770209, 'portfolio_id': 27873114}, {'photo_id': 1389770202, 'portfolio_id': 27873114}, {'photo_id': 1389770196, 'portfolio_id': 27873114}, {'photo_id': 1389770190, 'portfolio_id': 27873114}, {'photo_id': 1389770178, 'portfolio_id': 27873114}, {'photo_id': 1389770162, 'portfolio_id': 27873114}, {'photo_id': 1389770159, 'portfolio_id': 27873114}, {'photo_id': 1389769912, 'portfolio_id': 27873114}, {'photo_id': 1389769908, 'portfolio_id': 27873114}, {'photo_id': 1389769903, 'portfolio_id': 27873114}, {'photo_id': 1389769707, 'portfolio_id': 27873114}] map_portfolio_id_photo_id: {27873114: [1389773324, 1389773321, 1389773318, 1389773308, 1389773307, 1389773305, 1389773304, 1389773300, 1389773299, 1389773296, 1389773295, 1389773292, 1389773291, 1389773289, 1389773288, 1389772939, 1389772937, 1389772934, 1389772928, 1389772850, 1389772847, 1389772844, 1389772840, 1389772837, 1389772187, 1389772182, 1389772177, 1389772158, 1389772029, 1389772025, 1389772006, 1389771988, 1389771919, 1389771910, 1389771887, 1389771845, 1389771838, 1389771828, 1389771666, 1389771658, 1389771654, 1389771650, 1389771640, 1389771103, 1389771065, 1389770992, 1389770991, 1389770990, 1389770943, 1389770939, 1389770780, 1389770779, 1389770771, 1389770766, 1389770758, 1389770750, 1389770747, 1389770734, 1389770718, 1389770717, 1389770290, 1389770288, 1389770285, 1389770276, 1389770273, 1389770265, 1389770228, 1389770218, 1389770212, 1389770209, 1389770202, 1389770196, 1389770190, 1389770178, 1389770162, 1389770159, 1389769912, 1389769908, 1389769903, 1389769707]} ##### 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.053049325942993164 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Oct 17 10:14:58 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 (27873114) 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 : 27873114 get user id for portfolio 27873114 get sub ptf for main ptf 27873114, type 3726 and hashtags ['plastique', 'cartonnette', 'papier', 'Carton_gris', 'flou', 'kraft', 'mal_croppe', 'environnement', 'Carton_brun', 'metal', 'autre_refus', 'Teint_Dans_La_Masse'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27873114 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','cartonnette','papier','Carton_gris','flou','kraft','mal_croppe','environnement','Carton_brun','metal','autre_refus','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27873114 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','cartonnette','papier','Carton_gris','flou','kraft','mal_croppe','environnement','Carton_brun','metal','autre_refus','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 27873114, 'sub_port_id': 27873132, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814189, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 2, 58)}, 'environnement': {'main_port_id': 27873114, 'sub_port_id': 27873133, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814190, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 2, 58)}, 'metal': {'main_port_id': 27873114, 'sub_port_id': 27873134, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814191, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 2, 58)}, 'Carton_gris': {'main_port_id': 27873114, 'sub_port_id': 27873135, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814192, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 2, 58)}, 'mal_croppe': {'main_port_id': 27873114, 'sub_port_id': 27873136, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814193, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 2, 58)}, 'Carton_brun': {'main_port_id': 27873114, 'sub_port_id': 27873137, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814194, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 2, 58)}, 'papier': {'main_port_id': 27873114, 'sub_port_id': 27873138, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814195, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 2, 58)}, 'flou': {'main_port_id': 27873114, 'sub_port_id': 27873139, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814196, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 2, 58)}, 'autre_refus': {'main_port_id': 27873114, 'sub_port_id': 27873140, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814197, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 2, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 27873114, 'sub_port_id': 27873141, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814198, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 2, 58)}, 'plastique': {'main_port_id': 27873114, 'sub_port_id': 27873142, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814199, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 2, 58)}, 'cartonnette': {'main_port_id': 27873114, 'sub_port_id': 27873143, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814200, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 2, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27873132 , 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=27873114 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 (27873132) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27873114) result : ((1389769707,), (1389769903,), (1389769908,), (1389769912,), (1389770159,), (1389770162,), (1389770178,), (1389770190,), (1389770196,), (1389770202,), (1389770209,), (1389770212,), (1389770218,), (1389770228,), (1389770265,), (1389770273,), (1389770276,), (1389770285,), (1389770288,), (1389770290,), (1389770717,), (1389770718,), (1389770734,), (1389770747,), (1389770750,), (1389770758,), (1389770766,), (1389770771,), (1389770779,), (1389770780,), (1389770939,), (1389770943,), (1389770990,), (1389770991,), (1389770992,), (1389771065,), (1389771103,), (1389771640,), (1389771650,), (1389771654,), (1389771658,), (1389771666,), (1389771828,), (1389771838,), (1389771845,), (1389771887,), (1389771910,), (1389771919,), (1389771988,), (1389772006,), (1389772025,), (1389772029,), (1389772158,), (1389772177,), (1389772182,), (1389772187,), (1389772837,), (1389772840,), (1389772844,), (1389772847,), (1389772850,), (1389772928,), (1389772934,), (1389772937,), (1389772939,), (1389773288,), (1389773289,), (1389773291,), (1389773292,), (1389773295,), (1389773296,), (1389773299,), (1389773300,), (1389773304,), (1389773305,), (1389773307,), (1389773308,), (1389773318,), (1389773321,), (1389773324,)) 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 (1389773300) 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 27873133 , 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=27873114 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 (27873133) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27873114) result : ((1389769707,), (1389769903,), (1389769908,), (1389769912,), (1389770159,), (1389770162,), (1389770178,), (1389770190,), (1389770196,), (1389770202,), (1389770209,), (1389770212,), (1389770218,), (1389770228,), (1389770265,), (1389770273,), (1389770276,), (1389770285,), (1389770288,), (1389770290,), (1389770717,), (1389770718,), (1389770734,), (1389770747,), (1389770750,), (1389770758,), (1389770766,), (1389770771,), (1389770779,), (1389770780,), (1389770939,), (1389770943,), (1389770990,), (1389770991,), (1389770992,), (1389771065,), (1389771103,), (1389771640,), (1389771650,), (1389771654,), (1389771658,), (1389771666,), (1389771828,), (1389771838,), (1389771845,), (1389771887,), (1389771910,), (1389771919,), (1389771988,), (1389772006,), (1389772025,), (1389772029,), (1389772158,), (1389772177,), (1389772182,), (1389772187,), (1389772837,), (1389772840,), (1389772844,), (1389772847,), (1389772850,), (1389772928,), (1389772934,), (1389772937,), (1389772939,), (1389773288,), (1389773289,), (1389773291,), (1389773292,), (1389773295,), (1389773296,), (1389773299,), (1389773300,), (1389773304,), (1389773305,), (1389773307,), (1389773308,), (1389773318,), (1389773321,), (1389773324,)) 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 (1389773300) 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 27873134 , 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=27873114 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 (27873134) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27873114) result : ((1389769707,), (1389769903,), (1389769908,), (1389769912,), (1389770159,), (1389770162,), (1389770178,), (1389770190,), (1389770196,), (1389770202,), (1389770209,), (1389770212,), (1389770218,), (1389770228,), (1389770265,), (1389770273,), (1389770276,), (1389770285,), (1389770288,), (1389770290,), (1389770717,), (1389770718,), (1389770734,), (1389770747,), (1389770750,), (1389770758,), (1389770766,), (1389770771,), (1389770779,), (1389770780,), (1389770939,), (1389770943,), (1389770990,), (1389770991,), (1389770992,), (1389771065,), (1389771103,), (1389771640,), (1389771650,), (1389771654,), (1389771658,), (1389771666,), (1389771828,), (1389771838,), (1389771845,), (1389771887,), (1389771910,), (1389771919,), (1389771988,), (1389772006,), (1389772025,), (1389772029,), (1389772158,), (1389772177,), (1389772182,), (1389772187,), (1389772837,), (1389772840,), (1389772844,), (1389772847,), (1389772850,), (1389772928,), (1389772934,), (1389772937,), (1389772939,), (1389773288,), (1389773289,), (1389773291,), (1389773292,), (1389773295,), (1389773296,), (1389773299,), (1389773300,), (1389773304,), (1389773305,), (1389773307,), (1389773308,), (1389773318,), (1389773321,), (1389773324,)) 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 (1389773300) 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 27873135 , 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=27873114 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 (27873135) result : ((1389770759,), (1389770760,), (1389773847,), (1389773848,), (1389774296,), (1389774297,), (1389774298,), (1389774299,), (1389774300,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27873114) result : ((1389769707,), (1389769903,), (1389769908,), (1389769912,), (1389770159,), (1389770162,), (1389770178,), (1389770190,), (1389770196,), (1389770202,), (1389770209,), (1389770212,), (1389770218,), (1389770228,), (1389770265,), (1389770273,), (1389770276,), (1389770285,), (1389770288,), (1389770290,), (1389770717,), (1389770718,), (1389770734,), (1389770747,), (1389770750,), (1389770758,), (1389770766,), (1389770771,), (1389770779,), (1389770780,), (1389770939,), (1389770943,), (1389770990,), (1389770991,), (1389770992,), (1389771065,), (1389771103,), (1389771640,), (1389771650,), (1389771654,), (1389771658,), (1389771666,), (1389771828,), (1389771838,), (1389771845,), (1389771887,), (1389771910,), (1389771919,), (1389771988,), (1389772006,), (1389772025,), (1389772029,), (1389772158,), (1389772177,), (1389772182,), (1389772187,), (1389772837,), (1389772840,), (1389772844,), (1389772847,), (1389772850,), (1389772928,), (1389772934,), (1389772937,), (1389772939,), (1389773288,), (1389773289,), (1389773291,), (1389773292,), (1389773295,), (1389773296,), (1389773299,), (1389773300,), (1389773304,), (1389773305,), (1389773307,), (1389773308,), (1389773318,), (1389773321,), (1389773324,)) 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 (1389773300) 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 27873136 , 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=27873114 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 (27873136) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27873114) result : ((1389769707,), (1389769903,), (1389769908,), (1389769912,), (1389770159,), (1389770162,), (1389770178,), (1389770190,), (1389770196,), (1389770202,), (1389770209,), (1389770212,), (1389770218,), (1389770228,), (1389770265,), (1389770273,), (1389770276,), (1389770285,), (1389770288,), (1389770290,), (1389770717,), (1389770718,), (1389770734,), (1389770747,), (1389770750,), (1389770758,), (1389770766,), (1389770771,), (1389770779,), (1389770780,), (1389770939,), (1389770943,), (1389770990,), (1389770991,), (1389770992,), (1389771065,), (1389771103,), (1389771640,), (1389771650,), (1389771654,), (1389771658,), (1389771666,), (1389771828,), (1389771838,), (1389771845,), (1389771887,), (1389771910,), (1389771919,), (1389771988,), (1389772006,), (1389772025,), (1389772029,), (1389772158,), (1389772177,), (1389772182,), (1389772187,), (1389772837,), (1389772840,), (1389772844,), (1389772847,), (1389772850,), (1389772928,), (1389772934,), (1389772937,), (1389772939,), (1389773288,), (1389773289,), (1389773291,), (1389773292,), (1389773295,), (1389773296,), (1389773299,), (1389773300,), (1389773304,), (1389773305,), (1389773307,), (1389773308,), (1389773318,), (1389773321,), (1389773324,)) 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 (1389773300) 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 27873137 , 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=27873114 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 (27873137) result : ((1389770764,), (1389770765,), (1389773850,), (1389774304,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27873114) result : ((1389769707,), (1389769903,), (1389769908,), (1389769912,), (1389770159,), (1389770162,), (1389770178,), (1389770190,), (1389770196,), (1389770202,), (1389770209,), (1389770212,), (1389770218,), (1389770228,), (1389770265,), (1389770273,), (1389770276,), (1389770285,), (1389770288,), (1389770290,), (1389770717,), (1389770718,), (1389770734,), (1389770747,), (1389770750,), (1389770758,), (1389770766,), (1389770771,), (1389770779,), (1389770780,), (1389770939,), (1389770943,), (1389770990,), (1389770991,), (1389770992,), (1389771065,), (1389771103,), (1389771640,), (1389771650,), (1389771654,), (1389771658,), (1389771666,), (1389771828,), (1389771838,), (1389771845,), (1389771887,), (1389771910,), (1389771919,), (1389771988,), (1389772006,), (1389772025,), (1389772029,), (1389772158,), (1389772177,), (1389772182,), (1389772187,), (1389772837,), (1389772840,), (1389772844,), (1389772847,), (1389772850,), (1389772928,), (1389772934,), (1389772937,), (1389772939,), (1389773288,), (1389773289,), (1389773291,), (1389773292,), (1389773295,), (1389773296,), (1389773299,), (1389773300,), (1389773304,), (1389773305,), (1389773307,), (1389773308,), (1389773318,), (1389773321,), (1389773324,)) 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 (1389773300) 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 27873138 , 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=27873114 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 (27873138) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27873114) result : ((1389769707,), (1389769903,), (1389769908,), (1389769912,), (1389770159,), (1389770162,), (1389770178,), (1389770190,), (1389770196,), (1389770202,), (1389770209,), (1389770212,), (1389770218,), (1389770228,), (1389770265,), (1389770273,), (1389770276,), (1389770285,), (1389770288,), (1389770290,), (1389770717,), (1389770718,), (1389770734,), (1389770747,), (1389770750,), (1389770758,), (1389770766,), (1389770771,), (1389770779,), (1389770780,), (1389770939,), (1389770943,), (1389770990,), (1389770991,), (1389770992,), (1389771065,), (1389771103,), (1389771640,), (1389771650,), (1389771654,), (1389771658,), (1389771666,), (1389771828,), (1389771838,), (1389771845,), (1389771887,), (1389771910,), (1389771919,), (1389771988,), (1389772006,), (1389772025,), (1389772029,), (1389772158,), (1389772177,), (1389772182,), (1389772187,), (1389772837,), (1389772840,), (1389772844,), (1389772847,), (1389772850,), (1389772928,), (1389772934,), (1389772937,), (1389772939,), (1389773288,), (1389773289,), (1389773291,), (1389773292,), (1389773295,), (1389773296,), (1389773299,), (1389773300,), (1389773304,), (1389773305,), (1389773307,), (1389773308,), (1389773318,), (1389773321,), (1389773324,)) 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 (1389773300) 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 27873139 , 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=27873114 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 (27873139) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27873114) result : ((1389769707,), (1389769903,), (1389769908,), (1389769912,), (1389770159,), (1389770162,), (1389770178,), (1389770190,), (1389770196,), (1389770202,), (1389770209,), (1389770212,), (1389770218,), (1389770228,), (1389770265,), (1389770273,), (1389770276,), (1389770285,), (1389770288,), (1389770290,), (1389770717,), (1389770718,), (1389770734,), (1389770747,), (1389770750,), (1389770758,), (1389770766,), (1389770771,), (1389770779,), (1389770780,), (1389770939,), (1389770943,), (1389770990,), (1389770991,), (1389770992,), (1389771065,), (1389771103,), (1389771640,), (1389771650,), (1389771654,), (1389771658,), (1389771666,), (1389771828,), (1389771838,), (1389771845,), (1389771887,), (1389771910,), (1389771919,), (1389771988,), (1389772006,), (1389772025,), (1389772029,), (1389772158,), (1389772177,), (1389772182,), (1389772187,), (1389772837,), (1389772840,), (1389772844,), (1389772847,), (1389772850,), (1389772928,), (1389772934,), (1389772937,), (1389772939,), (1389773288,), (1389773289,), (1389773291,), (1389773292,), (1389773295,), (1389773296,), (1389773299,), (1389773300,), (1389773304,), (1389773305,), (1389773307,), (1389773308,), (1389773318,), (1389773321,), (1389773324,)) 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 (1389773300) 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 27873140 , 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=27873114 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 (27873140) result : ((1389770756,), (1389773841,), (1389773843,), (1389774285,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27873114) result : ((1389769707,), (1389769903,), (1389769908,), (1389769912,), (1389770159,), (1389770162,), (1389770178,), (1389770190,), (1389770196,), (1389770202,), (1389770209,), (1389770212,), (1389770218,), (1389770228,), (1389770265,), (1389770273,), (1389770276,), (1389770285,), (1389770288,), (1389770290,), (1389770717,), (1389770718,), (1389770734,), (1389770747,), (1389770750,), (1389770758,), (1389770766,), (1389770771,), (1389770779,), (1389770780,), (1389770939,), (1389770943,), (1389770990,), (1389770991,), (1389770992,), (1389771065,), (1389771103,), (1389771640,), (1389771650,), (1389771654,), (1389771658,), (1389771666,), (1389771828,), (1389771838,), (1389771845,), (1389771887,), (1389771910,), (1389771919,), (1389771988,), (1389772006,), (1389772025,), (1389772029,), (1389772158,), (1389772177,), (1389772182,), (1389772187,), (1389772837,), (1389772840,), (1389772844,), (1389772847,), (1389772850,), (1389772928,), (1389772934,), (1389772937,), (1389772939,), (1389773288,), (1389773289,), (1389773291,), (1389773292,), (1389773295,), (1389773296,), (1389773299,), (1389773300,), (1389773304,), (1389773305,), (1389773307,), (1389773308,), (1389773318,), (1389773321,), (1389773324,)) 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 (1389773300) 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 27873141 , 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=27873114 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 (27873141) result : ((1389770752,), (1389770753,), (1389770754,), (1389771645,), (1389773837,), (1389773838,), (1389773839,), (1389773840,), (1389774283,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27873114) result : ((1389769707,), (1389769903,), (1389769908,), (1389769912,), (1389770159,), (1389770162,), (1389770178,), (1389770190,), (1389770196,), (1389770202,), (1389770209,), (1389770212,), (1389770218,), (1389770228,), (1389770265,), (1389770273,), (1389770276,), (1389770285,), (1389770288,), (1389770290,), (1389770717,), (1389770718,), (1389770734,), (1389770747,), (1389770750,), (1389770758,), (1389770766,), (1389770771,), (1389770779,), (1389770780,), (1389770939,), (1389770943,), (1389770990,), (1389770991,), (1389770992,), (1389771065,), (1389771103,), (1389771640,), (1389771650,), (1389771654,), (1389771658,), (1389771666,), (1389771828,), (1389771838,), (1389771845,), (1389771887,), (1389771910,), (1389771919,), (1389771988,), (1389772006,), (1389772025,), (1389772029,), (1389772158,), (1389772177,), (1389772182,), (1389772187,), (1389772837,), (1389772840,), (1389772844,), (1389772847,), (1389772850,), (1389772928,), (1389772934,), (1389772937,), (1389772939,), (1389773288,), (1389773289,), (1389773291,), (1389773292,), (1389773295,), (1389773296,), (1389773299,), (1389773300,), (1389773304,), (1389773305,), (1389773307,), (1389773308,), (1389773318,), (1389773321,), (1389773324,)) 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 (1389773300) 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 27873142 , 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=27873114 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 (27873142) result : ((1389770768,), (1389770769,), (1389773851,), (1389773852,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27873114) result : ((1389769707,), (1389769903,), (1389769908,), (1389769912,), (1389770159,), (1389770162,), (1389770178,), (1389770190,), (1389770196,), (1389770202,), (1389770209,), (1389770212,), (1389770218,), (1389770228,), (1389770265,), (1389770273,), (1389770276,), (1389770285,), (1389770288,), (1389770290,), (1389770717,), (1389770718,), (1389770734,), (1389770747,), (1389770750,), (1389770758,), (1389770766,), (1389770771,), (1389770779,), (1389770780,), (1389770939,), (1389770943,), (1389770990,), (1389770991,), (1389770992,), (1389771065,), (1389771103,), (1389771640,), (1389771650,), (1389771654,), (1389771658,), (1389771666,), (1389771828,), (1389771838,), (1389771845,), (1389771887,), (1389771910,), (1389771919,), (1389771988,), (1389772006,), (1389772025,), (1389772029,), (1389772158,), (1389772177,), (1389772182,), (1389772187,), (1389772837,), (1389772840,), (1389772844,), (1389772847,), (1389772850,), (1389772928,), (1389772934,), (1389772937,), (1389772939,), (1389773288,), (1389773289,), (1389773291,), (1389773292,), (1389773295,), (1389773296,), (1389773299,), (1389773300,), (1389773304,), (1389773305,), (1389773307,), (1389773308,), (1389773318,), (1389773321,), (1389773324,)) 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 (1389773300) 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 27873143 , 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=27873114 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 (27873143) result : ((1389770761,), (1389770762,), (1389770763,), (1389773849,), (1389774302,), (1389774303,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27873114) result : ((1389769707,), (1389769903,), (1389769908,), (1389769912,), (1389770159,), (1389770162,), (1389770178,), (1389770190,), (1389770196,), (1389770202,), (1389770209,), (1389770212,), (1389770218,), (1389770228,), (1389770265,), (1389770273,), (1389770276,), (1389770285,), (1389770288,), (1389770290,), (1389770717,), (1389770718,), (1389770734,), (1389770747,), (1389770750,), (1389770758,), (1389770766,), (1389770771,), (1389770779,), (1389770780,), (1389770939,), (1389770943,), (1389770990,), (1389770991,), (1389770992,), (1389771065,), (1389771103,), (1389771640,), (1389771650,), (1389771654,), (1389771658,), (1389771666,), (1389771828,), (1389771838,), (1389771845,), (1389771887,), (1389771910,), (1389771919,), (1389771988,), (1389772006,), (1389772025,), (1389772029,), (1389772158,), (1389772177,), (1389772182,), (1389772187,), (1389772837,), (1389772840,), (1389772844,), (1389772847,), (1389772850,), (1389772928,), (1389772934,), (1389772937,), (1389772939,), (1389773288,), (1389773289,), (1389773291,), (1389773292,), (1389773295,), (1389773296,), (1389773299,), (1389773300,), (1389773304,), (1389773305,), (1389773307,), (1389773308,), (1389773318,), (1389773321,), (1389773324,)) 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 (1389773300) 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`=27873114 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','cartonnette','papier','Carton_gris','flou','kraft','mal_croppe','environnement','Carton_brun','metal','autre_refus','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27873114 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','cartonnette','papier','Carton_gris','flou','kraft','mal_croppe','environnement','Carton_brun','metal','autre_refus','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 27873114, 'sub_port_id': 27873145, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814201, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 3, 3)}, 'environnement': {'main_port_id': 27873114, 'sub_port_id': 27873146, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814202, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 3, 3)}, 'metal': {'main_port_id': 27873114, 'sub_port_id': 27873147, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814203, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 3, 3)}, 'Carton_gris': {'main_port_id': 27873114, 'sub_port_id': 27873148, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814204, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 3, 3)}, 'mal_croppe': {'main_port_id': 27873114, 'sub_port_id': 27873149, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814205, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 3, 3)}, 'Carton_brun': {'main_port_id': 27873114, 'sub_port_id': 27873150, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814206, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 3, 3)}, 'papier': {'main_port_id': 27873114, 'sub_port_id': 27873151, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814207, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 3, 3)}, 'flou': {'main_port_id': 27873114, 'sub_port_id': 27873152, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814208, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 3, 3)}, 'autre_refus': {'main_port_id': 27873114, 'sub_port_id': 27873153, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814209, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 3, 3)}, 'Teint_Dans_La_Masse': {'main_port_id': 27873114, 'sub_port_id': 27873154, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814210, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 3, 3)}, 'plastique': {'main_port_id': 27873114, 'sub_port_id': 27873155, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814211, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 3, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 3, 3)}, 'cartonnette': {'main_port_id': 27873114, 'sub_port_id': 27873156, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18814212, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 13, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 10, 3, 3)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27873145,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27873132 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27873146,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27873133 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27873147,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27873134 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27873148,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27873135 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27873149,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27873136 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27873150,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27873137 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27873151,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27873138 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27873152,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27873139 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27873153,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27873140 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27873154,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27873141 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27873155,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27873142 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27873156,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27873143 lien utilise dans velours : https://marlene.fotonower.com/velours/27873145,27873146,27873147,27873148,27873149,27873150,27873151,27873152,27873153,27873154,27873155,27873156?tags=kraft,environnement,metal,Carton_gris,mal_croppe,Carton_brun,papier,flou,autre_refus,Teint_Dans_La_Masse,plastique,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27873114]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1389773324, 1389773321, 1389773318, 1389773308, 1389773307, 1389773305, 1389773304, 1389773300, 1389773299, 1389773296, 1389773295, 1389773292, 1389773291, 1389773289, 1389773288] map_info['map_portfolio_photo'] : {27873114: [1389773324, 1389773321, 1389773318, 1389773308, 1389773307, 1389773305, 1389773304, 1389773300, 1389773299, 1389773296, 1389773295, 1389773292, 1389773291, 1389773289, 1389773288, 1389772939, 1389772937, 1389772934, 1389772928, 1389772850, 1389772847, 1389772844, 1389772840, 1389772837, 1389772187, 1389772182, 1389772177, 1389772158, 1389772029, 1389772025, 1389772006, 1389771988, 1389771919, 1389771910, 1389771887, 1389771845, 1389771838, 1389771828, 1389771666, 1389771658, 1389771654, 1389771650, 1389771640, 1389771103, 1389771065, 1389770992, 1389770991, 1389770990, 1389770943, 1389770939, 1389770780, 1389770779, 1389770771, 1389770766, 1389770758, 1389770750, 1389770747, 1389770734, 1389770718, 1389770717, 1389770290, 1389770288, 1389770285, 1389770276, 1389770273, 1389770265, 1389770228, 1389770218, 1389770212, 1389770209, 1389770202, 1389770196, 1389770190, 1389770178, 1389770162, 1389770159, 1389769912, 1389769908, 1389769903, 1389769707]} final : False mtd_id 4302 list_pids : [1389773324, 1389773321, 1389773318, 1389773308, 1389773307, 1389773305, 1389773304, 1389773300, 1389773299, 1389773296, 1389773295, 1389773292, 1389773291, 1389773289, 1389773288] Looping around the photos to save general results len do output : 1 /27873114. 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, '3952939') ('4302', '27873114', '1389773324', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773321', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773318', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773308', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773307', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773305', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773304', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773300', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773299', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773296', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773295', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773292', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773291', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773289', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773288', None, None, None, None, None, '3952939') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 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, '27873114', "{'kraft': 27873132, 'environnement': 27873133, 'metal': 27873134, 'Carton_gris': 27873135, 'mal_croppe': 27873136, 'Carton_brun': 27873137, 'papier': 27873138, 'flou': 27873139, 'autre_refus': 27873140, 'Teint_Dans_La_Masse': 27873141, 'plastique': 27873142, 'cartonnette': 27873143}", None, None, None, None, '3952939'), ('4302', '27873114', '1389773324', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773321', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773318', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773308', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773307', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773305', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773304', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773300', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773299', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773296', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773295', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773292', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773291', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773289', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773288', None, None, None, None, None, '3952939')] time used for this insertion : 0.03672528266906738 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6384153366088867 time spend to save output : 0.03719496726989746 total time spend for step 1 : 1.6756103038787842 step2:final Fri Oct 17 10:15:00 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 (27873114) 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 27873114 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1389769912,1389769908,1389769903,1389769707,1389770202,1389770196,1389770190,1389770178,1389770162,1389770159,1389770228,1389770218,1389770212,1389770209,1389770290,1389770288,1389770285,1389770276,1389770273,1389770265,1389770780,1389770766,1389770779,1389770750,1389770747,1389770771,1389770734,1389770758,1389770718,1389770717,1389770992,1389772006,1389770991,1389771988,1389770990,1389771919,1389770943,1389771910,1389770939,1389771887,1389771658,1389771654,1389771650,1389771640,1389771103,1389771065,1389771845,1389771838,1389771828,1389771666,1389772187,1389772182,1389772177,1389772158,1389772029,1389772025,1389772850,1389772847,1389772844,1389772840,1389772837,1389772939,1389772937,1389772934,1389772928,1389773308,1389773307,1389773305,1389773304,1389773299,1389773300,1389773295,1389773296,1389773292,1389773291,1389773289,1389773288,1389773324,1389773321,1389773318); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27873114]) Inside saveOutput : final : False verbose : True original output for save of step final : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ('0.037109537657754425',)} new output for save of step final : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ('0.037109537657754425',)} [1389773324, 1389773321, 1389773318, 1389773308, 1389773307, 1389773305, 1389773304, 1389773300, 1389773299, 1389773296, 1389773295, 1389773292, 1389773291, 1389773289, 1389773288] map_info['map_portfolio_photo'] : {27873114: [1389773324, 1389773321, 1389773318, 1389773308, 1389773307, 1389773305, 1389773304, 1389773300, 1389773299, 1389773296, 1389773295, 1389773292, 1389773291, 1389773289, 1389773288, 1389772939, 1389772937, 1389772934, 1389772928, 1389772850, 1389772847, 1389772844, 1389772840, 1389772837, 1389772187, 1389772182, 1389772177, 1389772158, 1389772029, 1389772025, 1389772006, 1389771988, 1389771919, 1389771910, 1389771887, 1389771845, 1389771838, 1389771828, 1389771666, 1389771658, 1389771654, 1389771650, 1389771640, 1389771103, 1389771065, 1389770992, 1389770991, 1389770990, 1389770943, 1389770939, 1389770780, 1389770779, 1389770771, 1389770766, 1389770758, 1389770750, 1389770747, 1389770734, 1389770718, 1389770717, 1389770290, 1389770288, 1389770285, 1389770276, 1389770273, 1389770265, 1389770228, 1389770218, 1389770212, 1389770209, 1389770202, 1389770196, 1389770190, 1389770178, 1389770162, 1389770159, 1389769912, 1389769908, 1389769903, 1389769707]} final : False mtd_id 4302 list_pids : [1389773324, 1389773321, 1389773318, 1389773308, 1389773307, 1389773305, 1389773304, 1389773300, 1389773299, 1389773296, 1389773295, 1389773292, 1389773291, 1389773289, 1389773288] Looping around the photos to save general results len do output : 15 /1389773324.Didn't retrieve data . /1389773321.Didn't retrieve data . /1389773318.Didn't retrieve data . /1389773308.Didn't retrieve data . /1389773307.Didn't retrieve data . /1389773305.Didn't retrieve data . /1389773304.Didn't retrieve data . /1389773300.Didn't retrieve data . /1389773299.Didn't retrieve data . /1389773296.Didn't retrieve data . /1389773295.Didn't retrieve data . /1389773292.Didn't retrieve data . /1389773291.Didn't retrieve data . /1389773289.Didn't retrieve data . /1389773288.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, '3952939') ('4302', '27873114', '1389773324', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773321', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773318', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773308', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773307', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773305', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773304', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773300', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773299', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773296', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773295', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773292', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773291', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773289', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773288', None, None, None, None, None, '3952939') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 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', '27873114', '1389773324', '0.037109537657754425', None, None, None, None, '3952939'), ('4302', '27873114', '1389773321', '0.037109537657754425', None, None, None, None, '3952939'), ('4302', '27873114', '1389773318', '0.037109537657754425', None, None, None, None, '3952939'), ('4302', '27873114', '1389773308', '0.037109537657754425', None, None, None, None, '3952939'), ('4302', '27873114', '1389773307', '0.037109537657754425', None, None, None, None, '3952939'), ('4302', '27873114', '1389773305', '0.037109537657754425', None, None, None, None, '3952939'), ('4302', '27873114', '1389773304', '0.037109537657754425', None, None, None, None, '3952939'), ('4302', '27873114', '1389773300', '0.037109537657754425', None, None, None, None, '3952939'), ('4302', '27873114', '1389773299', '0.037109537657754425', None, None, None, None, '3952939'), ('4302', '27873114', '1389773296', '0.037109537657754425', None, None, None, None, '3952939'), ('4302', '27873114', '1389773295', '0.037109537657754425', None, None, None, None, '3952939'), ('4302', '27873114', '1389773292', '0.037109537657754425', None, None, None, None, '3952939'), ('4302', '27873114', '1389773291', '0.037109537657754425', None, None, None, None, '3952939'), ('4302', '27873114', '1389773289', '0.037109537657754425', None, None, None, None, '3952939'), ('4302', '27873114', '1389773288', '0.037109537657754425', None, None, None, None, '3952939')] time used for this insertion : 0.035306692123413086 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.23635339736938477 time spend to save output : 0.03596663475036621 total time spend for step 2 : 0.272320032119751 step3:velours_tree Fri Oct 17 10:15:00 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 : {27873114: [{'kraft': 27873132, 'environnement': 27873133, 'metal': 27873134, 'Carton_gris': 27873135, 'mal_croppe': 27873136, 'Carton_brun': 27873137, 'papier': 27873138, 'flou': 27873139, 'autre_refus': 27873140, 'Teint_Dans_La_Masse': 27873141, 'plastique': 27873142, 'cartonnette': 27873143}]} input_args_next_step : {27873114: ()} output_args : {27873114: [{'kraft': 27873132, 'environnement': 27873133, 'metal': 27873134, 'Carton_gris': 27873135, 'mal_croppe': 27873136, 'Carton_brun': 27873137, 'papier': 27873138, 'flou': 27873139, 'autre_refus': 27873140, 'Teint_Dans_La_Masse': 27873141, 'plastique': 27873142, 'cartonnette': 27873143}]} args : 27873114 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'kraft': 27873132, 'environnement': 27873133, 'metal': 27873134, 'Carton_gris': 27873135, 'mal_croppe': 27873136, 'Carton_brun': 27873137, 'papier': 27873138, 'flou': 27873139, 'autre_refus': 27873140, 'Teint_Dans_La_Masse': 27873141, 'plastique': 27873142, 'cartonnette': 27873143},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27873114) 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([27873114]) 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.31311535835266113 time spend to save output : 5.6743621826171875e-05 total time spend for step 3 : 0.3131721019744873 step4:send_mail_cod Fri Oct 17 10:15:00 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 : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ('0.037109537657754425',)} input_args_next_step : {1389773324: ()} output_args : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ('0.037109537657754425',)} args : 1389773324 depend.output_id : 0 input_args_next_step : {1389773324: ('0.037109537657754425',), 1389773321: ()} output_args : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ('0.037109537657754425',)} args : 1389773321 depend.output_id : 0 input_args_next_step : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ()} output_args : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ('0.037109537657754425',)} args : 1389773318 depend.output_id : 0 input_args_next_step : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ()} output_args : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ('0.037109537657754425',)} args : 1389773308 depend.output_id : 0 input_args_next_step : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ()} output_args : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ('0.037109537657754425',)} args : 1389773307 depend.output_id : 0 input_args_next_step : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ()} output_args : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ('0.037109537657754425',)} args : 1389773305 depend.output_id : 0 input_args_next_step : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ()} output_args : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ('0.037109537657754425',)} args : 1389773304 depend.output_id : 0 input_args_next_step : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ()} output_args : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ('0.037109537657754425',)} args : 1389773300 depend.output_id : 0 input_args_next_step : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ()} output_args : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ('0.037109537657754425',)} args : 1389773299 depend.output_id : 0 input_args_next_step : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ()} output_args : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ('0.037109537657754425',)} args : 1389773296 depend.output_id : 0 input_args_next_step : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ()} output_args : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ('0.037109537657754425',)} args : 1389773295 depend.output_id : 0 input_args_next_step : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ()} output_args : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ('0.037109537657754425',)} args : 1389773292 depend.output_id : 0 input_args_next_step : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ()} output_args : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ('0.037109537657754425',)} args : 1389773291 depend.output_id : 0 input_args_next_step : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ()} output_args : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ('0.037109537657754425',)} args : 1389773289 depend.output_id : 0 input_args_next_step : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ()} output_args : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ('0.037109537657754425',)} args : 1389773288 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 : {27873114: [{'kraft': 27873132, 'environnement': 27873133, 'metal': 27873134, 'Carton_gris': 27873135, 'mal_croppe': 27873136, 'Carton_brun': 27873137, 'papier': 27873138, 'flou': 27873139, 'autre_refus': 27873140, 'Teint_Dans_La_Masse': 27873141, 'plastique': 27873142, 'cartonnette': 27873143}]} input_args_next_step : {1389773324: ('0.037109537657754425',), 1389773321: ('0.037109537657754425',), 1389773318: ('0.037109537657754425',), 1389773308: ('0.037109537657754425',), 1389773307: ('0.037109537657754425',), 1389773305: ('0.037109537657754425',), 1389773304: ('0.037109537657754425',), 1389773300: ('0.037109537657754425',), 1389773299: ('0.037109537657754425',), 1389773296: ('0.037109537657754425',), 1389773295: ('0.037109537657754425',), 1389773292: ('0.037109537657754425',), 1389773291: ('0.037109537657754425',), 1389773289: ('0.037109537657754425',), 1389773288: ('0.037109537657754425',), 27873114: ()} output_args : {27873114: [{'kraft': 27873132, 'environnement': 27873133, 'metal': 27873134, 'Carton_gris': 27873135, 'mal_croppe': 27873136, 'Carton_brun': 27873137, 'papier': 27873138, 'flou': 27873139, 'autre_refus': 27873140, 'Teint_Dans_La_Masse': 27873141, 'plastique': 27873142, 'cartonnette': 27873143}]} args : 27873114 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 :16, first value : ('0.037109537657754425',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27873114) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos_view ph WHERE photo_id IN (1389773324,1389773321,1389773318,1389773308,1389773307,1389773305,1389773304,1389773300,1389773299,1389773296,1389773295,1389773292,1389773291,1389773289,1389773288) Found this number of photos: 15 ##### Call download_photos : nb_thread : 5 begin to download photo : 1389773288 begin to download photo : 1389773295 begin to download photo : 1389773304 begin to download photo : 1389773318 download finish for photo 1389773304 begin to download photo : 1389773305 download finish for photo 1389773318 begin to download photo : 1389773321 download finish for photo 1389773295 begin to download photo : 1389773296 download finish for photo 1389773288 begin to download photo : 1389773289 download finish for photo 1389773321 begin to download photo : 1389773324 download finish for photo 1389773305 begin to download photo : 1389773307 download finish for photo 1389773296 begin to download photo : 1389773299 download finish for photo 1389773289 begin to download photo : 1389773291 download finish for photo 1389773324 download finish for photo 1389773307 begin to download photo : 1389773308 download finish for photo 1389773299 begin to download photo : 1389773300 download finish for photo 1389773291 begin to download photo : 1389773292 download finish for photo 1389773300 download finish for photo 1389773308 download finish for photo 1389773292 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette278731321760688901/ imagette278731341760688901/ imagette278731361760688901/ imagette278731391760688901/ length of list_filenames : 15 ; length of list_pids : 15 ; length of list_args : 15 results_Auto_P27873114_17-10-2025_10_15_01.pdf 27873132 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27873132 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278731321760688901 27873134 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27873134 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278731341760688901 27873136 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27873136 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278731361760688901 27873139 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27873139 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278731391760688901 27873140 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27873140 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389770756: '1760688324_1450179_1389769903_c2a2b2ba247cd3b2ff5b1446ff16b461_rle_crop_4000084431_0.png', 1389773841: '1760688784_1467399_1389772158_c392188c743b4da48cc8e02d1c61e99d_rle_crop_4000104138_0.png', 1389773843: '1760688784_1467399_1389772029_5f97c834897b2cbef440c91761df82b9_rle_crop_4000104159_0.png', 1389774285: '1760688866_1470710_1389772840_071b13428d1e7fa13c925aa40339dea7_rle_crop_4000107168_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/9ac5d275e8083764382c7d5471075354_2666129.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/5d1452f5e6633bb33011b91eb4624682_38679155.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/cce3e88cc1d832598a86fe4a9af6d320_50891686.png change filename to text .imagette278731401760688901/ imagette278731401760688901/1760688784_1467399_1389772158_c392188c743b4da48cc8e02d1c61e99d_rle_crop_4000104138_0.png.png imagette278731401760688901/1760688324_1450179_1389769903_c2a2b2ba247cd3b2ff5b1446ff16b461_rle_crop_4000084431_0.png.png imagette278731401760688901/1760688784_1467399_1389772029_5f97c834897b2cbef440c91761df82b9_rle_crop_4000104159_0.png.png imagette278731401760688901/1760688866_1470710_1389772840_071b13428d1e7fa13c925aa40339dea7_rle_crop_4000107168_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/b1888e036e559c5544376b66df20a9cc_48285346.png imagette278731401760688901 27873142 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27873142 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389770768: '1760688324_1450179_1389769903_c2a2b2ba247cd3b2ff5b1446ff16b461_rle_crop_4000084434_0.png', 1389770769: '1760688324_1450179_1389769707_1be73a0d750daf4c3dd135b95522af05_rle_crop_4000084460_0.png', 1389773851: '1760688784_1467399_1389772158_c392188c743b4da48cc8e02d1c61e99d_rle_crop_4000104137_0.png', 1389773852: '1760688784_1467399_1389772025_01c716983c622b21b2556622df0c48d0_rle_crop_4000104181_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/298d5f383e10d17d5cc8a328fa81b33d_82507294.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/a8261b868142b4dcd38a952602a1425b_35813129.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/3b52ba889491cbd16bcff3d22c96e989_59904717.png change filename to text .imagette278731421760688901/ imagette278731421760688901/1760688324_1450179_1389769903_c2a2b2ba247cd3b2ff5b1446ff16b461_rle_crop_4000084434_0.png.png imagette278731421760688901/1760688324_1450179_1389769707_1be73a0d750daf4c3dd135b95522af05_rle_crop_4000084460_0.png.png imagette278731421760688901/1760688784_1467399_1389772158_c392188c743b4da48cc8e02d1c61e99d_rle_crop_4000104137_0.png.png imagette278731421760688901/1760688784_1467399_1389772025_01c716983c622b21b2556622df0c48d0_rle_crop_4000104181_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/e83c534f5fc17ea6d72876a3f6b3807e_40336286.png imagette278731421760688901 27873143 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27873143 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389770761: '1760688324_1450179_1389769912_a8df65b1a221aac433d5f1a3e2853a1d_rle_crop_4000084405_0.png', 1389770762: '1760688324_1450179_1389769707_1be73a0d750daf4c3dd135b95522af05_rle_crop_4000084448_0.png', 1389770763: '1760688324_1450179_1389769707_1be73a0d750daf4c3dd135b95522af05_rle_crop_4000084449_0.png', 1389773849: '1760688784_1467399_1389772025_01c716983c622b21b2556622df0c48d0_rle_crop_4000104178_0.png', 1389774302: '1760688866_1470710_1389772847_b095ee2d6264e0ae163e1482f2d00642_rle_crop_4000107139_0.png', 1389774303: '1760688866_1470710_1389772840_071b13428d1e7fa13c925aa40339dea7_rle_crop_4000107172_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/4b217891031c80f94f969c1bc817918d_76817205.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/f7fdde5f5d5a11a2f31b16e70c471d2a_67153706.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/efeaf0944dada8b5ce9567a85250bad1_30460480.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/7fb573c5b3c21bd2c31e98f9f0528dcb_22984003.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/d7e2cc002d18f546a0d43fe7731faffe_14364625.png change filename to text .imagette278731431760688902/ imagette278731431760688902/1760688866_1470710_1389772847_b095ee2d6264e0ae163e1482f2d00642_rle_crop_4000107139_0.png.png imagette278731431760688902/1760688324_1450179_1389769912_a8df65b1a221aac433d5f1a3e2853a1d_rle_crop_4000084405_0.png.png imagette278731431760688902/1760688866_1470710_1389772840_071b13428d1e7fa13c925aa40339dea7_rle_crop_4000107172_0.png.png imagette278731431760688902/1760688324_1450179_1389769707_1be73a0d750daf4c3dd135b95522af05_rle_crop_4000084449_0.png.png imagette278731431760688902/1760688324_1450179_1389769707_1be73a0d750daf4c3dd135b95522af05_rle_crop_4000084448_0.png.png imagette278731431760688902/1760688784_1467399_1389772025_01c716983c622b21b2556622df0c48d0_rle_crop_4000104178_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/f4ab320a762feb94d08b03dbcffbff79_57801281.png imagette278731431760688902 27873135 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27873135 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389770759: '1760688324_1450179_1389769912_a8df65b1a221aac433d5f1a3e2853a1d_rle_crop_4000084406_0.png', 1389770760: '1760688324_1450179_1389769903_c2a2b2ba247cd3b2ff5b1446ff16b461_rle_crop_4000084433_0.png', 1389773847: '1760688784_1467399_1389772177_236ee33e5141fb60c3ce49369d5f6579_rle_crop_4000104122_0.png', 1389773848: '1760688784_1467399_1389772177_236ee33e5141fb60c3ce49369d5f6579_rle_crop_4000104124_0.png', 1389774296: '1760688866_1470710_1389772847_b095ee2d6264e0ae163e1482f2d00642_rle_crop_4000107140_0.png', 1389774297: '1760688866_1470710_1389772844_f64927c879462f67a81ae931a8cd1c85_rle_crop_4000107157_0.png', 1389774298: '1760688866_1470710_1389772844_f64927c879462f67a81ae931a8cd1c85_rle_crop_4000107149_0.png', 1389774299: '1760688866_1470710_1389772840_071b13428d1e7fa13c925aa40339dea7_rle_crop_4000107175_0.png', 1389774300: '1760688866_1470710_1389772837_e0f4278c070357f3bbe07afbc4ca1f48_rle_crop_4000107180_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/1d785c8a746a1cd1aa62beb908a9771a_3141092.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/4f0c2dd9be3a046dbc041bb90bfee064_10457623.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/6e23f1be694fcbe632d52f5612785133_1065673.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/577eb41831b7fb48936c13fc889295f8_18738189.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/2231e6411d3dfa06725217d83a92ce55_72806940.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/fbf5ed41763cf9b31efbfdc3e04946c4_24976594.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/8a87c0bf66d735feaed90a928258fce5_17264839.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/e3c24e0cec073dd4e18b05cee3110da7_81191057.png change filename to text .imagette278731351760688902/ imagette278731351760688902/1760688866_1470710_1389772847_b095ee2d6264e0ae163e1482f2d00642_rle_crop_4000107140_0.png.png imagette278731351760688902/1760688784_1467399_1389772177_236ee33e5141fb60c3ce49369d5f6579_rle_crop_4000104122_0.png.png imagette278731351760688902/1760688784_1467399_1389772177_236ee33e5141fb60c3ce49369d5f6579_rle_crop_4000104124_0.png.png imagette278731351760688902/1760688866_1470710_1389772837_e0f4278c070357f3bbe07afbc4ca1f48_rle_crop_4000107180_0.png.png imagette278731351760688902/1760688324_1450179_1389769903_c2a2b2ba247cd3b2ff5b1446ff16b461_rle_crop_4000084433_0.png.png imagette278731351760688902/1760688866_1470710_1389772840_071b13428d1e7fa13c925aa40339dea7_rle_crop_4000107175_0.png.png imagette278731351760688902/1760688866_1470710_1389772844_f64927c879462f67a81ae931a8cd1c85_rle_crop_4000107149_0.png.png imagette278731351760688902/1760688324_1450179_1389769912_a8df65b1a221aac433d5f1a3e2853a1d_rle_crop_4000084406_0.png.png imagette278731351760688902/1760688866_1470710_1389772844_f64927c879462f67a81ae931a8cd1c85_rle_crop_4000107157_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/1690dba95cb6cf507e0ecf1c8c315132_84418709.png imagette278731351760688902 27873137 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27873137 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389770764: '1760688324_1450179_1389769908_afbc4ad6bad01cf7f2b6702490de22a7_rle_crop_4000084417_0.png', 1389770765: '1760688324_1450179_1389769707_1be73a0d750daf4c3dd135b95522af05_rle_crop_4000084452_0.png', 1389773850: '1760688784_1467399_1389772029_5f97c834897b2cbef440c91761df82b9_rle_crop_4000104160_0.png', 1389774304: '1760688866_1470710_1389772844_f64927c879462f67a81ae931a8cd1c85_rle_crop_4000107154_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/0b71e0fe2e73be582603a6b7f0dea21e_49608596.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/6c2aa14ff7798153620f18e3a057abc5_67726586.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/322e6b894c395da8f90a0e873d126b10_34019473.png change filename to text .imagette278731371760688903/ imagette278731371760688903/1760688866_1470710_1389772844_f64927c879462f67a81ae931a8cd1c85_rle_crop_4000107154_0.png.png imagette278731371760688903/1760688784_1467399_1389772029_5f97c834897b2cbef440c91761df82b9_rle_crop_4000104160_0.png.png imagette278731371760688903/1760688324_1450179_1389769908_afbc4ad6bad01cf7f2b6702490de22a7_rle_crop_4000084417_0.png.png imagette278731371760688903/1760688324_1450179_1389769707_1be73a0d750daf4c3dd135b95522af05_rle_crop_4000084452_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/d45c8fe1bec47183decb22aceca3ff79_60938663.png imagette278731371760688903 27873141 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27873141 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389770752: '1760688324_1450179_1389769912_a8df65b1a221aac433d5f1a3e2853a1d_rle_crop_4000084411_0.png', 1389770753: '1760688324_1450179_1389769912_a8df65b1a221aac433d5f1a3e2853a1d_rle_crop_4000084407_0.png', 1389770754: '1760688324_1450179_1389769908_afbc4ad6bad01cf7f2b6702490de22a7_rle_crop_4000084424_0.png', 1389771645: '1760688424_1456794_1389770209_e09b24de5948b5aed24999473f14a865_rle_crop_4000089757_0.png', 1389773837: '1760688784_1467399_1389772158_c392188c743b4da48cc8e02d1c61e99d_rle_crop_4000104139_0.png', 1389773838: '1760688784_1467399_1389772158_c392188c743b4da48cc8e02d1c61e99d_rle_crop_4000104146_0.png', 1389773839: '1760688784_1467399_1389772029_5f97c834897b2cbef440c91761df82b9_rle_crop_4000104168_0.png', 1389773840: '1760688784_1467399_1389772029_5f97c834897b2cbef440c91761df82b9_rle_crop_4000104162_0.png', 1389774283: '1760688866_1470710_1389772837_e0f4278c070357f3bbe07afbc4ca1f48_rle_crop_4000107179_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/c8e4e383d386af4438335525442e0b7d_88413540.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/1e50b3aa3e38a9e9a2e263dd13da1725_21494348.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/499b464628be454f03caf1d61ea6abc8_47929959.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/64298981b52d133b2a06afe88d32ae79_24981176.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/8de2f1e183b1a957c610b2b546fa4bfe_67575286.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/97c64766bb7b00b8578cfc1ee09c79c3_20864370.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/3be70fb597de91276cd6a559cebffd2a_23628368.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/65fbb9fd59089f40e199aa5a901361bd_26052325.png change filename to text .imagette278731411760688903/ imagette278731411760688903/1760688324_1450179_1389769912_a8df65b1a221aac433d5f1a3e2853a1d_rle_crop_4000084407_0.png.png imagette278731411760688903/1760688784_1467399_1389772029_5f97c834897b2cbef440c91761df82b9_rle_crop_4000104162_0.png.png imagette278731411760688903/1760688424_1456794_1389770209_e09b24de5948b5aed24999473f14a865_rle_crop_4000089757_0.png.png imagette278731411760688903/1760688866_1470710_1389772837_e0f4278c070357f3bbe07afbc4ca1f48_rle_crop_4000107179_0.png.png imagette278731411760688903/1760688784_1467399_1389772029_5f97c834897b2cbef440c91761df82b9_rle_crop_4000104168_0.png.png imagette278731411760688903/1760688324_1450179_1389769912_a8df65b1a221aac433d5f1a3e2853a1d_rle_crop_4000084411_0.png.png imagette278731411760688903/1760688324_1450179_1389769908_afbc4ad6bad01cf7f2b6702490de22a7_rle_crop_4000084424_0.png.png imagette278731411760688903/1760688784_1467399_1389772158_c392188c743b4da48cc8e02d1c61e99d_rle_crop_4000104146_0.png.png imagette278731411760688903/1760688784_1467399_1389772158_c392188c743b4da48cc8e02d1c61e99d_rle_crop_4000104139_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/b9055066e8e1df0507032de35dd1f40c_58073895.png imagette278731411760688903 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27873114 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27873145,27873146,27873147,27873148,27873149,27873150,27873151,27873152,27873153,27873154,27873155,27873156?tags=kraft,environnement,metal,Carton_gris,mal_croppe,Carton_brun,papier,flou,autre_refus,Teint_Dans_La_Masse,plastique,cartonnette your option no_mail is active, we will not send the real mail to your client args[1389773324] : ('0.037109537657754425',) no score found for photo 1389773324 We are sending mail with results at report@fotonower.com args[1389773321] : ('0.037109537657754425',) no score found for photo 1389773321 We are sending mail with results at report@fotonower.com args[1389773318] : ('0.037109537657754425',) no score found for photo 1389773318 We are sending mail with results at report@fotonower.com args[1389773308] : ('0.037109537657754425',) no score found for photo 1389773308 We are sending mail with results at report@fotonower.com args[1389773307] : ('0.037109537657754425',) no score found for photo 1389773307 We are sending mail with results at report@fotonower.com args[1389773305] : ('0.037109537657754425',) no score found for photo 1389773305 We are sending mail with results at report@fotonower.com args[1389773304] : ('0.037109537657754425',) no score found for photo 1389773304 We are sending mail with results at report@fotonower.com args[1389773300] : ('0.037109537657754425',) no score found for photo 1389773300 We are sending mail with results at report@fotonower.com args[1389773299] : ('0.037109537657754425',) no score found for photo 1389773299 We are sending mail with results at report@fotonower.com args[1389773296] : ('0.037109537657754425',) no score found for photo 1389773296 We are sending mail with results at report@fotonower.com args[1389773295] : ('0.037109537657754425',) no score found for photo 1389773295 We are sending mail with results at report@fotonower.com args[1389773292] : ('0.037109537657754425',) no score found for photo 1389773292 We are sending mail with results at report@fotonower.com args[1389773291] : ('0.037109537657754425',) no score found for photo 1389773291 We are sending mail with results at report@fotonower.com args[1389773289] : ('0.037109537657754425',) no score found for photo 1389773289 We are sending mail with results at report@fotonower.com args[1389773288] : ('0.037109537657754425',) no score found for photo 1389773288 We are sending mail with results at report@fotonower.com refus_total : 0.037109537657754425 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27873114 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_P27873114_17-10-2025_10_15_01.pdf results_Auto_P27873114_17-10-2025_10_15_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873114_17-10-2025_10_15_01.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','27873114','results_Auto_P27873114_17-10-2025_10_15_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873114_17-10-2025_10_15_01.pdf','pdf','','0.23','0.037109537657754425') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27873114]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1389773324, 1389773321, 1389773318, 1389773308, 1389773307, 1389773305, 1389773304, 1389773300, 1389773299, 1389773296, 1389773295, 1389773292, 1389773291, 1389773289, 1389773288] map_info['map_portfolio_photo'] : {27873114: [1389773324, 1389773321, 1389773318, 1389773308, 1389773307, 1389773305, 1389773304, 1389773300, 1389773299, 1389773296, 1389773295, 1389773292, 1389773291, 1389773289, 1389773288, 1389772939, 1389772937, 1389772934, 1389772928, 1389772850, 1389772847, 1389772844, 1389772840, 1389772837, 1389772187, 1389772182, 1389772177, 1389772158, 1389772029, 1389772025, 1389772006, 1389771988, 1389771919, 1389771910, 1389771887, 1389771845, 1389771838, 1389771828, 1389771666, 1389771658, 1389771654, 1389771650, 1389771640, 1389771103, 1389771065, 1389770992, 1389770991, 1389770990, 1389770943, 1389770939, 1389770780, 1389770779, 1389770771, 1389770766, 1389770758, 1389770750, 1389770747, 1389770734, 1389770718, 1389770717, 1389770290, 1389770288, 1389770285, 1389770276, 1389770273, 1389770265, 1389770228, 1389770218, 1389770212, 1389770209, 1389770202, 1389770196, 1389770190, 1389770178, 1389770162, 1389770159, 1389769912, 1389769908, 1389769903, 1389769707]} final : False mtd_id 4302 list_pids : [1389773324, 1389773321, 1389773318, 1389773308, 1389773307, 1389773305, 1389773304, 1389773300, 1389773299, 1389773296, 1389773295, 1389773292, 1389773291, 1389773289, 1389773288] 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, '3952939') ('4302', '27873114', '1389773324', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773321', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773318', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773308', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773307', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773305', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773304', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773300', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773299', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773296', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773295', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773292', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773291', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773289', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773288', None, None, None, None, None, '3952939') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 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', '27873114', '1389773324', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773321', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773318', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773308', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773307', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773305', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773304', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773300', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773299', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773296', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773295', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773292', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773291', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773289', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773288', None, None, None, None, None, '3952939')] time used for this insertion : 0.035083770751953125 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.88920783996582 time spend to save output : 0.03534102439880371 total time spend for step 4 : 4.924548864364624 step5:split_time_score Fri Oct 17 10:15:05 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 : ['27873114'] 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 : [('27873114',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27873114) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1389773318: {'path': 'temp/1760688900_730991_1389773318_b84e1a4e1423837638c2b33ca84ea20f.jpg', 'extension': 'jpg'}, 1389773321: {'path': 'temp/1760688900_730991_1389773321_22cb6b887aebf67799b1443f56ff6fd5.jpg', 'extension': 'jpg'}, 1389773324: {'path': 'temp/1760688900_730991_1389773324_a69f9ccab225badd9efabcbf96f4abc8.jpg', 'extension': 'jpg'}, 1389773295: {'path': 'temp/1760688900_730991_1389773295_7fbd432f2ac58a020d8545df65f3a74e.jpg', 'extension': 'jpg'}, 1389773296: {'path': 'temp/1760688900_730991_1389773296_43c0292b15fa56227512a3df111ba365.jpg', 'extension': 'jpg'}, 1389773299: {'path': 'temp/1760688900_730991_1389773299_e016bd66487b7b7661bd63cccedb2d23.jpg', 'extension': 'jpg'}, 1389773300: {'path': 'temp/1760688900_730991_1389773300_bce6c5bd2a32e9e3b972d8ed25e72000.jpg', 'extension': 'jpg'}, 1389773304: {'path': 'temp/1760688900_730991_1389773304_6bec56958b75d9d0048b45c5807c9f76.jpg', 'extension': 'jpg'}, 1389773305: {'path': 'temp/1760688900_730991_1389773305_f852978021b53c51046fe89f191bf78a.jpg', 'extension': 'jpg'}, 1389773307: {'path': 'temp/1760688900_730991_1389773307_ff7516dc8e075999bb1fbecf138a334b.jpg', 'extension': 'jpg'}, 1389773308: {'path': 'temp/1760688900_730991_1389773308_1c181842823f06eab468cb02f451b18b.jpg', 'extension': 'jpg'}, 1389773288: {'path': 'temp/1760688900_730991_1389773288_cbae55d0c5a9bb03ac96ea4cb00147f0.jpg', 'extension': 'jpg'}, 1389773289: {'path': 'temp/1760688900_730991_1389773289_4693dfd1cd43c7fefae7dfe9bb7567e8.jpg', 'extension': 'jpg'}, 1389773291: {'path': 'temp/1760688900_730991_1389773291_50aab135b02cba62aa504ba57cbc87b2.jpg', 'extension': 'jpg'}, 1389773292: {'path': 'temp/1760688900_730991_1389773292_b3b85e890522da8b74a7becd611a6cf5.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 = 27873114; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27873114 group by h (('10', 80),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27873114 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 (27873114) 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 (27873114) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17102025 27873114 Nombre de photos uploadées : 80 / 23040 (0%) 17102025 27873114 Nombre de photos taguées (types de déchets): 0 / 80 (0%) 17102025 27873114 Nombre de photos taguées (volume) : 0 / 80 (0%) [{'photo_id': 1389769912, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/a8df65b1a221aac433d5f1a3e2853a1d.jpg', 'username': None, 'uploaded_at': 1760688083, 'text': 'image_17102025_10_00_14_010242m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1389769908, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/afbc4ad6bad01cf7f2b6702490de22a7.jpg', 'username': None, 'uploaded_at': 1760688083, 'text': 'image_17102025_10_00_24_010137m0.jpg 2e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1389769903, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/c2a2b2ba247cd3b2ff5b1446ff16b461.jpg', 'username': None, 'uploaded_at': 1760688083, 'text': 'image_17102025_10_00_34_010139m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1389769707, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/1be73a0d750daf4c3dd135b95522af05.jpg', 'username': None, 'uploaded_at': 1760688083, 'text': 'image_17102025_10_00_45_010137m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.5762786865234375e-06 elapsed_time : order_list_meta_photo_and_scores 1.0967254638671875e-05 ???????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002740144729614258 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27873114, '2025-10-17' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-10-17' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2461577,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6784708499908447 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= 2461577 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27870991, 'dashboard_result_id': 16460880, '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_P27870991_17-10-2025_09_13_08.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871685, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871719, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27873027, 'dashboard_result_id': 16460881, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27873029, 'dashboard_result_id': 16460882, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27871053, 'dashboard_result_id': 16460883, '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_P27871053_17-10-2025_09_13_13.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871745, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27873031, 'dashboard_result_id': 16460884, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27873033, 'dashboard_result_id': 16460885, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27873035, 'dashboard_result_id': 16460886, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27873037, 'dashboard_result_id': 16460887, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27871396, 'dashboard_result_id': 16460888, '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_P27871396_17-10-2025_09_13_41.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27871754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871817, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27873039, 'dashboard_result_id': 16460889, '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_P27873039_17-10-2025_10_02_04.pdf'}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27873041, 'dashboard_result_id': 16460890, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27871526, 'dashboard_result_id': 16460891, '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_P27871526_17-10-2025_09_14_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871867, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27873044, 'dashboard_result_id': 16460892, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27871534, 'dashboard_result_id': 16460893, '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_P27871534_17-10-2025_09_21_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872379, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27871543, 'dashboard_result_id': 16460894, '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_P27871543_17-10-2025_09_20_20.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27872283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872307, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872323, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27871551, 'dashboard_result_id': 16460895, '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_P27871551_17-10-2025_09_14_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871864, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871908, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27871561, 'dashboard_result_id': 16460896, '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_P27871561_17-10-2025_09_20_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27872253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872302, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27871572, 'dashboard_result_id': 16460897, '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_P27871572_17-10-2025_09_18_54.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872243, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27871576, 'dashboard_result_id': 16460898, '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_P27871576_17-10-2025_09_18_40.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872220, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27871581, 'dashboard_result_id': 16460899, '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_P27871581_17-10-2025_09_18_27.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872108, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872172, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27871590, 'dashboard_result_id': 16460900, '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_P27871590_17-10-2025_09_18_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872170, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27871598, 'dashboard_result_id': 16460901, '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_P27871598_17-10-2025_09_17_46.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872107, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872113, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872147, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27871605, 'dashboard_result_id': 16460902, '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_P27871605_17-10-2025_09_14_49.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871930, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871969, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27871619, 'dashboard_result_id': 16460903, '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_P27871619_17-10-2025_09_14_56.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871979, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27871638, 'dashboard_result_id': 16460904, '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_P27871638_17-10-2025_09_17_24.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872096, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27871656, 'dashboard_result_id': 16460905, '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_P27871656_17-10-2025_09_16_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27872023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872043, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872052, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27870700, 'dashboard_result_id': 16460906, '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_P27870700_17-10-2025_08_40_17.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870952, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27870807, 'dashboard_result_id': 16460907, '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_P27870807_17-10-2025_08_40_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870889, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27870679, 'dashboard_result_id': 16460908, '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_P27870679_17-10-2025_09_11_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870753, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27870695, 'dashboard_result_id': 16460909, '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_P27870695_17-10-2025_09_20_55.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870720, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27871137, 'dashboard_result_id': 16460910, '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_P27871137_17-10-2025_10_01_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871158, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27871563, 'dashboard_result_id': 16460911, '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_P27871563_17-10-2025_09_30_19.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871599, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27872616, 'dashboard_result_id': 16460912, '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_P27872616_17-10-2025_09_32_42.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872656, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27872616, 'dashboard_result_id': 16460913, '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_P27872616_17-10-2025_09_32_42.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872656, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27872805, 'dashboard_result_id': 16460914, '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_P27872805_17-10-2025_10_13_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872877, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27872807, 'dashboard_result_id': 16460915, '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_P27872807_17-10-2025_09_58_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872821, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469571, 'mtr_portfolio_id': 27873114, 'dashboard_result_id': 16460916, '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_P27873114_17-10-2025_10_13_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873138, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873143, '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 = 27870991 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 = 27870991 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 = 27870991 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870991 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 = 27870991 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 = 27870991 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870991_17-10-2025_09_13_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870991 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_P27870991_17-10-2025_09_13_08.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871685, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871719, 'pht': 3726}}" where mtr_portfolio_id = 27870991 and dashboard_run_id = 2469571 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 = 27873027 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 = 27873027 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 = 27873027 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873027 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 = 27873027 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 = 27873027 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873027_17-10-2025_10_06_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873027 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_P27873027_17-10-2025_10_06_09.pdf'}" where mtr_portfolio_id = 27873027 and dashboard_run_id = 2469571 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 = 27873029 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 = 27873029 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 = 27873029 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873029 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 = 27873029 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 = 27873029 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873029_17-10-2025_10_06_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873029 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_P27873029_17-10-2025_10_06_35.pdf'}" where mtr_portfolio_id = 27873029 and dashboard_run_id = 2469571 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 = 27871053 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 = 27871053 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 = 27871053 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871053 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 = 27871053 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 = 27871053 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871053_17-10-2025_09_13_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871053 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_P27871053_17-10-2025_09_13_13.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871745, 'pht': 3726}}" where mtr_portfolio_id = 27871053 and dashboard_run_id = 2469571 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 = 27873031 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 = 27873031 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 = 27873031 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873031 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 = 27873031 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 = 27873031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873031_17-10-2025_10_06_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873031 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_P27873031_17-10-2025_10_06_07.pdf'}" where mtr_portfolio_id = 27873031 and dashboard_run_id = 2469571 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 = 27873033 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 = 27873033 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 = 27873033 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873033 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 = 27873033 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 = 27873033 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873033_17-10-2025_10_05_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873033 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_P27873033_17-10-2025_10_05_38.pdf'}" where mtr_portfolio_id = 27873033 and dashboard_run_id = 2469571 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 = 27873035 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 = 27873035 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 = 27873035 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873035 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 = 27873035 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 = 27873035 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873035_17-10-2025_10_04_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873035 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_P27873035_17-10-2025_10_04_39.pdf'}" where mtr_portfolio_id = 27873035 and dashboard_run_id = 2469571 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 = 27873037 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 = 27873037 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 = 27873037 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873037 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 = 27873037 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 = 27873037 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873037_17-10-2025_10_04_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873037 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_P27873037_17-10-2025_10_04_07.pdf'}" where mtr_portfolio_id = 27873037 and dashboard_run_id = 2469571 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 = 27871396 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 = 27871396 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 = 27871396 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871396 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 = 27871396 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 = 27871396 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871396_17-10-2025_09_13_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871396 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_P27871396_17-10-2025_09_13_41.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27871754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871817, 'pht': 3726}}" where mtr_portfolio_id = 27871396 and dashboard_run_id = 2469571 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 = 27873039 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 = 27873039 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 = 27873039 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873039 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 = 27873039 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 = 27873039 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873039_17-10-2025_10_02_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873039 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_P27873039_17-10-2025_10_02_04.pdf'}" where mtr_portfolio_id = 27873039 and dashboard_run_id = 2469571 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 = 27873041 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 = 27873041 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 = 27873041 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873041 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 = 27873041 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 = 27873041 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873041_17-10-2025_10_02_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873041 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_P27873041_17-10-2025_10_02_38.pdf'}" where mtr_portfolio_id = 27873041 and dashboard_run_id = 2469571 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 = 27871526 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 = 27871526 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 = 27871526 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871526 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 = 27871526 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 = 27871526 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871526_17-10-2025_09_14_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871526 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_P27871526_17-10-2025_09_14_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871867, 'pht': 3726}}" where mtr_portfolio_id = 27871526 and dashboard_run_id = 2469571 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 = 27873044 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 = 27873044 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 = 27873044 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873044 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 = 27873044 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 = 27873044 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873044_17-10-2025_10_03_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873044 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_P27873044_17-10-2025_10_03_38.pdf'}" where mtr_portfolio_id = 27873044 and dashboard_run_id = 2469571 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 = 27871534 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 = 27871534 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 = 27871534 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871534 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 = 27871534 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 = 27871534 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871534_17-10-2025_09_21_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871534 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_P27871534_17-10-2025_09_21_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872379, 'pht': 3726}}" where mtr_portfolio_id = 27871534 and dashboard_run_id = 2469571 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 = 27871543 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 = 27871543 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 = 27871543 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871543 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 = 27871543 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 = 27871543 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871543_17-10-2025_09_20_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871543 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_P27871543_17-10-2025_09_20_20.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27872283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872307, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872323, 'pht': 3726}}" where mtr_portfolio_id = 27871543 and dashboard_run_id = 2469571 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 = 27871551 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 = 27871551 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 = 27871551 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871551 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 = 27871551 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 = 27871551 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871551_17-10-2025_09_14_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871551 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_P27871551_17-10-2025_09_14_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871864, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871908, 'pht': 3726}}" where mtr_portfolio_id = 27871551 and dashboard_run_id = 2469571 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 = 27871561 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 = 27871561 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 = 27871561 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871561 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 = 27871561 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 = 27871561 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871561_17-10-2025_09_20_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871561 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_P27871561_17-10-2025_09_20_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27872253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872302, 'pht': 3726}}" where mtr_portfolio_id = 27871561 and dashboard_run_id = 2469571 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 = 27871572 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 = 27871572 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 = 27871572 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871572 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 = 27871572 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 = 27871572 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871572_17-10-2025_09_18_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871572 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_P27871572_17-10-2025_09_18_54.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872243, 'pht': 3726}}" where mtr_portfolio_id = 27871572 and dashboard_run_id = 2469571 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 = 27871576 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 = 27871576 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 = 27871576 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871576 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 = 27871576 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 = 27871576 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871576_17-10-2025_09_18_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871576 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_P27871576_17-10-2025_09_18_40.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872220, 'pht': 3726}}" where mtr_portfolio_id = 27871576 and dashboard_run_id = 2469571 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 = 27871581 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 = 27871581 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 = 27871581 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871581 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 = 27871581 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 = 27871581 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871581_17-10-2025_09_18_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871581 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_P27871581_17-10-2025_09_18_27.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872108, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872172, 'pht': 3726}}" where mtr_portfolio_id = 27871581 and dashboard_run_id = 2469571 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 = 27871590 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 = 27871590 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 = 27871590 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871590 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 = 27871590 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 = 27871590 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871590_17-10-2025_09_18_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871590 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_P27871590_17-10-2025_09_18_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872170, 'pht': 3726}}" where mtr_portfolio_id = 27871590 and dashboard_run_id = 2469571 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 = 27871598 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 = 27871598 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 = 27871598 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871598 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 = 27871598 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 = 27871598 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871598_17-10-2025_09_17_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871598 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_P27871598_17-10-2025_09_17_46.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872107, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872113, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872147, 'pht': 3726}}" where mtr_portfolio_id = 27871598 and dashboard_run_id = 2469571 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 = 27871605 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 = 27871605 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 = 27871605 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871605 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 = 27871605 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 = 27871605 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871605_17-10-2025_09_14_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871605 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_P27871605_17-10-2025_09_14_49.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871930, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871969, 'pht': 3726}}" where mtr_portfolio_id = 27871605 and dashboard_run_id = 2469571 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 = 27871619 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 = 27871619 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 = 27871619 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871619 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 = 27871619 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 = 27871619 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871619_17-10-2025_09_14_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871619 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_P27871619_17-10-2025_09_14_56.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871979, 'pht': 3726}}" where mtr_portfolio_id = 27871619 and dashboard_run_id = 2469571 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 = 27871638 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 = 27871638 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 = 27871638 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871638 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 = 27871638 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 = 27871638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871638_17-10-2025_09_17_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871638 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_P27871638_17-10-2025_09_17_24.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872096, 'pht': 3726}}" where mtr_portfolio_id = 27871638 and dashboard_run_id = 2469571 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 = 27871656 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 = 27871656 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 = 27871656 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871656 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 = 27871656 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 = 27871656 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871656_17-10-2025_09_16_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871656 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_P27871656_17-10-2025_09_16_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27872023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872043, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872052, 'pht': 3726}}" where mtr_portfolio_id = 27871656 and dashboard_run_id = 2469571 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 = 27870700 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 = 27870700 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 = 27870700 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870700 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 = 27870700 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 = 27870700 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870700_17-10-2025_08_40_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870700 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_P27870700_17-10-2025_08_40_17.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870952, 'pht': 3726}}" where mtr_portfolio_id = 27870700 and dashboard_run_id = 2469571 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 = 27870807 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 = 27870807 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 = 27870807 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870807 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 = 27870807 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 = 27870807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870807_17-10-2025_08_40_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870807 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_P27870807_17-10-2025_08_40_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870889, 'pht': 3726}}" where mtr_portfolio_id = 27870807 and dashboard_run_id = 2469571 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 = 27870679 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': 3952473, 'mtr_portfolio_id': 27870679, 'created_at': datetime.datetime(2025, 10, 17, 9, 11, 39), 'result': '0.026132705072848785', 'result_long': None, 'result_double': None}] Qualite : 0.026132705072848785 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27870679 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870679_17-10-2025_09_11_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870679 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_P27870679_17-10-2025_09_11_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870753, 'pht': 3726}}" where mtr_portfolio_id = 27870679 and dashboard_run_id = 2469571 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`=27870679 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16460908, 0.026132705072848785, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870679_17-10-2025_09_11_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870753, '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 = 27870695 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': 3952474, 'mtr_portfolio_id': 27870695, 'created_at': datetime.datetime(2025, 10, 17, 9, 20, 45), 'result': '0.03953099328767383', 'result_long': None, 'result_double': None}] Qualite : 0.03953099328767383 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27870695 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870695_17-10-2025_09_20_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870695 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_P27870695_17-10-2025_09_20_55.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870720, 'pht': 3726}}" where mtr_portfolio_id = 27870695 and dashboard_run_id = 2469571 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`=27870695 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16460909, 0.03953099328767383, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870695_17-10-2025_09_20_55.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870720, '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 = 27871137 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': 3952569, 'mtr_portfolio_id': 27871137, 'created_at': datetime.datetime(2025, 10, 17, 10, 1, 32), 'result': '0.04809880323696534', 'result_long': None, 'result_double': None}] Qualite : 0.04809880323696534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871137 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871137_17-10-2025_10_01_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871137 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_P27871137_17-10-2025_10_01_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871158, 'pht': 3726}}" where mtr_portfolio_id = 27871137 and dashboard_run_id = 2469571 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`=27871137 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16460910, 0.04809880323696534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871137_17-10-2025_10_01_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871158, '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 = 27871563 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 = 27871563 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 = 27871563 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871563 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 = 27871563 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 = 27871563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871563_17-10-2025_09_30_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871563 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_P27871563_17-10-2025_09_30_19.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871599, 'pht': 3726}}" where mtr_portfolio_id = 27871563 and dashboard_run_id = 2469571 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 = 27872616 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 = 27872616 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 = 27872616 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872616 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 = 27872616 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 = 27872616 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872616_17-10-2025_09_32_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27872616 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_P27872616_17-10-2025_09_32_42.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872656, 'pht': 3726}}" where mtr_portfolio_id = 27872616 and dashboard_run_id = 2469573 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 = 27872616 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 = 27872616 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 = 27872616 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872616 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 = 27872616 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 = 27872616 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872616_17-10-2025_09_32_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27872616 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_P27872616_17-10-2025_09_32_42.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872656, 'pht': 3726}}" where mtr_portfolio_id = 27872616 and dashboard_run_id = 2469573 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 = 27872805 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': 3952854, 'mtr_portfolio_id': 27872805, 'created_at': datetime.datetime(2025, 10, 17, 10, 13, 27), 'result': '0.04074361539972135', 'result_long': None, 'result_double': None}] Qualite : 0.04074361539972135 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27872805 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872805_17-10-2025_10_13_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27872805 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_P27872805_17-10-2025_10_13_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872877, 'pht': 3726}}" where mtr_portfolio_id = 27872805 and dashboard_run_id = 2469573 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`=27872805 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16460914, 0.04074361539972135, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872805_17-10-2025_10_13_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872877, '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 = 27872807 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': 3952855, 'mtr_portfolio_id': 27872807, 'created_at': datetime.datetime(2025, 10, 17, 9, 58, 34), 'result': '0.11114385508006443', 'result_long': None, 'result_double': None}] Qualite : 0.11114385508006443 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27872807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872807_17-10-2025_09_58_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27872807 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_P27872807_17-10-2025_09_58_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872821, 'pht': 3726}}" where mtr_portfolio_id = 27872807 and dashboard_run_id = 2469573 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`=27872807 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16460915, 0.11114385508006443, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872807_17-10-2025_09_58_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872821, '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 = 27873114 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': 3952939, 'mtr_portfolio_id': 27873114, 'created_at': datetime.datetime(2025, 10, 17, 10, 15), 'result': '0.037109537657754425', 'result_long': None, 'result_double': None}] Qualite : 0.037109537657754425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873114 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873114_17-10-2025_10_15_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873114 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_P27873114_17-10-2025_10_15_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873138, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873143, 'pht': 3726}}" where mtr_portfolio_id = 27873114 and dashboard_run_id = 2469573 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`=27873114 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16460916, 0.037109537657754425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873114_17-10-2025_10_15_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873138, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873143, '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 (27870991,27873027,27873029,27871053,27873031,27873033,27873035,27873037,27871396,27873039,27873041,27871526,27873044,27871534,27871543,27871551,27871561,27871572,27871576,27871581,27871590,27871598,27871605,27871619,27871638,27871656,27870700,27870807,27870679,27870695,27871137,27871563,27872616,27872616,27872805,27872807,27873114) result : ((1389765808,), (1389765811,), (1389765817,), (1389765830,), (1389765833,), (1389765834,), (1389765835,), (1389765836,), (1389765838,), (1389765844,), (1389765846,), (1389765848,), (1389765859,), (1389765862,), (1389765864,), (1389765865,), (1389765877,), (1389765880,), (1389765883,), (1389765885,), (1389765887,), (1389765889,), (1389765898,), (1389765903,), (1389765906,), (1389765910,), (1389765919,), (1389765922,), (1389765925,), (1389765928,), (1389765930,), (1389765933,), (1389765940,), (1389765943,), (1389765947,), (1389765962,), (1389765964,), (1389765967,), (1389765970,), (1389765973,), (1389765975,), (1389765993,), (1389765996,), (1389766000,), (1389766001,), (1389766002,), (1389766019,), (1389766023,), (1389766027,), (1389766031,), (1389766034,), (1389766037,), (1389766048,), (1389766051,), (1389766057,), (1389766060,), (1389766063,), (1389766075,), (1389766077,), (1389766080,), (1389766084,), (1389766088,), (1389766090,), (1389766095,), (1389766097,), (1389766099,), (1389766102,), (1389766105,), (1389766109,), (1389766112,), (1389766115,), (1389766118,), (1389766124,), (1389766125,), (1389766126,), (1389766131,), (1389766134,), (1389766138,), (1389766153,), (1389766157,), (1389766159,), (1389766164,), (1389766203,), (1389766186,), (1389766188,), (1389766190,), (1389766194,), (1389766198,), (1389766212,), (1389766214,), (1389766215,), (1389766219,), (1389766233,), (1389766234,), (1389766236,), (1389766239,), (1389766243,), (1389766248,), (1389766281,), (1389766284,), (1389766287,), (1389766289,), (1389766292,), (1389766300,), (1389766302,), (1389766306,), (1389766308,), (1389766311,), (1389766315,), (1389766320,), (1389766323,), (1389766325,), (1389766331,), (1389766340,), (1389766346,), (1389766352,), (1389766357,), (1389766369,), (1389766374,), (1389766375,), (1389766380,), (1389766383,), (1389766390,), (1389766395,), (1389766406,), (1389766414,), (1389766416,), (1389766423,), (1389766430,), (1389766439,), (1389766446,), (1389766456,), (1389766470,), (1389766471,), (1389766476,), (1389766477,), (1389766489,), (1389766491,), (1389766492,), (1389766495,), (1389766496,), (1389766499,), (1389766505,), (1389766506,), (1389766511,), (1389766519,), (1389766523,), (1389766526,), (1389766531,), (1389766534,), (1389766535,), (1389766537,), (1389766542,), (1389766543,), (1389766547,), (1389766548,), (1389766551,), (1389766552,), (1389766556,), (1389766557,), (1389766561,), (1389766566,), (1389766569,), (1389766574,), (1389766582,), (1389766588,), (1389766596,), (1389766599,), (1389766604,), (1389766613,), (1389766624,), (1389766632,), (1389766640,), (1389766649,), (1389766661,), (1389766670,), (1389765082,), (1389765084,), (1389765085,), (1389765088,), (1389765091,), (1389765102,), (1389765105,), (1389765110,), (1389765113,), (1389765116,), (1389765118,), (1389765123,), (1389765125,), (1389765128,), (1389765134,), (1389765136,), (1389765142,), (1389765145,), (1389765147,), (1389765149,), (1389765156,), (1389765160,), (1389765163,), (1389765168,), (1389765172,), (1389765174,), (1389765182,), (1389765185,), (1389765187,), (1389765191,), (1389765205,), (1389765208,), (1389765211,), (1389765215,), (1389765218,), (1389765221,), (1389765233,), (1389765235,), (1389765239,), (1389765241,), (1389765255,), (1389765257,), (1389765260,), (1389765267,), (1389765270,), (1389765273,), (1389765284,), (1389765288,), (1389765289,), (1389765290,), (1389765292,), (1389765295,), (1389765302,), (1389765308,), (1389765317,), (1389765319,), (1389765322,), (1389765324,), (1389765326,), (1389765328,), (1389765335,), (1389765339,), (1389765342,), (1389765345,), (1389765347,), (1389765359,), (1389765363,), (1389765367,), (1389765371,), (1389765372,), (1389765375,), (1389765382,), (1389765385,), (1389765390,), (1389765393,), (1389765396,), (1389765400,), (1389765402,), (1389765404,), (1389765406,), (1389765415,), (1389765418,), (1389765429,), (1389765433,), (1389765435,), (1389765437,), (1389765463,), (1389765449,), (1389765454,), (1389765457,), (1389765461,), (1389765477,), (1389765481,), (1389765485,), (1389765487,), (1389765497,), (1389765499,), (1389765501,), (1389765505,), (1389765520,), (1389765523,), (1389765526,), (1389765529,), (1389765531,), (1389765534,), (1389765542,), (1389765544,), (1389765546,), (1389765549,), (1389765560,), (1389765564,), (1389765566,), (1389765571,), (1389765574,), (1389765576,), (1389765590,), (1389765593,), (1389765597,), (1389765601,), (1389765605,), (1389765607,), (1389765611,), (1389765614,), (1389765617,), (1389765620,), (1389765623,), (1389765625,), (1389765628,), (1389765631,), (1389765634,), (1389765640,), (1389765641,), (1389765642,), (1389765645,), (1389765647,), (1389765651,), (1389765663,), (1389765665,), (1389765667,), (1389765670,), (1389765686,), (1389765689,), (1389765692,), (1389765695,), (1389765698,), (1389765701,), (1389765717,), (1389765722,), (1389765725,), (1389765726,), (1389765743,), (1389765746,), (1389765748,), (1389765750,), (1389765751,), (1389765752,), (1389765764,), (1389765768,), (1389765772,), (1389765774,), (1389765786,), (1389765789,), (1389765792,), (1389765795,), (1389765798,), (1389765800,), (1389765820,), (1389765852,), (1389754273,), (1389754275,), (1389754277,), (1389754279,), (1389754283,), (1389754288,), (1389754291,), (1389754294,), (1389754322,), (1389754327,), (1389754332,), (1389754335,), (1389754339,), (1389754343,), (1389754348,), (1389754351,), (1389754353,), (1389754356,), (1389754358,), (1389754361,), (1389754389,), (1389754390,), (1389754393,), (1389754394,), (1389754396,), (1389754397,), (1389754400,), (1389754401,), (1389754404,), (1389754405,), (1389754409,), (1389754411,), (1389754414,), (1389754417,), (1389754420,), (1389754449,), (1389754450,), (1389754452,), (1389754453,), (1389754456,), (1389754457,), (1389754460,), (1389754461,), (1389754465,), (1389754466,), (1389754470,), (1389754473,), (1389754476,), (1389754479,), (1389754504,), (1389754593,), (1389754595,), (1389754596,), (1389754597,), (1389754601,), (1389754604,), (1389754607,), (1389754610,), (1389754614,), (1389754615,), (1389754638,), (1389754640,), (1389754642,), (1389754670,), (1389754673,), (1389754675,), (1389754687,), (1389755557,), (1389755560,), (1389755562,), (1389755563,), (1389755571,), (1389755575,), (1389755579,), (1389755582,), (1389755585,), (1389755587,), (1389755612,), (1389755614,), (1389755617,), (1389755621,), (1389755623,), (1389755625,), (1389755626,), (1389755629,), (1389755654,), (1389755658,), (1389755662,), (1389755666,), (1389755669,), (1389755673,), (1389755697,), (1389755701,), (1389755704,), (1389755712,), (1389755714,), (1389755715,), (1389755717,), (1389755719,), (1389755744,), (1389755747,), (1389755750,), (1389755753,), (1389755756,), (1389755758,), (1389755766,), (1389755769,), (1389755773,), (1389755777,), (1389755803,), (1389755806,), (1389755809,), (1389755812,), (1389755815,), (1389755841,), (1389755843,), (1389755847,), (1389755851,), (1389755855,), (1389755858,), (1389755887,), (1389755889,), (1389755891,), (1389755893,), (1389755911,), (1389755914,), (1389755918,), (1389755922,), (1389755926,), (1389755931,), (1389755935,), (1389756809,), (1389766630,), (1389766636,), (1389766645,), (1389766652,), (1389766658,), (1389766666,), (1389766673,), (1389766679,), (1389766683,), (1389766688,), (1389766689,), (1389766692,), (1389766698,), (1389766701,), (1389766705,), (1389766706,), (1389766710,), (1389766711,), (1389766717,), (1389766718,), (1389766719,), (1389766724,), (1389766725,), (1389766729,), (1389766730,), (1389766734,), (1389766738,), (1389766740,), (1389766743,), (1389766746,), (1389766747,), (1389766751,), (1389766752,), (1389766754,), (1389766761,), (1389766762,), (1389766763,), (1389766770,), (1389766771,), (1389766773,), (1389766774,), (1389766781,), (1389766784,), (1389766786,), (1389766797,), (1389766798,), (1389766801,), (1389766810,), (1389766811,), (1389766813,), (1389766817,), (1389766827,), (1389766831,), (1389766838,), (1389766843,), (1389766848,), (1389766852,), (1389766861,), (1389766867,), (1389766871,), (1389766876,), (1389766878,), (1389766885,), (1389766886,), (1389766893,), (1389766894,), (1389766904,), (1389766907,), (1389766908,), (1389766916,), (1389766919,), (1389766929,), (1389766934,), (1389766944,), (1389766954,), (1389766956,), (1389766971,), (1389766977,), (1389766988,), (1389767006,), (1389767023,), (1389767030,), (1389767044,), (1389767049,), (1389767063,), (1389767077,), (1389767090,), (1389767092,), (1389767106,), (1389767112,), (1389767136,), (1389767143,), (1389767169,), (1389767175,), (1389767190,), (1389767196,), (1389767210,), (1389767214,), (1389767223,), (1389767235,), (1389767244,), (1389767256,), (1389767280,), (1389767302,), (1389767325,), (1389767347,), (1389767369,), (1389767394,), (1389767407,), (1389767412,), (1389767413,), (1389767427,), (1389767434,), (1389767449,), (1389767454,), (1389767474,), (1389767477,), (1389767486,), (1389767493,), (1389767500,), (1389767508,), (1389767530,), (1389767537,), (1389767549,), (1389767558,), (1389767577,), (1389767585,), (1389767598,), (1389767606,), (1389767622,), (1389767629,), (1389767636,), (1389767645,), (1389767659,), (1389767669,), (1389767677,), (1389767682,), (1389767698,), (1389767707,), (1389767713,), (1389767741,), (1389767772,), (1389767775,), (1389767790,), (1389767803,), (1389767819,), (1389767851,), (1389767866,), (1389767875,), (1389767895,), (1389767924,), (1389767954,), (1389767962,), (1389767987,), (1389767994,), (1389768018,), (1389768026,), (1389768051,), (1389768058,), (1389768077,), (1389768088,), (1389768119,), (1389768135,), (1389768153,), (1389768165,), (1389768199,), (1389768205,), (1389768206,), (1389768207,), (1389768239,), (1389768244,), (1389768245,), (1389768275,), (1389768276,), (1389768289,), (1389768298,), (1389768309,), (1389768322,), (1389768350,), (1389768366,), (1389768396,), (1389768401,), (1389768423,), (1389768427,), (1389768453,), (1389768482,), (1389768492,), (1389768525,), (1389768548,), (1389768560,), (1389768576,), (1389768608,), (1389768610,), (1389768644,), (1389768675,), (1389768677,), (1389768719,), (1389768738,), (1389768755,), (1389768775,), (1389768787,), (1389768808,), (1389768819,), (1389768820,), (1389768852,), (1389768855,), (1389768888,), (1389768910,), (1389768941,), (1389758111,), (1389758114,), (1389758130,), (1389758132,), (1389758134,), (1389758137,), (1389758140,), (1389758143,), (1389758151,), (1389758154,), (1389758157,), (1389758160,), (1389758163,), (1389758174,), (1389758176,), (1389758179,), (1389758181,), (1389758184,), (1389758193,), (1389758194,), (1389758197,), (1389758215,), (1389758217,), (1389758219,), (1389758222,), (1389758224,), (1389758235,), (1389758236,), (1389758237,), (1389758241,), (1389758244,), (1389758247,), (1389758255,), (1389758257,), (1389758260,), (1389758273,), (1389758281,), (1389758284,), (1389758288,), (1389758291,), (1389758293,), (1389758298,), (1389758300,), (1389758303,), (1389758306,), (1389758319,), (1389758322,), (1389758324,), (1389758328,), (1389758331,), (1389758340,), (1389758342,), (1389758360,), (1389758363,), (1389758367,), (1389758369,), (1389758382,), (1389758386,), (1389758390,), (1389758393,), (1389758401,), (1389758403,), (1389758405,), (1389758409,), (1389758414,), (1389758435,), (1389759049,), (1389759052,), (1389759055,), (1389759058,), (1389759071,), (1389759073,), (1389759075,), (1389759079,), (1389759090,), (1389759093,), (1389759097,), (1389759101,), (1389759104,), (1389759112,), (1389759115,), (1389759118,), (1389759121,), (1389759123,), (1389759127,), (1389759135,), (1389759137,), (1389759141,), (1389759145,), (1389759154,), (1389759157,), (1389759161,), (1389759165,), (1389759168,), (1389759176,), (1389759179,), (1389759182,), (1389759185,), (1389759187,), (1389759198,), (1389759201,), (1389759204,), (1389759217,), (1389759220,), (1389759221,), (1389759224,), (1389759227,), (1389759239,), (1389759243,), (1389759248,), (1389759252,), (1389759256,), (1389759258,), (1389759262,), (1389759265,), (1389759268,), (1389759273,), (1389759283,), (1389759286,), (1389759289,), (1389759292,), (1389759295,), (1389759297,), (1389759308,), (1389759311,), (1389759315,), (1389759318,), (1389759328,), (1389759330,), (1389759334,), (1389759338,), (1389759341,), (1389759344,), (1389759353,), (1389759356,), (1389759359,), (1389759361,), (1389759364,), (1389759380,), (1389759686,), (1389759689,), (1389759692,), (1389759695,), (1389759698,), (1389759709,), (1389759713,), (1389759717,), (1389759719,), (1389759721,), (1389759725,), (1389759732,), (1389759734,), (1389759738,), (1389759741,), (1389759751,), (1389759754,), (1389759758,), (1389759762,), (1389759764,), (1389759776,), (1389759779,), (1389759782,), (1389759784,), (1389759785,), (1389759787,), (1389759798,), (1389759800,), (1389759801,), (1389759804,), (1389759818,), (1389759820,), (1389759823,), (1389759826,), (1389759828,), (1389759841,), (1389759844,), (1389759846,), (1389759847,), (1389759850,), (1389759865,), (1389759867,), (1389759870,), (1389759873,), (1389759885,), (1389759889,), (1389759892,), (1389759895,), (1389759900,), (1389759912,), (1389759914,), (1389759916,), (1389759919,), (1389759921,), (1389759924,), (1389759933,), (1389759934,), (1389759936,), (1389759952,), (1389759955,), (1389759959,), (1389759963,), (1389759966,), (1389759969,), (1389759976,), (1389759981,), (1389759986,), (1389759989,), (1389759995,), (1389759996,), (1389759999,), (1389760002,), (1389760004,), (1389760022,), (1389760010,), (1389760015,), (1389760020,), (1389760034,), (1389760037,), (1389760041,), (1389760045,), (1389760057,), (1389760061,), (1389760065,), (1389760070,), (1389760075,), (1389760085,), (1389760088,), (1389760092,), (1389760096,), (1389760099,), (1389760109,), (1389760112,), (1389760131,), (1389760135,), (1389760140,), (1389760145,), (1389760148,), (1389760159,), (1389760162,), (1389760165,), (1389760169,), (1389760173,), (1389760186,), (1389760190,), (1389760194,), (1389760198,), (1389760202,), (1389760203,), (1389760206,), (1389760207,), (1389760211,), (1389760218,), (1389760221,), (1389760224,), (1389760227,), (1389760229,), (1389760232,), (1389760247,), (1389760252,), (1389760256,), (1389760259,), (1389760262,), (1389761298,), (1389761317,), (1389761358,), (1389761373,), (1389761402,), (1389761405,), (1389761422,), (1389761425,), (1389761429,), (1389761433,), (1389761439,), (1389761442,), (1389761452,), (1389761455,), (1389761532,), (1389761535,), (1389761538,), (1389761559,), (1389761562,), (1389761567,), (1389761570,), (1389761572,), (1389761574,), (1389761582,), (1389761592,), (1389761597,), (1389761600,), (1389761603,), (1389761608,), (1389761612,), (1389761618,), (1389761753,), (1389761749,), (1389761751,), (1389761763,), (1389761771,), (1389761775,), (1389761779,), (1389761781,), (1389761792,), (1389761794,), (1389761797,), (1389761800,), (1389761801,), (1389761803,), (1389761818,), (1389761822,), (1389761826,), (1389761838,), (1389761842,), (1389761846,), (1389761850,), (1389761853,), (1389761855,), (1389761869,), (1389761872,), (1389761874,), (1389761875,), (1389761876,), (1389761878,), (1389761884,), (1389761887,), (1389761890,), (1389761892,), (1389761895,), (1389761897,), (1389761901,), (1389761904,), (1389761906,), (1389761908,), (1389761914,), (1389761918,), (1389761937,), (1389761941,), (1389761945,), (1389761947,), (1389761950,), (1389761953,), (1389761968,), (1389762008,), (1389767119,), (1389767187,), (1389767295,), (1389767385,), (1389767388,), (1389767463,), (1389767515,), (1389767579,), (1389767611,), (1389767655,), (1389767719,), (1389767754,), (1389767813,), (1389767842,), (1389767901,), (1389767926,), (1389767931,), (1389767959,), (1389768004,), (1389768038,), (1389768065,), (1389768100,), (1389768134,), (1389768136,), (1389768167,), (1389768173,), (1389768234,), (1389768264,), (1389768299,), (1389768331,), (1389768371,), (1389768402,), (1389768438,), (1389768462,), (1389768493,), (1389768514,), (1389768550,), (1389768583,), (1389768611,), (1389768645,), (1389768668,), (1389768703,), (1389768716,), (1389768751,), (1389768754,), (1389768788,), (1389768810,), (1389768849,), (1389768880,), (1389761962,), (1389761965,), (1389761983,), (1389761986,), (1389761990,), (1389761993,), (1389761996,), (1389761999,), (1389762002,), (1389762004,), (1389762013,), (1389762172,), (1389762188,), (1389762192,), (1389762196,), (1389762199,), (1389762201,), (1389762208,), (1389762211,), (1389762243,), (1389762271,), (1389762229,), (1389762232,), (1389762236,), (1389762240,), (1389762255,), (1389762257,), (1389762259,), (1389762261,), (1389762263,), (1389762266,), (1389762270,), (1389762279,), (1389762281,), (1389762283,), (1389762286,), (1389762288,), (1389762290,), (1389762300,), (1389762304,), (1389762307,), (1389762310,), (1389762324,), (1389762327,), (1389762343,), (1389762346,), (1389762349,), (1389762353,), (1389762363,), (1389762366,), (1389762370,), (1389762373,), (1389762377,), (1389762379,), (1389762394,), (1389762397,), (1389762398,), (1389762410,), (1389762412,), (1389762416,), (1389762417,), (1389762420,), (1389762421,), (1389762433,), (1389762437,), (1389762441,), (1389762444,), (1389762447,), (1389762449,), (1389762460,), (1389762463,), (1389762467,), (1389762469,), (1389762471,), (1389762482,), (1389762484,), (1389762487,), (1389762490,), (1389762492,), (1389762494,), (1389762498,), (1389762500,), (1389762502,), (1389762506,), (1389762511,), (1389762518,), (1389762521,), (1389762523,), (1389762524,), (1389762525,), (1389762530,), (1389762534,), (1389762538,), (1389762543,), (1389762547,), (1389762553,), (1389762554,), (1389762557,), (1389762559,), (1389762583,), (1389762585,), (1389762665,), (1389762668,), (1389762671,), (1389762672,), (1389762673,), (1389762575,), (1389762577,), (1389762579,), (1389762581,), (1389762598,), (1389762599,), (1389762600,), (1389762603,), (1389762607,), (1389762611,), (1389762617,), (1389762618,), (1389762619,), (1389762621,), (1389762623,), (1389762627,), (1389762636,), (1389762639,), (1389762642,), (1389762644,), (1389762646,), (1389762647,), (1389762653,), (1389762655,), (1389762657,), (1389762661,), (1389762680,), (1389762682,), (1389762686,), (1389762689,), (1389762692,), (1389762701,), (1389762704,), (1389762707,), (1389762709,), (1389762710,), (1389762711,), (1389762716,), (1389762720,), (1389762722,), (1389762725,), (1389762727,), (1389762731,), (1389762734,), (1389762742,), (1389762746,), (1389762749,), (1389762751,), (1389762754,), (1389762758,), (1389762765,), (1389762767,), (1389762770,), (1389762774,), (1389762777,), (1389762780,), (1389762787,), (1389762790,), (1389762794,), (1389762798,), (1389762807,), (1389762810,), (1389762814,), (1389762817,), (1389762819,), (1389762822,), (1389762831,), (1389762835,), (1389762839,), (1389762849,), (1389762852,), (1389762856,), (1389762860,), (1389762870,), (1389762873,), (1389762876,), (1389762878,), (1389762881,), (1389762884,), (1389762902,), (1389762934,), (1389762893,), (1389762896,), (1389762899,), (1389762914,), (1389762916,), (1389762920,), (1389762924,), (1389762927,), (1389762930,), (1389762937,), (1389762939,), (1389762941,), (1389762944,), (1389762948,), (1389762951,), (1389762958,), (1389762961,), (1389762964,), (1389762967,), (1389762980,), (1389762984,), (1389762987,), (1389762995,), (1389762998,), (1389763003,), (1389763008,), (1389763011,), (1389763015,), (1389763021,), (1389763024,), (1389763028,), (1389763031,), (1389763033,), (1389763036,), (1389763043,), (1389763046,), (1389763049,), (1389763053,), (1389763063,), (1389763066,), (1389763069,), (1389763073,), (1389763077,), (1389763080,), (1389763090,), (1389763094,), (1389763098,), (1389763103,), (1389763107,), (1389763109,), (1389763115,), (1389763118,), (1389763121,), (1389763125,), (1389763138,), (1389763141,), (1389763144,), (1389763145,), (1389763148,), (1389763151,), (1389763153,), (1389763155,), (1389763157,), (1389763161,), (1389763168,), (1389763171,), (1389763174,), (1389763176,), (1389763186,), (1389763190,), (1389763194,), (1389763197,), (1389763200,), (1389763203,), (1389763212,), (1389763215,), (1389763217,), (1389763221,), (1389763226,), (1389763228,), (1389763245,), (1389763240,), (1389763242,), (1389763265,), (1389763267,), (1389763270,), (1389763274,), (1389763278,), (1389763281,), (1389763289,), (1389763291,), (1389763293,), (1389763296,), (1389763297,), (1389763310,), (1389763313,), (1389763315,), (1389763318,), (1389763333,), (1389763334,), (1389763336,), (1389763340,), (1389763343,), (1389763346,), (1389763354,), (1389763355,), (1389763357,), (1389763362,), (1389763378,), (1389763380,), (1389763382,), (1389763385,), (1389763388,), (1389763390,), (1389763396,), (1389763399,), (1389763402,), (1389763406,), (1389763411,), (1389763412,), (1389763413,), (1389763415,), (1389763420,), (1389763425,), (1389763435,), (1389763440,), (1389763442,), (1389763457,), (1389763459,), (1389763460,), (1389763463,), (1389763477,), (1389763481,), (1389763485,), (1389763489,), (1389763491,), (1389763505,), (1389763508,), (1389763510,), (1389763511,), (1389763513,), (1389763528,), (1389763530,), (1389763534,), (1389763538,), (1389763540,), (1389763551,), (1389763554,), (1389763556,), (1389763558,), (1389763562,), (1389763563,), (1389763575,), (1389763577,), (1389763580,), (1389763583,), (1389763584,), (1389763611,), (1389763653,), (1389763600,), (1389763602,), (1389763606,), (1389763608,), (1389763609,), (1389763624,), (1389763626,), (1389763628,), (1389763631,), (1389763632,), (1389763634,), (1389763639,), (1389763642,), (1389763646,), (1389763650,), (1389763654,), (1389763656,), (1389763659,), (1389763662,), (1389763666,), (1389763677,), (1389763680,), (1389763681,), (1389763682,), (1389763684,), (1389763686,), (1389763699,), (1389763700,), (1389763703,), (1389763705,), (1389763721,), (1389763725,), (1389763734,), (1389763735,), (1389763737,), (1389763740,), (1389763750,), (1389763754,), (1389763756,), (1389763758,), (1389763760,), (1389763762,), (1389763772,), (1389763774,), (1389763775,), (1389763788,), (1389763791,), (1389763793,), (1389763795,), (1389763797,), (1389763800,), (1389763811,), (1389763815,), (1389763818,), (1389763822,), (1389763834,), (1389763837,), (1389763841,), (1389763844,), (1389763846,), (1389763849,), (1389763857,), (1389763859,), (1389763865,), (1389763867,), (1389763870,), (1389763874,), (1389763878,), (1389763880,), (1389763882,), (1389763885,), (1389763893,), (1389763895,), (1389763898,), (1389763899,), (1389763902,), (1389763919,), (1389763924,), (1389763927,), (1389763932,), (1389763936,), (1389763943,), (1389763945,), (1389763948,), (1389763951,), (1389763985,), (1389763964,), (1389763968,), (1389763971,), (1389763977,), (1389763981,), (1389763997,), (1389763999,), (1389764002,), (1389764006,), (1389764018,), (1389764021,), (1389764025,), (1389764029,), (1389764032,), (1389764034,), (1389764043,), (1389764048,), (1389764052,), (1389764055,), (1389764073,), (1389764076,), (1389764079,), (1389764082,), (1389764084,), (1389764088,), (1389764101,), (1389764103,), (1389764105,), (1389764108,), (1389764112,), (1389764126,), (1389764129,), (1389764133,), (1389764137,), (1389764141,), (1389764143,), (1389764145,), (1389764146,), (1389764147,), (1389764155,), (1389764159,), (1389764163,), (1389764167,), (1389764170,), (1389764171,), (1389764181,), (1389764187,), (1389764191,), (1389764196,), (1389764200,), (1389764201,), (1389764223,), (1389764226,), (1389764230,), (1389764233,), (1389764236,), (1389764239,), (1389764241,), (1389764243,), (1389764246,), (1389764252,), (1389764254,), (1389764257,), (1389764261,), (1389764266,), (1389764269,), (1389764272,), (1389764276,), (1389764280,), (1389764282,), (1389764290,), (1389764294,), (1389764298,), (1389764302,), (1389764304,), (1389764312,), (1389764315,), (1389764319,), (1389764323,), (1389764352,), (1389764392,), (1389764334,), (1389764338,), (1389764342,), (1389764345,), (1389764349,), (1389764361,), (1389764365,), (1389764369,), (1389764373,), (1389764375,), (1389764376,), (1389764380,), (1389764384,), (1389764390,), (1389764397,), (1389764401,), (1389764403,), (1389764406,), (1389764409,), (1389764414,), (1389764421,), (1389764425,), (1389764429,), (1389764431,), (1389764437,), (1389764441,), (1389764445,), (1389764448,), (1389764451,), (1389764454,), (1389764463,), (1389764467,), (1389764471,), (1389764475,), (1389764485,), (1389764489,), (1389764493,), (1389764496,), (1389764498,), (1389764500,), (1389764510,), (1389764512,), (1389764516,), (1389764519,), (1389764533,), (1389764535,), (1389764537,), (1389764541,), (1389764544,), (1389764548,), (1389764555,), (1389764558,), (1389764562,), (1389764567,), (1389764580,), (1389764583,), (1389764586,), (1389764591,), (1389764595,), (1389764599,), (1389764612,), (1389764616,), (1389764618,), (1389764623,), (1389764627,), (1389764630,), (1389764635,), (1389764637,), (1389764639,), (1389764641,), (1389764647,), (1389764648,), (1389764651,), (1389764652,), (1389764656,), (1389764657,), (1389764661,), (1389764662,), (1389764665,), (1389764666,), (1389764668,), (1389764669,), (1389764677,), (1389764680,), (1389764684,), (1389764687,), (1389764699,), (1389764705,), (1389764709,), (1389764712,), (1389764715,), (1389764717,), (1389764740,), (1389764728,), (1389764736,), (1389764738,), (1389764753,), (1389764756,), (1389764759,), (1389764762,), (1389764764,), (1389764766,), (1389764775,), (1389764778,), (1389764781,), (1389764797,), (1389764801,), (1389764806,), (1389764810,), (1389764812,), (1389764813,), (1389764824,), (1389764827,), (1389764830,), (1389764832,), (1389764843,), (1389764845,), (1389764848,), (1389764850,), (1389764854,), (1389764856,), (1389764869,), (1389764873,), (1389764876,), (1389764879,), (1389764881,), (1389764883,), (1389764888,), (1389764891,), (1389764895,), (1389764897,), (1389764899,), (1389764901,), (1389764904,), (1389764907,), (1389764910,), (1389764914,), (1389764918,), (1389764928,), (1389764931,), (1389764934,), (1389764938,), (1389764941,), (1389764949,), (1389764952,), (1389764954,), (1389764958,), (1389764962,), (1389764964,), (1389764971,), (1389764973,), (1389764976,), (1389764979,), (1389764993,), (1389764995,), (1389764998,), (1389765001,), (1389765004,), (1389765006,), (1389765017,), (1389765019,), (1389765021,), (1389765023,), (1389765036,), (1389765039,), (1389765041,), (1389765045,), (1389765048,), (1389765060,), (1389765063,), (1389765064,), (1389765067,), (1389765094,), (1389765131,), (1389768268,), (1389768344,), (1389768413,), (1389768463,), (1389768521,), (1389768574,), (1389768634,), (1389768674,), (1389768715,), (1389768774,), (1389768811,), (1389768812,), (1389768847,), (1389768848,), (1389768878,), (1389768881,), (1389768911,), (1389768914,), (1389768942,), (1389768950,), (1389768975,), (1389768981,), (1389770304,), (1389770312,), (1389770320,), (1389770322,), (1389770325,), (1389770773,), (1389770785,), (1389770994,), (1389772012,), (1389772015,), (1389772017,), (1389772202,), (1389772209,), (1389772214,), (1389772218,), (1389772221,), (1389772226,), (1389772865,), (1389773027,), (1389773168,), (1389773206,), (1389773244,), (1389773261,), (1389773265,), (1389773281,), (1389773282,), (1389773328,), (1389773677,), (1389773827,), (1389773842,), (1389773853,), (1389773857,), (1389773862,), (1389773867,), (1389773870,), (1389769027,), (1389769029,), (1389769033,), (1389769040,), (1389769051,), (1389769053,), (1389769054,), (1389769056,), (1389769060,), (1389769064,), (1389769068,), (1389769072,), (1389769079,), (1389769080,), (1389769082,), (1389769085,), (1389769089,), (1389769093,), (1389769103,), (1389769106,), (1389769109,), (1389769114,), (1389769119,), (1389769123,), (1389769129,), (1389769133,), (1389769136,), (1389769137,), (1389769141,), (1389769144,), (1389769152,), (1389769157,), (1389769161,), (1389769164,), (1389769167,), (1389769170,), (1389769194,), (1389769195,), (1389769203,), (1389769204,), (1389769214,), (1389769225,), (1389769227,), (1389769228,), (1389769232,), (1389769233,), (1389769234,), (1389769235,), (1389769268,), (1389769273,), (1389769278,), (1389769283,), (1389769288,), (1389769290,), (1389769295,), (1389769298,), (1389769300,), (1389769303,), (1389769306,), (1389769308,), (1389769336,), (1389769346,), (1389769352,), (1389769359,), (1389769364,), (1389769371,), (1389769379,), (1389769383,), (1389769387,), (1389769391,), (1389769395,), (1389769399,), (1389769916,), (1389769920,), (1389770043,), (1389770048,), (1389770082,), (1389770084,), (1389770088,), (1389770141,), (1389770233,), (1389770236,), (1389770296,), (1389754680,), (1389754683,), (1389754685,), (1389754710,), (1389754711,), (1389754713,), (1389754715,), (1389754717,), (1389754745,), (1389754746,), (1389754748,), (1389754753,), (1389754757,), (1389754760,), (1389754798,), (1389754801,), (1389754803,), (1389754804,), (1389754829,), (1389754833,), (1389754837,), (1389754841,), (1389754844,), (1389754846,), (1389754849,), (1389754853,), (1389754857,), (1389754860,), (1389754883,), (1389754887,), (1389754890,), (1389754913,), (1389754916,), (1389754921,), (1389754925,), (1389754956,), (1389754959,), (1389754960,), (1389754961,), (1389754962,), (1389754968,), (1389754972,), (1389754975,), (1389754978,), (1389754998,), (1389755000,), (1389755003,), (1389755024,), (1389755025,), (1389755027,), (1389755028,), (1389755052,), (1389755055,), (1389755059,), (1389755061,), (1389755064,), (1389755070,), (1389755072,), (1389755073,), (1389755074,), (1389755077,), (1389755095,), (1389755098,), (1389755102,), (1389755109,), (1389755113,), (1389755117,), (1389755089,), (1389755091,), (1389755093,), (1389755127,), (1389755128,), (1389755131,), (1389755132,), (1389755134,), (1389755135,), (1389755137,), (1389755138,), (1389755140,), (1389755141,), (1389755144,), (1389755145,), (1389755150,), (1389755152,), (1389755155,), (1389755158,), (1389755190,), (1389755192,), (1389755195,), (1389755196,), (1389755200,), (1389755201,), (1389755205,), (1389755206,), (1389755210,), (1389755212,), (1389755217,), (1389755218,), (1389755221,), (1389755252,), (1389755255,), (1389755258,), (1389755261,), (1389755284,), (1389755286,), (1389755288,), (1389755291,), (1389755298,), (1389755303,), (1389755307,), (1389755330,), (1389755333,), (1389755337,), (1389755341,), (1389755369,), (1389755371,), (1389755373,), (1389755375,), (1389755378,), (1389755380,), (1389755389,), (1389755391,), (1389755423,), (1389755427,), (1389755431,), (1389755435,), (1389755437,), (1389755459,), (1389755462,), (1389755465,), (1389755468,), (1389755471,), (1389755475,), (1389755481,), (1389755484,), (1389755488,), (1389755515,), (1389755518,), (1389755519,), (1389755522,), (1389755524,), (1389755564,), (1389756807,), (1389756808,), (1389756814,), (1389756817,), (1389756820,), (1389756823,), (1389756825,), (1389756842,), (1389756844,), (1389756865,), (1389756868,), (1389756871,), (1389756874,), (1389756877,), (1389756879,), (1389756882,), (1389756884,), (1389756887,), (1389756890,), (1389756893,), (1389756912,), (1389756916,), (1389756918,), (1389756920,), (1389756923,), (1389756946,), (1389756948,), (1389756950,), (1389756952,), (1389756954,), (1389756958,), (1389756961,), (1389756963,), (1389756966,), (1389756987,), (1389756988,), (1389756989,), (1389756990,), (1389756991,), (1389756992,), (1389756994,), (1389756997,), (1389756998,), (1389757001,), (1389757007,), (1389757008,), (1389757011,), (1389757031,), (1389757034,), (1389757038,), (1389757041,), (1389757045,), (1389757047,), (1389757071,), (1389757074,), (1389757079,), (1389757082,), (1389757085,), (1389757089,), (1389757091,), (1389757094,), (1389757097,), (1389757123,), (1389757125,), (1389757126,), (1389757128,), (1389757130,), (1389757149,), (1389757137,), (1389757140,), (1389757142,), (1389757144,), (1389757147,), (1389757153,), (1389757156,), (1389757159,), (1389757181,), (1389757185,), (1389757188,), (1389757192,), (1389757195,), (1389757196,), (1389757216,), (1389757219,), (1389757222,), (1389757228,), (1389757231,), (1389757236,), (1389757238,), (1389757241,), (1389757266,), (1389757267,), (1389757270,), (1389757271,), (1389757274,), (1389757275,), (1389757278,), (1389757279,), (1389757281,), (1389757282,), (1389757283,), (1389757284,), (1389757289,), (1389757293,), (1389757295,), (1389757298,), (1389757300,), (1389757302,), (1389757326,), (1389757328,), (1389757330,), (1389757334,), (1389757337,), (1389757340,), (1389757342,), (1389757344,), (1389757345,), (1389757346,), (1389757347,), (1389757348,), (1389757349,), (1389757351,), (1389757352,), (1389757354,), (1389757355,), (1389757357,), (1389757360,), (1389757362,), (1389757364,), (1389757365,), (1389757369,), (1389757370,), (1389757373,), (1389757374,), (1389757376,), (1389757377,), (1389757380,), (1389757385,), (1389757389,), (1389757392,), (1389757395,), (1389757398,), (1389757400,), (1389757408,), (1389757412,), (1389757415,), (1389757418,), (1389757421,), (1389757425,), (1389757430,), (1389757432,), (1389757435,), (1389757459,), (1389757444,), (1389757448,), (1389757451,), (1389757454,), (1389757457,), (1389757482,), (1389757485,), (1389757488,), (1389757489,), (1389757491,), (1389757494,), (1389757504,), (1389757506,), (1389757524,), (1389757526,), (1389757528,), (1389757530,), (1389757534,), (1389757543,), (1389757546,), (1389757549,), (1389757552,), (1389757554,), (1389757555,), (1389757566,), (1389757569,), (1389757571,), (1389757574,), (1389757587,), (1389757590,), (1389757593,), (1389757595,), (1389757596,), (1389757598,), (1389757609,), (1389757610,), (1389757613,), (1389757616,), (1389757619,), (1389757621,), (1389757630,), (1389757633,), (1389757636,), (1389757651,), (1389757653,), (1389757656,), (1389757659,), (1389757671,), (1389757672,), (1389757674,), (1389757678,), (1389757680,), (1389757691,), (1389757695,), (1389757698,), (1389757701,), (1389757715,), (1389757717,), (1389757718,), (1389757720,), (1389757724,), (1389757739,), (1389757742,), (1389757746,), (1389757749,), (1389757751,), (1389757754,), (1389757762,), (1389757766,), (1389757770,), (1389757774,), (1389757777,), (1389757780,), (1389757785,), (1389757787,), (1389757789,), (1389757790,), (1389757791,), (1389757814,), (1389757815,), (1389757794,), (1389757795,), (1389757798,), (1389757800,), (1389757803,), (1389757804,), (1389757806,), (1389757808,), (1389757811,), (1389757812,), (1389757819,), (1389757823,), (1389757825,), (1389757827,), (1389757832,), (1389757838,), (1389757840,), (1389757843,), (1389757846,), (1389757849,), (1389757861,), (1389757864,), (1389757867,), (1389757870,), (1389757873,), (1389757876,), (1389757883,), (1389757885,), (1389757889,), (1389757893,), (1389757896,), (1389757899,), (1389757907,), (1389757911,), (1389757916,), (1389757919,), (1389757933,), (1389757937,), (1389757941,), (1389757944,), (1389757948,), (1389757951,), (1389757956,), (1389757958,), (1389757961,), (1389757964,), (1389757968,), (1389757976,), (1389757978,), (1389757982,), (1389757996,), (1389757999,), (1389758001,), (1389758004,), (1389758015,), (1389758017,), (1389758020,), (1389758023,), (1389758026,), (1389758033,), (1389758036,), (1389758040,), (1389758052,), (1389758055,), (1389758068,), (1389758070,), (1389758073,), (1389758076,), (1389758079,), (1389758082,), (1389758092,), (1389758094,), (1389758098,), (1389758101,), (1389758103,), (1389758117,), (1389758426,), (1389758428,), (1389758432,), (1389758444,), (1389758447,), (1389758450,), (1389758454,), (1389758458,), (1389758461,), (1389758467,), (1389758470,), (1389758473,), (1389758476,), (1389758479,), (1389758492,), (1389758494,), (1389758495,), (1389758498,), (1389758511,), (1389758513,), (1389758515,), (1389758531,), (1389758546,), (1389758547,), (1389758550,), (1389758554,), (1389758557,), (1389758560,), (1389758567,), (1389758569,), (1389758571,), (1389758588,), (1389758590,), (1389758593,), (1389758596,), (1389758598,), (1389758600,), (1389758610,), (1389758612,), (1389758614,), (1389758618,), (1389758630,), (1389758632,), (1389758635,), (1389758638,), (1389758641,), (1389758644,), (1389758648,), (1389758655,), (1389758658,), (1389758660,), (1389758663,), (1389758666,), (1389758672,), (1389758676,), (1389758679,), (1389758683,), (1389758685,), (1389758696,), (1389758700,), (1389758705,), (1389758709,), (1389758713,), (1389758718,), (1389758719,), (1389758722,), (1389758736,), (1389758726,), (1389758729,), (1389758733,), (1389758735,), (1389758748,), (1389758750,), (1389758753,), (1389758756,), (1389758759,), (1389758767,), (1389758770,), (1389758773,), (1389758777,), (1389758789,), (1389758792,), (1389758796,), (1389758799,), (1389758801,), (1389758803,), (1389758809,), (1389758812,), (1389758815,), (1389758818,), (1389758820,), (1389758829,), (1389758831,), (1389758834,), (1389758846,), (1389758849,), (1389758854,), (1389758859,), (1389758863,), (1389758869,), (1389758872,), (1389758876,), (1389758880,), (1389758883,), (1389758886,), (1389758892,), (1389758895,), (1389758897,), (1389758909,), (1389758911,), (1389758915,), (1389758918,), (1389758922,), (1389758925,), (1389758932,), (1389758936,), (1389758941,), (1389758946,), (1389758950,), (1389758951,), (1389758960,), (1389758963,), (1389758967,), (1389758970,), (1389758982,), (1389758984,), (1389758986,), (1389758989,), (1389758991,), (1389758993,), (1389759002,), (1389759006,), (1389759009,), (1389759011,), (1389759024,), (1389759027,), (1389759030,), (1389759033,), (1389759035,), (1389759038,), (1389759060,), (1389759377,), (1389759379,), (1389759395,), (1389759396,), (1389759397,), (1389759399,), (1389759402,), (1389759415,), (1389759431,), (1389759449,), (1389759452,), (1389759456,), (1389759459,), (1389759470,), (1389759472,), (1389759475,), (1389759478,), (1389759482,), (1389759490,), (1389759493,), (1389759497,), (1389759502,), (1389759512,), (1389759515,), (1389759520,), (1389759525,), (1389759535,), (1389759538,), (1389759541,), (1389759555,), (1389759558,), (1389759562,), (1389759564,), (1389759579,), (1389759583,), (1389759588,), (1389759591,), (1389759593,), (1389759604,), (1389759607,), (1389759610,), (1389759614,), (1389759618,), (1389759620,), (1389759628,), (1389759630,), (1389759631,), (1389759632,), (1389759633,), (1389759649,), (1389759663,), (1389759665,), (1389759668,), (1389759701,), (1389769707,), (1389769903,), (1389769908,), (1389769912,), (1389770159,), (1389770162,), (1389770178,), (1389770190,), (1389770196,), (1389770202,), (1389770209,), (1389770212,), (1389770218,), (1389770228,), (1389770265,), (1389770273,), (1389770276,), (1389770285,), (1389770288,), (1389770290,), (1389770717,), (1389770718,), (1389770734,), (1389770747,), (1389770750,), (1389770758,), (1389770766,), (1389770771,), (1389770779,), (1389770780,), (1389770939,), (1389770943,), (1389770990,), (1389770991,), (1389770992,), (1389771065,), (1389771103,), (1389771640,), (1389771650,), (1389771654,), (1389771658,), (1389771666,), (1389771828,), (1389771838,), (1389771845,), (1389771887,), (1389771910,), (1389771919,), (1389771988,), (1389772006,), (1389772025,), (1389772029,), (1389772158,), (1389772177,), (1389772182,), (1389772187,), (1389772837,), (1389772840,), (1389772844,), (1389772847,), (1389772850,), (1389772928,), (1389772934,), (1389772937,), (1389772939,), (1389773288,), (1389773289,), (1389773291,), (1389773292,), (1389773295,), (1389773296,), (1389773299,), (1389773300,), (1389773304,), (1389773305,), (1389773307,), (1389773308,), (1389773318,), (1389773321,), (1389773324,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17102025': {'nb_upload': 80, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27873114]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1389773324, 1389773321, 1389773318, 1389773308, 1389773307, 1389773305, 1389773304, 1389773300, 1389773299, 1389773296, 1389773295, 1389773292, 1389773291, 1389773289, 1389773288] map_info['map_portfolio_photo'] : {27873114: [1389773324, 1389773321, 1389773318, 1389773308, 1389773307, 1389773305, 1389773304, 1389773300, 1389773299, 1389773296, 1389773295, 1389773292, 1389773291, 1389773289, 1389773288, 1389772939, 1389772937, 1389772934, 1389772928, 1389772850, 1389772847, 1389772844, 1389772840, 1389772837, 1389772187, 1389772182, 1389772177, 1389772158, 1389772029, 1389772025, 1389772006, 1389771988, 1389771919, 1389771910, 1389771887, 1389771845, 1389771838, 1389771828, 1389771666, 1389771658, 1389771654, 1389771650, 1389771640, 1389771103, 1389771065, 1389770992, 1389770991, 1389770990, 1389770943, 1389770939, 1389770780, 1389770779, 1389770771, 1389770766, 1389770758, 1389770750, 1389770747, 1389770734, 1389770718, 1389770717, 1389770290, 1389770288, 1389770285, 1389770276, 1389770273, 1389770265, 1389770228, 1389770218, 1389770212, 1389770209, 1389770202, 1389770196, 1389770190, 1389770178, 1389770162, 1389770159, 1389769912, 1389769908, 1389769903, 1389769707]} final : True mtd_id 4302 list_pids : [1389773324, 1389773321, 1389773318, 1389773308, 1389773307, 1389773305, 1389773304, 1389773300, 1389773299, 1389773296, 1389773295, 1389773292, 1389773291, 1389773289, 1389773288] Looping around the photos to save general results len do output : 1 /27873114Didn'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, '3952939') ('4302', '27873114', '1389773324', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773321', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773318', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773308', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773307', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773305', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773304', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773300', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773299', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773296', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773295', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773292', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773291', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773289', None, None, None, None, None, '3952939') ('4302', None, None, None, None, None, None, None, '3952939') ('4302', '27873114', '1389773288', None, None, None, None, None, '3952939') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 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, '27873114', 'None', None, None, None, None, '3952939'), ('4302', '27873114', '1389773324', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773321', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773318', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773308', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773307', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773305', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773304', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773300', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773299', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773296', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773295', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773292', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773291', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773289', None, None, None, None, None, '3952939'), ('4302', '27873114', '1389773288', None, None, None, None, None, '3952939')] time used for this insertion : 0.03612542152404785 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.073520660400391 time spend to save output : 0.03640389442443848 total time spend for step 5 : 6.109924554824829 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 (3952939) 2.22user 2.01system 0:17.13elapsed 24%CPU (0avgtext+0avgdata 163332maxresident)k 40inputs+14040outputs (1major+74975minor)pagefaults 0swaps