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 : 3640645 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 (3609734) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3609734) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26255608 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3609734'] with mtr_portfolio_ids : ['26255608'] and first list_photo_ids : [] new path : /proc/3640645/ Name: python3 Umask: 0002 State: R (running) Tgid: 3640645 Ngid: 0 Pid: 3640645 PPid: 3640644 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3640645 NSpid: 3640645 NSpgid: 3637926 NSsid: 3637926 VmPeak: 1107248 kB VmSize: 1107248 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100544 kB VmRSS: 100544 kB RssAnon: 60164 kB RssFile: 40380 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: 51 nonvoluntary_ctxt_switches: 90 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3640645', 'Ngid': '0', 'Pid': '3640645', 'PPid': '3640644', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3640645', 'NSpid': '3640645', 'NSpgid': '3637926', 'NSsid': '3637926', 'VmPeak': '1107248 kB', 'VmSize': '1107248 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100544 kB', 'VmRSS': '100544 kB', 'RssAnon': '60164 kB', 'RssFile': '40380 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': '51', 'nonvoluntary_ctxt_switches': '90'} ('datou_batch_current', '3640645', '1107248', '0', '1107248', '866000', '100544', b'', 'marlene', '3609734') 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 (26255608) 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 (3609734 ) ) 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 (26255608) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1379615971, 'portfolio_id': 26255608}, {'photo_id': 1379615970, 'portfolio_id': 26255608}, {'photo_id': 1379615781, 'portfolio_id': 26255608}, {'photo_id': 1379615780, 'portfolio_id': 26255608}, {'photo_id': 1379615779, 'portfolio_id': 26255608}, {'photo_id': 1379614879, 'portfolio_id': 26255608}, {'photo_id': 1379614877, 'portfolio_id': 26255608}, {'photo_id': 1379614840, 'portfolio_id': 26255608}, {'photo_id': 1379614791, 'portfolio_id': 26255608}, {'photo_id': 1379614790, 'portfolio_id': 26255608}, {'photo_id': 1379614789, 'portfolio_id': 26255608}, {'photo_id': 1379614788, 'portfolio_id': 26255608}, {'photo_id': 1379614740, 'portfolio_id': 26255608}, {'photo_id': 1379614739, 'portfolio_id': 26255608}, {'photo_id': 1379614738, 'portfolio_id': 26255608}, {'photo_id': 1379614737, 'portfolio_id': 26255608}, {'photo_id': 1379614736, 'portfolio_id': 26255608}, {'photo_id': 1379614707, 'portfolio_id': 26255608}, {'photo_id': 1379614706, 'portfolio_id': 26255608}, {'photo_id': 1379614664, 'portfolio_id': 26255608}, {'photo_id': 1379614663, 'portfolio_id': 26255608}, {'photo_id': 1379614662, 'portfolio_id': 26255608}, {'photo_id': 1379614630, 'portfolio_id': 26255608}] map_portfolio_id_photo_id: {26255608: [1379615971, 1379615970, 1379615781, 1379615780, 1379615779, 1379614879, 1379614877, 1379614840, 1379614791, 1379614790, 1379614789, 1379614788, 1379614740, 1379614739, 1379614738, 1379614737, 1379614736, 1379614707, 1379614706, 1379614664, 1379614663, 1379614662, 1379614630]} ##### 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.3707578182220459 #### 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 Wed Aug 27 08:02:57 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 (26255608) 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 : 26255608 get user id for portfolio 26255608 get sub ptf for main ptf 26255608, type 3726 and hashtags ['Carton_gris', 'environnement', 'autre_refus', 'mal_croppe', 'cartonnette', 'metal', 'Teint_Dans_La_Masse', 'Carton_brun', 'flou', 'plastique', 'kraft', 'papier'] 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`=26255608 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','environnement','autre_refus','mal_croppe','cartonnette','metal','Teint_Dans_La_Masse','Carton_brun','flou','plastique','kraft','papier')) 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`=26255608 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','environnement','autre_refus','mal_croppe','cartonnette','metal','Teint_Dans_La_Masse','Carton_brun','flou','plastique','kraft','papier')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 26255608, 'sub_port_id': 26255617, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671824, 'last_updated_at': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 54, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 26255608, 'sub_port_id': 26255618, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671825, 'last_updated_at': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 54, 58)}, 'environnement': {'main_port_id': 26255608, 'sub_port_id': 26255619, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671826, 'last_updated_at': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 54, 58)}, 'autre_refus': {'main_port_id': 26255608, 'sub_port_id': 26255620, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671827, 'last_updated_at': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 54, 58)}, 'cartonnette': {'main_port_id': 26255608, 'sub_port_id': 26255621, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671828, 'last_updated_at': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 54, 58)}, 'papier': {'main_port_id': 26255608, 'sub_port_id': 26255622, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671829, 'last_updated_at': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 54, 58)}, 'plastique': {'main_port_id': 26255608, 'sub_port_id': 26255623, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671830, 'last_updated_at': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 54, 58)}, 'mal_croppe': {'main_port_id': 26255608, 'sub_port_id': 26255624, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671831, 'last_updated_at': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 54, 58)}, 'kraft': {'main_port_id': 26255608, 'sub_port_id': 26255625, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671832, 'last_updated_at': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 54, 58)}, 'Carton_gris': {'main_port_id': 26255608, 'sub_port_id': 26255626, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671833, 'last_updated_at': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 54, 58)}, 'Carton_brun': {'main_port_id': 26255608, 'sub_port_id': 26255627, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671834, 'last_updated_at': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 54, 58)}, 'flou': {'main_port_id': 26255608, 'sub_port_id': 26255628, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671835, 'last_updated_at': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 54, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26255617 , 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=26255608 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 (26255617) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26255608) result : ((1379614630,), (1379614662,), (1379614663,), (1379614664,), (1379614706,), (1379614707,), (1379614736,), (1379614737,), (1379614738,), (1379614739,), (1379614740,), (1379614788,), (1379614789,), (1379614790,), (1379614791,), (1379614840,), (1379614877,), (1379614879,), (1379615779,), (1379615780,), (1379615781,), (1379615970,), (1379615971,)) 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 26255618 , 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=26255608 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 (26255618) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26255608) result : ((1379614630,), (1379614662,), (1379614663,), (1379614664,), (1379614706,), (1379614707,), (1379614736,), (1379614737,), (1379614738,), (1379614739,), (1379614740,), (1379614788,), (1379614789,), (1379614790,), (1379614791,), (1379614840,), (1379614877,), (1379614879,), (1379615779,), (1379615780,), (1379615781,), (1379615970,), (1379615971,)) 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 26255619 , 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=26255608 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 (26255619) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26255608) result : ((1379614630,), (1379614662,), (1379614663,), (1379614664,), (1379614706,), (1379614707,), (1379614736,), (1379614737,), (1379614738,), (1379614739,), (1379614740,), (1379614788,), (1379614789,), (1379614790,), (1379614791,), (1379614840,), (1379614877,), (1379614879,), (1379615779,), (1379615780,), (1379615781,), (1379615970,), (1379615971,)) 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 26255620 , 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=26255608 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 (26255620) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26255608) result : ((1379614630,), (1379614662,), (1379614663,), (1379614664,), (1379614706,), (1379614707,), (1379614736,), (1379614737,), (1379614738,), (1379614739,), (1379614740,), (1379614788,), (1379614789,), (1379614790,), (1379614791,), (1379614840,), (1379614877,), (1379614879,), (1379615779,), (1379615780,), (1379615781,), (1379615970,), (1379615971,)) 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 26255621 , 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=26255608 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 (26255621) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26255608) result : ((1379614630,), (1379614662,), (1379614663,), (1379614664,), (1379614706,), (1379614707,), (1379614736,), (1379614737,), (1379614738,), (1379614739,), (1379614740,), (1379614788,), (1379614789,), (1379614790,), (1379614791,), (1379614840,), (1379614877,), (1379614879,), (1379615779,), (1379615780,), (1379615781,), (1379615970,), (1379615971,)) 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 26255622 , 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=26255608 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 (26255622) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26255608) result : ((1379614630,), (1379614662,), (1379614663,), (1379614664,), (1379614706,), (1379614707,), (1379614736,), (1379614737,), (1379614738,), (1379614739,), (1379614740,), (1379614788,), (1379614789,), (1379614790,), (1379614791,), (1379614840,), (1379614877,), (1379614879,), (1379615779,), (1379615780,), (1379615781,), (1379615970,), (1379615971,)) 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 26255623 , 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=26255608 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 (26255623) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26255608) result : ((1379614630,), (1379614662,), (1379614663,), (1379614664,), (1379614706,), (1379614707,), (1379614736,), (1379614737,), (1379614738,), (1379614739,), (1379614740,), (1379614788,), (1379614789,), (1379614790,), (1379614791,), (1379614840,), (1379614877,), (1379614879,), (1379615779,), (1379615780,), (1379615781,), (1379615970,), (1379615971,)) 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 26255624 , 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=26255608 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 (26255624) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26255608) result : ((1379614630,), (1379614662,), (1379614663,), (1379614664,), (1379614706,), (1379614707,), (1379614736,), (1379614737,), (1379614738,), (1379614739,), (1379614740,), (1379614788,), (1379614789,), (1379614790,), (1379614791,), (1379614840,), (1379614877,), (1379614879,), (1379615779,), (1379615780,), (1379615781,), (1379615970,), (1379615971,)) 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 26255625 , 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=26255608 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 (26255625) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26255608) result : ((1379614630,), (1379614662,), (1379614663,), (1379614664,), (1379614706,), (1379614707,), (1379614736,), (1379614737,), (1379614738,), (1379614739,), (1379614740,), (1379614788,), (1379614789,), (1379614790,), (1379614791,), (1379614840,), (1379614877,), (1379614879,), (1379615779,), (1379615780,), (1379615781,), (1379615970,), (1379615971,)) 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 26255626 , 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=26255608 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 (26255626) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26255608) result : ((1379614630,), (1379614662,), (1379614663,), (1379614664,), (1379614706,), (1379614707,), (1379614736,), (1379614737,), (1379614738,), (1379614739,), (1379614740,), (1379614788,), (1379614789,), (1379614790,), (1379614791,), (1379614840,), (1379614877,), (1379614879,), (1379615779,), (1379615780,), (1379615781,), (1379615970,), (1379615971,)) 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 26255627 , 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=26255608 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 (26255627) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26255608) result : ((1379614630,), (1379614662,), (1379614663,), (1379614664,), (1379614706,), (1379614707,), (1379614736,), (1379614737,), (1379614738,), (1379614739,), (1379614740,), (1379614788,), (1379614789,), (1379614790,), (1379614791,), (1379614840,), (1379614877,), (1379614879,), (1379615779,), (1379615780,), (1379615781,), (1379615970,), (1379615971,)) 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 26255628 , 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=26255608 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 (26255628) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26255608) result : ((1379614630,), (1379614662,), (1379614663,), (1379614664,), (1379614706,), (1379614707,), (1379614736,), (1379614737,), (1379614738,), (1379614739,), (1379614740,), (1379614788,), (1379614789,), (1379614790,), (1379614791,), (1379614840,), (1379614877,), (1379614879,), (1379615779,), (1379615780,), (1379615781,), (1379615970,), (1379615971,)) 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`=26255608 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','environnement','autre_refus','mal_croppe','cartonnette','metal','Teint_Dans_La_Masse','Carton_brun','flou','plastique','kraft','papier')) 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`=26255608 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','environnement','autre_refus','mal_croppe','cartonnette','metal','Teint_Dans_La_Masse','Carton_brun','flou','plastique','kraft','papier')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 26255608, 'sub_port_id': 26255631, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671836, 'last_updated_at': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 55)}, 'Teint_Dans_La_Masse': {'main_port_id': 26255608, 'sub_port_id': 26255632, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671837, 'last_updated_at': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 55)}, 'environnement': {'main_port_id': 26255608, 'sub_port_id': 26255633, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671838, 'last_updated_at': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 55)}, 'autre_refus': {'main_port_id': 26255608, 'sub_port_id': 26255634, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671839, 'last_updated_at': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 55)}, 'cartonnette': {'main_port_id': 26255608, 'sub_port_id': 26255635, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671840, 'last_updated_at': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 55)}, 'papier': {'main_port_id': 26255608, 'sub_port_id': 26255636, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671841, 'last_updated_at': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 55)}, 'plastique': {'main_port_id': 26255608, 'sub_port_id': 26255637, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671842, 'last_updated_at': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 55)}, 'mal_croppe': {'main_port_id': 26255608, 'sub_port_id': 26255638, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671843, 'last_updated_at': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 55)}, 'kraft': {'main_port_id': 26255608, 'sub_port_id': 26255639, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671844, 'last_updated_at': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 55)}, 'Carton_gris': {'main_port_id': 26255608, 'sub_port_id': 26255640, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671845, 'last_updated_at': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 55)}, 'Carton_brun': {'main_port_id': 26255608, 'sub_port_id': 26255641, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671846, 'last_updated_at': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 7, 55), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 55)}, 'flou': {'main_port_id': 26255608, 'sub_port_id': 26255642, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17671847, 'last_updated_at': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 8, 1), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 7, 55)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26255631,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26255617 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26255632,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26255618 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26255633,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26255619 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26255634,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26255620 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26255635,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26255621 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26255636,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26255622 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26255637,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26255623 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26255638,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26255624 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26255639,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26255625 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26255640,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26255626 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26255641,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26255627 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26255642,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26255628 lien utilise dans velours : https://www.fotonower.com/velours/26255631,26255632,26255633,26255634,26255635,26255636,26255637,26255638,26255639,26255640,26255641,26255642?tags=metal,Teint_Dans_La_Masse,environnement,autre_refus,cartonnette,papier,plastique,mal_croppe,kraft,Carton_gris,Carton_brun,flou After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26255608]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379615971, 1379615970] map_info['map_portfolio_photo'] : {26255608: [1379615971, 1379615970, 1379615781, 1379615780, 1379615779, 1379614879, 1379614877, 1379614840, 1379614791, 1379614790, 1379614789, 1379614788, 1379614740, 1379614739, 1379614738, 1379614737, 1379614736, 1379614707, 1379614706, 1379614664, 1379614663, 1379614662, 1379614630]} final : False mtd_id 4302 list_pids : [1379615971, 1379615970] Looping around the photos to save general results len do output : 1 /26255608. 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, '3609734') ('4302', '26255608', '1379615971', None, None, None, None, None, '3609734') ('4302', None, None, None, None, None, None, None, '3609734') ('4302', '26255608', '1379615970', None, None, None, None, None, '3609734') 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', None, '26255608', "{'metal': 26255617, 'Teint_Dans_La_Masse': 26255618, 'environnement': 26255619, 'autre_refus': 26255620, 'cartonnette': 26255621, 'papier': 26255622, 'plastique': 26255623, 'mal_croppe': 26255624, 'kraft': 26255625, 'Carton_gris': 26255626, 'Carton_brun': 26255627, 'flou': 26255628}", None, None, None, None, '3609734'), ('4302', '26255608', '1379615971', None, None, None, None, None, '3609734'), ('4302', '26255608', '1379615970', None, None, None, None, None, '3609734')] time used for this insertion : 0.06572842597961426 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4542574882507324 time spend to save output : 0.06602931022644043 total time spend for step 1 : 1.5202867984771729 step2:final Wed Aug 27 08:02: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 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 (26255608) 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 26255608 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1379614630,1379614664,1379614663,1379614662,1379614707,1379614706,1379614740,1379614739,1379614738,1379614737,1379614736,1379614791,1379614790,1379614789,1379614788,1379614840,1379614879,1379614877,1379615781,1379615780,1379615779,1379615971,1379615970); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26255608]) Inside saveOutput : final : False verbose : True original output for save of step final : {1379615971: ('0.0',), 1379615970: ('0.0',)} new output for save of step final : {1379615971: ('0.0',), 1379615970: ('0.0',)} [1379615971, 1379615970] map_info['map_portfolio_photo'] : {26255608: [1379615971, 1379615970, 1379615781, 1379615780, 1379615779, 1379614879, 1379614877, 1379614840, 1379614791, 1379614790, 1379614789, 1379614788, 1379614740, 1379614739, 1379614738, 1379614737, 1379614736, 1379614707, 1379614706, 1379614664, 1379614663, 1379614662, 1379614630]} final : False mtd_id 4302 list_pids : [1379615971, 1379615970] Looping around the photos to save general results len do output : 2 /1379615971.Didn't retrieve data . /1379615970.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, '3609734') ('4302', '26255608', '1379615971', None, None, None, None, None, '3609734') ('4302', None, None, None, None, None, None, None, '3609734') ('4302', '26255608', '1379615970', None, None, None, None, None, '3609734') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 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', '26255608', '1379615971', '0.0', None, None, None, None, '3609734'), ('4302', '26255608', '1379615970', '0.0', None, None, None, None, '3609734')] time used for this insertion : 0.028751373291015625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0520787239074707 time spend to save output : 0.02901148796081543 total time spend for step 2 : 0.08109021186828613 step3:velours_tree Wed Aug 27 08:02: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 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 : {26255608: [{'metal': 26255617, 'Teint_Dans_La_Masse': 26255618, 'environnement': 26255619, 'autre_refus': 26255620, 'cartonnette': 26255621, 'papier': 26255622, 'plastique': 26255623, 'mal_croppe': 26255624, 'kraft': 26255625, 'Carton_gris': 26255626, 'Carton_brun': 26255627, 'flou': 26255628}]} input_args_next_step : {26255608: ()} output_args : {26255608: [{'metal': 26255617, 'Teint_Dans_La_Masse': 26255618, 'environnement': 26255619, 'autre_refus': 26255620, 'cartonnette': 26255621, 'papier': 26255622, 'plastique': 26255623, 'mal_croppe': 26255624, 'kraft': 26255625, 'Carton_gris': 26255626, 'Carton_brun': 26255627, 'flou': 26255628}]} args : 26255608 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 : ({'metal': 26255617, 'Teint_Dans_La_Masse': 26255618, 'environnement': 26255619, 'autre_refus': 26255620, 'cartonnette': 26255621, 'papier': 26255622, 'plastique': 26255623, 'mal_croppe': 26255624, 'kraft': 26255625, 'Carton_gris': 26255626, 'Carton_brun': 26255627, 'flou': 26255628},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26255608) 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([26255608]) 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.31052374839782715 time spend to save output : 4.3392181396484375e-05 total time spend for step 3 : 0.31056714057922363 step4:send_mail_cod Wed Aug 27 08:02: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 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 : {1379615971: ('0.0',), 1379615970: ('0.0',)} input_args_next_step : {1379615971: ()} output_args : {1379615971: ('0.0',), 1379615970: ('0.0',)} args : 1379615971 depend.output_id : 0 input_args_next_step : {1379615971: ('0.0',), 1379615970: ()} output_args : {1379615971: ('0.0',), 1379615970: ('0.0',)} args : 1379615970 depend.output_id : 0 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 : {26255608: [{'metal': 26255617, 'Teint_Dans_La_Masse': 26255618, 'environnement': 26255619, 'autre_refus': 26255620, 'cartonnette': 26255621, 'papier': 26255622, 'plastique': 26255623, 'mal_croppe': 26255624, 'kraft': 26255625, 'Carton_gris': 26255626, 'Carton_brun': 26255627, 'flou': 26255628}]} input_args_next_step : {1379615971: ('0.0',), 1379615970: ('0.0',), 26255608: ()} output_args : {26255608: [{'metal': 26255617, 'Teint_Dans_La_Masse': 26255618, 'environnement': 26255619, 'autre_refus': 26255620, 'cartonnette': 26255621, 'papier': 26255622, 'plastique': 26255623, 'mal_croppe': 26255624, 'kraft': 26255625, 'Carton_gris': 26255626, 'Carton_brun': 26255627, 'flou': 26255628}]} args : 26255608 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 :3, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26255608) 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 (1379615971,1379615970) Found this number of photos: 2 ##### Call download_photos : nb_thread : 5 begin to download photo : 1379615970 begin to download photo : 1379615971 download finish for photo 1379615971 download finish for photo 1379615970 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette262556171756274579/ imagette262556201756274579/ imagette262556211756274579/ imagette262556231756274579/ imagette262556241756274579/ imagette262556251756274579/ imagette262556281756274579/ imagette262556181756274579/ imagette262556261756274579/ imagette262556271756274579/ length of list_filenames : 2 ; length of list_pids : 2 ; length of list_args : 2 results_Auto_P26255608_27-08-2025_08_02_59.pdf 26255617 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=26255617 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262556171756274579 26255620 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=26255620 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262556201756274579 26255621 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=26255621 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262556211756274579 26255623 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=26255623 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262556231756274579 26255624 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=26255624 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262556241756274579 26255625 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=26255625 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262556251756274579 26255628 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=26255628 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262556281756274579 26255618 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=26255618 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262556181756274579 26255626 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=26255626 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262556261756274579 26255627 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=26255627 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262556271756274579 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26255608 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26255631,26255632,26255633,26255634,26255635,26255636,26255637,26255638,26255639,26255640,26255641,26255642?tags=metal,Teint_Dans_La_Masse,environnement,autre_refus,cartonnette,papier,plastique,mal_croppe,kraft,Carton_gris,Carton_brun,flou your option no_mail is active, we will not send the real mail to your client args[1379615971] : ('0.0',) no score found for photo 1379615971 We are sending mail with results at report@fotonower.com args[1379615970] : ('0.0',) no score found for photo 1379615970 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=26255608 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_P26255608_27-08-2025_08_02_59.pdf results_Auto_P26255608_27-08-2025_08_02_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26255608_27-08-2025_08_02_59.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','26255608','results_Auto_P26255608_27-08-2025_08_02_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26255608_27-08-2025_08_02_59.pdf','pdf','','0.05','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26255608]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1379615971, 1379615970] map_info['map_portfolio_photo'] : {26255608: [1379615971, 1379615970, 1379615781, 1379615780, 1379615779, 1379614879, 1379614877, 1379614840, 1379614791, 1379614790, 1379614789, 1379614788, 1379614740, 1379614739, 1379614738, 1379614737, 1379614736, 1379614707, 1379614706, 1379614664, 1379614663, 1379614662, 1379614630]} final : False mtd_id 4302 list_pids : [1379615971, 1379615970] 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, '3609734') ('4302', '26255608', '1379615971', None, None, None, None, None, '3609734') ('4302', None, None, None, None, None, None, None, '3609734') ('4302', '26255608', '1379615970', None, None, None, None, None, '3609734') 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', '26255608', '1379615971', None, None, None, None, None, '3609734'), ('4302', '26255608', '1379615970', None, None, None, None, None, '3609734')] time used for this insertion : 0.0428776741027832 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.877732515335083 time spend to save output : 0.04305768013000488 total time spend for step 4 : 0.9207901954650879 step5:split_time_score Wed Aug 27 08:02:59 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 : ['26255608'] 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 : [('26255608',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26255608) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1379615971: {'path': 'temp/1756274579_3640645_1379615971_45e2060cccf7ddf85e767568670f5392_38730776.jpg', 'extension': 'jpg'}, 1379615970: {'path': 'temp/1756274579_3640645_1379615970_b2b1cf1bcaddf45f5859959a8efe9793_24781580.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 = 26255608; (('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 = 26255608 group by h (('07', 23),) 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=26255608 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 (26255608) 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 (26255608) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 27082025 26255608 Nombre de photos uploadées : 23 / 23040 (0%) 27082025 26255608 Nombre de photos taguées (types de déchets): 0 / 23 (0%) 27082025 26255608 Nombre de photos taguées (volume) : 0 / 23 (0%) [{'photo_id': 1379614630, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/27/cb73afbd4520c024ec854bb04cd19a2d_85222331.jpg', 'username': None, 'uploaded_at': 1756273931, 'text': 'image_27082025_07_50_54_9130.jpg'}, {'photo_id': 1379614664, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/27/a8cd9a67d93b56ed3fa6f5ece294fc2b_20513589.jpg', 'username': None, 'uploaded_at': 1756273992, 'text': 'image_27082025_07_51_54_10144.jpg'}, {'photo_id': 1379614663, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/27/bc8279103dd713d65b8bbc67c87754be_92111169.jpg', 'username': None, 'uploaded_at': 1756273992, 'text': 'image_27082025_07_52_24_10140.jpg'}, {'photo_id': 1379614662, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/27/bec3719deaaa7ae83419faa1f399576f_98195013.jpg', 'username': None, 'uploaded_at': 1756273992, 'text': 'image_27082025_07_52_34_10149.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ??????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0009796619415283203 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26255608, '2025-08-27' ) 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 (2181423,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20609402656555176 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= 2181423 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26247297, 'dashboard_result_id': 14342969, '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_P26247297_27-08-2025_00_16_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26247309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26247310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26247311, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26247312, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26247313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26247314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26247315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26247316, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26247317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26247318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26247319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26247320, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26247585, 'dashboard_result_id': 14342970, '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_P26247585_27-08-2025_00_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26247597, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26247598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26247599, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26247600, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26247601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26247602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26247603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26247604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26247605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26247606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26247607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26247608, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26248115, 'dashboard_result_id': 14342971, '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_P26248115_27-08-2025_00_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26248128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26248129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26248130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26248131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26248132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26248133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26248134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26248135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26248136, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26248137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26248138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26248139, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26248478, 'dashboard_result_id': 14342972, '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_P26248478_27-08-2025_01_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26248490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26248491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26248492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26248493, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26248494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26248495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26248496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26248497, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26248498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26248499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26248500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26248501, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26249261, 'dashboard_result_id': 14342973, '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_P26249261_27-08-2025_01_46_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26249280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26249281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26249282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26249283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26249284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26249285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26249286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26249287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26249288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26249289, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26249290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26249291, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26249442, 'dashboard_result_id': 14342974, '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_P26249442_27-08-2025_02_03_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26249455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26249456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26249457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26249458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26249459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26249460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26249461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26249462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26249463, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26249464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26249465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26249466, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26249626, 'dashboard_result_id': 14342975, '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_P26249626_27-08-2025_02_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26249632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26249633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26249634, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26249635, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26249636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26249637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26249638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26249639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26249640, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26249641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26249642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26249643, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26249963, 'dashboard_result_id': 14342976, '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_P26249963_27-08-2025_02_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26250016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26250017, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26250018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26250019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26250020, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26250021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26250022, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26250023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26250024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26250025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26250026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26250027, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26250393, 'dashboard_result_id': 14342977, '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_P26250393_27-08-2025_02_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26250403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26250404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26250405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26250406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26250407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26250408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26250409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26250410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26250411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26250412, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26250413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26250414, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26250610, 'dashboard_result_id': 14342978, '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_P26250610_27-08-2025_03_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26250623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26250624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26250625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26250626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26250627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26250628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26250629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26250630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26250631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26250632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26250633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26250634, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26250843, 'dashboard_result_id': 14342979, '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_P26250843_27-08-2025_03_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26250850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26250851, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26250852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26250853, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26250854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26250855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26250856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26250857, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26250858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26250859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26250860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26250861, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26251223, 'dashboard_result_id': 14342980, '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_P26251223_27-08-2025_03_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26251252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26251253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26251254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26251255, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26251256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26251257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26251258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26251259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26251260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26251261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26251262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26251263, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26251509, 'dashboard_result_id': 14342981, '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_P26251509_27-08-2025_03_46_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26251515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26251516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26251517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26251518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26251519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26251520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26251521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26251522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26251523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26251524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26251525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26251526, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26251704, 'dashboard_result_id': 14342982, '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_P26251704_27-08-2025_04_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26251710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26251711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26251712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26251713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26251714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26251715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26251716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26251717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26251718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26251719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26251720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26251721, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26251902, 'dashboard_result_id': 14342983, '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_P26251902_27-08-2025_05_26_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26251912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26251913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26251914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26251915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26251916, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26251917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26251918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26251919, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26251920, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26251921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26251922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26251923, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26252961, 'dashboard_result_id': 14342984, '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_P26252961_27-08-2025_05_16_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26252962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26252963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26252964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26252965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26252966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26252967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26252968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26252969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26252970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26252971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26252972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26252973, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26253054, 'dashboard_result_id': 14342985, '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_P26253054_27-08-2025_05_25_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26253060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26253061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26253062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26253063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26253064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26253065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26253066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26253067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26253068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26253069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26253070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26253071, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26254618, 'dashboard_result_id': 14342986, '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_P26254618_27-08-2025_07_16_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26254633, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26254634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26254635, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26254636, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26254637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26254638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26254639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26254640, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26254641, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26254642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26254643, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26254644, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26254699, 'dashboard_result_id': 14342987, '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_P26254699_27-08-2025_07_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26254710, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26254711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26254712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26254713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26254714, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26254715, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26254716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26254717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26254718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26254719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26254720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26254721, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26255246, 'dashboard_result_id': 14342988, '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_P26255246_27-08-2025_07_53_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26255257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26255258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26255259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26255260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26255261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26255262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26255263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26255264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26255265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26255266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26255267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26255268, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2189787, 'mtr_portfolio_id': 26255608, 'dashboard_result_id': 14342989, '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_P26255608_27-08-2025_08_01_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26255617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26255618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26255619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26255620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26255621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26255622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26255623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26255624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26255625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26255626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26255627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26255628, '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 = 26247297 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 = 26247297 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 = 26247297 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26247297 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 = 26247297 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 = 26247297 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247297_27-08-2025_06_18_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247297 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_P26247297_27-08-2025_06_18_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26247309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26247310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26247311, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26247312, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26247313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26247314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26247315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26247316, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26247317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26247318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26247319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26247320, 'pht': 3726}}" where mtr_portfolio_id = 26247297 and dashboard_run_id = 2189787 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 = 26247585 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 = 26247585 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 = 26247585 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26247585 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 = 26247585 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 = 26247585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247585_27-08-2025_06_19_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247585 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_P26247585_27-08-2025_06_19_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26247597, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26247598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26247599, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26247600, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26247601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26247602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26247603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26247604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26247605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26247606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26247607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26247608, 'pht': 3726}}" where mtr_portfolio_id = 26247585 and dashboard_run_id = 2189787 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 = 26248115 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 = 26248115 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 = 26248115 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26248115 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 = 26248115 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 = 26248115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26248115_27-08-2025_06_20_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26248115 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_P26248115_27-08-2025_06_20_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26248128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26248129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26248130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26248131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26248132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26248133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26248134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26248135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26248136, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26248137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26248138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26248139, 'pht': 3726}}" where mtr_portfolio_id = 26248115 and dashboard_run_id = 2189787 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 = 26248478 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 = 26248478 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 = 26248478 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26248478 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 = 26248478 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 = 26248478 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26248478_27-08-2025_06_21_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26248478 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_P26248478_27-08-2025_06_21_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26248490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26248491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26248492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26248493, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26248494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26248495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26248496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26248497, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26248498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26248499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26248500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26248501, 'pht': 3726}}" where mtr_portfolio_id = 26248478 and dashboard_run_id = 2189787 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 = 26249261 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 = 26249261 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 = 26249261 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249261 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 = 26249261 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 = 26249261 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26249261_27-08-2025_06_21_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26249261 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_P26249261_27-08-2025_06_21_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26249280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26249281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26249282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26249283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26249284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26249285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26249286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26249287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26249288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26249289, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26249290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26249291, 'pht': 3726}}" where mtr_portfolio_id = 26249261 and dashboard_run_id = 2189787 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 = 26249442 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 = 26249442 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 = 26249442 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249442 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 = 26249442 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 = 26249442 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26249442_27-08-2025_06_22_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26249442 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_P26249442_27-08-2025_06_22_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26249455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26249456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26249457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26249458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26249459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26249460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26249461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26249462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26249463, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26249464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26249465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26249466, 'pht': 3726}}" where mtr_portfolio_id = 26249442 and dashboard_run_id = 2189787 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 = 26249626 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 = 26249626 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 = 26249626 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249626 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 = 26249626 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 = 26249626 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26249626_27-08-2025_06_22_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26249626 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_P26249626_27-08-2025_06_22_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26249632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26249633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26249634, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26249635, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26249636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26249637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26249638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26249639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26249640, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26249641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26249642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26249643, 'pht': 3726}}" where mtr_portfolio_id = 26249626 and dashboard_run_id = 2189787 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 = 26249963 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 = 26249963 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 = 26249963 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249963 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 = 26249963 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 = 26249963 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26249963_27-08-2025_06_23_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26249963 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_P26249963_27-08-2025_06_23_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26250016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26250017, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26250018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26250019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26250020, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26250021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26250022, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26250023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26250024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26250025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26250026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26250027, 'pht': 3726}}" where mtr_portfolio_id = 26249963 and dashboard_run_id = 2189787 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 = 26250393 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 = 26250393 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 = 26250393 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26250393 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 = 26250393 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 = 26250393 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26250393_27-08-2025_06_24_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26250393 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_P26250393_27-08-2025_06_24_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26250403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26250404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26250405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26250406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26250407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26250408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26250409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26250410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26250411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26250412, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26250413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26250414, 'pht': 3726}}" where mtr_portfolio_id = 26250393 and dashboard_run_id = 2189787 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 = 26250610 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 = 26250610 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 = 26250610 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26250610 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 = 26250610 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 = 26250610 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26250610_27-08-2025_06_25_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26250610 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_P26250610_27-08-2025_06_25_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26250623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26250624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26250625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26250626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26250627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26250628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26250629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26250630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26250631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26250632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26250633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26250634, 'pht': 3726}}" where mtr_portfolio_id = 26250610 and dashboard_run_id = 2189787 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 = 26250843 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 = 26250843 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 = 26250843 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26250843 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 = 26250843 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 = 26250843 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26250843_27-08-2025_06_25_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26250843 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_P26250843_27-08-2025_06_25_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26250850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26250851, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26250852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26250853, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26250854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26250855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26250856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26250857, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26250858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26250859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26250860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26250861, 'pht': 3726}}" where mtr_portfolio_id = 26250843 and dashboard_run_id = 2189787 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 = 26251223 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 = 26251223 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 = 26251223 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251223 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 = 26251223 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 = 26251223 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26251223_27-08-2025_06_26_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26251223 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_P26251223_27-08-2025_06_26_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26251252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26251253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26251254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26251255, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26251256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26251257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26251258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26251259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26251260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26251261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26251262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26251263, 'pht': 3726}}" where mtr_portfolio_id = 26251223 and dashboard_run_id = 2189787 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 = 26251509 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 = 26251509 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 = 26251509 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251509 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 = 26251509 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 = 26251509 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26251509_27-08-2025_06_26_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26251509 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_P26251509_27-08-2025_06_26_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26251515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26251516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26251517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26251518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26251519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26251520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26251521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26251522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26251523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26251524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26251525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26251526, 'pht': 3726}}" where mtr_portfolio_id = 26251509 and dashboard_run_id = 2189787 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 = 26251704 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 = 26251704 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 = 26251704 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251704 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 = 26251704 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 = 26251704 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26251704_27-08-2025_06_27_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26251704 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_P26251704_27-08-2025_06_27_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26251710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26251711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26251712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26251713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26251714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26251715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26251716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26251717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26251718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26251719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26251720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26251721, 'pht': 3726}}" where mtr_portfolio_id = 26251704 and dashboard_run_id = 2189787 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 = 26251902 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 = 26251902 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 = 26251902 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251902 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 = 26251902 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 = 26251902 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26251902_27-08-2025_06_27_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26251902 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_P26251902_27-08-2025_06_27_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26251912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26251913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26251914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26251915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26251916, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26251917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26251918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26251919, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26251920, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26251921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26251922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26251923, 'pht': 3726}}" where mtr_portfolio_id = 26251902 and dashboard_run_id = 2189787 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 = 26252961 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 = 26252961 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 = 26252961 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26252961 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 = 26252961 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 = 26252961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26252961_27-08-2025_06_28_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26252961 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_P26252961_27-08-2025_06_28_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26252962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26252963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26252964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26252965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26252966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26252967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26252968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26252969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26252970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26252971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26252972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26252973, 'pht': 3726}}" where mtr_portfolio_id = 26252961 and dashboard_run_id = 2189787 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 = 26253054 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 = 26253054 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 = 26253054 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26253054 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 = 26253054 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 = 26253054 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26253054_27-08-2025_06_29_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26253054 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_P26253054_27-08-2025_06_29_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26253060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26253061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26253062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26253063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26253064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26253065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26253066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26253067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26253068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26253069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26253070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26253071, 'pht': 3726}}" where mtr_portfolio_id = 26253054 and dashboard_run_id = 2189787 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 = 26254618 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 = 26254618 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 = 26254618 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26254618 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 = 26254618 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 = 26254618 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26254618_27-08-2025_07_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26254618 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_P26254618_27-08-2025_07_16_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26254633, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26254634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26254635, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26254636, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26254637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26254638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26254639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26254640, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26254641, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26254642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26254643, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26254644, 'pht': 3726}}" where mtr_portfolio_id = 26254618 and dashboard_run_id = 2189789 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 = 26254699 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 = 26254699 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 = 26254699 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26254699 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 = 26254699 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 = 26254699 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26254699_27-08-2025_07_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26254699 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_P26254699_27-08-2025_07_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26254710, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26254711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26254712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26254713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26254714, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26254715, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26254716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26254717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26254718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26254719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26254720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26254721, 'pht': 3726}}" where mtr_portfolio_id = 26254699 and dashboard_run_id = 2189789 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 = 26255246 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 = 26255246 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 = 26255246 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26255246 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 = 26255246 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 = 26255246 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26255246_27-08-2025_07_53_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26255246 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_P26255246_27-08-2025_07_53_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26255257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26255258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26255259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26255260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26255261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26255262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26255263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26255264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26255265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26255266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26255267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26255268, 'pht': 3726}}" where mtr_portfolio_id = 26255246 and dashboard_run_id = 2189789 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 = 26255608 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 = 26255608 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 = 26255608 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26255608 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 = 26255608 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 = 26255608 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26255608_27-08-2025_08_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26255608 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_P26255608_27-08-2025_08_02_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26255617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26255618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26255619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26255620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26255621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26255622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26255623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26255624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26255625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26255626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26255627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26255628, 'pht': 3726}}" where mtr_portfolio_id = 26255608 and dashboard_run_id = 2189789 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26247297,26247585,26248115,26248478,26249261,26249442,26249626,26249963,26250393,26250610,26250843,26251223,26251509,26251704,26251902,26252961,26253054,26254618,26254699,26255246,26255608) result : ((1379565199,), (1379565582,), (1379565584,), (1379565668,), (1379565670,), (1379565672,), (1379565674,), (1379565676,), (1379565678,), (1379566162,), (1379566164,), (1379566166,), (1379566550,), (1379566552,), (1379566554,), (1379566556,), (1379566558,), (1379566945,), (1379566947,), (1379566950,), (1379566952,), (1379567109,), (1379567111,), (1379567113,), (1379567115,), (1379567117,), (1379567119,), (1379567199,), (1379567200,), (1379567201,), (1379567202,), (1379567240,), (1379567241,), (1379567242,), (1379567243,), (1379567361,), (1379567362,), (1379567363,), (1379567451,), (1379567455,), (1379567459,), (1379567463,), (1379567467,), (1379567913,), (1379567915,), (1379567917,), (1379567919,), (1379567921,), (1379567923,), (1379568072,), (1379568074,), (1379568076,), (1379568251,), (1379568241,), (1379568243,), (1379568245,), (1379568247,), (1379568249,), (1379568633,), (1379568635,), (1379568637,), (1379568639,), (1379568641,), (1379568643,), (1379568922,), (1379568924,), (1379568926,), (1379568928,), (1379569072,), (1379569073,), (1379569074,), (1379569075,), (1379569076,), (1379569097,), (1379569098,), (1379569099,), (1379569148,), (1379569192,), (1379569194,), (1379569196,), (1379569247,), (1379569248,), (1379569249,), (1379569250,), (1379569251,), (1379569279,), (1379569280,), (1379569282,), (1379569283,), (1379569343,), (1379569344,), (1379569345,), (1379569346,), (1379569489,), (1379569490,), (1379569491,), (1379569492,), (1379569493,), (1379569528,), (1379569529,), (1379569530,), (1379569531,), (1379569532,), (1379569533,), (1379569590,), (1379569591,), (1379569592,), (1379569593,), (1379569625,), (1379569626,), (1379569627,), (1379569822,), (1379569824,), (1379569826,), (1379570130,), (1379570190,), (1379570192,), (1379570194,), (1379570634,), (1379570627,), (1379571287,), (1379571290,), (1379571294,), (1379571296,), (1379571299,), (1379571986,), (1379571989,), (1379571992,), (1379572689,), (1379572691,), (1379572693,), (1379572696,), (1379572698,), (1379573019,), (1379573021,), (1379573023,), (1379573405,), (1379573406,), (1379573407,), (1379573408,), (1379573409,), (1379573410,), (1379573848,), (1379573850,), (1379573852,), (1379574001,), (1379574002,), (1379574004,), (1379574005,), (1379574006,), (1379574007,), (1379574210,), (1379574245,), (1379574247,), (1379574249,), (1379574251,), (1379574252,), (1379574390,), (1379574391,), (1379574392,), (1379574394,), (1379574396,), (1379574527,), (1379574528,), (1379574529,), (1379574713,), (1379574714,), (1379574715,), (1379574901,), (1379574903,), (1379574905,), (1379574907,), (1379574909,), (1379574910,), (1379575043,), (1379575045,), (1379575047,), (1379575049,), (1379575317,), (1379575318,), (1379575319,), (1379575320,), (1379575479,), (1379575477,), (1379575478,), (1379575561,), (1379575562,), (1379575563,), (1379575564,), (1379575565,), (1379575653,), (1379575700,), (1379575702,), (1379575703,), (1379575704,), (1379575705,), (1379575739,), (1379575740,), (1379575741,), (1379575742,), (1379575755,), (1379575756,), (1379575757,), (1379575758,), (1379575759,), (1379575827,), (1379575830,), (1379575857,), (1379575858,), (1379575859,), (1379575860,), (1379575861,), (1379575886,), (1379575887,), (1379575888,), (1379575916,), (1379575917,), (1379575918,), (1379575919,), (1379575920,), (1379576033,), (1379576034,), (1379576035,), (1379576116,), (1379576117,), (1379576118,), (1379576119,), (1379576120,), (1379576197,), (1379576198,), (1379576199,), (1379576200,), (1379576201,), (1379576219,), (1379576220,), (1379576221,), (1379576222,), (1379576223,), (1379580426,), (1379580420,), (1379580422,), (1379580424,), (1379580899,), (1379580901,), (1379580903,), (1379580905,), (1379581146,), (1379581151,), (1379581313,), (1379581314,), (1379581315,), (1379581317,), (1379581318,), (1379581433,), (1379581434,), (1379581435,), (1379581436,), (1379581522,), (1379581523,), (1379581525,), (1379581585,), (1379581586,), (1379581609,), (1379581610,), (1379581611,), (1379581612,), (1379581613,), (1379581665,), (1379581667,), (1379581669,), (1379581671,), (1379581673,), (1379582109,), (1379582111,), (1379582113,), (1379582115,), (1379582220,), (1379582222,), (1379582224,), (1379582226,), (1379582228,), (1379582375,), (1379582376,), (1379582377,), (1379582378,), (1379582462,), (1379582464,), (1379582467,), (1379582470,), (1379582471,), (1379582530,), (1379582531,), (1379582580,), (1379582581,), (1379582583,), (1379582611,), (1379582608,), (1379582609,), (1379582610,), (1379582636,), (1379582638,), (1379582640,), (1379582642,), (1379582644,), (1379582701,), (1379582702,), (1379582703,), (1379582704,), (1379582727,), (1379582728,), (1379582729,), (1379582730,), (1379582749,), (1379582750,), (1379582751,), (1379582782,), (1379582783,), (1379582784,), (1379582785,), (1379582786,), (1379582787,), (1379582885,), (1379582889,), (1379582893,), (1379582920,), (1379582981,), (1379582982,), (1379583003,), (1379583004,), (1379583005,), (1379583006,), (1379583025,), (1379583026,), (1379583027,), (1379583028,), (1379583029,), (1379583051,), (1379583052,), (1379583079,), (1379583080,), (1379583103,), (1379583104,), (1379583135,), (1379583131,), (1379583132,), (1379583133,), (1379583134,), (1379583161,), (1379583162,), (1379583163,), (1379583164,), (1379583165,), (1379583221,), (1379583222,), (1379583223,), (1379583243,), (1379583244,), (1379583245,), (1379583246,), (1379583247,), (1379583268,), (1379583269,), (1379583270,), (1379583271,), (1379583272,), (1379583273,), (1379583290,), (1379583291,), (1379583292,), (1379583312,), (1379583313,), (1379583336,), (1379583337,), (1379583338,), (1379583356,), (1379583357,), (1379583358,), (1379583379,), (1379583380,), (1379583381,), (1379583629,), (1379583751,), (1379583754,), (1379583758,), (1379583761,), (1379584593,), (1379584594,), (1379584595,), (1379584736,), (1379584737,), (1379584738,), (1379584779,), (1379584780,), (1379584805,), (1379584806,), (1379584811,), (1379584801,), (1379584802,), (1379584803,), (1379584804,), (1379584833,), (1379584834,), (1379584835,), (1379585099,), (1379585459,), (1379585461,), (1379585560,), (1379585564,), (1379585565,), (1379585566,), (1379585567,), (1379585866,), (1379585868,), (1379585870,), (1379586014,), (1379586015,), (1379586016,), (1379586017,), (1379586029,), (1379586030,), (1379586031,), (1379586032,), (1379586047,), (1379586048,), (1379586049,), (1379586050,), (1379586051,), (1379586068,), (1379586069,), (1379586089,), (1379586090,), (1379586091,), (1379586092,), (1379586093,), (1379586094,), (1379586109,), (1379586110,), (1379586111,), (1379586126,), (1379586127,), (1379586149,), (1379586150,), (1379586151,), (1379586152,), (1379586179,), (1379586180,), (1379586181,), (1379586182,), (1379586183,), (1379586184,), (1379586206,), (1379586205,), (1379586231,), (1379586232,), (1379586245,), (1379586246,), (1379586247,), (1379586270,), (1379586271,), (1379586272,), (1379586273,), (1379586274,), (1379586296,), (1379586297,), (1379586298,), (1379586299,), (1379586300,), (1379586321,), (1379586322,), (1379586323,), (1379586324,), (1379586325,), (1379586342,), (1379586360,), (1379586361,), (1379586362,), (1379586363,), (1379586379,), (1379586380,), (1379586381,), (1379586382,), (1379586383,), (1379586401,), (1379586402,), (1379586403,), (1379586452,), (1379586453,), (1379586454,), (1379586455,), (1379586456,), (1379586477,), (1379586478,), (1379586479,), (1379586480,), (1379586517,), (1379586518,), (1379586543,), (1379586544,), (1379586545,), (1379586546,), (1379586571,), (1379586567,), (1379586568,), (1379586569,), (1379586570,), (1379586597,), (1379586598,), (1379586599,), (1379586600,), (1379586625,), (1379586626,), (1379586627,), (1379586628,), (1379586629,), (1379586645,), (1379586646,), (1379586647,), (1379586648,), (1379586669,), (1379586670,), (1379586671,), (1379586726,), (1379586727,), (1379586728,), (1379586742,), (1379586743,), (1379586744,), (1379586761,), (1379586762,), (1379586763,), (1379586764,), (1379586765,), (1379586785,), (1379586786,), (1379586787,), (1379586788,), (1379586814,), (1379586815,), (1379586816,), (1379586837,), (1379586838,), (1379586875,), (1379586876,), (1379586877,), (1379586878,), (1379586891,), (1379586892,), (1379586918,), (1379586919,), (1379586928,), (1379586929,), (1379586931,), (1379586932,), (1379586978,), (1379586976,), (1379586977,), (1379587105,), (1379587107,), (1379587483,), (1379587485,), (1379587729,), (1379587730,), (1379587845,), (1379587847,), (1379587850,), (1379587852,), (1379587854,), (1379587855,), (1379588326,), (1379588327,), (1379588328,), (1379588329,), (1379588330,), (1379588750,), (1379588752,), (1379588754,), (1379589121,), (1379589122,), (1379589124,), (1379589446,), (1379589447,), (1379589448,), (1379589449,), (1379589613,), (1379589614,), (1379589615,), (1379589732,), (1379589733,), (1379589755,), (1379589756,), (1379589757,), (1379589758,), (1379589759,), (1379589771,), (1379589772,), (1379589773,), (1379589774,), (1379589794,), (1379589795,), (1379589796,), (1379589797,), (1379589798,), (1379589822,), (1379589823,), (1379589824,), (1379589825,), (1379589826,), (1379589845,), (1379589841,), (1379589842,), (1379589843,), (1379589844,), (1379589865,), (1379589866,), (1379589880,), (1379589881,), (1379589882,), (1379589883,), (1379589904,), (1379589905,), (1379589906,), (1379589907,), (1379589908,), (1379589928,), (1379589929,), (1379589930,), (1379589949,), (1379589950,), (1379589951,), (1379589977,), (1379589978,), (1379589995,), (1379589996,), (1379589997,), (1379590015,), (1379590016,), (1379590037,), (1379590038,), (1379590039,), (1379590062,), (1379590063,), (1379590064,), (1379590085,), (1379590086,), (1379590105,), (1379590106,), (1379590107,), (1379590108,), (1379590132,), (1379590133,), (1379590134,), (1379590135,), (1379590150,), (1379590152,), (1379590188,), (1379590187,), (1379590222,), (1379590223,), (1379590243,), (1379590244,), (1379590245,), (1379590247,), (1379590268,), (1379590269,), (1379590291,), (1379590310,), (1379590311,), (1379590312,), (1379590313,), (1379590337,), (1379590338,), (1379590355,), (1379590356,), (1379590357,), (1379590380,), (1379590412,), (1379590413,), (1379590416,), (1379590417,), (1379590456,), (1379590519,), (1379590520,), (1379590521,), (1379590534,), (1379590535,), (1379590536,), (1379590556,), (1379590557,), (1379590558,), (1379590559,), (1379590574,), (1379590575,), (1379590576,), (1379590597,), (1379590596,), (1379590617,), (1379590618,), (1379590695,), (1379590696,), (1379590697,), (1379590698,), (1379590699,), (1379590718,), (1379590719,), (1379590720,), (1379590721,), (1379590751,), (1379590752,), (1379590753,), (1379590754,), (1379590821,), (1379590825,), (1379590826,), (1379590827,), (1379590828,), (1379590922,), (1379590923,), (1379590924,), (1379590925,), (1379590926,), (1379591093,), (1379591094,), (1379591095,), (1379591096,), (1379591116,), (1379591117,), (1379591118,), (1379591119,), (1379591141,), (1379591142,), (1379591143,), (1379591162,), (1379591163,), (1379591184,), (1379591185,), (1379591186,), (1379591187,), (1379591188,), (1379591238,), (1379591239,), (1379591240,), (1379591241,), (1379591242,), (1379591243,), (1379591284,), (1379591285,), (1379591286,), (1379591287,), (1379591299,), (1379591301,), (1379591304,), (1379591306,), (1379591566,), (1379591562,), (1379591564,), (1379591914,), (1379591916,), (1379592353,), (1379592355,), (1379592357,), (1379593046,), (1379593048,), (1379593050,), (1379593052,), (1379593354,), (1379593355,), (1379593534,), (1379593536,), (1379593629,), (1379593630,), (1379593657,), (1379598426,), (1379598425,), (1379598797,), (1379598799,), (1379599157,), (1379600124,), (1379600125,), (1379600127,), (1379600337,), (1379600338,), (1379600339,), (1379600340,), (1379600341,), (1379600395,), (1379600396,), (1379600397,), (1379600398,), (1379600399,), (1379600428,), (1379600429,), (1379600430,), (1379600431,), (1379600458,), (1379600457,), (1379600483,), (1379600484,), (1379600557,), (1379600558,), (1379600559,), (1379600560,), (1379600561,), (1379600578,), (1379600579,), (1379600580,), (1379600597,), (1379600636,), (1379600663,), (1379600664,), (1379600665,), (1379600666,), (1379600737,), (1379600738,), (1379600761,), (1379600762,), (1379600845,), (1379600846,), (1379600847,), (1379600870,), (1379600871,), (1379600896,), (1379600897,), (1379600898,), (1379600919,), (1379600920,), (1379600922,), (1379600923,), (1379600945,), (1379608410,), (1379609195,), (1379609287,), (1379609341,), (1379609763,), (1379609765,), (1379610019,), (1379610020,), (1379610021,), (1379610274,), (1379610266,), (1379610268,), (1379610270,), (1379610272,), (1379610418,), (1379610474,), (1379610475,), (1379610476,), (1379610574,), (1379610576,), (1379610578,), (1379610580,), (1379610582,), (1379610828,), (1379610830,), (1379610832,), (1379610834,), (1379610836,), (1379611055,), (1379611056,), (1379611057,), (1379611058,), (1379611107,), (1379611110,), (1379611111,), (1379611142,), (1379611143,), (1379611144,), (1379611193,), (1379611195,), (1379611197,), (1379611199,), (1379611201,), (1379611203,), (1379611340,), (1379611342,), (1379611344,), (1379611346,), (1379611349,), (1379611453,), (1379611454,), (1379611455,), (1379611456,), (1379611613,), (1379611614,), (1379611615,), (1379611616,), (1379611736,), (1379611737,), (1379611738,), (1379611739,), (1379611837,), (1379611838,), (1379611839,), (1379612107,), (1379612108,), (1379612359,), (1379612347,), (1379612350,), (1379612353,), (1379612356,), (1379612432,), (1379612433,), (1379612434,), (1379612435,), (1379612476,), (1379612477,), (1379612478,), (1379612479,), (1379612480,), (1379612567,), (1379612569,), (1379612571,), (1379612573,), (1379612575,), (1379612577,), (1379612931,), (1379612932,), (1379612933,), (1379612934,), (1379612935,), (1379612972,), (1379613094,), (1379613182,), (1379613231,), (1379613232,), (1379613340,), (1379613342,), (1379613344,), (1379614506,), (1379614630,), (1379614662,), (1379614663,), (1379614664,), (1379614706,), (1379614707,), (1379614736,), (1379614737,), (1379614738,), (1379614739,), (1379614740,), (1379614788,), (1379614789,), (1379614790,), (1379614791,), (1379614840,), (1379614877,), (1379614879,), (1379615779,), (1379615780,), (1379615781,), (1379615970,), (1379615971,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'27082025': {'nb_upload': 23, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26255608]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1379615971, 1379615970] map_info['map_portfolio_photo'] : {26255608: [1379615971, 1379615970, 1379615781, 1379615780, 1379615779, 1379614879, 1379614877, 1379614840, 1379614791, 1379614790, 1379614789, 1379614788, 1379614740, 1379614739, 1379614738, 1379614737, 1379614736, 1379614707, 1379614706, 1379614664, 1379614663, 1379614662, 1379614630]} final : True mtd_id 4302 list_pids : [1379615971, 1379615970] Looping around the photos to save general results len do output : 1 /26255608Didn'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, '3609734') ('4302', '26255608', '1379615971', None, None, None, None, None, '3609734') ('4302', None, None, None, None, None, None, None, '3609734') ('4302', '26255608', '1379615970', None, None, None, None, None, '3609734') 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', None, '26255608', 'None', None, None, None, None, '3609734'), ('4302', '26255608', '1379615971', None, None, None, None, None, '3609734'), ('4302', '26255608', '1379615970', None, None, None, None, None, '3609734')] time used for this insertion : 0.05068039894104004 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.236168146133423 time spend to save output : 0.0508878231048584 total time spend for step 5 : 2.2870559692382812 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 (3609734) 1.73user 2.44system 0:07.94elapsed 52%CPU (0avgtext+0avgdata 159296maxresident)k 344inputs+1608outputs (0major+63644minor)pagefaults 0swaps