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 : 325550 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 (3597817) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3597817) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26225626 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3597817'] with mtr_portfolio_ids : ['26225626'] and first list_photo_ids : [] new path : /proc/325550/ Name: python3 Umask: 0002 State: R (running) Tgid: 325550 Ngid: 0 Pid: 325550 PPid: 325549 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 325550 NSpid: 325550 NSpgid: 322879 NSsid: 322879 VmPeak: 1107248 kB VmSize: 1107248 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97904 kB VmRSS: 97904 kB RssAnon: 60156 kB RssFile: 37748 kB RssShmem: 0 kB VmData: 866000 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 612 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: 61 nonvoluntary_ctxt_switches: 99 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '325550', 'Ngid': '0', 'Pid': '325550', 'PPid': '325549', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '325550', 'NSpid': '325550', 'NSpgid': '322879', 'NSsid': '322879', 'VmPeak': '1107248 kB', 'VmSize': '1107248 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97904 kB', 'VmRSS': '97904 kB', 'RssAnon': '60156 kB', 'RssFile': '37748 kB', 'RssShmem': '0 kB', 'VmData': '866000 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '612 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': '61', 'nonvoluntary_ctxt_switches': '99'} ('datou_batch_current', '325550', '1107248', '0', '1107248', '866000', '97904', b'', 'marlene', '3597817') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (26225626) 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 (3597817 ) ) 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 (26225626) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1379388009, 'portfolio_id': 26225626}, {'photo_id': 1379386646, 'portfolio_id': 26225626}, {'photo_id': 1379386645, 'portfolio_id': 26225626}, {'photo_id': 1379386644, 'portfolio_id': 26225626}, {'photo_id': 1379386618, 'portfolio_id': 26225626}, {'photo_id': 1379386617, 'portfolio_id': 26225626}, {'photo_id': 1379386616, 'portfolio_id': 26225626}, {'photo_id': 1379386615, 'portfolio_id': 26225626}, {'photo_id': 1379386614, 'portfolio_id': 26225626}, {'photo_id': 1379386613, 'portfolio_id': 26225626}, {'photo_id': 1379386581, 'portfolio_id': 26225626}, {'photo_id': 1379386580, 'portfolio_id': 26225626}, {'photo_id': 1379386579, 'portfolio_id': 26225626}, {'photo_id': 1379386578, 'portfolio_id': 26225626}, {'photo_id': 1379386577, 'portfolio_id': 26225626}, {'photo_id': 1379386554, 'portfolio_id': 26225626}, {'photo_id': 1379386553, 'portfolio_id': 26225626}] map_portfolio_id_photo_id: {26225626: [1379388009, 1379386646, 1379386645, 1379386644, 1379386618, 1379386617, 1379386616, 1379386615, 1379386614, 1379386613, 1379386581, 1379386580, 1379386579, 1379386578, 1379386577, 1379386554, 1379386553]} ##### 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.014960289001464844 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Tue Aug 26 09:00: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 (26225626) 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 : 26225626 get user id for portfolio 26225626 get sub ptf for main ptf 26225626, type 3726 and hashtags ['Teint_Dans_La_Masse', 'papier', 'cartonnette', 'plastique', 'flou', 'Carton_brun', 'kraft', 'autre_refus', 'environnement', 'mal_croppe', 'Carton_gris', 'metal'] 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`=26225626 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','papier','cartonnette','plastique','flou','Carton_brun','kraft','autre_refus','environnement','mal_croppe','Carton_gris','metal')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26225626 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','papier','cartonnette','plastique','flou','Carton_brun','kraft','autre_refus','environnement','mal_croppe','Carton_gris','metal')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 26225626, 'sub_port_id': 26225642, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656872, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 28)}, 'environnement': {'main_port_id': 26225626, 'sub_port_id': 26225643, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656873, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 28)}, 'kraft': {'main_port_id': 26225626, 'sub_port_id': 26225644, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656874, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 28)}, 'plastique': {'main_port_id': 26225626, 'sub_port_id': 26225645, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656875, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 28)}, 'metal': {'main_port_id': 26225626, 'sub_port_id': 26225646, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656876, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 28)}, 'autre_refus': {'main_port_id': 26225626, 'sub_port_id': 26225647, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656877, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 26225626, 'sub_port_id': 26225648, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656878, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 28)}, 'mal_croppe': {'main_port_id': 26225626, 'sub_port_id': 26225649, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656879, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 28)}, 'Carton_brun': {'main_port_id': 26225626, 'sub_port_id': 26225650, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656880, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 28)}, 'Carton_gris': {'main_port_id': 26225626, 'sub_port_id': 26225651, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656881, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 28)}, 'flou': {'main_port_id': 26225626, 'sub_port_id': 26225652, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656882, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 28)}, 'papier': {'main_port_id': 26225626, 'sub_port_id': 26225653, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656883, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26225642 , 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=26225626 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 (26225642) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26225626) result : ((1379386553,), (1379386554,), (1379386577,), (1379386578,), (1379386579,), (1379386580,), (1379386581,), (1379386613,), (1379386614,), (1379386615,), (1379386616,), (1379386617,), (1379386618,), (1379386644,), (1379386645,), (1379386646,), (1379388009,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26225643 , 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=26225626 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 (26225643) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26225626) result : ((1379386553,), (1379386554,), (1379386577,), (1379386578,), (1379386579,), (1379386580,), (1379386581,), (1379386613,), (1379386614,), (1379386615,), (1379386616,), (1379386617,), (1379386618,), (1379386644,), (1379386645,), (1379386646,), (1379388009,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26225644 , 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=26225626 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 (26225644) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26225626) result : ((1379386553,), (1379386554,), (1379386577,), (1379386578,), (1379386579,), (1379386580,), (1379386581,), (1379386613,), (1379386614,), (1379386615,), (1379386616,), (1379386617,), (1379386618,), (1379386644,), (1379386645,), (1379386646,), (1379388009,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26225645 , 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=26225626 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 (26225645) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26225626) result : ((1379386553,), (1379386554,), (1379386577,), (1379386578,), (1379386579,), (1379386580,), (1379386581,), (1379386613,), (1379386614,), (1379386615,), (1379386616,), (1379386617,), (1379386618,), (1379386644,), (1379386645,), (1379386646,), (1379388009,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26225646 , 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=26225626 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 (26225646) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26225626) result : ((1379386553,), (1379386554,), (1379386577,), (1379386578,), (1379386579,), (1379386580,), (1379386581,), (1379386613,), (1379386614,), (1379386615,), (1379386616,), (1379386617,), (1379386618,), (1379386644,), (1379386645,), (1379386646,), (1379388009,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26225647 , 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=26225626 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 (26225647) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26225626) result : ((1379386553,), (1379386554,), (1379386577,), (1379386578,), (1379386579,), (1379386580,), (1379386581,), (1379386613,), (1379386614,), (1379386615,), (1379386616,), (1379386617,), (1379386618,), (1379386644,), (1379386645,), (1379386646,), (1379388009,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26225648 , 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=26225626 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 (26225648) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26225626) result : ((1379386553,), (1379386554,), (1379386577,), (1379386578,), (1379386579,), (1379386580,), (1379386581,), (1379386613,), (1379386614,), (1379386615,), (1379386616,), (1379386617,), (1379386618,), (1379386644,), (1379386645,), (1379386646,), (1379388009,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26225649 , 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=26225626 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 (26225649) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26225626) result : ((1379386553,), (1379386554,), (1379386577,), (1379386578,), (1379386579,), (1379386580,), (1379386581,), (1379386613,), (1379386614,), (1379386615,), (1379386616,), (1379386617,), (1379386618,), (1379386644,), (1379386645,), (1379386646,), (1379388009,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26225650 , 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=26225626 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 (26225650) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26225626) result : ((1379386553,), (1379386554,), (1379386577,), (1379386578,), (1379386579,), (1379386580,), (1379386581,), (1379386613,), (1379386614,), (1379386615,), (1379386616,), (1379386617,), (1379386618,), (1379386644,), (1379386645,), (1379386646,), (1379388009,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26225651 , 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=26225626 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 (26225651) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26225626) result : ((1379386553,), (1379386554,), (1379386577,), (1379386578,), (1379386579,), (1379386580,), (1379386581,), (1379386613,), (1379386614,), (1379386615,), (1379386616,), (1379386617,), (1379386618,), (1379386644,), (1379386645,), (1379386646,), (1379388009,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26225652 , 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=26225626 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 (26225652) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26225626) result : ((1379386553,), (1379386554,), (1379386577,), (1379386578,), (1379386579,), (1379386580,), (1379386581,), (1379386613,), (1379386614,), (1379386615,), (1379386616,), (1379386617,), (1379386618,), (1379386644,), (1379386645,), (1379386646,), (1379388009,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26225653 , 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=26225626 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 (26225653) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26225626) result : ((1379386553,), (1379386554,), (1379386577,), (1379386578,), (1379386579,), (1379386580,), (1379386581,), (1379386613,), (1379386614,), (1379386615,), (1379386616,), (1379386617,), (1379386618,), (1379386644,), (1379386645,), (1379386646,), (1379388009,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26225626 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','papier','cartonnette','plastique','flou','Carton_brun','kraft','autre_refus','environnement','mal_croppe','Carton_gris','metal')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26225626 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','papier','cartonnette','plastique','flou','Carton_brun','kraft','autre_refus','environnement','mal_croppe','Carton_gris','metal')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 26225626, 'sub_port_id': 26225655, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656884, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 30)}, 'environnement': {'main_port_id': 26225626, 'sub_port_id': 26225656, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656885, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 30)}, 'kraft': {'main_port_id': 26225626, 'sub_port_id': 26225657, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656886, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 30)}, 'plastique': {'main_port_id': 26225626, 'sub_port_id': 26225658, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656887, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 30)}, 'metal': {'main_port_id': 26225626, 'sub_port_id': 26225659, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656888, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 30)}, 'autre_refus': {'main_port_id': 26225626, 'sub_port_id': 26225660, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656889, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 30)}, 'Teint_Dans_La_Masse': {'main_port_id': 26225626, 'sub_port_id': 26225661, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656890, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 30)}, 'mal_croppe': {'main_port_id': 26225626, 'sub_port_id': 26225662, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656891, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 30)}, 'Carton_brun': {'main_port_id': 26225626, 'sub_port_id': 26225663, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656892, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 30)}, 'Carton_gris': {'main_port_id': 26225626, 'sub_port_id': 26225664, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656893, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 30)}, 'flou': {'main_port_id': 26225626, 'sub_port_id': 26225665, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656894, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 29, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 30)}, 'papier': {'main_port_id': 26225626, 'sub_port_id': 26225666, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17656895, 'last_updated_at': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 8, 30, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 8, 29, 30)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26225655,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26225642 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26225656,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26225643 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26225657,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26225644 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26225658,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26225645 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26225659,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26225646 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26225660,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26225647 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26225661,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26225648 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26225662,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26225649 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26225663,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26225650 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26225664,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26225651 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26225665,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26225652 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26225666,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26225653 lien utilise dans velours : https://www.fotonower.com/velours/26225655,26225656,26225657,26225658,26225659,26225660,26225661,26225662,26225663,26225664,26225665,26225666?tags=cartonnette,environnement,kraft,plastique,metal,autre_refus,Teint_Dans_La_Masse,mal_croppe,Carton_brun,Carton_gris,flou,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26225626]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379388009] map_info['map_portfolio_photo'] : {26225626: [1379388009, 1379386646, 1379386645, 1379386644, 1379386618, 1379386617, 1379386616, 1379386615, 1379386614, 1379386613, 1379386581, 1379386580, 1379386579, 1379386578, 1379386577, 1379386554, 1379386553]} final : False mtd_id 4302 list_pids : [1379388009] Looping around the photos to save general results len do output : 1 /26225626. 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, '3597817') ('4302', '26225626', '1379388009', None, None, None, None, None, '3597817') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 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, '26225626', "{'cartonnette': 26225642, 'environnement': 26225643, 'kraft': 26225644, 'plastique': 26225645, 'metal': 26225646, 'autre_refus': 26225647, 'Teint_Dans_La_Masse': 26225648, 'mal_croppe': 26225649, 'Carton_brun': 26225650, 'Carton_gris': 26225651, 'flou': 26225652, 'papier': 26225653}", None, None, None, None, '3597817'), ('4302', '26225626', '1379388009', None, None, None, None, None, '3597817')] time used for this insertion : 0.015125751495361328 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5448715686798096 time spend to save output : 0.015371084213256836 total time spend for step 1 : 1.5602426528930664 step2:final Tue Aug 26 09:01: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 (26225626) 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 26225626 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1379386554,1379386553,1379386581,1379386580,1379386579,1379386578,1379386577,1379386618,1379386617,1379386616,1379386615,1379386614,1379386613,1379386646,1379386645,1379386644,1379388009); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26225626]) Inside saveOutput : final : False verbose : True original output for save of step final : {1379388009: ('0.0',)} new output for save of step final : {1379388009: ('0.0',)} [1379388009] map_info['map_portfolio_photo'] : {26225626: [1379388009, 1379386646, 1379386645, 1379386644, 1379386618, 1379386617, 1379386616, 1379386615, 1379386614, 1379386613, 1379386581, 1379386580, 1379386579, 1379386578, 1379386577, 1379386554, 1379386553]} final : False mtd_id 4302 list_pids : [1379388009] Looping around the photos to save general results len do output : 1 /1379388009.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, '3597817') ('4302', '26225626', '1379388009', None, None, None, None, None, '3597817') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 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', '26225626', '1379388009', '0.0', None, None, None, None, '3597817')] time used for this insertion : 0.0139617919921875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.050069570541381836 time spend to save output : 0.014206409454345703 total time spend for step 2 : 0.06427597999572754 step3:velours_tree Tue Aug 26 09:01: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 : {26225626: [{'cartonnette': 26225642, 'environnement': 26225643, 'kraft': 26225644, 'plastique': 26225645, 'metal': 26225646, 'autre_refus': 26225647, 'Teint_Dans_La_Masse': 26225648, 'mal_croppe': 26225649, 'Carton_brun': 26225650, 'Carton_gris': 26225651, 'flou': 26225652, 'papier': 26225653}]} input_args_next_step : {26225626: ()} output_args : {26225626: [{'cartonnette': 26225642, 'environnement': 26225643, 'kraft': 26225644, 'plastique': 26225645, 'metal': 26225646, 'autre_refus': 26225647, 'Teint_Dans_La_Masse': 26225648, 'mal_croppe': 26225649, 'Carton_brun': 26225650, 'Carton_gris': 26225651, 'flou': 26225652, 'papier': 26225653}]} args : 26225626 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 : ({'cartonnette': 26225642, 'environnement': 26225643, 'kraft': 26225644, 'plastique': 26225645, 'metal': 26225646, 'autre_refus': 26225647, 'Teint_Dans_La_Masse': 26225648, 'mal_croppe': 26225649, 'Carton_brun': 26225650, 'Carton_gris': 26225651, 'flou': 26225652, 'papier': 26225653},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26225626) 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([26225626]) 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.3549041748046875 time spend to save output : 7.605552673339844e-05 total time spend for step 3 : 0.3549802303314209 step4:send_mail_cod Tue Aug 26 09:01: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 : {1379388009: ('0.0',)} input_args_next_step : {1379388009: ()} output_args : {1379388009: ('0.0',)} args : 1379388009 depend.output_id : 0 complete output_args for input 3 : {26225626: [{'cartonnette': 26225642, 'environnement': 26225643, 'kraft': 26225644, 'plastique': 26225645, 'metal': 26225646, 'autre_refus': 26225647, 'Teint_Dans_La_Masse': 26225648, 'mal_croppe': 26225649, 'Carton_brun': 26225650, 'Carton_gris': 26225651, 'flou': 26225652, 'papier': 26225653}]} input_args_next_step : {1379388009: ('0.0',), 26225626: ()} output_args : {26225626: [{'cartonnette': 26225642, 'environnement': 26225643, 'kraft': 26225644, 'plastique': 26225645, 'metal': 26225646, 'autre_refus': 26225647, 'Teint_Dans_La_Masse': 26225648, 'mal_croppe': 26225649, 'Carton_brun': 26225650, 'Carton_gris': 26225651, 'flou': 26225652, 'papier': 26225653}]} args : 26225626 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 :2, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26225626) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1379388009) Found this number of photos: 1 ##### Call download_photos : nb_thread : 5 begin to download photo : 1379388009 download finish for photo 1379388009 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette262256421756191660/ imagette262256441756191660/ imagette262256451756191660/ imagette262256461756191661/ imagette262256471756191661/ imagette262256491756191661/ imagette262256521756191661/ imagette262256481756191661/ imagette262256501756191661/ imagette262256511756191661/ length of list_filenames : 1 ; length of list_pids : 1 ; length of list_args : 1 results_Auto_P26225626_26-08-2025_09_01_00.pdf 26225642 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26225642 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262256421756191660 26225644 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26225644 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262256441756191660 26225645 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26225645 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262256451756191660 26225646 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26225646 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262256461756191661 26225647 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26225647 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262256471756191661 26225649 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26225649 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262256491756191661 26225652 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26225652 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262256521756191661 26225648 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26225648 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262256481756191661 26225650 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26225650 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262256501756191661 26225651 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26225651 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262256511756191661 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26225626 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26225655,26225656,26225657,26225658,26225659,26225660,26225661,26225662,26225663,26225664,26225665,26225666?tags=cartonnette,environnement,kraft,plastique,metal,autre_refus,Teint_Dans_La_Masse,mal_croppe,Carton_brun,Carton_gris,flou,papier your option no_mail is active, we will not send the real mail to your client args[1379388009] : ('0.0',) no score found for photo 1379388009 We are sending mail with results at report@fotonower.com refus_total : 0.0 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26225626 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_P26225626_26-08-2025_09_01_00.pdf results_Auto_P26225626_26-08-2025_09_01_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225626_26-08-2025_09_01_00.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','26225626','results_Auto_P26225626_26-08-2025_09_01_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225626_26-08-2025_09_01_00.pdf','pdf','','0.04','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26225626]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1379388009] map_info['map_portfolio_photo'] : {26225626: [1379388009, 1379386646, 1379386645, 1379386644, 1379386618, 1379386617, 1379386616, 1379386615, 1379386614, 1379386613, 1379386581, 1379386580, 1379386579, 1379386578, 1379386577, 1379386554, 1379386553]} final : False mtd_id 4302 list_pids : [1379388009] 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, '3597817') ('4302', '26225626', '1379388009', None, None, None, None, None, '3597817') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 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', '26225626', '1379388009', None, None, None, None, None, '3597817')] time used for this insertion : 0.012639045715332031 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.051591157913208 time spend to save output : 0.012924671173095703 total time spend for step 4 : 1.0645158290863037 step5:split_time_score Tue Aug 26 09:01:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['26225626'] 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 : [('26225626',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26225626) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1379388009: {'path': 'temp/1756191660_325550_1379388009_d3696890983fb1e27a7f0d830118a2bf_70229007.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 = 26225626; (('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 ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26225626 group by h (('08', 17),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26225626 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 (26225626) 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 (26225626) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26082025 26225626 Nombre de photos uploadées : 17 / 23040 (0%) 26082025 26225626 Nombre de photos taguées (types de déchets): 0 / 17 (0%) 26082025 26225626 Nombre de photos taguées (volume) : 0 / 17 (0%) [{'photo_id': 1379386554, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/26/28aa9112f1bde156e73c8c0e055813d3_1353473.jpg', 'username': None, 'uploaded_at': 1756189633, 'text': 'image_26082025_08_26_04_10152.jpg'}, {'photo_id': 1379386553, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/26/7453fbc2657fb309d1c8a3a052db4ebe_1037656.jpg', 'username': None, 'uploaded_at': 1756189633, 'text': 'image_26082025_08_26_34_10139.jpg'}, {'photo_id': 1379386581, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/26/86df8bac677870c113e15a6219ba1ed4_46214451.jpg', 'username': None, 'uploaded_at': 1756189693, 'text': 'image_26082025_08_26_54_10135.jpg'}, {'photo_id': 1379386580, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/26/f029a16898bb1c4fed5bf5bff80a52a1_8083419.jpg', 'username': None, 'uploaded_at': 1756189693, 'text': 'image_26082025_08_27_04_10154.jpg'}] 0 [] elapsed_time : load_data_split_time_score 5.9604644775390625e-06 elapsed_time : order_list_meta_photo_and_scores 1.2636184692382812e-05 ????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0008230209350585938 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26225626, '2025-08-26' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2174217,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.23242449760437012 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= 2174217 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26218438, 'dashboard_result_id': 14293850, '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_P26218438_26-08-2025_06_07_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26218439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26218440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26218441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26218442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26218443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26218444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26218445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26218446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26218447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26218448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26218449, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26218450, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26218950, 'dashboard_result_id': 14293851, '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_P26218950_26-08-2025_06_07_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26218954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26218955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26218956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26218957, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26218958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26218959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26218960, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26218961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26218962, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26218963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26218964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26218965, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26219900, 'dashboard_result_id': 14293852, '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_P26219900_26-08-2025_06_09_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26219903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26219904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26219905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26219906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26219907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26219908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26219909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26219910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26219911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26219912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26219913, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26219914, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26219967, 'dashboard_result_id': 14293853, '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_P26219967_26-08-2025_06_09_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26219973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26219974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26219975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26219976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26219977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26219978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26219979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26219980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26219981, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26219982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26219983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26219984, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26220103, 'dashboard_result_id': 14293854, '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_P26220103_26-08-2025_06_09_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220139, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26220140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220147, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26220824, 'dashboard_result_id': 14293855, '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_P26220824_26-08-2025_06_10_28.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26220830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220841, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26220951, 'dashboard_result_id': 14293856, '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_P26220951_26-08-2025_06_11_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26220956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220967, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26221110, 'dashboard_result_id': 14293857, '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_P26221110_26-08-2025_06_11_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221143, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221144, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221152, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221154, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26221445, 'dashboard_result_id': 14293858, '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_P26221445_26-08-2025_06_12_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26221450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221457, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221461, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26221595, 'dashboard_result_id': 14293859, '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_P26221595_26-08-2025_06_13_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221606, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221608, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221611, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221612, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26221773, 'dashboard_result_id': 14293860, '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_P26221773_26-08-2025_04_05_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221790, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26221991, 'dashboard_result_id': 14293861, '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_P26221991_26-08-2025_05_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222004, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222015, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26222507, 'dashboard_result_id': 14293862, '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_P26222507_26-08-2025_06_14_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222513, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222515, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222520, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26222617, 'dashboard_result_id': 14293863, '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_P26222617_26-08-2025_06_14_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222622, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222625, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222632, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26222730, 'dashboard_result_id': 14293864, '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_P26222730_26-08-2025_06_03_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222744, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222746, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26222815, 'dashboard_result_id': 14293865, '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_P26222815_26-08-2025_06_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222825, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222835, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26223041, 'dashboard_result_id': 14293866, '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_P26223041_26-08-2025_06_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223053, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223064, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26223181, 'dashboard_result_id': 14293867, '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_P26223181_26-08-2025_06_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223193, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223204, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26223332, 'dashboard_result_id': 14293868, '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_P26223332_26-08-2025_06_58_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223345, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26224665, 'dashboard_result_id': 14293869, '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_P26224665_26-08-2025_08_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26224710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26224711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26224712, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26224713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26224714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26224715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26224716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26224717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26224718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26224719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26224720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26224721, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26225020, 'dashboard_result_id': 14293870, '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_P26225020_26-08-2025_08_29_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26225038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26225039, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26225040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26225041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26225042, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26225043, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26225044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26225045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26225046, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26225047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26225048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26225049, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183107, 'mtr_portfolio_id': 26225626, 'dashboard_result_id': 14293871, '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_P26225626_26-08-2025_08_31_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26225642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26225643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26225644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26225645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26225646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26225647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26225648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26225649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26225650, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26225651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26225652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26225653, '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 = 26218438 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 = 26218438 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 = 26218438 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26218438 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 = 26218438 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 = 26218438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26218438_26-08-2025_06_07_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218438 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_P26218438_26-08-2025_06_07_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26218439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26218440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26218441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26218442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26218443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26218444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26218445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26218446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26218447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26218448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26218449, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26218450, 'pht': 3726}}" where mtr_portfolio_id = 26218438 and dashboard_run_id = 2183107 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 = 26218950 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 = 26218950 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 = 26218950 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26218950 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 = 26218950 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 = 26218950 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26218950_26-08-2025_06_07_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218950 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_P26218950_26-08-2025_06_07_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26218954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26218955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26218956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26218957, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26218958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26218959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26218960, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26218961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26218962, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26218963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26218964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26218965, 'pht': 3726}}" where mtr_portfolio_id = 26218950 and dashboard_run_id = 2183107 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 = 26219900 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 = 26219900 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 = 26219900 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26219900 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 = 26219900 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 = 26219900 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26219900_26-08-2025_06_09_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26219900 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_P26219900_26-08-2025_06_09_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26219903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26219904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26219905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26219906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26219907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26219908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26219909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26219910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26219911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26219912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26219913, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26219914, 'pht': 3726}}" where mtr_portfolio_id = 26219900 and dashboard_run_id = 2183107 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 = 26219967 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 = 26219967 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 = 26219967 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26219967 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 = 26219967 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 = 26219967 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26219967_26-08-2025_06_09_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26219967 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_P26219967_26-08-2025_06_09_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26219973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26219974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26219975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26219976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26219977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26219978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26219979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26219980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26219981, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26219982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26219983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26219984, 'pht': 3726}}" where mtr_portfolio_id = 26219967 and dashboard_run_id = 2183107 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 = 26220103 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 = 26220103 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 = 26220103 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26220103 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 = 26220103 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 = 26220103 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26220103_26-08-2025_06_09_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26220103 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_P26220103_26-08-2025_06_09_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220139, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26220140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220147, 'pht': 3726}}" where mtr_portfolio_id = 26220103 and dashboard_run_id = 2183107 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 = 26220824 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 = 26220824 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 = 26220824 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26220824 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 = 26220824 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 = 26220824 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26220824_26-08-2025_06_10_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26220824 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_P26220824_26-08-2025_06_10_28.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26220830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220841, 'pht': 3726}}" where mtr_portfolio_id = 26220824 and dashboard_run_id = 2183107 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 = 26220951 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 = 26220951 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 = 26220951 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26220951 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 = 26220951 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 = 26220951 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26220951_26-08-2025_06_11_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26220951 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_P26220951_26-08-2025_06_11_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26220956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220967, 'pht': 3726}}" where mtr_portfolio_id = 26220951 and dashboard_run_id = 2183107 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 = 26221110 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 = 26221110 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 = 26221110 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26221110 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 = 26221110 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 = 26221110 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221110_26-08-2025_06_11_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26221110 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_P26221110_26-08-2025_06_11_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221143, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221144, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221152, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221154, 'pht': 3726}}" where mtr_portfolio_id = 26221110 and dashboard_run_id = 2183107 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 = 26221445 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 = 26221445 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 = 26221445 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26221445 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 = 26221445 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 = 26221445 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221445_26-08-2025_06_12_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26221445 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_P26221445_26-08-2025_06_12_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26221450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221457, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221461, 'pht': 3726}}" where mtr_portfolio_id = 26221445 and dashboard_run_id = 2183107 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 = 26221595 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 = 26221595 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 = 26221595 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26221595 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 = 26221595 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 = 26221595 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221595_26-08-2025_06_13_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26221595 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_P26221595_26-08-2025_06_13_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221606, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221608, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221611, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221612, 'pht': 3726}}" where mtr_portfolio_id = 26221595 and dashboard_run_id = 2183107 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 = 26221773 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 = 26221773 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 = 26221773 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26221773 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 = 26221773 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 = 26221773 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221773_26-08-2025_04_05_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26221773 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_P26221773_26-08-2025_04_05_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221790, 'pht': 3726}}" where mtr_portfolio_id = 26221773 and dashboard_run_id = 2183107 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 = 26221991 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 = 26221991 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 = 26221991 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26221991 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 = 26221991 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 = 26221991 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221991_26-08-2025_05_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26221991 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_P26221991_26-08-2025_05_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222004, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222015, 'pht': 3726}}" where mtr_portfolio_id = 26221991 and dashboard_run_id = 2183107 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 = 26222507 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 = 26222507 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 = 26222507 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26222507 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 = 26222507 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 = 26222507 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222507_26-08-2025_06_14_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26222507 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_P26222507_26-08-2025_06_14_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222513, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222515, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222520, 'pht': 3726}}" where mtr_portfolio_id = 26222507 and dashboard_run_id = 2183107 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 = 26222617 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 = 26222617 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 = 26222617 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26222617 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 = 26222617 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 = 26222617 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222617_26-08-2025_06_14_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26222617 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_P26222617_26-08-2025_06_14_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222622, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222625, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222632, 'pht': 3726}}" where mtr_portfolio_id = 26222617 and dashboard_run_id = 2183107 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 = 26222730 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 = 26222730 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 = 26222730 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26222730 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 = 26222730 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 = 26222730 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222730_26-08-2025_06_03_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26222730 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_P26222730_26-08-2025_06_03_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222744, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222746, 'pht': 3726}}" where mtr_portfolio_id = 26222730 and dashboard_run_id = 2183107 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 = 26222815 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 = 26222815 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 = 26222815 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26222815 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 = 26222815 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 = 26222815 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222815_26-08-2025_06_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26222815 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_P26222815_26-08-2025_06_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222825, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222835, 'pht': 3726}}" where mtr_portfolio_id = 26222815 and dashboard_run_id = 2183107 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 = 26223041 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 = 26223041 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 = 26223041 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26223041 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 = 26223041 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 = 26223041 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223041_26-08-2025_06_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223041 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_P26223041_26-08-2025_06_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223053, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223064, 'pht': 3726}}" where mtr_portfolio_id = 26223041 and dashboard_run_id = 2183107 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 = 26223181 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 = 26223181 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 = 26223181 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26223181 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 = 26223181 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 = 26223181 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223181_26-08-2025_06_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223181 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_P26223181_26-08-2025_06_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223193, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223204, 'pht': 3726}}" where mtr_portfolio_id = 26223181 and dashboard_run_id = 2183107 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 = 26223332 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 = 26223332 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 = 26223332 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26223332 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 = 26223332 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 = 26223332 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223332_26-08-2025_07_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223332 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_P26223332_26-08-2025_07_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223345, 'pht': 3726}}" where mtr_portfolio_id = 26223332 and dashboard_run_id = 2183107 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 = 26224665 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 = 26224665 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 = 26224665 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26224665 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 = 26224665 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 = 26224665 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26224665_26-08-2025_08_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26224665 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_P26224665_26-08-2025_08_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26224710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26224711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26224712, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26224713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26224714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26224715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26224716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26224717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26224718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26224719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26224720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26224721, 'pht': 3726}}" where mtr_portfolio_id = 26224665 and dashboard_run_id = 2183107 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 = 26225020 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 = 26225020 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 = 26225020 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26225020 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 = 26225020 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 = 26225020 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225020_26-08-2025_08_29_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26225020 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_P26225020_26-08-2025_08_29_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26225038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26225039, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26225040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26225041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26225042, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26225043, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26225044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26225045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26225046, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26225047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26225048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26225049, 'pht': 3726}}" where mtr_portfolio_id = 26225020 and dashboard_run_id = 2183107 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 = 26225626 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 = 26225626 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 = 26225626 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26225626 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 = 26225626 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 = 26225626 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225626_26-08-2025_09_01_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26225626 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_P26225626_26-08-2025_09_01_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26225642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26225643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26225644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26225645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26225646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26225647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26225648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26225649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26225650, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26225651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26225652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26225653, 'pht': 3726}}" where mtr_portfolio_id = 26225626 and dashboard_run_id = 2183101 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26218438,26218950,26219900,26219967,26220103,26220824,26220951,26221110,26221445,26221595,26221773,26221991,26222507,26222617,26222730,26222815,26223041,26223181,26223332,26224665,26225020,26225626) result : ((1379342854,), (1379342855,), (1379342870,), (1379342957,), (1379342959,), (1379344937,), (1379344940,), (1379345298,), (1379346354,), (1379347089,), (1379347411,), (1379347710,), (1379347711,), (1379347794,), (1379347795,), (1379347900,), (1379347958,), (1379348092,), (1379348173,), (1379352067,), (1379352068,), (1379352103,), (1379352125,), (1379352140,), (1379352141,), (1379352163,), (1379352164,), (1379352188,), (1379352210,), (1379352262,), (1379352319,), (1379352346,), (1379352347,), (1379352389,), (1379352387,), (1379352388,), (1379352440,), (1379352464,), (1379352600,), (1379352601,), (1379352602,), (1379352623,), (1379352648,), (1379352681,), (1379352682,), (1379352820,), (1379352821,), (1379352882,), (1379352884,), (1379352896,), (1379352897,), (1379352942,), (1379352941,), (1379353283,), (1379353284,), (1379353719,), (1379355085,), (1379355086,), (1379355111,), (1379355112,), (1379355127,), (1379355128,), (1379355280,), (1379355339,), (1379355340,), (1379355341,), (1379355383,), (1379355957,), (1379355998,), (1379356022,), (1379356109,), (1379356110,), (1379356130,), (1379356151,), (1379356196,), (1379356214,), (1379356278,), (1379356320,), (1379356379,), (1379356441,), (1379356442,), (1379356460,), (1379356461,), (1379356531,), (1379356532,), (1379356563,), (1379356564,), (1379356605,), (1379356990,), (1379356992,), (1379356994,), (1379358160,), (1379358553,), (1379358733,), (1379358735,), (1379358780,), (1379358781,), (1379358782,), (1379358783,), (1379358838,), (1379358911,), (1379358961,), (1379358960,), (1379358977,), (1379358978,), (1379359030,), (1379359052,), (1379359053,), (1379359115,), (1379359173,), (1379359174,), (1379359193,), (1379359194,), (1379359281,), (1379359342,), (1379359341,), (1379359383,), (1379359384,), (1379359429,), (1379359458,), (1379359493,), (1379359535,), (1379359576,), (1379359623,), (1379359624,), (1379359625,), (1379359689,), (1379359690,), (1379359720,), (1379359738,), (1379359776,), (1379359777,), (1379359836,), (1379359920,), (1379359940,), (1379359963,), (1379359983,), (1379359995,), (1379360559,), (1379360560,), (1379360568,), (1379361235,), (1379361233,), (1379361385,), (1379361668,), (1379361670,), (1379362176,), (1379362177,), (1379362236,), (1379362237,), (1379364945,), (1379365529,), (1379365730,), (1379365731,), (1379365751,), (1379365758,), (1379365759,), (1379365760,), (1379365812,), (1379365813,), (1379365814,), (1379365815,), (1379366262,), (1379365996,), (1379366284,), (1379366290,), (1379366291,), (1379366317,), (1379366371,), (1379366372,), (1379366373,), (1379367051,), (1379367191,), (1379367192,), (1379367252,), (1379367254,), (1379367257,), (1379367259,), (1379367261,), (1379367263,), (1379367653,), (1379367655,), (1379367657,), (1379367659,), (1379367838,), (1379367839,), (1379368118,), (1379368114,), (1379368116,), (1379368380,), (1379368381,), (1379368382,), (1379368383,), (1379368462,), (1379368463,), (1379368464,), (1379368465,), (1379368553,), (1379368555,), (1379368557,), (1379368559,), (1379368561,), (1379368918,), (1379368920,), (1379368923,), (1379368925,), (1379368927,), (1379369168,), (1379369170,), (1379369172,), (1379369174,), (1379369176,), (1379369178,), (1379369262,), (1379369263,), (1379369264,), (1379369266,), (1379369267,), (1379369268,), (1379369292,), (1379369294,), (1379369296,), (1379369298,), (1379369334,), (1379369335,), (1379369336,), (1379369337,), (1379369338,), (1379369339,), (1379369341,), (1379369342,), (1379369344,), (1379369357,), (1379369358,), (1379369386,), (1379369387,), (1379369388,), (1379369389,), (1379369390,), (1379369409,), (1379369410,), (1379369411,), (1379369412,), (1379369413,), (1379369414,), (1379369477,), (1379369478,), (1379369479,), (1379369480,), (1379369481,), (1379369502,), (1379369503,), (1379369504,), (1379369505,), (1379369506,), (1379369530,), (1379369532,), (1379369533,), (1379369534,), (1379369535,), (1379369557,), (1379369604,), (1379369554,), (1379369556,), (1379369584,), (1379369585,), (1379369586,), (1379369587,), (1379369588,), (1379369589,), (1379369603,), (1379369636,), (1379369637,), (1379369639,), (1379369640,), (1379369641,), (1379369668,), (1379369669,), (1379369670,), (1379369671,), (1379369672,), (1379369702,), (1379369703,), (1379369704,), (1379369724,), (1379369725,), (1379369726,), (1379369727,), (1379369754,), (1379369755,), (1379369756,), (1379369757,), (1379369758,), (1379369759,), (1379369805,), (1379369806,), (1379369807,), (1379369808,), (1379369833,), (1379369834,), (1379369835,), (1379369836,), (1379369837,), (1379369838,), (1379369861,), (1379369862,), (1379369863,), (1379369864,), (1379369865,), (1379369892,), (1379369893,), (1379369894,), (1379369895,), (1379369917,), (1379369918,), (1379369919,), (1379369920,), (1379369921,), (1379369922,), (1379369926,), (1379369929,), (1379369999,), (1379370000,), (1379370001,), (1379370002,), (1379370031,), (1379370032,), (1379370056,), (1379370057,), (1379370058,), (1379370059,), (1379370085,), (1379370082,), (1379370083,), (1379370084,), (1379370107,), (1379370108,), (1379370109,), (1379370110,), (1379370111,), (1379370112,), (1379370176,), (1379370177,), (1379370178,), (1379370179,), (1379370180,), (1379370205,), (1379370206,), (1379370207,), (1379370208,), (1379370209,), (1379370210,), (1379370231,), (1379370232,), (1379370233,), (1379370234,), (1379370235,), (1379370236,), (1379370258,), (1379370259,), (1379370260,), (1379370278,), (1379370279,), (1379370280,), (1379370281,), (1379370282,), (1379370284,), (1379370287,), (1379370288,), (1379370333,), (1379370334,), (1379370335,), (1379370336,), (1379370337,), (1379370338,), (1379370363,), (1379370364,), (1379370365,), (1379370366,), (1379370367,), (1379370395,), (1379370396,), (1379370397,), (1379370423,), (1379370424,), (1379370425,), (1379370426,), (1379370427,), (1379370428,), (1379370456,), (1379370457,), (1379370458,), (1379370459,), (1379370460,), (1379370487,), (1379370488,), (1379370489,), (1379370490,), (1379370491,), (1379370508,), (1379370509,), (1379370510,), (1379370536,), (1379370537,), (1379370538,), (1379370539,), (1379370562,), (1379370598,), (1379370557,), (1379370558,), (1379370559,), (1379370560,), (1379370586,), (1379370587,), (1379370588,), (1379370589,), (1379370590,), (1379370591,), (1379370596,), (1379370597,), (1379370665,), (1379370666,), (1379370667,), (1379370668,), (1379370671,), (1379370674,), (1379370700,), (1379370701,), (1379370702,), (1379370703,), (1379370704,), (1379370728,), (1379370729,), (1379370730,), (1379370731,), (1379370732,), (1379370733,), (1379370757,), (1379370758,), (1379370759,), (1379370760,), (1379370761,), (1379370762,), (1379370776,), (1379370777,), (1379370778,), (1379370779,), (1379370847,), (1379370848,), (1379370849,), (1379370850,), (1379370866,), (1379370867,), (1379370868,), (1379370869,), (1379370926,), (1379376598,), (1379378564,), (1379378566,), (1379378568,), (1379378570,), (1379378685,), (1379378686,), (1379378687,), (1379378689,), (1379378690,), (1379378691,), (1379378702,), (1379378703,), (1379378704,), (1379378705,), (1379378765,), (1379378766,), (1379378767,), (1379378768,), (1379378794,), (1379378795,), (1379378796,), (1379378797,), (1379378798,), (1379378985,), (1379378988,), (1379378991,), (1379378994,), (1379378997,), (1379379000,), (1379379329,), (1379379331,), (1379379334,), (1379379337,), (1379379340,), (1379379343,), (1379379455,), (1379379456,), (1379379457,), (1379379458,), (1379379495,), (1379379496,), (1379379497,), (1379379498,), (1379379499,), (1379379534,), (1379379535,), (1379379536,), (1379379537,), (1379379538,), (1379379539,), (1379379602,), (1379379604,), (1379379606,), (1379379673,), (1379379675,), (1379379677,), (1379379679,), (1379379681,), (1379379790,), (1379379791,), (1379379792,), (1379379793,), (1379379794,), (1379379795,), (1379379803,), (1379379804,), (1379379805,), (1379379806,), (1379379807,), (1379379886,), (1379379887,), (1379379888,), (1379380552,), (1379380554,), (1379380556,), (1379380558,), (1379380830,), (1379380833,), (1379380908,), (1379380910,), (1379380911,), (1379380819,), (1379380822,), (1379380824,), (1379380827,), (1379381584,), (1379381588,), (1379386555,), (1379386553,), (1379386554,), (1379386577,), (1379386578,), (1379386579,), (1379386580,), (1379386581,), (1379386613,), (1379386614,), (1379386615,), (1379386616,), (1379386617,), (1379386618,), (1379386644,), (1379386645,), (1379386646,), (1379388009,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26082025': {'nb_upload': 17, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26225626]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1379388009] map_info['map_portfolio_photo'] : {26225626: [1379388009, 1379386646, 1379386645, 1379386644, 1379386618, 1379386617, 1379386616, 1379386615, 1379386614, 1379386613, 1379386581, 1379386580, 1379386579, 1379386578, 1379386577, 1379386554, 1379386553]} final : True mtd_id 4302 list_pids : [1379388009] Looping around the photos to save general results len do output : 1 /26225626Didn'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, '3597817') ('4302', '26225626', '1379388009', None, None, None, None, None, '3597817') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 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, '26225626', 'None', None, None, None, None, '3597817'), ('4302', '26225626', '1379388009', None, None, None, None, None, '3597817')] time used for this insertion : 0.012649059295654297 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.0598888397216797 time spend to save output : 0.012781381607055664 total time spend for step 5 : 1.0726702213287354 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 (3597817) 1.96user 2.03system 0:08.02elapsed 49%CPU (0avgtext+0avgdata 154824maxresident)k 5720inputs+1008outputs (36major+61987minor)pagefaults 0swaps