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 : 2474279 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 (4199864) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4199864) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29274819 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4199864'] with mtr_portfolio_ids : ['29274819'] and first list_photo_ids : [] new path : /proc/2474279/ Name: python3 Umask: 0002 State: R (running) Tgid: 2474279 Ngid: 0 Pid: 2474279 PPid: 2474278 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2474279 NSpid: 2474279 NSpgid: 2472727 NSsid: 2472727 VmPeak: 1113364 kB VmSize: 1113364 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 104544 kB VmRSS: 104544 kB RssAnon: 66296 kB RssFile: 38248 kB RssShmem: 0 kB VmData: 872092 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 620 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 48 nonvoluntary_ctxt_switches: 96 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2474279', 'Ngid': '0', 'Pid': '2474279', 'PPid': '2474278', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2474279', 'NSpid': '2474279', 'NSpgid': '2472727', 'NSsid': '2472727', 'VmPeak': '1113364 kB', 'VmSize': '1113364 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '104544 kB', 'VmRSS': '104544 kB', 'RssAnon': '66296 kB', 'RssFile': '38248 kB', 'RssShmem': '0 kB', 'VmData': '872092 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '620 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '48', 'nonvoluntary_ctxt_switches': '96'} ('datou_batch_current', '2474279', '1113364', '0', '1113364', '872092', '104544', b'', 'marlene', '4199864') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (29274819) 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 (4199864 ) ) 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 (29274819) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1398525745, 'portfolio_id': 29274819}, {'photo_id': 1398525743, 'portfolio_id': 29274819}, {'photo_id': 1398525740, 'portfolio_id': 29274819}, {'photo_id': 1398525730, 'portfolio_id': 29274819}, {'photo_id': 1398525717, 'portfolio_id': 29274819}, {'photo_id': 1398525715, 'portfolio_id': 29274819}, {'photo_id': 1398525654, 'portfolio_id': 29274819}, {'photo_id': 1398525653, 'portfolio_id': 29274819}, {'photo_id': 1398525652, 'portfolio_id': 29274819}, {'photo_id': 1398525650, 'portfolio_id': 29274819}, {'photo_id': 1398525593, 'portfolio_id': 29274819}, {'photo_id': 1398525586, 'portfolio_id': 29274819}, {'photo_id': 1398525584, 'portfolio_id': 29274819}, {'photo_id': 1398525561, 'portfolio_id': 29274819}, {'photo_id': 1398525556, 'portfolio_id': 29274819}, {'photo_id': 1398525538, 'portfolio_id': 29274819}, {'photo_id': 1398525399, 'portfolio_id': 29274819}, {'photo_id': 1398525396, 'portfolio_id': 29274819}, {'photo_id': 1398525395, 'portfolio_id': 29274819}, {'photo_id': 1398525394, 'portfolio_id': 29274819}, {'photo_id': 1398525384, 'portfolio_id': 29274819}, {'photo_id': 1398525382, 'portfolio_id': 29274819}, {'photo_id': 1398525379, 'portfolio_id': 29274819}, {'photo_id': 1398525371, 'portfolio_id': 29274819}, {'photo_id': 1398525351, 'portfolio_id': 29274819}, {'photo_id': 1398525350, 'portfolio_id': 29274819}, {'photo_id': 1398525343, 'portfolio_id': 29274819}, {'photo_id': 1398525341, 'portfolio_id': 29274819}, {'photo_id': 1398525337, 'portfolio_id': 29274819}, {'photo_id': 1398525336, 'portfolio_id': 29274819}, {'photo_id': 1398525334, 'portfolio_id': 29274819}, {'photo_id': 1398525333, 'portfolio_id': 29274819}, {'photo_id': 1398525214, 'portfolio_id': 29274819}, {'photo_id': 1398525213, 'portfolio_id': 29274819}, {'photo_id': 1398525183, 'portfolio_id': 29274819}, {'photo_id': 1398525140, 'portfolio_id': 29274819}, {'photo_id': 1398525101, 'portfolio_id': 29274819}, {'photo_id': 1398525059, 'portfolio_id': 29274819}, {'photo_id': 1398525017, 'portfolio_id': 29274819}, {'photo_id': 1398525013, 'portfolio_id': 29274819}, {'photo_id': 1398525011, 'portfolio_id': 29274819}, {'photo_id': 1398525010, 'portfolio_id': 29274819}, {'photo_id': 1398525009, 'portfolio_id': 29274819}, {'photo_id': 1398524950, 'portfolio_id': 29274819}, {'photo_id': 1398524947, 'portfolio_id': 29274819}, {'photo_id': 1398524945, 'portfolio_id': 29274819}, {'photo_id': 1398524937, 'portfolio_id': 29274819}, {'photo_id': 1398524933, 'portfolio_id': 29274819}, {'photo_id': 1398524929, 'portfolio_id': 29274819}, {'photo_id': 1398524926, 'portfolio_id': 29274819}, {'photo_id': 1398524888, 'portfolio_id': 29274819}, {'photo_id': 1398524886, 'portfolio_id': 29274819}, {'photo_id': 1398524884, 'portfolio_id': 29274819}] map_portfolio_id_photo_id: {29274819: [1398525745, 1398525743, 1398525740, 1398525730, 1398525717, 1398525715, 1398525654, 1398525653, 1398525652, 1398525650, 1398525593, 1398525586, 1398525584, 1398525561, 1398525556, 1398525538, 1398525399, 1398525396, 1398525395, 1398525394, 1398525384, 1398525382, 1398525379, 1398525371, 1398525351, 1398525350, 1398525343, 1398525341, 1398525337, 1398525336, 1398525334, 1398525333, 1398525214, 1398525213, 1398525183, 1398525140, 1398525101, 1398525059, 1398525017, 1398525013, 1398525011, 1398525010, 1398525009, 1398524950, 1398524947, 1398524945, 1398524937, 1398524933, 1398524929, 1398524926, 1398524888, 1398524886, 1398524884]} ##### 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.020038366317749023 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Tue Dec 9 18:56: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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29274819) 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 : 29274819 get user id for portfolio 29274819 get sub ptf for main ptf 29274819, type 3726 and hashtags ['metal', 'cartonnette', 'autre_refus', 'Teint_Dans_La_Masse', 'Carton_brun', 'environnement', 'plastique', 'flou', 'Carton_gris', 'mal_croppe', 'papier', 'kraft'] 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`=29274819 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','cartonnette','autre_refus','Teint_Dans_La_Masse','Carton_brun','environnement','plastique','flou','Carton_gris','mal_croppe','papier','kraft')) 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`=29274819 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','cartonnette','autre_refus','Teint_Dans_La_Masse','Carton_brun','environnement','plastique','flou','Carton_gris','mal_croppe','papier','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 29274819, 'sub_port_id': 29274822, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920309, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 48, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 29274819, 'sub_port_id': 29274823, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920310, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 48, 58)}, 'Carton_gris': {'main_port_id': 29274819, 'sub_port_id': 29274824, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920311, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 48, 58)}, 'plastique': {'main_port_id': 29274819, 'sub_port_id': 29274825, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920312, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 48, 58)}, 'metal': {'main_port_id': 29274819, 'sub_port_id': 29274826, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920313, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 48, 58)}, 'mal_croppe': {'main_port_id': 29274819, 'sub_port_id': 29274827, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920314, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 48, 58)}, 'environnement': {'main_port_id': 29274819, 'sub_port_id': 29274828, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920315, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 48, 58)}, 'autre_refus': {'main_port_id': 29274819, 'sub_port_id': 29274829, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920316, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 48, 58)}, 'cartonnette': {'main_port_id': 29274819, 'sub_port_id': 29274830, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920317, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 48, 58)}, 'Carton_brun': {'main_port_id': 29274819, 'sub_port_id': 29274831, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920318, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 48, 58)}, 'papier': {'main_port_id': 29274819, 'sub_port_id': 29274832, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920319, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 48, 58)}, 'flou': {'main_port_id': 29274819, 'sub_port_id': 29274833, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920320, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 48, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29274822 , 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=29274819 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 (29274822) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29274819) result : ((1398524884,), (1398524886,), (1398524888,), (1398524926,), (1398524929,), (1398524933,), (1398524937,), (1398524945,), (1398524947,), (1398524950,), (1398525009,), (1398525010,), (1398525011,), (1398525013,), (1398525017,), (1398525059,), (1398525101,), (1398525140,), (1398525183,), (1398525213,), (1398525214,), (1398525333,), (1398525334,), (1398525336,), (1398525337,), (1398525341,), (1398525343,), (1398525350,), (1398525351,), (1398525371,), (1398525379,), (1398525382,), (1398525384,), (1398525394,), (1398525395,), (1398525396,), (1398525399,), (1398525538,), (1398525556,), (1398525561,), (1398525584,), (1398525586,), (1398525593,), (1398525650,), (1398525652,), (1398525653,), (1398525654,), (1398525715,), (1398525717,), (1398525730,), (1398525740,), (1398525743,), (1398525745,)) 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 29274823 , 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=29274819 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 (29274823) result : ((1398525339,), (1398525587,), (1398525588,), (1398525619,), (1398525620,), (1398525621,), (1398525622,), (1398525623,), (1398525624,), (1398525625,), (1398525626,), (1398525627,), (1398525628,), (1398525721,), (1398525722,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29274819) result : ((1398524884,), (1398524886,), (1398524888,), (1398524926,), (1398524929,), (1398524933,), (1398524937,), (1398524945,), (1398524947,), (1398524950,), (1398525009,), (1398525010,), (1398525011,), (1398525013,), (1398525017,), (1398525059,), (1398525101,), (1398525140,), (1398525183,), (1398525213,), (1398525214,), (1398525333,), (1398525334,), (1398525336,), (1398525337,), (1398525341,), (1398525343,), (1398525350,), (1398525351,), (1398525371,), (1398525379,), (1398525382,), (1398525384,), (1398525394,), (1398525395,), (1398525396,), (1398525399,), (1398525538,), (1398525556,), (1398525561,), (1398525584,), (1398525586,), (1398525593,), (1398525650,), (1398525652,), (1398525653,), (1398525654,), (1398525715,), (1398525717,), (1398525730,), (1398525740,), (1398525743,), (1398525745,)) 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 29274824 , 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=29274819 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 (29274824) result : ((1398525591,), (1398525592,), (1398525637,), (1398525638,), (1398525727,), (1398525728,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29274819) result : ((1398524884,), (1398524886,), (1398524888,), (1398524926,), (1398524929,), (1398524933,), (1398524937,), (1398524945,), (1398524947,), (1398524950,), (1398525009,), (1398525010,), (1398525011,), (1398525013,), (1398525017,), (1398525059,), (1398525101,), (1398525140,), (1398525183,), (1398525213,), (1398525214,), (1398525333,), (1398525334,), (1398525336,), (1398525337,), (1398525341,), (1398525343,), (1398525350,), (1398525351,), (1398525371,), (1398525379,), (1398525382,), (1398525384,), (1398525394,), (1398525395,), (1398525396,), (1398525399,), (1398525538,), (1398525556,), (1398525561,), (1398525584,), (1398525586,), (1398525593,), (1398525650,), (1398525652,), (1398525653,), (1398525654,), (1398525715,), (1398525717,), (1398525730,), (1398525740,), (1398525743,), (1398525745,)) 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 29274825 , 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=29274819 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 (29274825) result : ((1398525342,), (1398525344,), (1398525345,), (1398525738,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29274819) result : ((1398524884,), (1398524886,), (1398524888,), (1398524926,), (1398524929,), (1398524933,), (1398524937,), (1398524945,), (1398524947,), (1398524950,), (1398525009,), (1398525010,), (1398525011,), (1398525013,), (1398525017,), (1398525059,), (1398525101,), (1398525140,), (1398525183,), (1398525213,), (1398525214,), (1398525333,), (1398525334,), (1398525336,), (1398525337,), (1398525341,), (1398525343,), (1398525350,), (1398525351,), (1398525371,), (1398525379,), (1398525382,), (1398525384,), (1398525394,), (1398525395,), (1398525396,), (1398525399,), (1398525538,), (1398525556,), (1398525561,), (1398525584,), (1398525586,), (1398525593,), (1398525650,), (1398525652,), (1398525653,), (1398525654,), (1398525715,), (1398525717,), (1398525730,), (1398525740,), (1398525743,), (1398525745,)) 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 29274826 , 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=29274819 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 (29274826) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29274819) result : ((1398524884,), (1398524886,), (1398524888,), (1398524926,), (1398524929,), (1398524933,), (1398524937,), (1398524945,), (1398524947,), (1398524950,), (1398525009,), (1398525010,), (1398525011,), (1398525013,), (1398525017,), (1398525059,), (1398525101,), (1398525140,), (1398525183,), (1398525213,), (1398525214,), (1398525333,), (1398525334,), (1398525336,), (1398525337,), (1398525341,), (1398525343,), (1398525350,), (1398525351,), (1398525371,), (1398525379,), (1398525382,), (1398525384,), (1398525394,), (1398525395,), (1398525396,), (1398525399,), (1398525538,), (1398525556,), (1398525561,), (1398525584,), (1398525586,), (1398525593,), (1398525650,), (1398525652,), (1398525653,), (1398525654,), (1398525715,), (1398525717,), (1398525730,), (1398525740,), (1398525743,), (1398525745,)) 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 29274827 , 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=29274819 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 (29274827) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29274819) result : ((1398524884,), (1398524886,), (1398524888,), (1398524926,), (1398524929,), (1398524933,), (1398524937,), (1398524945,), (1398524947,), (1398524950,), (1398525009,), (1398525010,), (1398525011,), (1398525013,), (1398525017,), (1398525059,), (1398525101,), (1398525140,), (1398525183,), (1398525213,), (1398525214,), (1398525333,), (1398525334,), (1398525336,), (1398525337,), (1398525341,), (1398525343,), (1398525350,), (1398525351,), (1398525371,), (1398525379,), (1398525382,), (1398525384,), (1398525394,), (1398525395,), (1398525396,), (1398525399,), (1398525538,), (1398525556,), (1398525561,), (1398525584,), (1398525586,), (1398525593,), (1398525650,), (1398525652,), (1398525653,), (1398525654,), (1398525715,), (1398525717,), (1398525730,), (1398525740,), (1398525743,), (1398525745,)) 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 29274828 , 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=29274819 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 (29274828) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29274819) result : ((1398524884,), (1398524886,), (1398524888,), (1398524926,), (1398524929,), (1398524933,), (1398524937,), (1398524945,), (1398524947,), (1398524950,), (1398525009,), (1398525010,), (1398525011,), (1398525013,), (1398525017,), (1398525059,), (1398525101,), (1398525140,), (1398525183,), (1398525213,), (1398525214,), (1398525333,), (1398525334,), (1398525336,), (1398525337,), (1398525341,), (1398525343,), (1398525350,), (1398525351,), (1398525371,), (1398525379,), (1398525382,), (1398525384,), (1398525394,), (1398525395,), (1398525396,), (1398525399,), (1398525538,), (1398525556,), (1398525561,), (1398525584,), (1398525586,), (1398525593,), (1398525650,), (1398525652,), (1398525653,), (1398525654,), (1398525715,), (1398525717,), (1398525730,), (1398525740,), (1398525743,), (1398525745,)) 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 29274829 , 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=29274819 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 (29274829) result : ((1398525590,), (1398525630,), (1398525631,), (1398525633,), (1398525634,), (1398525635,), (1398525636,), (1398525723,), (1398525724,), (1398525725,), (1398525726,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29274819) result : ((1398524884,), (1398524886,), (1398524888,), (1398524926,), (1398524929,), (1398524933,), (1398524937,), (1398524945,), (1398524947,), (1398524950,), (1398525009,), (1398525010,), (1398525011,), (1398525013,), (1398525017,), (1398525059,), (1398525101,), (1398525140,), (1398525183,), (1398525213,), (1398525214,), (1398525333,), (1398525334,), (1398525336,), (1398525337,), (1398525341,), (1398525343,), (1398525350,), (1398525351,), (1398525371,), (1398525379,), (1398525382,), (1398525384,), (1398525394,), (1398525395,), (1398525396,), (1398525399,), (1398525538,), (1398525556,), (1398525561,), (1398525584,), (1398525586,), (1398525593,), (1398525650,), (1398525652,), (1398525653,), (1398525654,), (1398525715,), (1398525717,), (1398525730,), (1398525740,), (1398525743,), (1398525745,)) 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 29274830 , 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=29274819 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 (29274830) result : ((1398525639,), (1398525640,), (1398525733,), (1398525734,), (1398525735,), (1398525736,), (1398525737,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29274819) result : ((1398524884,), (1398524886,), (1398524888,), (1398524926,), (1398524929,), (1398524933,), (1398524937,), (1398524945,), (1398524947,), (1398524950,), (1398525009,), (1398525010,), (1398525011,), (1398525013,), (1398525017,), (1398525059,), (1398525101,), (1398525140,), (1398525183,), (1398525213,), (1398525214,), (1398525333,), (1398525334,), (1398525336,), (1398525337,), (1398525341,), (1398525343,), (1398525350,), (1398525351,), (1398525371,), (1398525379,), (1398525382,), (1398525384,), (1398525394,), (1398525395,), (1398525396,), (1398525399,), (1398525538,), (1398525556,), (1398525561,), (1398525584,), (1398525586,), (1398525593,), (1398525650,), (1398525652,), (1398525653,), (1398525654,), (1398525715,), (1398525717,), (1398525730,), (1398525740,), (1398525743,), (1398525745,)) 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 29274831 , 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=29274819 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 (29274831) result : ((1398525031,), (1398525340,), (1398525643,), (1398525644,), (1398525645,), (1398525646,), (1398525647,), (1398525648,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29274819) result : ((1398524884,), (1398524886,), (1398524888,), (1398524926,), (1398524929,), (1398524933,), (1398524937,), (1398524945,), (1398524947,), (1398524950,), (1398525009,), (1398525010,), (1398525011,), (1398525013,), (1398525017,), (1398525059,), (1398525101,), (1398525140,), (1398525183,), (1398525213,), (1398525214,), (1398525333,), (1398525334,), (1398525336,), (1398525337,), (1398525341,), (1398525343,), (1398525350,), (1398525351,), (1398525371,), (1398525379,), (1398525382,), (1398525384,), (1398525394,), (1398525395,), (1398525396,), (1398525399,), (1398525538,), (1398525556,), (1398525561,), (1398525584,), (1398525586,), (1398525593,), (1398525650,), (1398525652,), (1398525653,), (1398525654,), (1398525715,), (1398525717,), (1398525730,), (1398525740,), (1398525743,), (1398525745,)) 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 29274832 , 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=29274819 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 (29274832) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29274819) result : ((1398524884,), (1398524886,), (1398524888,), (1398524926,), (1398524929,), (1398524933,), (1398524937,), (1398524945,), (1398524947,), (1398524950,), (1398525009,), (1398525010,), (1398525011,), (1398525013,), (1398525017,), (1398525059,), (1398525101,), (1398525140,), (1398525183,), (1398525213,), (1398525214,), (1398525333,), (1398525334,), (1398525336,), (1398525337,), (1398525341,), (1398525343,), (1398525350,), (1398525351,), (1398525371,), (1398525379,), (1398525382,), (1398525384,), (1398525394,), (1398525395,), (1398525396,), (1398525399,), (1398525538,), (1398525556,), (1398525561,), (1398525584,), (1398525586,), (1398525593,), (1398525650,), (1398525652,), (1398525653,), (1398525654,), (1398525715,), (1398525717,), (1398525730,), (1398525740,), (1398525743,), (1398525745,)) 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 29274833 , 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=29274819 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 (29274833) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29274819) result : ((1398524884,), (1398524886,), (1398524888,), (1398524926,), (1398524929,), (1398524933,), (1398524937,), (1398524945,), (1398524947,), (1398524950,), (1398525009,), (1398525010,), (1398525011,), (1398525013,), (1398525017,), (1398525059,), (1398525101,), (1398525140,), (1398525183,), (1398525213,), (1398525214,), (1398525333,), (1398525334,), (1398525336,), (1398525337,), (1398525341,), (1398525343,), (1398525350,), (1398525351,), (1398525371,), (1398525379,), (1398525382,), (1398525384,), (1398525394,), (1398525395,), (1398525396,), (1398525399,), (1398525538,), (1398525556,), (1398525561,), (1398525584,), (1398525586,), (1398525593,), (1398525650,), (1398525652,), (1398525653,), (1398525654,), (1398525715,), (1398525717,), (1398525730,), (1398525740,), (1398525743,), (1398525745,)) 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`=29274819 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','cartonnette','autre_refus','Teint_Dans_La_Masse','Carton_brun','environnement','plastique','flou','Carton_gris','mal_croppe','papier','kraft')) 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`=29274819 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','cartonnette','autre_refus','Teint_Dans_La_Masse','Carton_brun','environnement','plastique','flou','Carton_gris','mal_croppe','papier','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 29274819, 'sub_port_id': 29274834, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920321, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 49, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 29274819, 'sub_port_id': 29274835, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920322, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 49, 1)}, 'Carton_gris': {'main_port_id': 29274819, 'sub_port_id': 29274836, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920323, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 49, 1)}, 'plastique': {'main_port_id': 29274819, 'sub_port_id': 29274837, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920324, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 49, 1)}, 'metal': {'main_port_id': 29274819, 'sub_port_id': 29274838, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920325, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 49, 1)}, 'mal_croppe': {'main_port_id': 29274819, 'sub_port_id': 29274839, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920326, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 49, 1)}, 'environnement': {'main_port_id': 29274819, 'sub_port_id': 29274840, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920327, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 49, 1)}, 'autre_refus': {'main_port_id': 29274819, 'sub_port_id': 29274841, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920328, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 49, 1)}, 'cartonnette': {'main_port_id': 29274819, 'sub_port_id': 29274842, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920329, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 49, 1)}, 'Carton_brun': {'main_port_id': 29274819, 'sub_port_id': 29274843, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920330, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 49, 1)}, 'papier': {'main_port_id': 29274819, 'sub_port_id': 29274844, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920331, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 49, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 49, 1)}, 'flou': {'main_port_id': 29274819, 'sub_port_id': 29274845, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19920332, 'last_updated_at': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 18, 55), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 18, 49, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29274834,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29274822 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29274835,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29274823 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29274836,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29274824 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29274837,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29274825 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29274838,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29274826 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29274839,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29274827 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29274840,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29274828 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29274841,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29274829 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29274842,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29274830 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29274843,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29274831 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29274844,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29274832 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29274845,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29274833 lien utilise dans velours : https://marlene.fotonower.com/velours/29274834,29274835,29274836,29274837,29274838,29274839,29274840,29274841,29274842,29274843,29274844,29274845?tags=kraft,Teint_Dans_La_Masse,Carton_gris,plastique,metal,mal_croppe,environnement,autre_refus,cartonnette,Carton_brun,papier,flou After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29274819]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1398525745, 1398525743, 1398525740, 1398525730, 1398525717, 1398525715, 1398525654, 1398525653, 1398525652, 1398525650] map_info['map_portfolio_photo'] : {29274819: [1398525745, 1398525743, 1398525740, 1398525730, 1398525717, 1398525715, 1398525654, 1398525653, 1398525652, 1398525650, 1398525593, 1398525586, 1398525584, 1398525561, 1398525556, 1398525538, 1398525399, 1398525396, 1398525395, 1398525394, 1398525384, 1398525382, 1398525379, 1398525371, 1398525351, 1398525350, 1398525343, 1398525341, 1398525337, 1398525336, 1398525334, 1398525333, 1398525214, 1398525213, 1398525183, 1398525140, 1398525101, 1398525059, 1398525017, 1398525013, 1398525011, 1398525010, 1398525009, 1398524950, 1398524947, 1398524945, 1398524937, 1398524933, 1398524929, 1398524926, 1398524888, 1398524886, 1398524884]} final : False mtd_id 4302 list_pids : [1398525745, 1398525743, 1398525740, 1398525730, 1398525717, 1398525715, 1398525654, 1398525653, 1398525652, 1398525650] Looping around the photos to save general results len do output : 1 /29274819. 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, '4199864') ('4302', '29274819', '1398525745', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525743', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525740', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525730', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525717', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525715', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525654', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525653', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525652', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525650', None, None, None, None, None, '4199864') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 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, '29274819', "{'kraft': 29274822, 'Teint_Dans_La_Masse': 29274823, 'Carton_gris': 29274824, 'plastique': 29274825, 'metal': 29274826, 'mal_croppe': 29274827, 'environnement': 29274828, 'autre_refus': 29274829, 'cartonnette': 29274830, 'Carton_brun': 29274831, 'papier': 29274832, 'flou': 29274833}", None, None, None, None, '4199864'), ('4302', '29274819', '1398525745', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525743', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525740', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525730', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525717', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525715', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525654', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525653', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525652', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525650', None, None, None, None, None, '4199864')] time used for this insertion : 0.015464067459106445 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.937138319015503 time spend to save output : 0.015826702117919922 total time spend for step 1 : 1.9529650211334229 step2:final Tue Dec 9 18:57:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 (29274819) 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 29274819 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1398524888,1398524886,1398524884,1398524937,1398524933,1398524929,1398524926,1398524950,1398524947,1398524945,1398525017,1398525013,1398525011,1398525010,1398525009,1398525214,1398525213,1398525183,1398525140,1398525101,1398525059,1398525384,1398525382,1398525379,1398525371,1398525351,1398525350,1398525343,1398525341,1398525337,1398525336,1398525334,1398525333,1398525399,1398525396,1398525395,1398525394,1398525593,1398525586,1398525584,1398525561,1398525556,1398525538,1398525654,1398525653,1398525652,1398525650,1398525745,1398525743,1398525740,1398525730,1398525717,1398525715); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29274819]) Inside saveOutput : final : False verbose : True original output for save of step final : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ('0.04482265795277947',), 1398525715: ('0.04482265795277947',), 1398525654: ('0.04482265795277947',), 1398525653: ('0.04482265795277947',), 1398525652: ('0.04482265795277947',), 1398525650: ('0.04482265795277947',)} new output for save of step final : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ('0.04482265795277947',), 1398525715: ('0.04482265795277947',), 1398525654: ('0.04482265795277947',), 1398525653: ('0.04482265795277947',), 1398525652: ('0.04482265795277947',), 1398525650: ('0.04482265795277947',)} [1398525745, 1398525743, 1398525740, 1398525730, 1398525717, 1398525715, 1398525654, 1398525653, 1398525652, 1398525650] map_info['map_portfolio_photo'] : {29274819: [1398525745, 1398525743, 1398525740, 1398525730, 1398525717, 1398525715, 1398525654, 1398525653, 1398525652, 1398525650, 1398525593, 1398525586, 1398525584, 1398525561, 1398525556, 1398525538, 1398525399, 1398525396, 1398525395, 1398525394, 1398525384, 1398525382, 1398525379, 1398525371, 1398525351, 1398525350, 1398525343, 1398525341, 1398525337, 1398525336, 1398525334, 1398525333, 1398525214, 1398525213, 1398525183, 1398525140, 1398525101, 1398525059, 1398525017, 1398525013, 1398525011, 1398525010, 1398525009, 1398524950, 1398524947, 1398524945, 1398524937, 1398524933, 1398524929, 1398524926, 1398524888, 1398524886, 1398524884]} final : False mtd_id 4302 list_pids : [1398525745, 1398525743, 1398525740, 1398525730, 1398525717, 1398525715, 1398525654, 1398525653, 1398525652, 1398525650] Looping around the photos to save general results len do output : 10 /1398525745.Didn't retrieve data . /1398525743.Didn't retrieve data . /1398525740.Didn't retrieve data . /1398525730.Didn't retrieve data . /1398525717.Didn't retrieve data . /1398525715.Didn't retrieve data . /1398525654.Didn't retrieve data . /1398525653.Didn't retrieve data . /1398525652.Didn't retrieve data . /1398525650.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, '4199864') ('4302', '29274819', '1398525745', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525743', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525740', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525730', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525717', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525715', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525654', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525653', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525652', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525650', None, None, None, None, None, '4199864') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 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', '29274819', '1398525745', '0.04482265795277947', None, None, None, None, '4199864'), ('4302', '29274819', '1398525743', '0.04482265795277947', None, None, None, None, '4199864'), ('4302', '29274819', '1398525740', '0.04482265795277947', None, None, None, None, '4199864'), ('4302', '29274819', '1398525730', '0.04482265795277947', None, None, None, None, '4199864'), ('4302', '29274819', '1398525717', '0.04482265795277947', None, None, None, None, '4199864'), ('4302', '29274819', '1398525715', '0.04482265795277947', None, None, None, None, '4199864'), ('4302', '29274819', '1398525654', '0.04482265795277947', None, None, None, None, '4199864'), ('4302', '29274819', '1398525653', '0.04482265795277947', None, None, None, None, '4199864'), ('4302', '29274819', '1398525652', '0.04482265795277947', None, None, None, None, '4199864'), ('4302', '29274819', '1398525650', '0.04482265795277947', None, None, None, None, '4199864')] time used for this insertion : 0.01566028594970703 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08201098442077637 time spend to save output : 0.016157150268554688 total time spend for step 2 : 0.09816813468933105 step3:velours_tree Tue Dec 9 18:57:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {29274819: [{'kraft': 29274822, 'Teint_Dans_La_Masse': 29274823, 'Carton_gris': 29274824, 'plastique': 29274825, 'metal': 29274826, 'mal_croppe': 29274827, 'environnement': 29274828, 'autre_refus': 29274829, 'cartonnette': 29274830, 'Carton_brun': 29274831, 'papier': 29274832, 'flou': 29274833}]} input_args_next_step : {29274819: ()} output_args : {29274819: [{'kraft': 29274822, 'Teint_Dans_La_Masse': 29274823, 'Carton_gris': 29274824, 'plastique': 29274825, 'metal': 29274826, 'mal_croppe': 29274827, 'environnement': 29274828, 'autre_refus': 29274829, 'cartonnette': 29274830, 'Carton_brun': 29274831, 'papier': 29274832, 'flou': 29274833}]} args : 29274819 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'kraft': 29274822, 'Teint_Dans_La_Masse': 29274823, 'Carton_gris': 29274824, 'plastique': 29274825, 'metal': 29274826, 'mal_croppe': 29274827, 'environnement': 29274828, 'autre_refus': 29274829, 'cartonnette': 29274830, 'Carton_brun': 29274831, 'papier': 29274832, 'flou': 29274833},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29274819) 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([29274819]) 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.2581174373626709 time spend to save output : 4.935264587402344e-05 total time spend for step 3 : 0.2581667900085449 step4:send_mail_cod Tue Dec 9 18:57:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ('0.04482265795277947',), 1398525715: ('0.04482265795277947',), 1398525654: ('0.04482265795277947',), 1398525653: ('0.04482265795277947',), 1398525652: ('0.04482265795277947',), 1398525650: ('0.04482265795277947',)} input_args_next_step : {1398525745: ()} output_args : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ('0.04482265795277947',), 1398525715: ('0.04482265795277947',), 1398525654: ('0.04482265795277947',), 1398525653: ('0.04482265795277947',), 1398525652: ('0.04482265795277947',), 1398525650: ('0.04482265795277947',)} args : 1398525745 depend.output_id : 0 input_args_next_step : {1398525745: ('0.04482265795277947',), 1398525743: ()} output_args : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ('0.04482265795277947',), 1398525715: ('0.04482265795277947',), 1398525654: ('0.04482265795277947',), 1398525653: ('0.04482265795277947',), 1398525652: ('0.04482265795277947',), 1398525650: ('0.04482265795277947',)} args : 1398525743 depend.output_id : 0 input_args_next_step : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ()} output_args : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ('0.04482265795277947',), 1398525715: ('0.04482265795277947',), 1398525654: ('0.04482265795277947',), 1398525653: ('0.04482265795277947',), 1398525652: ('0.04482265795277947',), 1398525650: ('0.04482265795277947',)} args : 1398525740 depend.output_id : 0 input_args_next_step : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ()} output_args : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ('0.04482265795277947',), 1398525715: ('0.04482265795277947',), 1398525654: ('0.04482265795277947',), 1398525653: ('0.04482265795277947',), 1398525652: ('0.04482265795277947',), 1398525650: ('0.04482265795277947',)} args : 1398525730 depend.output_id : 0 input_args_next_step : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ()} output_args : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ('0.04482265795277947',), 1398525715: ('0.04482265795277947',), 1398525654: ('0.04482265795277947',), 1398525653: ('0.04482265795277947',), 1398525652: ('0.04482265795277947',), 1398525650: ('0.04482265795277947',)} args : 1398525717 depend.output_id : 0 input_args_next_step : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ('0.04482265795277947',), 1398525715: ()} output_args : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ('0.04482265795277947',), 1398525715: ('0.04482265795277947',), 1398525654: ('0.04482265795277947',), 1398525653: ('0.04482265795277947',), 1398525652: ('0.04482265795277947',), 1398525650: ('0.04482265795277947',)} args : 1398525715 depend.output_id : 0 input_args_next_step : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ('0.04482265795277947',), 1398525715: ('0.04482265795277947',), 1398525654: ()} output_args : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ('0.04482265795277947',), 1398525715: ('0.04482265795277947',), 1398525654: ('0.04482265795277947',), 1398525653: ('0.04482265795277947',), 1398525652: ('0.04482265795277947',), 1398525650: ('0.04482265795277947',)} args : 1398525654 depend.output_id : 0 input_args_next_step : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ('0.04482265795277947',), 1398525715: ('0.04482265795277947',), 1398525654: ('0.04482265795277947',), 1398525653: ()} output_args : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ('0.04482265795277947',), 1398525715: ('0.04482265795277947',), 1398525654: ('0.04482265795277947',), 1398525653: ('0.04482265795277947',), 1398525652: ('0.04482265795277947',), 1398525650: ('0.04482265795277947',)} args : 1398525653 depend.output_id : 0 input_args_next_step : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ('0.04482265795277947',), 1398525715: ('0.04482265795277947',), 1398525654: ('0.04482265795277947',), 1398525653: ('0.04482265795277947',), 1398525652: ()} output_args : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ('0.04482265795277947',), 1398525715: ('0.04482265795277947',), 1398525654: ('0.04482265795277947',), 1398525653: ('0.04482265795277947',), 1398525652: ('0.04482265795277947',), 1398525650: ('0.04482265795277947',)} args : 1398525652 depend.output_id : 0 input_args_next_step : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ('0.04482265795277947',), 1398525715: ('0.04482265795277947',), 1398525654: ('0.04482265795277947',), 1398525653: ('0.04482265795277947',), 1398525652: ('0.04482265795277947',), 1398525650: ()} output_args : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ('0.04482265795277947',), 1398525715: ('0.04482265795277947',), 1398525654: ('0.04482265795277947',), 1398525653: ('0.04482265795277947',), 1398525652: ('0.04482265795277947',), 1398525650: ('0.04482265795277947',)} args : 1398525650 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 : {29274819: [{'kraft': 29274822, 'Teint_Dans_La_Masse': 29274823, 'Carton_gris': 29274824, 'plastique': 29274825, 'metal': 29274826, 'mal_croppe': 29274827, 'environnement': 29274828, 'autre_refus': 29274829, 'cartonnette': 29274830, 'Carton_brun': 29274831, 'papier': 29274832, 'flou': 29274833}]} input_args_next_step : {1398525745: ('0.04482265795277947',), 1398525743: ('0.04482265795277947',), 1398525740: ('0.04482265795277947',), 1398525730: ('0.04482265795277947',), 1398525717: ('0.04482265795277947',), 1398525715: ('0.04482265795277947',), 1398525654: ('0.04482265795277947',), 1398525653: ('0.04482265795277947',), 1398525652: ('0.04482265795277947',), 1398525650: ('0.04482265795277947',), 29274819: ()} output_args : {29274819: [{'kraft': 29274822, 'Teint_Dans_La_Masse': 29274823, 'Carton_gris': 29274824, 'plastique': 29274825, 'metal': 29274826, 'mal_croppe': 29274827, 'environnement': 29274828, 'autre_refus': 29274829, 'cartonnette': 29274830, 'Carton_brun': 29274831, 'papier': 29274832, 'flou': 29274833}]} args : 29274819 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 :11, first value : ('0.04482265795277947',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29274819) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos_view ph WHERE photo_id IN (1398525745,1398525743,1398525740,1398525730,1398525717,1398525715,1398525654,1398525653,1398525652,1398525650) Found this number of photos: 10 ##### Call download_photos : nb_thread : 5 begin to download photo : 1398525650 begin to download photo : 1398525654 begin to download photo : 1398525730 begin to download photo : 1398525745 download finish for photo 1398525654 begin to download photo : 1398525715 download finish for photo 1398525650 begin to download photo : 1398525652 download finish for photo 1398525745 download finish for photo 1398525730 begin to download photo : 1398525740 download finish for photo 1398525652 begin to download photo : 1398525653 download finish for photo 1398525740 begin to download photo : 1398525743 download finish for photo 1398525715 begin to download photo : 1398525717 download finish for photo 1398525743 download finish for photo 1398525717 download finish for photo 1398525653 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette292748221765303021/ length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 results_Auto_P29274819_09-12-2025_18_57_01.pdf 29274822 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29274822 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette292748221765303021 29274825 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29274825 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398525342: '1765302666_4169807_1398524950_19ce2958aa21fa1342aea19f984b2fd3_rle_crop_4063545700_0.png', 1398525344: '1765302666_4169807_1398524933_113060c6c4955e61d48ff1a8bc73771e_rle_crop_4063545707_0.png', 1398525345: '1765302666_4169807_1398524926_882bc21cc8920c8cdb46b9c28fa9882c_rle_crop_4063545744_0.png', 1398525738: '1765302905_4182270_1398525059_61a6506b5153bd53dc15004367d8682a_rle_crop_4063547134_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e953bdb1c781eca8feaa5e7d838af250_52255678.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9953de6713efd2f3c9e09123f4b40681_97017770.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7c95433872169b77f450b28140d910b8_66202310.png change filename to text .imagette292748251765303021/ imagette292748251765303021/1765302905_4182270_1398525059_61a6506b5153bd53dc15004367d8682a_rle_crop_4063547134_0.png.png imagette292748251765303021/1765302666_4169807_1398524933_113060c6c4955e61d48ff1a8bc73771e_rle_crop_4063545707_0.png.png imagette292748251765303021/1765302666_4169807_1398524950_19ce2958aa21fa1342aea19f984b2fd3_rle_crop_4063545700_0.png.png imagette292748251765303021/1765302666_4169807_1398524926_882bc21cc8920c8cdb46b9c28fa9882c_rle_crop_4063545744_0.png.png imagette292748261765303022/ imagette292748271765303022/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6851cd062c2b6d81cd4916dad979c1aa_95889425.png imagette292748251765303021 29274826 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29274826 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette292748261765303022 29274827 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29274827 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette292748271765303022 29274829 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29274829 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398525590: '1765302786_4176629_1398525011_1d988fd8768a948b613ca5d3923fb481_rle_crop_4063546436_0.png', 1398525630: '1765302806_4177044_1398525351_592fbc62fd743ae4472ffe05f5b1255a_rle_crop_4063546777_0.png', 1398525631: '1765302806_4177044_1398525350_263dead0433bbb3fe51e53546fdf25e2_rle_crop_4063546791_0.png', 1398525633: '1765302806_4177044_1398525337_ede344a94877858efdab824cc35988fb_rle_crop_4063546837_0.png', 1398525634: '1765302806_4177044_1398525336_b127a97b511647e80020ad8f4f407565_rle_crop_4063546852_0.png', 1398525635: '1765302806_4177044_1398525334_765e2a92f9be8e49b05cfd7d228a0554_rle_crop_4063546868_0.png', 1398525636: '1765302806_4177044_1398525333_9035053f9c514c78dc1f36ff459de801_rle_crop_4063546879_0.png', 1398525723: '1765302905_4182270_1398525213_685853179d0ef801da2a9399fd0dd24d_rle_crop_4063547084_0.png', 1398525724: '1765302905_4182270_1398525183_d55f32936010757c912a63922e50f240_rle_crop_4063547096_0.png', 1398525725: '1765302905_4182270_1398525140_f3ac8170baf760ab0554c45a7f2d8963_rle_crop_4063547110_0.png', 1398525726: '1765302905_4182270_1398525059_61a6506b5153bd53dc15004367d8682a_rle_crop_4063547127_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a98bcdf5a98f08b16044fc99eb3c96a6_76563227.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e5768ea3a9569eae97c948ce673c23fc_19221590.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e5768ea3a9569eae97c948ce673c23fc_68436738.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f0813369e4c0b372695aca3544592ebd_60086583.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f0813369e4c0b372695aca3544592ebd_48176932.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9ca8fcd17fbdca8013ab869a4cee1076_70938393.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9ca8fcd17fbdca8013ab869a4cee1076_72332579.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7b3611025afb9a498a6775eba02228cb_49254696.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/63db2c01399111189455d38ff1eaf631_14367131.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/379909032c78f9936cf440504a6c722d_96202411.png change filename to text .imagette292748291765303022/ imagette292748291765303022/1765302806_4177044_1398525351_592fbc62fd743ae4472ffe05f5b1255a_rle_crop_4063546777_0.png.png imagette292748291765303022/1765302806_4177044_1398525336_b127a97b511647e80020ad8f4f407565_rle_crop_4063546852_0.png.png imagette292748291765303022/1765302905_4182270_1398525140_f3ac8170baf760ab0554c45a7f2d8963_rle_crop_4063547110_0.png.png imagette292748291765303022/1765302786_4176629_1398525011_1d988fd8768a948b613ca5d3923fb481_rle_crop_4063546436_0.png.png imagette292748291765303022/1765302806_4177044_1398525334_765e2a92f9be8e49b05cfd7d228a0554_rle_crop_4063546868_0.png.png imagette292748291765303022/1765302905_4182270_1398525213_685853179d0ef801da2a9399fd0dd24d_rle_crop_4063547084_0.png.png imagette292748291765303022/1765302905_4182270_1398525059_61a6506b5153bd53dc15004367d8682a_rle_crop_4063547127_0.png.png imagette292748291765303022/1765302806_4177044_1398525350_263dead0433bbb3fe51e53546fdf25e2_rle_crop_4063546791_0.png.png imagette292748291765303022/1765302905_4182270_1398525183_d55f32936010757c912a63922e50f240_rle_crop_4063547096_0.png.png imagette292748291765303022/1765302806_4177044_1398525333_9035053f9c514c78dc1f36ff459de801_rle_crop_4063546879_0.png.png imagette292748291765303022/1765302806_4177044_1398525337_ede344a94877858efdab824cc35988fb_rle_crop_4063546837_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f64c19fa9d70bf4650bbccf25d9e26d8_62721749.png imagette292748291765303022 29274830 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29274830 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398525639: '1765302806_4177044_1398525379_6bfa165af62edca24e963a22e052eec1_rle_crop_4063546753_0.png', 1398525640: '1765302806_4177044_1398525371_4b88a3608ec31d2f5569faadd6ba5665_rle_crop_4063546764_0.png', 1398525733: '1765302905_4182270_1398525384_5fbd7da45cc260d9715b8c1dd0e9200d_rle_crop_4063547063_0.png', 1398525734: '1765302905_4182270_1398525382_e7b9990852de753f1536ebf78bb73d45_rle_crop_4063547073_0.png', 1398525735: '1765302905_4182270_1398525140_f3ac8170baf760ab0554c45a7f2d8963_rle_crop_4063547112_0.png', 1398525736: '1765302905_4182270_1398525059_61a6506b5153bd53dc15004367d8682a_rle_crop_4063547128_0.png', 1398525737: '1765302905_4182270_1398525059_61a6506b5153bd53dc15004367d8682a_rle_crop_4063547133_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/47635a364f35e8a3056eebaf8e8beef3_13748052.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/47635a364f35e8a3056eebaf8e8beef3_91278773.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e67cc097be34a8c2e2e162e3e07b4c7a_58782836.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e67cc097be34a8c2e2e162e3e07b4c7a_17736345.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3e156da7511dc2ab443be17e4e125280_41706083.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c7551dd44ef4d3cef0929ea96a8d2a39_99254848.png change filename to text .imagette292748301765303023/ imagette292748301765303023/1765302905_4182270_1398525384_5fbd7da45cc260d9715b8c1dd0e9200d_rle_crop_4063547063_0.png.png imagette292748301765303023/1765302905_4182270_1398525140_f3ac8170baf760ab0554c45a7f2d8963_rle_crop_4063547112_0.png.png imagette292748301765303023/1765302905_4182270_1398525382_e7b9990852de753f1536ebf78bb73d45_rle_crop_4063547073_0.png.png imagette292748301765303023/1765302806_4177044_1398525379_6bfa165af62edca24e963a22e052eec1_rle_crop_4063546753_0.png.png imagette292748301765303023/1765302806_4177044_1398525371_4b88a3608ec31d2f5569faadd6ba5665_rle_crop_4063546764_0.png.png imagette292748301765303023/1765302905_4182270_1398525059_61a6506b5153bd53dc15004367d8682a_rle_crop_4063547133_0.png.png imagette292748301765303023/1765302905_4182270_1398525059_61a6506b5153bd53dc15004367d8682a_rle_crop_4063547128_0.png.png imagette292748331765303024/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5ae7969de18ade34f09405802d15e1e6_39874687.png imagette292748301765303023 29274833 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29274833 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette292748331765303024 29274823 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29274823 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398525339: '1765302666_4169807_1398524929_074357c63099f8db0a16ebee1fd00ffe_rle_crop_4063545722_0.png', 1398525587: '1765302786_4176629_1398525013_a90f3634b54a98335bdbfadd56b7263d_rle_crop_4063546427_0.png', 1398525588: '1765302786_4176629_1398525010_84166b55837f8d7c512ad240daf9a11f_rle_crop_4063546445_0.png', 1398525619: '1765302806_4177044_1398525379_6bfa165af62edca24e963a22e052eec1_rle_crop_4063546762_0.png', 1398525620: '1765302806_4177044_1398525379_6bfa165af62edca24e963a22e052eec1_rle_crop_4063546758_0.png', 1398525621: '1765302806_4177044_1398525371_4b88a3608ec31d2f5569faadd6ba5665_rle_crop_4063546773_0.png', 1398525622: '1765302806_4177044_1398525371_4b88a3608ec31d2f5569faadd6ba5665_rle_crop_4063546769_0.png', 1398525623: '1765302806_4177044_1398525351_592fbc62fd743ae4472ffe05f5b1255a_rle_crop_4063546786_0.png', 1398525624: '1765302806_4177044_1398525351_592fbc62fd743ae4472ffe05f5b1255a_rle_crop_4063546782_0.png', 1398525625: '1765302806_4177044_1398525350_263dead0433bbb3fe51e53546fdf25e2_rle_crop_4063546800_0.png', 1398525626: '1765302806_4177044_1398525350_263dead0433bbb3fe51e53546fdf25e2_rle_crop_4063546796_0.png', 1398525627: '1765302806_4177044_1398525343_b701525a61cdfe746141c3de0e9e52a6_rle_crop_4063546815_0.png', 1398525628: '1765302806_4177044_1398525341_94d60aa8d04904e18ab8890aa28ff062_rle_crop_4063546831_0.png', 1398525721: '1765302905_4182270_1398525384_5fbd7da45cc260d9715b8c1dd0e9200d_rle_crop_4063547068_0.png', 1398525722: '1765302905_4182270_1398525382_e7b9990852de753f1536ebf78bb73d45_rle_crop_4063547078_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7e96f41e5c9609b185b471f9bc9cec1c_75194827.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e5343a160d615e4ef04632867441893c_84949091.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9c269452d7468d9beaeb22be2850f639_78314876.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7d8f360d350d3cd23b29686bde96e8a0_83175194.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4c02e8c20c8c4e0c3278181cc6c83a49_92401504.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7d8f360d350d3cd23b29686bde96e8a0_1644986.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4c02e8c20c8c4e0c3278181cc6c83a49_13067183.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5831a368a300504c1d746ca64a2a3bf9_64834119.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d5c8092ec4b1dc0387eb216649db1d4a_32844006.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5831a368a300504c1d746ca64a2a3bf9_10615214.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d5c8092ec4b1dc0387eb216649db1d4a_36049142.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c57287e415f934896ab7f65e4944c36a_58833632.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c57287e415f934896ab7f65e4944c36a_16828543.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bfe53cc59441aa5552f0e5b6c0ee3c5a_35356616.png change filename to text .imagette292748231765303024/ imagette292748231765303024/1765302806_4177044_1398525341_94d60aa8d04904e18ab8890aa28ff062_rle_crop_4063546831_0.png.png imagette292748231765303024/1765302666_4169807_1398524929_074357c63099f8db0a16ebee1fd00ffe_rle_crop_4063545722_0.png.png imagette292748231765303024/1765302806_4177044_1398525379_6bfa165af62edca24e963a22e052eec1_rle_crop_4063546762_0.png.png imagette292748231765303024/1765302806_4177044_1398525371_4b88a3608ec31d2f5569faadd6ba5665_rle_crop_4063546773_0.png.png imagette292748231765303024/1765302806_4177044_1398525343_b701525a61cdfe746141c3de0e9e52a6_rle_crop_4063546815_0.png.png imagette292748231765303024/1765302806_4177044_1398525351_592fbc62fd743ae4472ffe05f5b1255a_rle_crop_4063546786_0.png.png imagette292748231765303024/1765302806_4177044_1398525350_263dead0433bbb3fe51e53546fdf25e2_rle_crop_4063546800_0.png.png imagette292748231765303024/1765302806_4177044_1398525350_263dead0433bbb3fe51e53546fdf25e2_rle_crop_4063546796_0.png.png imagette292748231765303024/1765302905_4182270_1398525384_5fbd7da45cc260d9715b8c1dd0e9200d_rle_crop_4063547068_0.png.png imagette292748231765303024/1765302806_4177044_1398525379_6bfa165af62edca24e963a22e052eec1_rle_crop_4063546758_0.png.png imagette292748231765303024/1765302905_4182270_1398525382_e7b9990852de753f1536ebf78bb73d45_rle_crop_4063547078_0.png.png imagette292748231765303024/1765302806_4177044_1398525351_592fbc62fd743ae4472ffe05f5b1255a_rle_crop_4063546782_0.png.png imagette292748231765303024/1765302786_4176629_1398525013_a90f3634b54a98335bdbfadd56b7263d_rle_crop_4063546427_0.png.png imagette292748231765303024/1765302806_4177044_1398525371_4b88a3608ec31d2f5569faadd6ba5665_rle_crop_4063546769_0.png.png imagette292748231765303024/1765302786_4176629_1398525010_84166b55837f8d7c512ad240daf9a11f_rle_crop_4063546445_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bfe53cc59441aa5552f0e5b6c0ee3c5a_93842642.png imagette292748231765303024 29274824 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29274824 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398525591: '1765302786_4176629_1398525011_1d988fd8768a948b613ca5d3923fb481_rle_crop_4063546431_0.png', 1398525592: '1765302786_4176629_1398525010_84166b55837f8d7c512ad240daf9a11f_rle_crop_4063546442_0.png', 1398525637: '1765302806_4177044_1398525343_b701525a61cdfe746141c3de0e9e52a6_rle_crop_4063546812_0.png', 1398525638: '1765302806_4177044_1398525341_94d60aa8d04904e18ab8890aa28ff062_rle_crop_4063546828_0.png', 1398525727: '1765302905_4182270_1398525101_e2c1701f4b26aaa0b69e1d3a926f713d_rle_crop_4063547118_0.png', 1398525728: '1765302905_4182270_1398525059_61a6506b5153bd53dc15004367d8682a_rle_crop_4063547132_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/352390249bfdc01aeaa8f649c22136ac_67024431.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/033f434cb58fa1ab7bdc7cfea60d7220_37683645.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bf2a8a9f1ecd9bfd7f18a4d91f62d65a_83360731.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bf2a8a9f1ecd9bfd7f18a4d91f62d65a_65919677.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7781c13e2f7b72870a482b2136f888a4_93670946.png change filename to text .imagette292748241765303025/ imagette292748241765303025/1765302905_4182270_1398525059_61a6506b5153bd53dc15004367d8682a_rle_crop_4063547132_0.png.png imagette292748241765303025/1765302786_4176629_1398525010_84166b55837f8d7c512ad240daf9a11f_rle_crop_4063546442_0.png.png imagette292748241765303025/1765302905_4182270_1398525101_e2c1701f4b26aaa0b69e1d3a926f713d_rle_crop_4063547118_0.png.png imagette292748241765303025/1765302806_4177044_1398525343_b701525a61cdfe746141c3de0e9e52a6_rle_crop_4063546812_0.png.png imagette292748241765303025/1765302806_4177044_1398525341_94d60aa8d04904e18ab8890aa28ff062_rle_crop_4063546828_0.png.png imagette292748241765303025/1765302786_4176629_1398525011_1d988fd8768a948b613ca5d3923fb481_rle_crop_4063546431_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/64fd3dc615d2ef2aa881b891892217e2_54596098.png imagette292748241765303025 29274831 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29274831 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398525031: '1765302565_4164849_1398524947_f461a0bc7d23c26a412d286cfc9ad60b_rle_crop_4063545572_0.png', 1398525340: '1765302666_4169807_1398524929_074357c63099f8db0a16ebee1fd00ffe_rle_crop_4063545720_0.png', 1398525643: '1765302806_4177044_1398525379_6bfa165af62edca24e963a22e052eec1_rle_crop_4063546756_0.png', 1398525644: '1765302806_4177044_1398525371_4b88a3608ec31d2f5569faadd6ba5665_rle_crop_4063546767_0.png', 1398525645: '1765302806_4177044_1398525343_b701525a61cdfe746141c3de0e9e52a6_rle_crop_4063546809_0.png', 1398525646: '1765302806_4177044_1398525341_94d60aa8d04904e18ab8890aa28ff062_rle_crop_4063546825_0.png', 1398525647: '1765302806_4177044_1398525337_ede344a94877858efdab824cc35988fb_rle_crop_4063546839_0.png', 1398525648: '1765302806_4177044_1398525336_b127a97b511647e80020ad8f4f407565_rle_crop_4063546854_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a1615df133daccb0e7ef261fc0ae0ea8_17902636.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a4918d511fd656d377b91e45f0454669_29207484.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/98f5ac1d485fd9bf22753ff777ac62d5_34019955.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/98f5ac1d485fd9bf22753ff777ac62d5_8864791.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/56097512a17464fae7e17158bd24f9b3_35337968.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/56097512a17464fae7e17158bd24f9b3_43886259.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/459f2f77d5e20350439505ccdc584647_57881464.png change filename to text .imagette292748311765303025/ imagette292748311765303025/1765302806_4177044_1398525343_b701525a61cdfe746141c3de0e9e52a6_rle_crop_4063546809_0.png.png imagette292748311765303025/1765302806_4177044_1398525371_4b88a3608ec31d2f5569faadd6ba5665_rle_crop_4063546767_0.png.png imagette292748311765303025/1765302666_4169807_1398524929_074357c63099f8db0a16ebee1fd00ffe_rle_crop_4063545720_0.png.png imagette292748311765303025/1765302806_4177044_1398525336_b127a97b511647e80020ad8f4f407565_rle_crop_4063546854_0.png.png imagette292748311765303025/1765302806_4177044_1398525341_94d60aa8d04904e18ab8890aa28ff062_rle_crop_4063546825_0.png.png imagette292748311765303025/1765302806_4177044_1398525379_6bfa165af62edca24e963a22e052eec1_rle_crop_4063546756_0.png.png imagette292748311765303025/1765302565_4164849_1398524947_f461a0bc7d23c26a412d286cfc9ad60b_rle_crop_4063545572_0.png.png imagette292748311765303025/1765302806_4177044_1398525337_ede344a94877858efdab824cc35988fb_rle_crop_4063546839_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/459f2f77d5e20350439505ccdc584647_7271933.png imagette292748311765303025 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29274819 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29274834,29274835,29274836,29274837,29274838,29274839,29274840,29274841,29274842,29274843,29274844,29274845?tags=kraft,Teint_Dans_La_Masse,Carton_gris,plastique,metal,mal_croppe,environnement,autre_refus,cartonnette,Carton_brun,papier,flou your option no_mail is active, we will not send the real mail to your client args[1398525745] : ('0.04482265795277947',) no score found for photo 1398525745 We are sending mail with results at report@fotonower.com args[1398525743] : ('0.04482265795277947',) no score found for photo 1398525743 We are sending mail with results at report@fotonower.com args[1398525740] : ('0.04482265795277947',) no score found for photo 1398525740 We are sending mail with results at report@fotonower.com args[1398525730] : ('0.04482265795277947',) no score found for photo 1398525730 We are sending mail with results at report@fotonower.com args[1398525717] : ('0.04482265795277947',) no score found for photo 1398525717 We are sending mail with results at report@fotonower.com args[1398525715] : ('0.04482265795277947',) no score found for photo 1398525715 We are sending mail with results at report@fotonower.com args[1398525654] : ('0.04482265795277947',) no score found for photo 1398525654 We are sending mail with results at report@fotonower.com args[1398525653] : ('0.04482265795277947',) no score found for photo 1398525653 We are sending mail with results at report@fotonower.com args[1398525652] : ('0.04482265795277947',) no score found for photo 1398525652 We are sending mail with results at report@fotonower.com args[1398525650] : ('0.04482265795277947',) no score found for photo 1398525650 We are sending mail with results at report@fotonower.com refus_total : 0.04482265795277947 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29274819 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_P29274819_09-12-2025_18_57_01.pdf results_Auto_P29274819_09-12-2025_18_57_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29274819_09-12-2025_18_57_01.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','29274819','results_Auto_P29274819_09-12-2025_18_57_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29274819_09-12-2025_18_57_01.pdf','pdf','','0.2','0.04482265795277947') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29274819]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1398525745, 1398525743, 1398525740, 1398525730, 1398525717, 1398525715, 1398525654, 1398525653, 1398525652, 1398525650] map_info['map_portfolio_photo'] : {29274819: [1398525745, 1398525743, 1398525740, 1398525730, 1398525717, 1398525715, 1398525654, 1398525653, 1398525652, 1398525650, 1398525593, 1398525586, 1398525584, 1398525561, 1398525556, 1398525538, 1398525399, 1398525396, 1398525395, 1398525394, 1398525384, 1398525382, 1398525379, 1398525371, 1398525351, 1398525350, 1398525343, 1398525341, 1398525337, 1398525336, 1398525334, 1398525333, 1398525214, 1398525213, 1398525183, 1398525140, 1398525101, 1398525059, 1398525017, 1398525013, 1398525011, 1398525010, 1398525009, 1398524950, 1398524947, 1398524945, 1398524937, 1398524933, 1398524929, 1398524926, 1398524888, 1398524886, 1398524884]} final : False mtd_id 4302 list_pids : [1398525745, 1398525743, 1398525740, 1398525730, 1398525717, 1398525715, 1398525654, 1398525653, 1398525652, 1398525650] 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, '4199864') ('4302', '29274819', '1398525745', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525743', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525740', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525730', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525717', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525715', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525654', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525653', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525652', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525650', None, None, None, None, None, '4199864') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 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', '29274819', '1398525745', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525743', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525740', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525730', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525717', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525715', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525654', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525653', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525652', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525650', None, None, None, None, None, '4199864')] time used for this insertion : 0.015626192092895508 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.4570372104644775 time spend to save output : 0.016188859939575195 total time spend for step 4 : 6.473226070404053 step5:split_time_score Tue Dec 9 18:57:07 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 : ['29274819'] 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 : [('29274819',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29274819) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1398525745: {'path': 'temp/1765303021_2474279_1398525745_4c3eb24a8368d2ffa69368b820fc1745.jpg', 'extension': 'jpg'}, 1398525730: {'path': 'temp/1765303021_2474279_1398525730_b70ce4b4a6cc8d03492996f4cb48da16.jpg', 'extension': 'jpg'}, 1398525740: {'path': 'temp/1765303021_2474279_1398525740_9da4ca77cb2b90f53becbebd51404b5e.jpg', 'extension': 'jpg'}, 1398525743: {'path': 'temp/1765303021_2474279_1398525743_ec74840dd750c3faf424b4c81ca6d788.jpg', 'extension': 'jpg'}, 1398525654: {'path': 'temp/1765303021_2474279_1398525654_03be0d7efa077445f761b9d408a10dff.jpg', 'extension': 'jpg'}, 1398525715: {'path': 'temp/1765303021_2474279_1398525715_886608bc79e6645a5a89c1ffb0e74bb3.jpg', 'extension': 'jpg'}, 1398525717: {'path': 'temp/1765303021_2474279_1398525717_c2eb99803ab27d6566e02540aa934184.jpg', 'extension': 'jpg'}, 1398525650: {'path': 'temp/1765303021_2474279_1398525650_a6ac2c1b18838bd8f9a7c347c637fa17.jpg', 'extension': 'jpg'}, 1398525652: {'path': 'temp/1765303021_2474279_1398525652_0ba0b45acc1e6a9b3c2dbfb4b35ef8e7.jpg', 'extension': 'jpg'}, 1398525653: {'path': 'temp/1765303021_2474279_1398525653_3c1a6f3ede7f8128cf6b1d7de2c2807d.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 = 29274819; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 29274819 group by h (('18', 53),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29274819 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 (29274819) 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 (29274819) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 09122025 29274819 Nombre de photos uploadées : 53 / 23040 (0%) 09122025 29274819 Nombre de photos taguées (types de déchets): 0 / 53 (0%) 09122025 29274819 Nombre de photos taguées (volume) : 0 / 53 (0%) [{'photo_id': 1398524888, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9e0d7e7fd7871a07332b20f978d687c2.jpg', 'username': None, 'uploaded_at': 1765302392, 'text': 'image_09122025_18_45_04_10146.jpg'}, {'photo_id': 1398524886, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f89e62fb3a20124a8395759642285c1c.jpg', 'username': None, 'uploaded_at': 1765302392, 'text': 'image_09122025_18_45_24_10135.jpg'}, {'photo_id': 1398524884, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e2b2b5d14795d55ddf83e3e29128c6b3.jpg', 'username': None, 'uploaded_at': 1765302392, 'text': 'image_09122025_18_45_44_10144.jpg'}, {'photo_id': 1398524937, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b1cb7349fedb6064d62c748a7c3ffbaf.jpg', 'username': None, 'uploaded_at': 1765302457, 'text': 'image_09122025_18_45_54_9128.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 6.4373016357421875e-06 ????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0027599334716796875 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29274819, '2025-12-09' ) 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 (2709875,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2583596706390381 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= 2709875 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29273493, 'dashboard_result_id': 18175802, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29273494, 'dashboard_result_id': 18175803, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29273495, 'dashboard_result_id': 18175804, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29273496, 'dashboard_result_id': 18175805, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29273497, 'dashboard_result_id': 18175806, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29273499, 'dashboard_result_id': 18175807, '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_P29273499_09-12-2025_18_02_02.pdf'}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29273500, 'dashboard_result_id': 18175808, '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_P29273500_09-12-2025_18_01_34.pdf'}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29273501, 'dashboard_result_id': 18175809, '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_P29273501_09-12-2025_18_01_14.pdf'}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29271794, 'dashboard_result_id': 18175810, '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_P29271794_09-12-2025_18_01_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272342, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272345, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29271799, 'dashboard_result_id': 18175811, '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_P29271799_09-12-2025_17_06_21.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29272286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272305, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29271820, 'dashboard_result_id': 18175812, '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_P29271820_09-12-2025_17_06_08.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272273, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29271821, 'dashboard_result_id': 18175813, '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_P29271821_09-12-2025_17_05_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272210, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272211, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272217, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272218, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272219, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272221, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29271823, 'dashboard_result_id': 18175814, '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_P29271823_09-12-2025_17_04_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272131, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272139, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272142, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29271824, 'dashboard_result_id': 18175815, '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_P29271824_09-12-2025_17_04_08.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272094, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272105, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29271826, 'dashboard_result_id': 18175816, '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_P29271826_09-12-2025_17_03_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29272031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272041, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272042, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29271830, 'dashboard_result_id': 18175817, '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_P29271830_09-12-2025_17_01_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29271841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271852, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29271834, 'dashboard_result_id': 18175818, '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_P29271834_09-12-2025_17_02_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271948, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271951, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29271836, 'dashboard_result_id': 18175819, '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_P29271836_09-12-2025_17_02_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29271904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271910, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271919, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271922, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29271839, 'dashboard_result_id': 18175820, '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_P29271839_09-12-2025_17_01_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271853, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271864, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29267748, 'dashboard_result_id': 18175821, '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_P29267748_09-12-2025_15_09_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268353, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29267751, 'dashboard_result_id': 18175822, '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_P29267751_09-12-2025_15_08_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268268, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268272, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268273, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268274, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268278, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29267753, 'dashboard_result_id': 18175823, '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_P29267753_09-12-2025_15_08_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29268223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268235, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268242, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29267754, 'dashboard_result_id': 18175824, '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_P29267754_09-12-2025_15_06_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268112, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268113, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268118, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29267755, 'dashboard_result_id': 18175825, '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_P29267755_09-12-2025_15_06_23.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268036, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268039, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268046, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29267756, 'dashboard_result_id': 18175826, '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_P29267756_09-12-2025_15_06_09.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268010, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29267757, 'dashboard_result_id': 18175827, '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_P29267757_09-12-2025_15_05_39.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29267950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267954, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267961, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29267758, 'dashboard_result_id': 18175828, '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_P29267758_09-12-2025_15_04_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29267886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267893, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267897, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29267759, 'dashboard_result_id': 18175829, '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_P29267759_09-12-2025_15_04_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267845, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267847, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267849, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29266334, 'dashboard_result_id': 18175830, '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_P29266334_09-12-2025_15_02_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29266389, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29266390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29266391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29266392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29266393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29266394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29266395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29266396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29266397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29266398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29266399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29266400, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29266335, 'dashboard_result_id': 18175831, '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_P29266335_09-12-2025_14_00_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29266363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29266364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29266365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29266366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29266367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29266368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29266369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29266370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29266371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29266372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29266373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29266374, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29266336, 'dashboard_result_id': 18175832, '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_P29266336_09-12-2025_15_02_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29266337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29266338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29266339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29266340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29266341, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29266342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29266343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29266344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29266345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29266346, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29266347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29266348, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29267192, 'dashboard_result_id': 18175833, '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_P29267192_09-12-2025_15_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267235, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29267785, 'dashboard_result_id': 18175834, '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_P29267785_09-12-2025_15_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267801, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29268760, 'dashboard_result_id': 18175835, '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_P29268760_09-12-2025_15_35_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268769, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268778, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29269175, 'dashboard_result_id': 18175836, '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_P29269175_09-12-2025_15_49_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269178, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269188, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29269542, 'dashboard_result_id': 18175837, '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_P29269542_09-12-2025_16_03_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269556, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29269897, 'dashboard_result_id': 18175838, '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_P29269897_09-12-2025_16_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269915, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29270467, 'dashboard_result_id': 18175839, '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_P29270467_09-12-2025_16_33_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29270528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29270529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29270530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29270531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29270532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29270533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29270534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29270535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29270536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29270537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29270538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29270539, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29271024, 'dashboard_result_id': 18175840, '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_P29271024_09-12-2025_16_49_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271067, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29271469, 'dashboard_result_id': 18175841, '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_P29271469_09-12-2025_17_03_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271487, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29272155, 'dashboard_result_id': 18175842, '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_P29272155_09-12-2025_17_19_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272171, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272181, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29272828, 'dashboard_result_id': 18175843, '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_P29272828_09-12-2025_17_48_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29272853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272856, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272864, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29273785, 'dashboard_result_id': 18175844, '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_P29273785_09-12-2025_18_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273789, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273790, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273796, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273797, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29274052, 'dashboard_result_id': 18175845, '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_P29274052_09-12-2025_18_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29274056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29274057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29274058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29274059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29274060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29274061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29274062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29274063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29274064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29274065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29274066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29274067, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29274392, 'dashboard_result_id': 18175846, '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_P29274392_09-12-2025_18_49_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29274397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29274398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29274399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29274400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29274401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29274402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29274403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29274404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29274405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29274406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29274407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29274408, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2718057, 'mtr_portfolio_id': 29274819, 'dashboard_result_id': 18175847, '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_P29274819_09-12-2025_18_55_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29274822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29274823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29274824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29274825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29274826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29274827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29274828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29274829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29274830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29274831, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29274832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29274833, '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 = 29273493 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 = 29273493 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 = 29273493 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273493 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 = 29273493 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 = 29273493 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273493_09-12-2025_18_03_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29273493 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_P29273493_09-12-2025_18_03_33.pdf'}" where mtr_portfolio_id = 29273493 and dashboard_run_id = 2718057 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 = 29273494 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 = 29273494 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 = 29273494 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273494 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 = 29273494 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 = 29273494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273494_09-12-2025_18_04_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29273494 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_P29273494_09-12-2025_18_04_03.pdf'}" where mtr_portfolio_id = 29273494 and dashboard_run_id = 2718057 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 = 29273495 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 = 29273495 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 = 29273495 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273495 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 = 29273495 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 = 29273495 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273495_09-12-2025_18_03_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29273495 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_P29273495_09-12-2025_18_03_33.pdf'}" where mtr_portfolio_id = 29273495 and dashboard_run_id = 2718057 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 = 29273496 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 = 29273496 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 = 29273496 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273496 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 = 29273496 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 = 29273496 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273496_09-12-2025_18_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29273496 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_P29273496_09-12-2025_18_03_02.pdf'}" where mtr_portfolio_id = 29273496 and dashboard_run_id = 2718057 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 = 29273497 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 = 29273497 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 = 29273497 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273497 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 = 29273497 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 = 29273497 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273497_09-12-2025_18_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29273497 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_P29273497_09-12-2025_18_02_31.pdf'}" where mtr_portfolio_id = 29273497 and dashboard_run_id = 2718057 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 = 29273499 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 = 29273499 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 = 29273499 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273499 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 = 29273499 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 = 29273499 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273499_09-12-2025_18_02_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29273499 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_P29273499_09-12-2025_18_02_02.pdf'}" where mtr_portfolio_id = 29273499 and dashboard_run_id = 2718057 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 = 29273500 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 = 29273500 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 = 29273500 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273500 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 = 29273500 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 = 29273500 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273500_09-12-2025_18_01_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29273500 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_P29273500_09-12-2025_18_01_34.pdf'}" where mtr_portfolio_id = 29273500 and dashboard_run_id = 2718057 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 = 29273501 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 = 29273501 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 = 29273501 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273501 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 = 29273501 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 = 29273501 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273501_09-12-2025_18_01_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29273501 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_P29273501_09-12-2025_18_01_14.pdf'}" where mtr_portfolio_id = 29273501 and dashboard_run_id = 2718057 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 = 29271794 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 = 29271794 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 = 29271794 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271794 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 = 29271794 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 = 29271794 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271794_09-12-2025_18_01_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271794 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_P29271794_09-12-2025_18_01_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272342, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272345, 'pht': 3726}}" where mtr_portfolio_id = 29271794 and dashboard_run_id = 2718057 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 = 29271799 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 = 29271799 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 = 29271799 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271799 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 = 29271799 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 = 29271799 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271799_09-12-2025_17_06_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271799 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_P29271799_09-12-2025_17_06_21.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29272286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272305, 'pht': 3726}}" where mtr_portfolio_id = 29271799 and dashboard_run_id = 2718057 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 = 29271820 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 = 29271820 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 = 29271820 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271820 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 = 29271820 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 = 29271820 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271820_09-12-2025_17_06_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271820 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_P29271820_09-12-2025_17_06_08.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272273, 'pht': 3726}}" where mtr_portfolio_id = 29271820 and dashboard_run_id = 2718057 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 = 29271821 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 = 29271821 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 = 29271821 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271821 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 = 29271821 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 = 29271821 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271821_09-12-2025_17_05_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271821 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_P29271821_09-12-2025_17_05_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272210, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272211, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272217, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272218, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272219, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272221, 'pht': 3726}}" where mtr_portfolio_id = 29271821 and dashboard_run_id = 2718057 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 = 29271823 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 = 29271823 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 = 29271823 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271823 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 = 29271823 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 = 29271823 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271823_09-12-2025_17_04_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271823 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_P29271823_09-12-2025_17_04_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272131, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272139, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272142, 'pht': 3726}}" where mtr_portfolio_id = 29271823 and dashboard_run_id = 2718057 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 = 29271824 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 = 29271824 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 = 29271824 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271824 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 = 29271824 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 = 29271824 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271824_09-12-2025_17_04_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271824 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_P29271824_09-12-2025_17_04_08.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272094, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272105, 'pht': 3726}}" where mtr_portfolio_id = 29271824 and dashboard_run_id = 2718057 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 = 29271826 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 = 29271826 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 = 29271826 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271826 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 = 29271826 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 = 29271826 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271826_09-12-2025_17_03_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271826 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_P29271826_09-12-2025_17_03_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29272031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272041, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272042, 'pht': 3726}}" where mtr_portfolio_id = 29271826 and dashboard_run_id = 2718057 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 = 29271830 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 = 29271830 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 = 29271830 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271830 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 = 29271830 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 = 29271830 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271830_09-12-2025_17_01_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271830 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_P29271830_09-12-2025_17_01_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29271841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271852, 'pht': 3726}}" where mtr_portfolio_id = 29271830 and dashboard_run_id = 2718057 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 = 29271834 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 = 29271834 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 = 29271834 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271834 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 = 29271834 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 = 29271834 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271834_09-12-2025_17_02_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271834 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_P29271834_09-12-2025_17_02_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271948, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271951, 'pht': 3726}}" where mtr_portfolio_id = 29271834 and dashboard_run_id = 2718057 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 = 29271836 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 = 29271836 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 = 29271836 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271836 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 = 29271836 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 = 29271836 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271836_09-12-2025_17_02_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271836 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_P29271836_09-12-2025_17_02_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29271904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271910, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271919, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271922, 'pht': 3726}}" where mtr_portfolio_id = 29271836 and dashboard_run_id = 2718057 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 = 29271839 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 = 29271839 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 = 29271839 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271839 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 = 29271839 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 = 29271839 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271839_09-12-2025_17_01_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271839 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_P29271839_09-12-2025_17_01_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271853, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271864, 'pht': 3726}}" where mtr_portfolio_id = 29271839 and dashboard_run_id = 2718057 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 = 29267748 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 = 29267748 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 = 29267748 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267748 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 = 29267748 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 = 29267748 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267748_09-12-2025_15_09_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267748 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_P29267748_09-12-2025_15_09_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268353, 'pht': 3726}}" where mtr_portfolio_id = 29267748 and dashboard_run_id = 2718057 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 = 29267751 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 = 29267751 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 = 29267751 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267751 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 = 29267751 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 = 29267751 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267751_09-12-2025_15_08_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267751 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_P29267751_09-12-2025_15_08_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268268, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268272, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268273, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268274, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268278, 'pht': 3726}}" where mtr_portfolio_id = 29267751 and dashboard_run_id = 2718057 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 = 29267753 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 = 29267753 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 = 29267753 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267753 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 = 29267753 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 = 29267753 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267753_09-12-2025_15_08_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267753 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_P29267753_09-12-2025_15_08_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29268223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268235, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268242, 'pht': 3726}}" where mtr_portfolio_id = 29267753 and dashboard_run_id = 2718057 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 = 29267754 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 = 29267754 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 = 29267754 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267754 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 = 29267754 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 = 29267754 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267754_09-12-2025_15_06_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267754 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_P29267754_09-12-2025_15_06_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268112, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268113, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268118, 'pht': 3726}}" where mtr_portfolio_id = 29267754 and dashboard_run_id = 2718057 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 = 29267755 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 = 29267755 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 = 29267755 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267755 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 = 29267755 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 = 29267755 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267755_09-12-2025_15_06_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267755 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_P29267755_09-12-2025_15_06_23.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268036, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268039, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268046, 'pht': 3726}}" where mtr_portfolio_id = 29267755 and dashboard_run_id = 2718057 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 = 29267756 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 = 29267756 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 = 29267756 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267756 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 = 29267756 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 = 29267756 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267756_09-12-2025_15_06_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267756 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_P29267756_09-12-2025_15_06_09.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268010, 'pht': 3726}}" where mtr_portfolio_id = 29267756 and dashboard_run_id = 2718057 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 = 29267757 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 = 29267757 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 = 29267757 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267757 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 = 29267757 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 = 29267757 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267757_09-12-2025_15_05_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267757 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_P29267757_09-12-2025_15_05_39.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29267950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267954, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267961, 'pht': 3726}}" where mtr_portfolio_id = 29267757 and dashboard_run_id = 2718057 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 = 29267758 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 = 29267758 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 = 29267758 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267758 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 = 29267758 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 = 29267758 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267758_09-12-2025_15_04_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267758 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_P29267758_09-12-2025_15_04_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29267886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267893, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267897, 'pht': 3726}}" where mtr_portfolio_id = 29267758 and dashboard_run_id = 2718057 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 = 29267759 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 = 29267759 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 = 29267759 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267759 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 = 29267759 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 = 29267759 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267759_09-12-2025_15_04_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267759 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_P29267759_09-12-2025_15_04_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267845, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267847, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267849, 'pht': 3726}}" where mtr_portfolio_id = 29267759 and dashboard_run_id = 2718057 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 = 29266334 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 = 29266334 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 = 29266334 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266334 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 = 29266334 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 = 29266334 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29266334_09-12-2025_15_02_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29266334 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_P29266334_09-12-2025_15_02_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29266389, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29266390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29266391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29266392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29266393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29266394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29266395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29266396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29266397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29266398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29266399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29266400, 'pht': 3726}}" where mtr_portfolio_id = 29266334 and dashboard_run_id = 2718057 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 = 29266335 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 = 29266335 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 = 29266335 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266335 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 = 29266335 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 = 29266335 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29266335_09-12-2025_14_00_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29266335 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_P29266335_09-12-2025_14_00_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29266363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29266364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29266365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29266366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29266367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29266368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29266369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29266370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29266371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29266372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29266373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29266374, 'pht': 3726}}" where mtr_portfolio_id = 29266335 and dashboard_run_id = 2718057 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 = 29266336 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 = 29266336 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 = 29266336 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266336 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 = 29266336 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 = 29266336 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29266336_09-12-2025_15_02_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29266336 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_P29266336_09-12-2025_15_02_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29266337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29266338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29266339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29266340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29266341, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29266342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29266343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29266344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29266345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29266346, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29266347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29266348, 'pht': 3726}}" where mtr_portfolio_id = 29266336 and dashboard_run_id = 2718057 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 = 29267192 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4198993, 'mtr_portfolio_id': 29267192, 'created_at': datetime.datetime(2025, 12, 9, 15, 2, 59), 'result': '0.055123495118521916', 'result_long': None, 'result_double': None}] Qualite : 0.055123495118521916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29267192 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267192_09-12-2025_15_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267192 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_P29267192_09-12-2025_15_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267235, 'pht': 3726}}" where mtr_portfolio_id = 29267192 and dashboard_run_id = 2718057 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29267192 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18175833, 0.055123495118521916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267192_09-12-2025_15_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267235, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267785 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199068, 'mtr_portfolio_id': 29267785, 'created_at': datetime.datetime(2025, 12, 9, 15, 19), 'result': '0.04142523440009138', 'result_long': None, 'result_double': None}] Qualite : 0.04142523440009138 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29267785 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267785_09-12-2025_15_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267785 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_P29267785_09-12-2025_15_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267801, 'pht': 3726}}" where mtr_portfolio_id = 29267785 and dashboard_run_id = 2718057 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29267785 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18175834, 0.04142523440009138, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267785_09-12-2025_15_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267801, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29268760 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199123, 'mtr_portfolio_id': 29268760, 'created_at': datetime.datetime(2025, 12, 9, 15, 35, 2), 'result': '0.046356266129274515', 'result_long': None, 'result_double': None}] Qualite : 0.046356266129274515 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29268760 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29268760_09-12-2025_15_35_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29268760 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_P29268760_09-12-2025_15_35_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268769, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268778, 'pht': 3726}}" where mtr_portfolio_id = 29268760 and dashboard_run_id = 2718057 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29268760 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18175835, 0.046356266129274515, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29268760_09-12-2025_15_35_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268769, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268778, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29269175 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199171, 'mtr_portfolio_id': 29269175, 'created_at': datetime.datetime(2025, 12, 9, 15, 49, 30), 'result': '0.07373983268430408', 'result_long': None, 'result_double': None}] Qualite : 0.07373983268430408 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29269175 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269175_09-12-2025_15_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29269175 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_P29269175_09-12-2025_15_49_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269178, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269188, 'pht': 3726}}" where mtr_portfolio_id = 29269175 and dashboard_run_id = 2718057 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29269175 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18175836, 0.07373983268430408, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269175_09-12-2025_15_49_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269178, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269188, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29269542 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199222, 'mtr_portfolio_id': 29269542, 'created_at': datetime.datetime(2025, 12, 9, 16, 3, 2), 'result': '0.061443197515436254', 'result_long': None, 'result_double': None}] Qualite : 0.061443197515436254 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29269542 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269542_09-12-2025_16_03_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29269542 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_P29269542_09-12-2025_16_03_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269556, 'pht': 3726}}" where mtr_portfolio_id = 29269542 and dashboard_run_id = 2718057 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29269542 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18175837, 0.061443197515436254, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269542_09-12-2025_16_03_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269556, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29269897 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199288, 'mtr_portfolio_id': 29269897, 'created_at': datetime.datetime(2025, 12, 9, 16, 19, 1), 'result': '0.05629057871474523', 'result_long': None, 'result_double': None}] Qualite : 0.05629057871474523 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29269897 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269897_09-12-2025_16_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29269897 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_P29269897_09-12-2025_16_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269915, 'pht': 3726}}" where mtr_portfolio_id = 29269897 and dashboard_run_id = 2718057 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29269897 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18175838, 0.05629057871474523, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269897_09-12-2025_16_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269915, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29270467 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199344, 'mtr_portfolio_id': 29270467, 'created_at': datetime.datetime(2025, 12, 9, 16, 33, 2), 'result': '0.04375678261221711', 'result_long': None, 'result_double': None}] Qualite : 0.04375678261221711 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29270467 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29270467_09-12-2025_16_33_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29270467 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_P29270467_09-12-2025_16_33_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29270528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29270529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29270530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29270531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29270532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29270533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29270534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29270535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29270536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29270537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29270538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29270539, 'pht': 3726}}" where mtr_portfolio_id = 29270467 and dashboard_run_id = 2718057 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29270467 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18175839, 0.04375678261221711, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29270467_09-12-2025_16_33_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29270528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29270529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29270530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29270531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29270532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29270533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29270534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29270535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29270536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29270537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29270538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29270539, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271024 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199408, 'mtr_portfolio_id': 29271024, 'created_at': datetime.datetime(2025, 12, 9, 16, 49, 3), 'result': '0.05174984659760503', 'result_long': None, 'result_double': None}] Qualite : 0.05174984659760503 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29271024 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271024_09-12-2025_16_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271024 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_P29271024_09-12-2025_16_49_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271067, 'pht': 3726}}" where mtr_portfolio_id = 29271024 and dashboard_run_id = 2718057 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29271024 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18175840, 0.05174984659760503, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271024_09-12-2025_16_49_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271067, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271469 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199458, 'mtr_portfolio_id': 29271469, 'created_at': datetime.datetime(2025, 12, 9, 17, 3, 2), 'result': '0.040487911134795766', 'result_long': None, 'result_double': None}] Qualite : 0.040487911134795766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29271469 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271469_09-12-2025_17_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271469 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_P29271469_09-12-2025_17_03_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271487, 'pht': 3726}}" where mtr_portfolio_id = 29271469 and dashboard_run_id = 2718057 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29271469 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18175841, 0.040487911134795766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271469_09-12-2025_17_03_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271487, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29272155 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199547, 'mtr_portfolio_id': 29272155, 'created_at': datetime.datetime(2025, 12, 9, 17, 19, 2), 'result': '0.045758830897602173', 'result_long': None, 'result_double': None}] Qualite : 0.045758830897602173 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29272155 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29272155_09-12-2025_17_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29272155 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_P29272155_09-12-2025_17_19_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272171, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272181, 'pht': 3726}}" where mtr_portfolio_id = 29272155 and dashboard_run_id = 2718057 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29272155 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18175842, 0.045758830897602173, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29272155_09-12-2025_17_19_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272171, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272181, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29272828 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199617, 'mtr_portfolio_id': 29272828, 'created_at': datetime.datetime(2025, 12, 9, 17, 48, 31), 'result': '0.041104783943303795', 'result_long': None, 'result_double': None}] Qualite : 0.041104783943303795 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29272828 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29272828_09-12-2025_17_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29272828 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_P29272828_09-12-2025_17_48_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29272853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272856, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272864, 'pht': 3726}}" where mtr_portfolio_id = 29272828 and dashboard_run_id = 2718057 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29272828 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18175843, 0.041104783943303795, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29272828_09-12-2025_17_48_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29272853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272856, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272864, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29273785 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199751, 'mtr_portfolio_id': 29273785, 'created_at': datetime.datetime(2025, 12, 9, 18, 19, 1), 'result': '0.040736854210326065', 'result_long': None, 'result_double': None}] Qualite : 0.040736854210326065 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29273785 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273785_09-12-2025_18_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29273785 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_P29273785_09-12-2025_18_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273789, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273790, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273796, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273797, 'pht': 3726}}" where mtr_portfolio_id = 29273785 and dashboard_run_id = 2718059 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29273785 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18175844, 0.040736854210326065, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29273785_09-12-2025_18_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29273786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29273787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29273788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29273789, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29273790, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29273791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29273792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29273793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29273794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29273795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29273796, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29273797, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29274052 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199773, 'mtr_portfolio_id': 29274052, 'created_at': datetime.datetime(2025, 12, 9, 18, 32, 57), 'result': '0.05292492544747342', 'result_long': None, 'result_double': None}] Qualite : 0.05292492544747342 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29274052 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29274052_09-12-2025_18_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29274052 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_P29274052_09-12-2025_18_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29274056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29274057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29274058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29274059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29274060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29274061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29274062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29274063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29274064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29274065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29274066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29274067, 'pht': 3726}}" where mtr_portfolio_id = 29274052 and dashboard_run_id = 2718059 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29274052 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18175845, 0.05292492544747342, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29274052_09-12-2025_18_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29274056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29274057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29274058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29274059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29274060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29274061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29274062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29274063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29274064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29274065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29274066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29274067, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29274392 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199814, 'mtr_portfolio_id': 29274392, 'created_at': datetime.datetime(2025, 12, 9, 18, 49, 29), 'result': '0.038096340275987885', 'result_long': None, 'result_double': None}] Qualite : 0.038096340275987885 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29274392 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29274392_09-12-2025_18_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29274392 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_P29274392_09-12-2025_18_49_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29274397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29274398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29274399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29274400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29274401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29274402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29274403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29274404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29274405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29274406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29274407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29274408, 'pht': 3726}}" where mtr_portfolio_id = 29274392 and dashboard_run_id = 2718059 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29274392 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18175846, 0.038096340275987885, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29274392_09-12-2025_18_49_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29274397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29274398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29274399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29274400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29274401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29274402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29274403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29274404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29274405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29274406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29274407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29274408, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29274819 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199864, 'mtr_portfolio_id': 29274819, 'created_at': datetime.datetime(2025, 12, 9, 18, 57, 1), 'result': '0.04482265795277947', 'result_long': None, 'result_double': None}] Qualite : 0.04482265795277947 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29274819 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29274819_09-12-2025_18_57_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29274819 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_P29274819_09-12-2025_18_57_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29274822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29274823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29274824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29274825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29274826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29274827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29274828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29274829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29274830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29274831, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29274832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29274833, 'pht': 3726}}" where mtr_portfolio_id = 29274819 and dashboard_run_id = 2718059 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29274819 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18175847, 0.04482265795277947, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29274819_09-12-2025_18_57_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29274822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29274823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29274824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29274825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29274826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29274827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29274828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29274829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29274830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29274831, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29274832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29274833, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29273493,29273494,29273495,29273496,29273497,29273499,29273500,29273501,29271794,29271799,29271820,29271821,29271823,29271824,29271826,29271830,29271834,29271836,29271839,29267748,29267751,29267753,29267754,29267755,29267756,29267757,29267758,29267759,29266334,29266335,29266336,29267192,29267785,29268760,29269175,29269542,29269897,29270467,29271024,29271469,29272155,29272828,29273785,29274052,29274392,29274819) result : ((1398478389,), (1398478392,), (1398478395,), (1398478404,), (1398478406,), (1398478408,), (1398478411,), (1398478413,), (1398478415,), (1398478421,), (1398478422,), (1398478425,), (1398478426,), (1398478429,), (1398478430,), (1398478433,), (1398478434,), (1398478438,), (1398478439,), (1398478442,), (1398478443,), (1398478457,), (1398478492,), (1398478526,), (1398478560,), (1398478593,), (1398478627,), (1398478793,), (1398478869,), (1398478936,), (1398478975,), (1398479014,), (1398479050,), (1398479333,), (1398479338,), (1398479344,), (1398479350,), (1398479353,), (1398479358,), (1398479362,), (1398479364,), (1398479366,), (1398479368,), (1398479370,), (1398479374,), (1398479382,), (1398479384,), (1398479387,), (1398479389,), (1398479391,), (1398479393,), (1398479400,), (1398479403,), (1398479405,), (1398479408,), (1398479411,), (1398479414,), (1398479421,), (1398479422,), (1398479424,), (1398479426,), (1398479430,), (1398479434,), (1398479442,), (1398479445,), (1398479448,), (1398479450,), (1398479452,), (1398479454,), (1398478115,), (1398478116,), (1398478118,), (1398478120,), (1398478126,), (1398478128,), (1398478132,), (1398478137,), (1398478142,), (1398478146,), (1398478154,), (1398478156,), (1398478158,), (1398478161,), (1398478164,), (1398478166,), (1398478174,), (1398478177,), (1398478181,), (1398478185,), (1398478190,), (1398478194,), (1398478201,), (1398478203,), (1398478205,), (1398478208,), (1398478212,), (1398478216,), (1398478222,), (1398478225,), (1398478227,), (1398478229,), (1398478231,), (1398478234,), (1398478247,), (1398478250,), (1398478254,), (1398478257,), (1398478261,), (1398478264,), (1398478268,), (1398478271,), (1398478274,), (1398478277,), (1398478280,), (1398478284,), (1398478294,), (1398478298,), (1398478301,), (1398478303,), (1398478308,), (1398478311,), (1398478320,), (1398478323,), (1398478327,), (1398478332,), (1398478335,), (1398478338,), (1398478344,), (1398478346,), (1398478349,), (1398478352,), (1398478355,), (1398478358,), (1398478367,), (1398478370,), (1398478372,), (1398478373,), (1398478375,), (1398478377,), (1398478381,), (1398478383,), (1398478386,), (1398477880,), (1398477881,), (1398477883,), (1398477892,), (1398477895,), (1398477899,), (1398477903,), (1398477905,), (1398477906,), (1398477907,), (1398477909,), (1398477911,), (1398477915,), (1398477919,), (1398477922,), (1398477934,), (1398477936,), (1398477938,), (1398477939,), (1398477940,), (1398477943,), (1398477954,), (1398477957,), (1398477959,), (1398477962,), (1398477965,), (1398477968,), (1398477985,), (1398477987,), (1398477991,), (1398477994,), (1398477998,), (1398478002,), (1398478010,), (1398478012,), (1398478014,), (1398478016,), (1398478019,), (1398478022,), (1398478042,), (1398478044,), (1398478046,), (1398478048,), (1398478051,), (1398478053,), (1398478063,), (1398478067,), (1398478070,), (1398478073,), (1398478077,), (1398478079,), (1398478087,), (1398478089,), (1398478092,), (1398478095,), (1398478097,), (1398478101,), (1398478109,), (1398478111,), (1398480933,), (1398491628,), (1398491666,), (1398492370,), (1398492402,), (1398492436,), (1398492548,), (1398492777,), (1398492778,), (1398492782,), (1398492786,), (1398492790,), (1398492835,), (1398492838,), (1398492841,), (1398492861,), (1398492862,), (1398492866,), (1398493100,), (1398493206,), (1398493314,), (1398493409,), (1398493473,), (1398493477,), (1398493555,), (1398493564,), (1398493590,), (1398494074,), (1398494075,), (1398494110,), (1398494115,), (1398494156,), (1398494157,), (1398494188,), (1398494189,), (1398494241,), (1398494270,), (1398494297,), (1398494315,), (1398494318,), (1398494509,), (1398494565,), (1398494624,), (1398494759,), (1398494761,), (1398494764,), (1398494767,), (1398494770,), (1398495332,), (1398495418,), (1398495454,), (1398495483,), (1398496799,), (1398494378,), (1398494380,), (1398494381,), (1398494383,), (1398494386,), (1398494675,), (1398494688,), (1398494693,), (1398494774,), (1398495513,), (1398495598,), (1398495867,), (1398495948,), (1398496030,), (1398496080,), (1398496138,), (1398496199,), (1398496871,), (1398497043,), (1398497065,), (1398497093,), (1398497395,), (1398497451,), (1398497687,), (1398497732,), (1398497778,), (1398497835,), (1398497908,), (1398497961,), (1398498085,), (1398498090,), (1398498149,), (1398498150,), (1398498180,), (1398498182,), (1398498441,), (1398498469,), (1398498591,), (1398498624,), (1398498653,), (1398498663,), (1398498680,), (1398498699,), (1398498808,), (1398498827,), (1398498832,), (1398498840,), (1398498842,), (1398498867,), (1398498893,), (1398498919,), (1398498945,), (1398499177,), (1398499810,), (1398500190,), (1398500334,), (1398500486,), (1398500582,), (1398500641,), (1398500688,), (1398501004,), (1398501049,), (1398501231,), (1398501248,), (1398501258,), (1398501263,), (1398501264,), (1398501270,), (1398501280,), (1398501287,), (1398492879,), (1398492882,), (1398492885,), (1398492888,), (1398492891,), (1398492894,), (1398493613,), (1398493618,), (1398493621,), (1398493766,), (1398493801,), (1398493839,), (1398493875,), (1398493912,), (1398493950,), (1398494192,), (1398494193,), (1398494196,), (1398494197,), (1398494339,), (1398494376,), (1398487618,), (1398487771,), (1398487905,), (1398488061,), (1398488374,), (1398488465,), (1398488568,), (1398488731,), (1398488858,), (1398488995,), (1398489461,), (1398489543,), (1398489612,), (1398489708,), (1398489793,), (1398489854,), (1398490018,), (1398490101,), (1398490172,), (1398490257,), (1398490351,), (1398490431,), (1398490745,), (1398490823,), (1398490882,), (1398490900,), (1398490926,), (1398491021,), (1398491057,), (1398491090,), (1398491123,), (1398491182,), (1398491253,), (1398491374,), (1398491383,), (1398491417,), (1398491471,), (1398491494,), (1398491497,), (1398491611,), (1398491616,), (1398491618,), (1398491620,), (1398491622,), (1398491624,), (1398491771,), (1398491880,), (1398492000,), (1398492133,), (1398492580,), (1398492607,), (1398492688,), (1398492724,), (1398492726,), (1398492752,), (1398492766,), (1398492772,), (1398492794,), (1398492798,), (1398492800,), (1398492803,), (1398492806,), (1398492809,), (1398492813,), (1398492844,), (1398492845,), (1398492850,), (1398492871,), (1398492873,), (1398492875,), (1398483611,), (1398483721,), (1398484213,), (1398484326,), (1398484391,), (1398484427,), (1398484472,), (1398484542,), (1398484924,), (1398485056,), (1398485166,), (1398485247,), (1398485324,), (1398485385,), (1398485779,), (1398485903,), (1398486077,), (1398486136,), (1398486170,), (1398486184,), (1398486262,), (1398486299,), (1398486336,), (1398486374,), (1398486410,), (1398486437,), (1398486569,), (1398486619,), (1398486660,), (1398486716,), (1398486787,), (1398486848,), (1398486975,), (1398487044,), (1398487098,), (1398487140,), (1398487197,), (1398487259,), (1398487432,), (1398487440,), (1398487442,), (1398487444,), (1398487447,), (1398487450,), (1398487461,), (1398487484,), (1398481083,), (1398481086,), (1398481091,), (1398481102,), (1398481106,), (1398481110,), (1398481113,), (1398481115,), (1398481118,), (1398481132,), (1398481137,), (1398481142,), (1398481145,), (1398481148,), (1398481152,), (1398481157,), (1398481159,), (1398481161,), (1398481164,), (1398481167,), (1398481170,), (1398481179,), (1398481182,), (1398481183,), (1398481186,), (1398481189,), (1398481191,), (1398481197,), (1398481199,), (1398481202,), (1398481205,), (1398481208,), (1398481211,), (1398481214,), (1398481216,), (1398481219,), (1398481222,), (1398481226,), (1398481236,), (1398481249,), (1398481251,), (1398481277,), (1398481280,), (1398481284,), (1398481285,), (1398481294,), (1398481298,), (1398481301,), (1398481304,), (1398481307,), (1398481310,), (1398481323,), (1398481357,), (1398481393,), (1398481429,), (1398481471,), (1398481537,), (1398481782,), (1398481783,), (1398481855,), (1398481856,), (1398481930,), (1398481936,), (1398482010,), (1398482024,), (1398482083,), (1398482110,), (1398482239,), (1398482283,), (1398482826,), (1398482891,), (1398483022,), (1398483120,), (1398483264,), (1398483317,), (1398483432,), (1398483466,), (1398483501,), (1398483533,), (1398480841,), (1398480843,), (1398480853,), (1398480856,), (1398480858,), (1398480862,), (1398480866,), (1398480868,), (1398480875,), (1398480877,), (1398480881,), (1398480885,), (1398480889,), (1398480893,), (1398480897,), (1398480899,), (1398480902,), (1398480905,), (1398480908,), (1398480911,), (1398480934,), (1398480935,), (1398480938,), (1398480941,), (1398480951,), (1398480955,), (1398480957,), (1398480959,), (1398480960,), (1398480961,), (1398480968,), (1398480971,), (1398480974,), (1398480977,), (1398480978,), (1398480980,), (1398480990,), (1398480993,), (1398480996,), (1398480999,), (1398481002,), (1398481003,), (1398481007,), (1398481008,), (1398481012,), (1398481016,), (1398481021,), (1398481026,), (1398481032,), (1398481035,), (1398481038,), (1398481040,), (1398481042,), (1398481045,), (1398481054,), (1398481059,), (1398481062,), (1398481065,), (1398481067,), (1398481070,), (1398481079,), (1398481081,), (1398479970,), (1398479985,), (1398479990,), (1398479999,), (1398480013,), (1398480015,), (1398480020,), (1398480024,), (1398480027,), (1398480031,), (1398480035,), (1398480039,), (1398480045,), (1398480046,), (1398480049,), (1398480052,), (1398480055,), (1398480057,), (1398480065,), (1398480066,), (1398480068,), (1398480069,), (1398480072,), (1398480073,), (1398480078,), (1398480079,), (1398480084,), (1398480085,), (1398480089,), (1398480090,), (1398480099,), (1398480101,), (1398480105,), (1398480126,), (1398480163,), (1398480203,), (1398480327,), (1398480365,), (1398480398,), (1398480434,), (1398480470,), (1398480505,), (1398480556,), (1398480557,), (1398480581,), (1398480617,), (1398480642,), (1398480646,), (1398480693,), (1398480718,), (1398480720,), (1398480721,), (1398480724,), (1398480727,), (1398480741,), (1398480744,), (1398480746,), (1398480750,), (1398480754,), (1398480758,), (1398480765,), (1398480766,), (1398480768,), (1398480770,), (1398480774,), (1398480777,), (1398480789,), (1398480791,), (1398480793,), (1398480795,), (1398480799,), (1398480803,), (1398480813,), (1398480817,), (1398480819,), (1398480821,), (1398480822,), (1398480825,), (1398480831,), (1398480834,), (1398480836,), (1398480839,), (1398479697,), (1398479700,), (1398479703,), (1398479712,), (1398479714,), (1398479716,), (1398479719,), (1398479721,), (1398479723,), (1398479731,), (1398479733,), (1398479737,), (1398479741,), (1398479743,), (1398479746,), (1398479753,), (1398479756,), (1398479761,), (1398479765,), (1398479769,), (1398479772,), (1398479780,), (1398479783,), (1398479785,), (1398479788,), (1398479792,), (1398479794,), (1398479805,), (1398479806,), (1398479811,), (1398479813,), (1398479816,), (1398479818,), (1398479822,), (1398479823,), (1398479829,), (1398479830,), (1398479833,), (1398479834,), (1398479841,), (1398479843,), (1398479845,), (1398479847,), (1398479850,), (1398479852,), (1398479862,), (1398479865,), (1398479867,), (1398479869,), (1398479873,), (1398479876,), (1398479883,), (1398479886,), (1398479887,), (1398479889,), (1398479891,), (1398479895,), (1398479905,), (1398479908,), (1398479911,), (1398479913,), (1398479914,), (1398479915,), (1398479923,), (1398479924,), (1398479928,), (1398479929,), (1398479933,), (1398479934,), (1398479936,), (1398479938,), (1398479941,), (1398479942,), (1398479944,), (1398479945,), (1398479949,), (1398479951,), (1398479953,), (1398479956,), (1398479959,), (1398479961,), (1398479459,), (1398479462,), (1398479466,), (1398479470,), (1398479474,), (1398479477,), (1398479481,), (1398479483,), (1398479486,), (1398479490,), (1398479497,), (1398479502,), (1398479537,), (1398479541,), (1398479545,), (1398479549,), (1398479553,), (1398479557,), (1398479567,), (1398479571,), (1398479576,), (1398479579,), (1398479583,), (1398479587,), (1398479591,), (1398479594,), (1398479598,), (1398479601,), (1398479605,), (1398479609,), (1398479613,), (1398479615,), (1398479618,), (1398479621,), (1398479624,), (1398479627,), (1398479631,), (1398479633,), (1398479638,), (1398479641,), (1398479645,), (1398479649,), (1398479654,), (1398479655,), (1398479656,), (1398479659,), (1398479662,), (1398479665,), (1398479676,), (1398479678,), (1398479680,), (1398479681,), (1398479683,), (1398479685,), (1398479688,), (1398479691,), (1398479694,), (1398496493,), (1398496560,), (1398496624,), (1398496711,), (1398497030,), (1398497039,), (1398497041,), (1398497241,), (1398497292,), (1398497323,), (1398497370,), (1398498021,), (1398498022,), (1398498024,), (1398498025,), (1398498037,), (1398498042,), (1398498335,), (1398498361,), (1398498389,), (1398498415,), (1398498784,), (1398498799,), (1398498803,), (1398498805,), (1398498807,), (1398498815,), (1398498818,), (1398498821,), (1398498824,), (1398499042,), (1398499066,), (1398499091,), (1398499123,), (1398499151,), (1398499318,), (1398499415,), (1398499511,), (1398499616,), (1398499713,), (1398500756,), (1398500820,), (1398500865,), (1398500952,), (1398501138,), (1398501183,), (1398501216,), (1398501300,), (1398501303,), (1398501306,), (1398501308,), (1398501310,), (1398501313,), (1398501322,), (1398501325,), (1398501327,), (1398501333,), (1398501339,), (1398501361,), (1398501368,), (1398501382,), (1398501903,), (1398501933,), (1398501960,), (1398501986,), (1398502016,), (1398502048,), (1398502275,), (1398502155,), (1398502186,), (1398502216,), (1398502244,), (1398502443,), (1398502479,), (1398502506,), (1398502535,), (1398502548,), (1398502557,), (1398502603,), (1398502625,), (1398502647,), (1398502833,), (1398502885,), (1398503286,), (1398503336,), (1398504466,), (1398504467,), (1398504539,), (1398504560,), (1398504563,), (1398504566,), (1398504625,), (1398504631,), (1398504633,), (1398504635,), (1398504637,), (1398504639,), (1398504644,), (1398504647,), (1398504650,), (1398504654,), (1398504658,), (1398504664,), (1398504689,), (1398504690,), (1398504693,), (1398504694,), (1398504697,), (1398504698,), (1398504703,), (1398504704,), (1398504707,), (1398504708,), (1398504784,), (1398504785,), (1398504768,), (1398504769,), (1398504772,), (1398504773,), (1398504776,), (1398504777,), (1398504780,), (1398504781,), (1398504792,), (1398504794,), (1398504796,), (1398504798,), (1398504801,), (1398504804,), (1398504853,), (1398504854,), (1398504856,), (1398504858,), (1398504860,), (1398504861,), (1398504877,), (1398504878,), (1398504880,), (1398504883,), (1398504886,), (1398504927,), (1398504928,), (1398504931,), (1398504932,), (1398504935,), (1398504936,), (1398504941,), (1398504942,), (1398504945,), (1398504946,), (1398504948,), (1398504949,), (1398504954,), (1398504956,), (1398504959,), (1398504962,), (1398505032,), (1398505035,), (1398505039,), (1398505041,), (1398505044,), (1398505045,), (1398505050,), (1398505054,), (1398505057,), (1398505109,), (1398505112,), (1398505115,), (1398505126,), (1398505129,), (1398505176,), (1398505179,), (1398505182,), (1398505184,), (1398505191,), (1398505194,), (1398505197,), (1398505254,), (1398505258,), (1398505272,), (1398505275,), (1398505278,), (1398505287,), (1398505300,), (1398505342,), (1398505333,), (1398505340,), (1398505380,), (1398505383,), (1398505448,), (1398505471,), (1398505509,), (1398505512,), (1398505613,), (1398505654,), (1398505657,), (1398505659,), (1398505670,), (1398505673,), (1398505676,), (1398505724,), (1398505728,), (1398505730,), (1398505732,), (1398505741,), (1398505744,), (1398505747,), (1398505750,), (1398505753,), (1398505756,), (1398505796,), (1398505829,), (1398505903,), (1398506258,), (1398506314,), (1398506365,), (1398506420,), (1398506467,), (1398506725,), (1398506628,), (1398506657,), (1398506685,), (1398507122,), (1398507124,), (1398507152,), (1398508073,), (1398508100,), (1398508298,), (1398508325,), (1398508353,), (1398508719,), (1398508722,), (1398508729,), (1398508734,), (1398508739,), (1398508742,), (1398508824,), (1398508825,), (1398508852,), (1398508855,), (1398508880,), (1398508883,), (1398508907,), (1398508910,), (1398508938,), (1398508946,), (1398509083,), (1398509118,), (1398509185,), (1398509242,), (1398509295,), (1398510072,), (1398510111,), (1398510139,), (1398510164,), (1398510219,), (1398510283,), (1398510594,), (1398510677,), (1398510747,), (1398510794,), (1398511309,), (1398511313,), (1398511320,), (1398511327,), (1398511330,), (1398511402,), (1398511457,), (1398511512,), (1398511561,), (1398511614,), (1398512077,), (1398512082,), (1398512088,), (1398512094,), (1398512217,), (1398512220,), (1398512223,), (1398512246,), (1398512274,), (1398512351,), (1398512354,), (1398512358,), (1398512419,), (1398512411,), (1398512413,), (1398512416,), (1398512429,), (1398512431,), (1398512433,), (1398512435,), (1398512482,), (1398512484,), (1398512487,), (1398512490,), (1398512501,), (1398512503,), (1398512505,), (1398512553,), (1398512564,), (1398512594,), (1398512595,), (1398512641,), (1398512642,), (1398512645,), (1398512646,), (1398512670,), (1398512673,), (1398512676,), (1398512679,), (1398512723,), (1398512724,), (1398512726,), (1398512727,), (1398512729,), (1398512730,), (1398512735,), (1398512736,), (1398512738,), (1398512739,), (1398512750,), (1398512753,), (1398512756,), (1398512801,), (1398512803,), (1398512820,), (1398512823,), (1398512827,), (1398512830,), (1398512837,), (1398512848,), (1398512873,), (1398512876,), (1398512889,), (1398512892,), (1398512895,), (1398512898,), (1398512901,), (1398512913,), (1398512915,), (1398512918,), (1398512920,), (1398512922,), (1398512923,), (1398512975,), (1398512976,), (1398512961,), (1398512962,), (1398512965,), (1398512966,), (1398512970,), (1398512971,), (1398512995,), (1398512997,), (1398512999,), (1398513001,), (1398513002,), (1398513004,), (1398513040,), (1398513045,), (1398513051,), (1398513055,), (1398513066,), (1398513068,), (1398513070,), (1398513072,), (1398513074,), (1398513105,), (1398513107,), (1398513113,), (1398513117,), (1398513119,), (1398513138,), (1398513141,), (1398513143,), (1398513146,), (1398513148,), (1398513156,), (1398513159,), (1398513162,), (1398513197,), (1398513199,), (1398513201,), (1398513203,), (1398513206,), (1398513223,), (1398513226,), (1398513228,), (1398513230,), (1398513232,), (1398513282,), (1398513285,), (1398513287,), (1398513298,), (1398513301,), (1398513304,), (1398513308,), (1398513356,), (1398513360,), (1398513361,), (1398513362,), (1398513363,), (1398513379,), (1398513384,), (1398513389,), (1398513394,), (1398513434,), (1398513435,), (1398513436,), (1398513437,), (1398513438,), (1398513439,), (1398513440,), (1398513441,), (1398513442,), (1398513443,), (1398513444,), (1398513445,), (1398513455,), (1398513460,), (1398513466,), (1398513471,), (1398513473,), (1398513475,), (1398513514,), (1398513512,), (1398513513,), (1398513536,), (1398513540,), (1398513544,), (1398513547,), (1398513548,), (1398513549,), (1398513583,), (1398513584,), (1398513589,), (1398513591,), (1398513605,), (1398513609,), (1398513613,), (1398513616,), (1398513649,), (1398513650,), (1398513652,), (1398513654,), (1398513659,), (1398513674,), (1398513677,), (1398513680,), (1398513681,), (1398513682,), (1398513730,), (1398513732,), (1398513734,), (1398513737,), (1398513756,), (1398513760,), (1398513762,), (1398513764,), (1398513770,), (1398513797,), (1398513800,), (1398513803,), (1398513806,), (1398513849,), (1398513850,), (1398513851,), (1398513852,), (1398513853,), (1398513854,), (1398513859,), (1398513861,), (1398513882,), (1398513885,), (1398513922,), (1398513927,), (1398513936,), (1398513951,), (1398513954,), (1398513965,), (1398513991,), (1398514020,), (1398514391,), (1398514422,), (1398514451,), (1398514481,), (1398514498,), (1398514575,), (1398514579,), (1398514581,), (1398514583,), (1398514588,), (1398514607,), (1398513888,), (1398513891,), (1398513892,), (1398513893,), (1398513898,), (1398513900,), (1398513904,), (1398513907,), (1398513911,), (1398513915,), (1398513938,), (1398513941,), (1398513943,), (1398514044,), (1398514154,), (1398514182,), (1398514212,), (1398514240,), (1398514272,), (1398514303,), (1398514501,), (1398514593,), (1398514613,), (1398514638,), (1398514670,), (1398514709,), (1398515140,), (1398515191,), (1398515433,), (1398515485,), (1398515532,), (1398515580,), (1398515630,), (1398515688,), (1398516020,), (1398516054,), (1398516303,), (1398516323,), (1398516328,), (1398516385,), (1398516396,), (1398516398,), (1398516399,), (1398516402,), (1398516405,), (1398516519,), (1398516548,), (1398516740,), (1398516771,), (1398516801,), (1398513401,), (1398513404,), (1398513405,), (1398513406,), (1398513415,), (1398513420,), (1398513424,), (1398513488,), (1398513489,), (1398513493,), (1398513497,), (1398513501,), (1398513505,), (1398513515,), (1398513516,), (1398513524,), (1398513560,), (1398513562,), (1398513569,), (1398513572,), (1398513575,), (1398513578,), (1398513593,), (1398513595,), (1398513619,), (1398513622,), (1398513629,), (1398513631,), (1398513635,), (1398513638,), (1398513641,), (1398513644,), (1398513663,), (1398513692,), (1398513713,), (1398513715,), (1398513718,), (1398513721,), (1398513724,), (1398513727,), (1398513742,), (1398513746,), (1398513780,), (1398513809,), (1398513812,), (1398513818,), (1398513821,), (1398513825,), (1398513833,), (1398513838,), (1398513841,), (1398513868,), (1398513869,), (1398513871,), (1398513872,), (1398512853,), (1398512855,), (1398512857,), (1398512859,), (1398512861,), (1398512864,), (1398512878,), (1398512880,), (1398512882,), (1398512884,), (1398512904,), (1398512935,), (1398512939,), (1398512942,), (1398512948,), (1398512953,), (1398512956,), (1398512980,), (1398512981,), (1398512986,), (1398512987,), (1398513022,), (1398513024,), (1398513028,), (1398513031,), (1398513033,), (1398513035,), (1398513057,), (1398513060,), (1398513076,), (1398513083,), (1398513085,), (1398513089,), (1398513093,), (1398513096,), (1398513099,), (1398513123,), (1398513151,), (1398513165,), (1398513168,), (1398513170,), (1398513182,), (1398513185,), (1398513187,), (1398513189,), (1398513191,), (1398513193,), (1398513208,), (1398513234,), (1398513243,), (1398513246,), (1398513251,), (1398513253,), (1398513258,), (1398513268,), (1398513290,), (1398513292,), (1398513294,), (1398513312,), (1398513316,), (1398513319,), (1398513327,), (1398513334,), (1398513338,), (1398513342,), (1398513346,), (1398513364,), (1398513399,), (1398512474,), (1398512476,), (1398512493,), (1398512496,), (1398512507,), (1398512509,), (1398512512,), (1398512528,), (1398512532,), (1398512536,), (1398512539,), (1398512542,), (1398512545,), (1398512569,), (1398512574,), (1398512578,), (1398512582,), (1398512596,), (1398512597,), (1398512598,), (1398512601,), (1398512620,), (1398512624,), (1398512629,), (1398512635,), (1398512637,), (1398512638,), (1398512649,), (1398512650,), (1398512653,), (1398512654,), (1398512658,), (1398512659,), (1398512662,), (1398512663,), (1398512682,), (1398512688,), (1398512694,), (1398512696,), (1398512701,), (1398512710,), (1398512713,), (1398512716,), (1398512741,), (1398512742,), (1398512759,), (1398512761,), (1398512765,), (1398512769,), (1398512775,), (1398512784,), (1398512787,), (1398512790,), (1398512793,), (1398512805,), (1398512809,), (1398512810,), (1398512812,), (1398507239,), (1398507438,), (1398507476,), (1398507504,), (1398507526,), (1398507557,), (1398507587,), (1398507782,), (1398507808,), (1398507835,), (1398507878,), (1398507928,), (1398507969,), (1398508127,), (1398508150,), (1398508181,), (1398508208,), (1398508377,), (1398508407,), (1398508432,), (1398508539,), (1398508565,), (1398508593,), (1398508620,), (1398508647,), (1398508675,), (1398508967,), (1398508976,), (1398509345,), (1398509641,), (1398509692,), (1398509744,), (1398509795,), (1398509842,), (1398509906,), (1398510844,), (1398510899,), (1398511075,), (1398511126,), (1398511165,), (1398511198,), (1398511249,), (1398511291,), (1398511333,), (1398511674,), (1398511813,), (1398511871,), (1398511900,), (1398511941,), (1398511984,), (1398512009,), (1398512110,), (1398512146,), (1398512300,), (1398512361,), (1398512365,), (1398512369,), (1398512388,), (1398512392,), (1398512393,), (1398512395,), (1398512399,), (1398512405,), (1398512422,), (1398512425,), (1398512438,), (1398512441,), (1398512450,), (1398512461,), (1398512471,), (1398512472,), (1398505584,), (1398505590,), (1398505593,), (1398505595,), (1398505597,), (1398505616,), (1398505619,), (1398505622,), (1398505625,), (1398505628,), (1398505636,), (1398505637,), (1398505639,), (1398505641,), (1398505644,), (1398505647,), (1398505661,), (1398505663,), (1398505665,), (1398505679,), (1398505688,), (1398505696,), (1398505705,), (1398505707,), (1398505709,), (1398505711,), (1398505714,), (1398505717,), (1398505734,), (1398505736,), (1398505761,), (1398505763,), (1398505765,), (1398505766,), (1398505767,), (1398505768,), (1398505967,), (1398506024,), (1398506082,), (1398506522,), (1398506776,), (1398506824,), (1398506999,), (1398507035,), (1398507043,), (1398507067,), (1398507093,), (1398507113,), (1398507179,), (1398507210,), (1398505466,), (1398505474,), (1398505477,), (1398505480,), (1398505483,), (1398505485,), (1398505491,), (1398505492,), (1398505494,), (1398505496,), (1398505499,), (1398505502,), (1398505514,), (1398505519,), (1398505531,), (1398505533,), (1398505540,), (1398505543,), (1398505546,), (1398505549,), (1398505552,), (1398505555,), (1398505559,), (1398505561,), (1398505563,), (1398505565,), (1398505568,), (1398505571,), (1398505581,), (1398505203,), (1398505206,), (1398505234,), (1398505236,), (1398505239,), (1398505240,), (1398505242,), (1398505245,), (1398505260,), (1398505261,), (1398505263,), (1398505266,), (1398505304,), (1398505344,), (1398505347,), (1398505350,), (1398505359,), (1398505362,), (1398505366,), (1398505367,), (1398505370,), (1398505373,), (1398505384,), (1398505388,), (1398505393,), (1398505396,), (1398505410,), (1398505413,), (1398505416,), (1398505419,), (1398505422,), (1398505425,), (1398505430,), (1398505432,), (1398505434,), (1398505435,), (1398505438,), (1398505441,), (1398504601,), (1398504672,), (1398504674,), (1398504675,), (1398504677,), (1398504680,), (1398504682,), (1398504710,), (1398504711,), (1398504717,), (1398504720,), (1398504722,), (1398504726,), (1398504732,), (1398504735,), (1398504742,), (1398504744,), (1398504746,), (1398504755,), (1398504760,), (1398504762,), (1398504787,), (1398504788,), (1398504826,), (1398504828,), (1398504830,), (1398504833,), (1398504842,), (1398504846,), (1398504864,), (1398504865,), (1398504868,), (1398504869,), (1398504871,), (1398504872,), (1398504889,), (1398504907,), (1398504909,), (1398504911,), (1398504917,), (1398504919,), (1398504921,), (1398504965,), (1398504968,), (1398504990,), (1398504991,), (1398505003,), (1398505005,), (1398505022,), (1398505025,), (1398505060,), (1398505064,), (1398505068,), (1398505079,), (1398505084,), (1398505094,), (1398505098,), (1398505100,), (1398505102,), (1398505118,), (1398505120,), (1398505122,), (1398505133,), (1398505137,), (1398505146,), (1398505149,), (1398505158,), (1398505159,), (1398505161,), (1398505163,), (1398505165,), (1398505168,), (1398505185,), (1398505187,), (1398505200,), (1398502675,), (1398502678,), (1398502681,), (1398502684,), (1398502690,), (1398502696,), (1398502700,), (1398502702,), (1398502703,), (1398502706,), (1398502937,), (1398502982,), (1398503026,), (1398503066,), (1398503384,), (1398503439,), (1398503491,), (1398503538,), (1398503719,), (1398503824,), (1398503925,), (1398503997,), (1398504005,), (1398504008,), (1398504015,), (1398504018,), (1398504020,), (1398504022,), (1398504024,), (1398504026,), (1398504222,), (1398504270,), (1398504285,), (1398504289,), (1398504294,), (1398504310,), (1398504358,), (1398504374,), (1398504414,), (1398504436,), (1398504455,), (1398504458,), (1398504470,), (1398504471,), (1398504474,), (1398504475,), (1398504478,), (1398504479,), (1398504481,), (1398504482,), (1398504485,), (1398504486,), (1398504493,), (1398504496,), (1398504499,), (1398504502,), (1398504504,), (1398504507,), (1398504518,), (1398504522,), (1398504523,), (1398504526,), (1398504529,), (1398504532,), (1398504542,), (1398504545,), (1398504547,), (1398504550,), (1398504553,), (1398504569,), (1398504573,), (1398504581,), (1398504586,), (1398504588,), (1398504592,), (1398504595,), (1398504598,), (1398501288,), (1398501343,), (1398501411,), (1398501454,), (1398501491,), (1398501603,), (1398501631,), (1398501662,), (1398501693,), (1398501727,), (1398501763,), (1398502301,), (1398502353,), (1398502356,), (1398502359,), (1398502362,), (1398502365,), (1398502368,), (1398502654,), (1398502656,), (1398502658,), (1398502668,), (1398502671,), (1398514604,), (1398514902,), (1398514971,), (1398515028,), (1398515084,), (1398515872,), (1398515922,), (1398515963,), (1398515991,), (1398516194,), (1398516243,), (1398516275,), (1398516413,), (1398516429,), (1398516457,), (1398516486,), (1398516655,), (1398516683,), (1398516714,), (1398516980,), (1398516982,), (1398516990,), (1398516992,), (1398517010,), (1398517012,), (1398517016,), (1398517017,), (1398517020,), (1398517021,), (1398517023,), (1398517026,), (1398517034,), (1398517036,), (1398517039,), (1398517073,), (1398517075,), (1398517081,), (1398517096,), (1398517097,), (1398517101,), (1398517103,), (1398517328,), (1398517330,), (1398517332,), (1398517343,), (1398517346,), (1398517350,), (1398517354,), (1398517356,), (1398517358,), (1398517387,), (1398517389,), (1398517392,), (1398517394,), (1398517396,), (1398517407,), (1398517410,), (1398517414,), (1398517416,), (1398517418,), (1398517453,), (1398517456,), (1398517458,), (1398517461,), (1398517462,), (1398517465,), (1398517484,), (1398517473,), (1398517478,), (1398517480,), (1398517482,), (1398517521,), (1398517524,), (1398517527,), (1398517529,), (1398517553,), (1398517556,), (1398517559,), (1398517561,), (1398517563,), (1398517569,), (1398517601,), (1398517609,), (1398517612,), (1398517614,), (1398517628,), (1398517632,), (1398517636,), (1398517666,), (1398517674,), (1398517699,), (1398517702,), (1398517706,), (1398517708,), (1398517710,), (1398517723,), (1398517727,), (1398517731,), (1398517735,), (1398517740,), (1398517743,), (1398517782,), (1398517785,), (1398517801,), (1398517803,), (1398517805,), (1398517807,), (1398517810,), (1398517813,), (1398517852,), (1398517853,), (1398517856,), (1398517857,), (1398517860,), (1398517861,), (1398517864,), (1398517865,), (1398517868,), (1398517869,), (1398517883,), (1398517886,), (1398517890,), (1398517944,), (1398517946,), (1398517949,), (1398517962,), (1398517964,), (1398518715,), (1398519054,), (1398519056,), (1398519058,), (1398519065,), (1398519068,), (1398519071,), (1398519075,), (1398519079,), (1398519082,), (1398519089,), (1398519091,), (1398519092,), (1398519093,), (1398519097,), (1398519101,), (1398519111,), (1398519116,), (1398519118,), (1398519120,), (1398519122,), (1398519155,), (1398519271,), (1398519302,), (1398519337,), (1398519372,), (1398519408,), (1398519448,), (1398518892,), (1398518899,), (1398518901,), (1398518904,), (1398518906,), (1398518908,), (1398518912,), (1398518920,), (1398518922,), (1398518926,), (1398518929,), (1398518931,), (1398518933,), (1398518941,), (1398518944,), (1398518946,), (1398518949,), (1398518952,), (1398518953,), (1398518960,), (1398518964,), (1398518967,), (1398518971,), (1398518974,), (1398518977,), (1398518980,), (1398518983,), (1398518986,), (1398518989,), (1398518993,), (1398518997,), (1398519001,), (1398519005,), (1398519008,), (1398519011,), (1398519014,), (1398519016,), (1398519020,), (1398519024,), (1398519028,), (1398519032,), (1398519036,), (1398519040,), (1398519046,), (1398519048,), (1398519051,), (1398518687,), (1398518688,), (1398518690,), (1398518691,), (1398518695,), (1398518696,), (1398518700,), (1398518701,), (1398518704,), (1398518705,), (1398518716,), (1398518718,), (1398518721,), (1398518724,), (1398518726,), (1398518738,), (1398518740,), (1398518743,), (1398518747,), (1398518752,), (1398518757,), (1398518766,), (1398518770,), (1398518772,), (1398518774,), (1398518776,), (1398518784,), (1398518792,), (1398518795,), (1398518798,), (1398518801,), (1398518803,), (1398518805,), (1398518816,), (1398518817,), (1398518821,), (1398518825,), (1398518828,), (1398518831,), (1398518838,), (1398518840,), (1398518842,), (1398518845,), (1398518848,), (1398518850,), (1398518856,), (1398518858,), (1398518860,), (1398518862,), (1398518865,), (1398518868,), (1398518879,), (1398518881,), (1398518882,), (1398518884,), (1398518888,), (1398518468,), (1398518470,), (1398518473,), (1398518476,), (1398518478,), (1398518480,), (1398518489,), (1398518490,), (1398518493,), (1398518496,), (1398518501,), (1398518502,), (1398518509,), (1398518512,), (1398518517,), (1398518519,), (1398518523,), (1398518526,), (1398518529,), (1398518532,), (1398518535,), (1398518538,), (1398518544,), (1398518553,), (1398518558,), (1398518561,), (1398518563,), (1398518566,), (1398518569,), (1398518570,), (1398518577,), (1398518579,), (1398518582,), (1398518585,), (1398518588,), (1398518591,), (1398518599,), (1398518600,), (1398518602,), (1398518605,), (1398518608,), (1398518610,), (1398518618,), (1398518620,), (1398518623,), (1398518626,), (1398518630,), (1398518632,), (1398518638,), (1398518641,), (1398518644,), (1398518647,), (1398518650,), (1398518657,), (1398518667,), (1398518670,), (1398518672,), (1398518674,), (1398518676,), (1398518678,), (1398518684,), (1398518685,), (1398518207,), (1398518209,), (1398518211,), (1398518213,), (1398518216,), (1398518221,), (1398518223,), (1398518227,), (1398518230,), (1398518233,), (1398518236,), (1398518248,), (1398518250,), (1398518253,), (1398518256,), (1398518258,), (1398518259,), (1398518280,), (1398518283,), (1398518285,), (1398518289,), (1398518292,), (1398518295,), (1398518299,), (1398518300,), (1398518307,), (1398518308,), (1398518312,), (1398518313,), (1398518318,), (1398518319,), (1398518324,), (1398518325,), (1398518330,), (1398518331,), (1398518345,), (1398518347,), (1398518349,), (1398518352,), (1398518355,), (1398518356,), (1398518363,), (1398518365,), (1398518367,), (1398518369,), (1398518372,), (1398518376,), (1398518389,), (1398518392,), (1398518394,), (1398518395,), (1398518396,), (1398518398,), (1398518433,), (1398518442,), (1398518455,), (1398517834,), (1398517837,), (1398517839,), (1398517842,), (1398517871,), (1398517872,), (1398517894,), (1398517897,), (1398517900,), (1398517927,), (1398517929,), (1398517932,), (1398517934,), (1398517936,), (1398517938,), (1398517953,), (1398517955,), (1398517956,), (1398517967,), (1398517970,), (1398517972,), (1398517976,), (1398517986,), (1398517990,), (1398517994,), (1398517997,), (1398518000,), (1398518004,), (1398518010,), (1398518014,), (1398518031,), (1398518035,), (1398518037,), (1398518040,), (1398518045,), (1398518047,), (1398518049,), (1398518052,), (1398518054,), (1398518057,), (1398518076,), (1398518079,), (1398518096,), (1398518098,), (1398518100,), (1398518101,), (1398518120,), (1398518121,), (1398518123,), (1398518125,), (1398518127,), (1398518129,), (1398518160,), (1398518163,), (1398518166,), (1398518169,), (1398518172,), (1398518174,), (1398518180,), (1398518181,), (1398518183,), (1398518185,), (1398518189,), (1398518193,), (1398518203,), (1398517309,), (1398517334,), (1398517335,), (1398517336,), (1398517362,), (1398517363,), (1398517366,), (1398517369,), (1398517373,), (1398517377,), (1398517397,), (1398517420,), (1398517422,), (1398517425,), (1398517428,), (1398517432,), (1398517435,), (1398517438,), (1398517486,), (1398517488,), (1398517493,), (1398517501,), (1398517508,), (1398517511,), (1398517515,), (1398517531,), (1398517534,), (1398517579,), (1398517585,), (1398517587,), (1398517589,), (1398517591,), (1398517594,), (1398517616,), (1398517619,), (1398517638,), (1398517640,), (1398517641,), (1398517644,), (1398517647,), (1398517650,), (1398517653,), (1398517656,), (1398517660,), (1398517682,), (1398517687,), (1398517688,), (1398517691,), (1398517712,), (1398517752,), (1398517762,), (1398517764,), (1398517770,), (1398517775,), (1398517777,), (1398517787,), (1398517789,), (1398517792,), (1398517795,), (1398517825,), (1398517829,), (1398516834,), (1398516861,), (1398516893,), (1398516901,), (1398516903,), (1398516905,), (1398517042,), (1398517044,), (1398517046,), (1398517052,), (1398517057,), (1398517060,), (1398517063,), (1398517065,), (1398517066,), (1398517084,), (1398517086,), (1398517089,), (1398517105,), (1398517107,), (1398517188,), (1398517214,), (1398517247,), (1398517278,), (1398517297,), (1398519769,), (1398521212,), (1398521993,), (1398522749,), (1398523171,), (1398523173,), (1398523176,), (1398523179,), (1398523180,), (1398523207,), (1398523217,), (1398523253,), (1398523286,), (1398523473,), (1398523475,), (1398523478,), (1398523482,), (1398523493,), (1398523496,), (1398523499,), (1398523503,), (1398523507,), (1398523544,), (1398523547,), (1398523549,), (1398523550,), (1398523578,), (1398523580,), (1398523583,), (1398523589,), (1398523598,), (1398523650,), (1398523634,), (1398523638,), (1398523641,), (1398523644,), (1398523647,), (1398523656,), (1398523658,), (1398523660,), (1398523699,), (1398523702,), (1398523704,), (1398523706,), (1398523708,), (1398523711,), (1398523740,), (1398523741,), (1398523748,), (1398523749,), (1398523754,), (1398523755,), (1398523758,), (1398523759,), (1398523763,), (1398523764,), (1398523787,), (1398523790,), (1398523792,), (1398523828,), (1398523830,), (1398523832,), (1398523863,), (1398523882,), (1398523965,), (1398523967,), (1398523997,), (1398524000,), (1398524003,), (1398524006,), (1398524014,), (1398524061,), (1398524063,), (1398524065,), (1398524067,), (1398524070,), (1398524073,), (1398524083,), (1398524118,), (1398524119,), (1398524146,), (1398524149,), (1398524151,), (1398524153,), (1398524196,), (1398524200,), (1398524202,), (1398524204,), (1398524225,), (1398524217,), (1398524219,), (1398524221,), (1398524257,), (1398524260,), (1398524262,), (1398524266,), (1398524275,), (1398524277,), (1398524280,), (1398524283,), (1398524286,), (1398524287,), (1398524345,), (1398524347,), (1398524349,), (1398524351,), (1398524392,), (1398524394,), (1398524398,), (1398524469,), (1398524471,), (1398524473,), (1398524475,), (1398524479,), (1398524483,), (1398524492,), (1398524496,), (1398524498,), (1398524500,), (1398524502,), (1398524510,), (1398524513,), (1398524660,), (1398524699,), (1398524702,), (1398524704,), (1398524706,), (1398524752,), (1398524753,), (1398524755,), (1398524783,), (1398524785,), (1398524815,), (1398524816,), (1398524817,), (1398524818,), (1398524819,), (1398524820,), (1398524892,), (1398524884,), (1398524886,), (1398524888,), (1398524926,), (1398524929,), (1398524933,), (1398524937,), (1398524945,), (1398524947,), (1398524950,), (1398525009,), (1398525010,), (1398525011,), (1398525013,), (1398525017,), (1398525059,), (1398525101,), (1398525140,), (1398525183,), (1398525213,), (1398525214,), (1398525333,), (1398525334,), (1398525336,), (1398525337,), (1398525341,), (1398525343,), (1398525350,), (1398525351,), (1398525371,), (1398525379,), (1398525382,), (1398525384,), (1398525394,), (1398525395,), (1398525396,), (1398525399,), (1398525538,), (1398525556,), (1398525561,), (1398525584,), (1398525586,), (1398525593,), (1398525650,), (1398525652,), (1398525653,), (1398525654,), (1398525715,), (1398525717,), (1398525730,), (1398525740,), (1398525743,), (1398525745,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'09122025': {'nb_upload': 53, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29274819]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1398525745, 1398525743, 1398525740, 1398525730, 1398525717, 1398525715, 1398525654, 1398525653, 1398525652, 1398525650] map_info['map_portfolio_photo'] : {29274819: [1398525745, 1398525743, 1398525740, 1398525730, 1398525717, 1398525715, 1398525654, 1398525653, 1398525652, 1398525650, 1398525593, 1398525586, 1398525584, 1398525561, 1398525556, 1398525538, 1398525399, 1398525396, 1398525395, 1398525394, 1398525384, 1398525382, 1398525379, 1398525371, 1398525351, 1398525350, 1398525343, 1398525341, 1398525337, 1398525336, 1398525334, 1398525333, 1398525214, 1398525213, 1398525183, 1398525140, 1398525101, 1398525059, 1398525017, 1398525013, 1398525011, 1398525010, 1398525009, 1398524950, 1398524947, 1398524945, 1398524937, 1398524933, 1398524929, 1398524926, 1398524888, 1398524886, 1398524884]} final : True mtd_id 4302 list_pids : [1398525745, 1398525743, 1398525740, 1398525730, 1398525717, 1398525715, 1398525654, 1398525653, 1398525652, 1398525650] Looping around the photos to save general results len do output : 1 /29274819Didn'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, '4199864') ('4302', '29274819', '1398525745', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525743', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525740', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525730', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525717', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525715', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525654', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525653', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525652', None, None, None, None, None, '4199864') ('4302', None, None, None, None, None, None, None, '4199864') ('4302', '29274819', '1398525650', None, None, None, None, None, '4199864') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 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, '29274819', 'None', None, None, None, None, '4199864'), ('4302', '29274819', '1398525745', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525743', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525740', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525730', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525717', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525715', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525654', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525653', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525652', None, None, None, None, None, '4199864'), ('4302', '29274819', '1398525650', None, None, None, None, None, '4199864')] time used for this insertion : 0.015496015548706055 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.6473677158355713 time spend to save output : 0.015746593475341797 total time spend for step 5 : 2.663114309310913 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 (4199864) 2.24user 2.32system 0:14.37elapsed 31%CPU (0avgtext+0avgdata 165836maxresident)k 248inputs+13464outputs (0major+78906minor)pagefaults 0swaps