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 : 2201453 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 (3557438) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3557438) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080200 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3557438'] with mtr_portfolio_ids : ['26080200'] and first list_photo_ids : [] new path : /proc/2201453/ Name: python3 Umask: 0002 State: R (running) Tgid: 2201453 Ngid: 0 Pid: 2201453 PPid: 2201452 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2201453 NSpid: 2201453 NSpgid: 2199998 NSsid: 2199998 VmPeak: 1107344 kB VmSize: 1107344 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98204 kB VmRSS: 98204 kB RssAnon: 60160 kB RssFile: 38044 kB RssShmem: 0 kB VmData: 866096 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 584 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: 49 nonvoluntary_ctxt_switches: 127 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2201453', 'Ngid': '0', 'Pid': '2201453', 'PPid': '2201452', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2201453', 'NSpid': '2201453', 'NSpgid': '2199998', 'NSsid': '2199998', 'VmPeak': '1107344 kB', 'VmSize': '1107344 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98204 kB', 'VmRSS': '98204 kB', 'RssAnon': '60160 kB', 'RssFile': '38044 kB', 'RssShmem': '0 kB', 'VmData': '866096 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '584 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': '49', 'nonvoluntary_ctxt_switches': '127'} ('datou_batch_current', '2201453', '1107344', '0', '1107344', '866096', '98204', b'', 'marlene', '3557438') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (26080200) 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 (3557438 ) ) 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 (26080200) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1378046927, 'portfolio_id': 26080200}, {'photo_id': 1378046898, 'portfolio_id': 26080200}, {'photo_id': 1378046871, 'portfolio_id': 26080200}, {'photo_id': 1378046830, 'portfolio_id': 26080200}, {'photo_id': 1378046618, 'portfolio_id': 26080200}, {'photo_id': 1378046588, 'portfolio_id': 26080200}, {'photo_id': 1378046560, 'portfolio_id': 26080200}, {'photo_id': 1378046556, 'portfolio_id': 26080200}, {'photo_id': 1378046553, 'portfolio_id': 26080200}, {'photo_id': 1378046550, 'portfolio_id': 26080200}, {'photo_id': 1378046330, 'portfolio_id': 26080200}, {'photo_id': 1378046328, 'portfolio_id': 26080200}, {'photo_id': 1378046327, 'portfolio_id': 26080200}, {'photo_id': 1378046323, 'portfolio_id': 26080200}, {'photo_id': 1378046195, 'portfolio_id': 26080200}, {'photo_id': 1378046192, 'portfolio_id': 26080200}, {'photo_id': 1378046190, 'portfolio_id': 26080200}, {'photo_id': 1378046186, 'portfolio_id': 26080200}, {'photo_id': 1378046176, 'portfolio_id': 26080200}, {'photo_id': 1378046136, 'portfolio_id': 26080200}, {'photo_id': 1378045825, 'portfolio_id': 26080200}, {'photo_id': 1378045804, 'portfolio_id': 26080200}, {'photo_id': 1378045779, 'portfolio_id': 26080200}, {'photo_id': 1378045752, 'portfolio_id': 26080200}, {'photo_id': 1378045726, 'portfolio_id': 26080200}, {'photo_id': 1378045620, 'portfolio_id': 26080200}, {'photo_id': 1378045339, 'portfolio_id': 26080200}, {'photo_id': 1378045337, 'portfolio_id': 26080200}, {'photo_id': 1378045177, 'portfolio_id': 26080200}, {'photo_id': 1378045153, 'portfolio_id': 26080200}, {'photo_id': 1378045129, 'portfolio_id': 26080200}, {'photo_id': 1378045098, 'portfolio_id': 26080200}] map_portfolio_id_photo_id: {26080200: [1378046927, 1378046898, 1378046871, 1378046830, 1378046618, 1378046588, 1378046560, 1378046556, 1378046553, 1378046550, 1378046330, 1378046328, 1378046327, 1378046323, 1378046195, 1378046192, 1378046190, 1378046186, 1378046176, 1378046136, 1378045825, 1378045804, 1378045779, 1378045752, 1378045726, 1378045620, 1378045339, 1378045337, 1378045177, 1378045153, 1378045129, 1378045098]} ##### 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.015004158020019531 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Aug 20 15:08:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26080200) 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 : 26080200 get user id for portfolio 26080200 get sub ptf for main ptf 26080200, type 3726 and hashtags ['cartonnette', 'metal', 'papier', 'flou', 'Carton_gris', 'Carton_brun', 'environnement', 'autre_refus', 'Teint_Dans_La_Masse', 'plastique', 'kraft', 'mal_croppe'] 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`=26080200 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','metal','papier','flou','Carton_gris','Carton_brun','environnement','autre_refus','Teint_Dans_La_Masse','plastique','kraft','mal_croppe')) 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`=26080200 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','metal','papier','flou','Carton_gris','Carton_brun','environnement','autre_refus','Teint_Dans_La_Masse','plastique','kraft','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 26080200, 'sub_port_id': 26080208, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566962, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 4, 58)}, 'papier': {'main_port_id': 26080200, 'sub_port_id': 26080209, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566963, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 4, 58)}, 'mal_croppe': {'main_port_id': 26080200, 'sub_port_id': 26080210, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566964, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 4, 58)}, 'Carton_brun': {'main_port_id': 26080200, 'sub_port_id': 26080211, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566965, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 4, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 26080200, 'sub_port_id': 26080212, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566966, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 4, 58)}, 'environnement': {'main_port_id': 26080200, 'sub_port_id': 26080213, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566967, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 4, 58)}, 'flou': {'main_port_id': 26080200, 'sub_port_id': 26080214, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566968, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 4, 58)}, 'autre_refus': {'main_port_id': 26080200, 'sub_port_id': 26080215, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566969, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 4, 58)}, 'plastique': {'main_port_id': 26080200, 'sub_port_id': 26080216, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566970, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 4, 58)}, 'metal': {'main_port_id': 26080200, 'sub_port_id': 26080217, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566971, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 4, 58)}, 'Carton_gris': {'main_port_id': 26080200, 'sub_port_id': 26080218, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566972, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 4, 58)}, 'cartonnette': {'main_port_id': 26080200, 'sub_port_id': 26080219, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566973, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 4, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26080208 , 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=26080200 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 (26080208) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080200) result : ((1378045098,), (1378045129,), (1378045153,), (1378045177,), (1378045337,), (1378045339,), (1378045620,), (1378045726,), (1378045752,), (1378045779,), (1378045804,), (1378045825,), (1378046136,), (1378046176,), (1378046186,), (1378046190,), (1378046192,), (1378046195,), (1378046323,), (1378046327,), (1378046328,), (1378046330,), (1378046550,), (1378046553,), (1378046556,), (1378046560,), (1378046588,), (1378046618,), (1378046830,), (1378046871,), (1378046898,), (1378046927,)) 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 26080209 , 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=26080200 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 (26080209) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080200) result : ((1378045098,), (1378045129,), (1378045153,), (1378045177,), (1378045337,), (1378045339,), (1378045620,), (1378045726,), (1378045752,), (1378045779,), (1378045804,), (1378045825,), (1378046136,), (1378046176,), (1378046186,), (1378046190,), (1378046192,), (1378046195,), (1378046323,), (1378046327,), (1378046328,), (1378046330,), (1378046550,), (1378046553,), (1378046556,), (1378046560,), (1378046588,), (1378046618,), (1378046830,), (1378046871,), (1378046898,), (1378046927,)) 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 26080210 , 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=26080200 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 (26080210) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080200) result : ((1378045098,), (1378045129,), (1378045153,), (1378045177,), (1378045337,), (1378045339,), (1378045620,), (1378045726,), (1378045752,), (1378045779,), (1378045804,), (1378045825,), (1378046136,), (1378046176,), (1378046186,), (1378046190,), (1378046192,), (1378046195,), (1378046323,), (1378046327,), (1378046328,), (1378046330,), (1378046550,), (1378046553,), (1378046556,), (1378046560,), (1378046588,), (1378046618,), (1378046830,), (1378046871,), (1378046898,), (1378046927,)) 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 26080211 , 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=26080200 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 (26080211) result : ((1378047093,), (1378047094,), (1378047095,), (1378047096,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080200) result : ((1378045098,), (1378045129,), (1378045153,), (1378045177,), (1378045337,), (1378045339,), (1378045620,), (1378045726,), (1378045752,), (1378045779,), (1378045804,), (1378045825,), (1378046136,), (1378046176,), (1378046186,), (1378046190,), (1378046192,), (1378046195,), (1378046323,), (1378046327,), (1378046328,), (1378046330,), (1378046550,), (1378046553,), (1378046556,), (1378046560,), (1378046588,), (1378046618,), (1378046830,), (1378046871,), (1378046898,), (1378046927,)) 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 26080212 , 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=26080200 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 (26080212) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080200) result : ((1378045098,), (1378045129,), (1378045153,), (1378045177,), (1378045337,), (1378045339,), (1378045620,), (1378045726,), (1378045752,), (1378045779,), (1378045804,), (1378045825,), (1378046136,), (1378046176,), (1378046186,), (1378046190,), (1378046192,), (1378046195,), (1378046323,), (1378046327,), (1378046328,), (1378046330,), (1378046550,), (1378046553,), (1378046556,), (1378046560,), (1378046588,), (1378046618,), (1378046830,), (1378046871,), (1378046898,), (1378046927,)) 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 26080213 , 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=26080200 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 (26080213) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080200) result : ((1378045098,), (1378045129,), (1378045153,), (1378045177,), (1378045337,), (1378045339,), (1378045620,), (1378045726,), (1378045752,), (1378045779,), (1378045804,), (1378045825,), (1378046136,), (1378046176,), (1378046186,), (1378046190,), (1378046192,), (1378046195,), (1378046323,), (1378046327,), (1378046328,), (1378046330,), (1378046550,), (1378046553,), (1378046556,), (1378046560,), (1378046588,), (1378046618,), (1378046830,), (1378046871,), (1378046898,), (1378046927,)) 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 26080214 , 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=26080200 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 (26080214) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080200) result : ((1378045098,), (1378045129,), (1378045153,), (1378045177,), (1378045337,), (1378045339,), (1378045620,), (1378045726,), (1378045752,), (1378045779,), (1378045804,), (1378045825,), (1378046136,), (1378046176,), (1378046186,), (1378046190,), (1378046192,), (1378046195,), (1378046323,), (1378046327,), (1378046328,), (1378046330,), (1378046550,), (1378046553,), (1378046556,), (1378046560,), (1378046588,), (1378046618,), (1378046830,), (1378046871,), (1378046898,), (1378046927,)) 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 26080215 , 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=26080200 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 (26080215) result : ((1378047087,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080200) result : ((1378045098,), (1378045129,), (1378045153,), (1378045177,), (1378045337,), (1378045339,), (1378045620,), (1378045726,), (1378045752,), (1378045779,), (1378045804,), (1378045825,), (1378046136,), (1378046176,), (1378046186,), (1378046190,), (1378046192,), (1378046195,), (1378046323,), (1378046327,), (1378046328,), (1378046330,), (1378046550,), (1378046553,), (1378046556,), (1378046560,), (1378046588,), (1378046618,), (1378046830,), (1378046871,), (1378046898,), (1378046927,)) 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 26080216 , 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=26080200 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 (26080216) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080200) result : ((1378045098,), (1378045129,), (1378045153,), (1378045177,), (1378045337,), (1378045339,), (1378045620,), (1378045726,), (1378045752,), (1378045779,), (1378045804,), (1378045825,), (1378046136,), (1378046176,), (1378046186,), (1378046190,), (1378046192,), (1378046195,), (1378046323,), (1378046327,), (1378046328,), (1378046330,), (1378046550,), (1378046553,), (1378046556,), (1378046560,), (1378046588,), (1378046618,), (1378046830,), (1378046871,), (1378046898,), (1378046927,)) 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 26080217 , 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=26080200 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 (26080217) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080200) result : ((1378045098,), (1378045129,), (1378045153,), (1378045177,), (1378045337,), (1378045339,), (1378045620,), (1378045726,), (1378045752,), (1378045779,), (1378045804,), (1378045825,), (1378046136,), (1378046176,), (1378046186,), (1378046190,), (1378046192,), (1378046195,), (1378046323,), (1378046327,), (1378046328,), (1378046330,), (1378046550,), (1378046553,), (1378046556,), (1378046560,), (1378046588,), (1378046618,), (1378046830,), (1378046871,), (1378046898,), (1378046927,)) 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 26080218 , 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=26080200 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 (26080218) result : ((1378047088,), (1378047089,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080200) result : ((1378045098,), (1378045129,), (1378045153,), (1378045177,), (1378045337,), (1378045339,), (1378045620,), (1378045726,), (1378045752,), (1378045779,), (1378045804,), (1378045825,), (1378046136,), (1378046176,), (1378046186,), (1378046190,), (1378046192,), (1378046195,), (1378046323,), (1378046327,), (1378046328,), (1378046330,), (1378046550,), (1378046553,), (1378046556,), (1378046560,), (1378046588,), (1378046618,), (1378046830,), (1378046871,), (1378046898,), (1378046927,)) 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 26080219 , 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=26080200 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 (26080219) result : ((1378047091,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26080200) result : ((1378045098,), (1378045129,), (1378045153,), (1378045177,), (1378045337,), (1378045339,), (1378045620,), (1378045726,), (1378045752,), (1378045779,), (1378045804,), (1378045825,), (1378046136,), (1378046176,), (1378046186,), (1378046190,), (1378046192,), (1378046195,), (1378046323,), (1378046327,), (1378046328,), (1378046330,), (1378046550,), (1378046553,), (1378046556,), (1378046560,), (1378046588,), (1378046618,), (1378046830,), (1378046871,), (1378046898,), (1378046927,)) 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`=26080200 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','metal','papier','flou','Carton_gris','Carton_brun','environnement','autre_refus','Teint_Dans_La_Masse','plastique','kraft','mal_croppe')) 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`=26080200 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','metal','papier','flou','Carton_gris','Carton_brun','environnement','autre_refus','Teint_Dans_La_Masse','plastique','kraft','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 26080200, 'sub_port_id': 26080220, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566974, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 5)}, 'papier': {'main_port_id': 26080200, 'sub_port_id': 26080221, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566975, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 5)}, 'mal_croppe': {'main_port_id': 26080200, 'sub_port_id': 26080222, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566976, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 5)}, 'Carton_brun': {'main_port_id': 26080200, 'sub_port_id': 26080223, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566977, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 5)}, 'Teint_Dans_La_Masse': {'main_port_id': 26080200, 'sub_port_id': 26080224, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566978, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 5)}, 'environnement': {'main_port_id': 26080200, 'sub_port_id': 26080225, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566979, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 5)}, 'flou': {'main_port_id': 26080200, 'sub_port_id': 26080226, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566980, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 5)}, 'autre_refus': {'main_port_id': 26080200, 'sub_port_id': 26080227, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566981, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 5)}, 'plastique': {'main_port_id': 26080200, 'sub_port_id': 26080228, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566982, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 5)}, 'metal': {'main_port_id': 26080200, 'sub_port_id': 26080229, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566983, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 5)}, 'Carton_gris': {'main_port_id': 26080200, 'sub_port_id': 26080230, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566984, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 5), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 5)}, 'cartonnette': {'main_port_id': 26080200, 'sub_port_id': 26080231, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17566985, 'last_updated_at': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 15, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 15, 5)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080220,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080208 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080221,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080209 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080222,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080210 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080223,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080211 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080224,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080212 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080225,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080213 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080226,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080214 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080227,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080215 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080228,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080216 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080229,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080217 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080230,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080218 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26080231,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26080219 lien utilise dans velours : https://www.fotonower.com/velours/26080220,26080221,26080222,26080223,26080224,26080225,26080226,26080227,26080228,26080229,26080230,26080231?tags=kraft,papier,mal_croppe,Carton_brun,Teint_Dans_La_Masse,environnement,flou,autre_refus,plastique,metal,Carton_gris,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26080200]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1378046927, 1378046898, 1378046871, 1378046830, 1378046618, 1378046588, 1378046560, 1378046556, 1378046553, 1378046550] map_info['map_portfolio_photo'] : {26080200: [1378046927, 1378046898, 1378046871, 1378046830, 1378046618, 1378046588, 1378046560, 1378046556, 1378046553, 1378046550, 1378046330, 1378046328, 1378046327, 1378046323, 1378046195, 1378046192, 1378046190, 1378046186, 1378046176, 1378046136, 1378045825, 1378045804, 1378045779, 1378045752, 1378045726, 1378045620, 1378045339, 1378045337, 1378045177, 1378045153, 1378045129, 1378045098]} final : False mtd_id 4302 list_pids : [1378046927, 1378046898, 1378046871, 1378046830, 1378046618, 1378046588, 1378046560, 1378046556, 1378046553, 1378046550] Looping around the photos to save general results len do output : 1 /26080200. 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, '3557438') ('4302', '26080200', '1378046927', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046898', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046871', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046830', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046618', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046588', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046560', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046556', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046553', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046550', None, None, None, None, None, '3557438') 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, '26080200', "{'kraft': 26080208, 'papier': 26080209, 'mal_croppe': 26080210, 'Carton_brun': 26080211, 'Teint_Dans_La_Masse': 26080212, 'environnement': 26080213, 'flou': 26080214, 'autre_refus': 26080215, 'plastique': 26080216, 'metal': 26080217, 'Carton_gris': 26080218, 'cartonnette': 26080219}", None, None, None, None, '3557438'), ('4302', '26080200', '1378046927', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046898', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046871', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046830', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046618', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046588', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046560', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046556', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046553', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046550', None, None, None, None, None, '3557438')] time used for this insertion : 0.013511896133422852 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5998609066009521 time spend to save output : 0.013804197311401367 total time spend for step 1 : 1.6136651039123535 step2:final Wed Aug 20 15:08:31 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 (26080200) 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 26080200 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1378045177,1378045153,1378045129,1378045098,1378045339,1378045337,1378045825,1378045620,1378045804,1378045779,1378045752,1378045726,1378046195,1378046192,1378046190,1378046186,1378046176,1378046136,1378046330,1378046328,1378046327,1378046323,1378046618,1378046588,1378046560,1378046556,1378046553,1378046550,1378046927,1378046898,1378046871,1378046830); 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([26080200]) Inside saveOutput : final : False verbose : True original output for save of step final : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ('0.10639004508155271',), 1378046588: ('0.10639004508155271',), 1378046560: ('0.10639004508155271',), 1378046556: ('0.10639004508155271',), 1378046553: ('0.10639004508155271',), 1378046550: ('0.10639004508155271',)} new output for save of step final : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ('0.10639004508155271',), 1378046588: ('0.10639004508155271',), 1378046560: ('0.10639004508155271',), 1378046556: ('0.10639004508155271',), 1378046553: ('0.10639004508155271',), 1378046550: ('0.10639004508155271',)} [1378046927, 1378046898, 1378046871, 1378046830, 1378046618, 1378046588, 1378046560, 1378046556, 1378046553, 1378046550] map_info['map_portfolio_photo'] : {26080200: [1378046927, 1378046898, 1378046871, 1378046830, 1378046618, 1378046588, 1378046560, 1378046556, 1378046553, 1378046550, 1378046330, 1378046328, 1378046327, 1378046323, 1378046195, 1378046192, 1378046190, 1378046186, 1378046176, 1378046136, 1378045825, 1378045804, 1378045779, 1378045752, 1378045726, 1378045620, 1378045339, 1378045337, 1378045177, 1378045153, 1378045129, 1378045098]} final : False mtd_id 4302 list_pids : [1378046927, 1378046898, 1378046871, 1378046830, 1378046618, 1378046588, 1378046560, 1378046556, 1378046553, 1378046550] Looping around the photos to save general results len do output : 10 /1378046927.Didn't retrieve data . /1378046898.Didn't retrieve data . /1378046871.Didn't retrieve data . /1378046830.Didn't retrieve data . /1378046618.Didn't retrieve data . /1378046588.Didn't retrieve data . /1378046560.Didn't retrieve data . /1378046556.Didn't retrieve data . /1378046553.Didn't retrieve data . /1378046550.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, '3557438') ('4302', '26080200', '1378046927', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046898', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046871', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046830', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046618', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046588', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046560', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046556', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046553', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046550', None, None, None, None, None, '3557438') 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', '26080200', '1378046927', '0.10639004508155271', None, None, None, None, '3557438'), ('4302', '26080200', '1378046898', '0.10639004508155271', None, None, None, None, '3557438'), ('4302', '26080200', '1378046871', '0.10639004508155271', None, None, None, None, '3557438'), ('4302', '26080200', '1378046830', '0.10639004508155271', None, None, None, None, '3557438'), ('4302', '26080200', '1378046618', '0.10639004508155271', None, None, None, None, '3557438'), ('4302', '26080200', '1378046588', '0.10639004508155271', None, None, None, None, '3557438'), ('4302', '26080200', '1378046560', '0.10639004508155271', None, None, None, None, '3557438'), ('4302', '26080200', '1378046556', '0.10639004508155271', None, None, None, None, '3557438'), ('4302', '26080200', '1378046553', '0.10639004508155271', None, None, None, None, '3557438'), ('4302', '26080200', '1378046550', '0.10639004508155271', None, None, None, None, '3557438')] time used for this insertion : 0.016224145889282227 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06379127502441406 time spend to save output : 0.01672530174255371 total time spend for step 2 : 0.08051657676696777 step3:velours_tree Wed Aug 20 15:08:31 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 : {26080200: [{'kraft': 26080208, 'papier': 26080209, 'mal_croppe': 26080210, 'Carton_brun': 26080211, 'Teint_Dans_La_Masse': 26080212, 'environnement': 26080213, 'flou': 26080214, 'autre_refus': 26080215, 'plastique': 26080216, 'metal': 26080217, 'Carton_gris': 26080218, 'cartonnette': 26080219}]} input_args_next_step : {26080200: ()} output_args : {26080200: [{'kraft': 26080208, 'papier': 26080209, 'mal_croppe': 26080210, 'Carton_brun': 26080211, 'Teint_Dans_La_Masse': 26080212, 'environnement': 26080213, 'flou': 26080214, 'autre_refus': 26080215, 'plastique': 26080216, 'metal': 26080217, 'Carton_gris': 26080218, 'cartonnette': 26080219}]} args : 26080200 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': 26080208, 'papier': 26080209, 'mal_croppe': 26080210, 'Carton_brun': 26080211, 'Teint_Dans_La_Masse': 26080212, 'environnement': 26080213, 'flou': 26080214, 'autre_refus': 26080215, 'plastique': 26080216, 'metal': 26080217, 'Carton_gris': 26080218, 'cartonnette': 26080219},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26080200) 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([26080200]) 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.31413841247558594 time spend to save output : 4.3392181396484375e-05 total time spend for step 3 : 0.3141818046569824 step4:send_mail_cod Wed Aug 20 15:08:31 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 : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ('0.10639004508155271',), 1378046588: ('0.10639004508155271',), 1378046560: ('0.10639004508155271',), 1378046556: ('0.10639004508155271',), 1378046553: ('0.10639004508155271',), 1378046550: ('0.10639004508155271',)} input_args_next_step : {1378046927: ()} output_args : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ('0.10639004508155271',), 1378046588: ('0.10639004508155271',), 1378046560: ('0.10639004508155271',), 1378046556: ('0.10639004508155271',), 1378046553: ('0.10639004508155271',), 1378046550: ('0.10639004508155271',)} args : 1378046927 depend.output_id : 0 input_args_next_step : {1378046927: ('0.10639004508155271',), 1378046898: ()} output_args : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ('0.10639004508155271',), 1378046588: ('0.10639004508155271',), 1378046560: ('0.10639004508155271',), 1378046556: ('0.10639004508155271',), 1378046553: ('0.10639004508155271',), 1378046550: ('0.10639004508155271',)} args : 1378046898 depend.output_id : 0 input_args_next_step : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ()} output_args : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ('0.10639004508155271',), 1378046588: ('0.10639004508155271',), 1378046560: ('0.10639004508155271',), 1378046556: ('0.10639004508155271',), 1378046553: ('0.10639004508155271',), 1378046550: ('0.10639004508155271',)} args : 1378046871 depend.output_id : 0 input_args_next_step : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ()} output_args : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ('0.10639004508155271',), 1378046588: ('0.10639004508155271',), 1378046560: ('0.10639004508155271',), 1378046556: ('0.10639004508155271',), 1378046553: ('0.10639004508155271',), 1378046550: ('0.10639004508155271',)} args : 1378046830 depend.output_id : 0 input_args_next_step : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ()} output_args : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ('0.10639004508155271',), 1378046588: ('0.10639004508155271',), 1378046560: ('0.10639004508155271',), 1378046556: ('0.10639004508155271',), 1378046553: ('0.10639004508155271',), 1378046550: ('0.10639004508155271',)} args : 1378046618 depend.output_id : 0 input_args_next_step : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ('0.10639004508155271',), 1378046588: ()} output_args : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ('0.10639004508155271',), 1378046588: ('0.10639004508155271',), 1378046560: ('0.10639004508155271',), 1378046556: ('0.10639004508155271',), 1378046553: ('0.10639004508155271',), 1378046550: ('0.10639004508155271',)} args : 1378046588 depend.output_id : 0 input_args_next_step : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ('0.10639004508155271',), 1378046588: ('0.10639004508155271',), 1378046560: ()} output_args : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ('0.10639004508155271',), 1378046588: ('0.10639004508155271',), 1378046560: ('0.10639004508155271',), 1378046556: ('0.10639004508155271',), 1378046553: ('0.10639004508155271',), 1378046550: ('0.10639004508155271',)} args : 1378046560 depend.output_id : 0 input_args_next_step : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ('0.10639004508155271',), 1378046588: ('0.10639004508155271',), 1378046560: ('0.10639004508155271',), 1378046556: ()} output_args : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ('0.10639004508155271',), 1378046588: ('0.10639004508155271',), 1378046560: ('0.10639004508155271',), 1378046556: ('0.10639004508155271',), 1378046553: ('0.10639004508155271',), 1378046550: ('0.10639004508155271',)} args : 1378046556 depend.output_id : 0 input_args_next_step : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ('0.10639004508155271',), 1378046588: ('0.10639004508155271',), 1378046560: ('0.10639004508155271',), 1378046556: ('0.10639004508155271',), 1378046553: ()} output_args : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ('0.10639004508155271',), 1378046588: ('0.10639004508155271',), 1378046560: ('0.10639004508155271',), 1378046556: ('0.10639004508155271',), 1378046553: ('0.10639004508155271',), 1378046550: ('0.10639004508155271',)} args : 1378046553 depend.output_id : 0 input_args_next_step : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ('0.10639004508155271',), 1378046588: ('0.10639004508155271',), 1378046560: ('0.10639004508155271',), 1378046556: ('0.10639004508155271',), 1378046553: ('0.10639004508155271',), 1378046550: ()} output_args : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ('0.10639004508155271',), 1378046588: ('0.10639004508155271',), 1378046560: ('0.10639004508155271',), 1378046556: ('0.10639004508155271',), 1378046553: ('0.10639004508155271',), 1378046550: ('0.10639004508155271',)} args : 1378046550 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 : {26080200: [{'kraft': 26080208, 'papier': 26080209, 'mal_croppe': 26080210, 'Carton_brun': 26080211, 'Teint_Dans_La_Masse': 26080212, 'environnement': 26080213, 'flou': 26080214, 'autre_refus': 26080215, 'plastique': 26080216, 'metal': 26080217, 'Carton_gris': 26080218, 'cartonnette': 26080219}]} input_args_next_step : {1378046927: ('0.10639004508155271',), 1378046898: ('0.10639004508155271',), 1378046871: ('0.10639004508155271',), 1378046830: ('0.10639004508155271',), 1378046618: ('0.10639004508155271',), 1378046588: ('0.10639004508155271',), 1378046560: ('0.10639004508155271',), 1378046556: ('0.10639004508155271',), 1378046553: ('0.10639004508155271',), 1378046550: ('0.10639004508155271',), 26080200: ()} output_args : {26080200: [{'kraft': 26080208, 'papier': 26080209, 'mal_croppe': 26080210, 'Carton_brun': 26080211, 'Teint_Dans_La_Masse': 26080212, 'environnement': 26080213, 'flou': 26080214, 'autre_refus': 26080215, 'plastique': 26080216, 'metal': 26080217, 'Carton_gris': 26080218, 'cartonnette': 26080219}]} args : 26080200 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.10639004508155271',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26080200) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1378046927,1378046898,1378046871,1378046830,1378046618,1378046588,1378046560,1378046556,1378046553,1378046550) Found this number of photos: 10 ##### Call download_photos : nb_thread : 5 begin to download photo : 1378046550 begin to download photo : 1378046560 begin to download photo : 1378046830 begin to download photo : 1378046927 download finish for photo 1378046927 download finish for photo 1378046550 begin to download photo : 1378046553 download finish for photo 1378046560 begin to download photo : 1378046588 download finish for photo 1378046830 begin to download photo : 1378046871 download finish for photo 1378046553 begin to download photo : 1378046556 download finish for photo 1378046588 begin to download photo : 1378046618 download finish for photo 1378046556 download finish for photo 1378046871 begin to download photo : 1378046898 download finish for photo 1378046618 download finish for photo 1378046898 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette260802081755695311/ imagette260802101755695311/ imagette260802141755695311/ length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 results_Auto_P26080200_20-08-2025_15_08_31.pdf 26080208 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26080208 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260802081755695311 26080210 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26080210 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260802101755695311 26080214 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26080214 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260802141755695311 26080215 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26080215 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1378047087: '1755695247_1358485_1378045098_d21663a4594da66cd1a0a898598af023_rle_crop_3921681180_0.png'} change filename to text .imagette260802151755695311/ imagette260802151755695311/1755695247_1358485_1378045098_d21663a4594da66cd1a0a898598af023_rle_crop_3921681180_0.png.png imagette260802161755695312/ imagette260802171755695312/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/719d43a7d3c50d727e402ba9f50f662a_16297749.png imagette260802151755695311 26080216 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26080216 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260802161755695312 26080217 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26080217 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260802171755695312 26080219 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26080219 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1378047091: '1755695247_1358485_1378045177_55da0c10c0192e2e6fc7d0570f47cca6_rle_crop_3921681124_0.png'} change filename to text .imagette260802191755695312/ imagette260802191755695312/1755695247_1358485_1378045177_55da0c10c0192e2e6fc7d0570f47cca6_rle_crop_3921681124_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/4e5493db9ad024248038b4384532c58a_32133259.png imagette260802191755695312 26080211 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26080211 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1378047093: '1755695247_1358485_1378045153_8372c12a2acb56e25d031a6efdeb271b_rle_crop_3921681147_0.png', 1378047094: '1755695247_1358485_1378045153_8372c12a2acb56e25d031a6efdeb271b_rle_crop_3921681151_0.png', 1378047095: '1755695247_1358485_1378045098_d21663a4594da66cd1a0a898598af023_rle_crop_3921681184_0.png', 1378047096: '1755695247_1358485_1378045098_d21663a4594da66cd1a0a898598af023_rle_crop_3921681183_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/333ca3f2ea96fd63b37131781d0e7c59_73707591.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/59f38355f4816f110ba79b899c90ba9e_3981386.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/dc93df856c024b770e2261b5e209d807_57391128.png change filename to text .imagette260802111755695312/ imagette260802111755695312/1755695247_1358485_1378045098_d21663a4594da66cd1a0a898598af023_rle_crop_3921681184_0.png.png imagette260802111755695312/1755695247_1358485_1378045153_8372c12a2acb56e25d031a6efdeb271b_rle_crop_3921681151_0.png.png imagette260802111755695312/1755695247_1358485_1378045098_d21663a4594da66cd1a0a898598af023_rle_crop_3921681183_0.png.png imagette260802111755695312/1755695247_1358485_1378045153_8372c12a2acb56e25d031a6efdeb271b_rle_crop_3921681147_0.png.png imagette260802121755695312/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/645994537835e58747a739e542f2be81_50879544.png imagette260802111755695312 26080212 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26080212 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260802121755695312 26080218 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26080218 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1378047088: '1755695247_1358485_1378045177_55da0c10c0192e2e6fc7d0570f47cca6_rle_crop_3921681123_0.png', 1378047089: '1755695247_1358485_1378045153_8372c12a2acb56e25d031a6efdeb271b_rle_crop_3921681146_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/46dffa7f319049b1a92b092b95e1ef0e_97522915.png change filename to text .imagette260802181755695312/ imagette260802181755695312/1755695247_1358485_1378045153_8372c12a2acb56e25d031a6efdeb271b_rle_crop_3921681146_0.png.png imagette260802181755695312/1755695247_1358485_1378045177_55da0c10c0192e2e6fc7d0570f47cca6_rle_crop_3921681123_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/74f5c383dc20149f3fc837fbec8df46a_80742591.png imagette260802181755695312 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26080200 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26080220,26080221,26080222,26080223,26080224,26080225,26080226,26080227,26080228,26080229,26080230,26080231?tags=kraft,papier,mal_croppe,Carton_brun,Teint_Dans_La_Masse,environnement,flou,autre_refus,plastique,metal,Carton_gris,cartonnette your option no_mail is active, we will not send the real mail to your client args[1378046927] : ('0.10639004508155271',) no score found for photo 1378046927 We are sending mail with results at report@fotonower.com args[1378046898] : ('0.10639004508155271',) no score found for photo 1378046898 We are sending mail with results at report@fotonower.com args[1378046871] : ('0.10639004508155271',) no score found for photo 1378046871 We are sending mail with results at report@fotonower.com args[1378046830] : ('0.10639004508155271',) no score found for photo 1378046830 We are sending mail with results at report@fotonower.com args[1378046618] : ('0.10639004508155271',) no score found for photo 1378046618 We are sending mail with results at report@fotonower.com args[1378046588] : ('0.10639004508155271',) no score found for photo 1378046588 We are sending mail with results at report@fotonower.com args[1378046560] : ('0.10639004508155271',) no score found for photo 1378046560 We are sending mail with results at report@fotonower.com args[1378046556] : ('0.10639004508155271',) no score found for photo 1378046556 We are sending mail with results at report@fotonower.com args[1378046553] : ('0.10639004508155271',) no score found for photo 1378046553 We are sending mail with results at report@fotonower.com args[1378046550] : ('0.10639004508155271',) no score found for photo 1378046550 We are sending mail with results at report@fotonower.com refus_total : 0.10639004508155271 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26080200 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_P26080200_20-08-2025_15_08_31.pdf results_Auto_P26080200_20-08-2025_15_08_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080200_20-08-2025_15_08_31.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','26080200','results_Auto_P26080200_20-08-2025_15_08_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080200_20-08-2025_15_08_31.pdf','pdf','','0.12','0.10639004508155271') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26080200]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1378046927, 1378046898, 1378046871, 1378046830, 1378046618, 1378046588, 1378046560, 1378046556, 1378046553, 1378046550] map_info['map_portfolio_photo'] : {26080200: [1378046927, 1378046898, 1378046871, 1378046830, 1378046618, 1378046588, 1378046560, 1378046556, 1378046553, 1378046550, 1378046330, 1378046328, 1378046327, 1378046323, 1378046195, 1378046192, 1378046190, 1378046186, 1378046176, 1378046136, 1378045825, 1378045804, 1378045779, 1378045752, 1378045726, 1378045620, 1378045339, 1378045337, 1378045177, 1378045153, 1378045129, 1378045098]} final : False mtd_id 4302 list_pids : [1378046927, 1378046898, 1378046871, 1378046830, 1378046618, 1378046588, 1378046560, 1378046556, 1378046553, 1378046550] 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, '3557438') ('4302', '26080200', '1378046927', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046898', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046871', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046830', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046618', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046588', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046560', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046556', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046553', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046550', None, None, None, None, None, '3557438') 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', '26080200', '1378046927', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046898', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046871', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046830', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046618', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046588', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046560', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046556', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046553', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046550', None, None, None, None, None, '3557438')] time used for this insertion : 0.015340805053710938 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.284301996231079 time spend to save output : 0.015630006790161133 total time spend for step 4 : 2.2999320030212402 step5:split_time_score Wed Aug 20 15:08:33 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['26080200'] 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 : [('26080200',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26080200) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1378046927: {'path': 'temp/1755695311_2201453_1378046927_bdfcc4c9b083f211032abc672b6bcfa7.jpg', 'extension': 'jpg'}, 1378046550: {'path': 'temp/1755695311_2201453_1378046550_cb684f59931c23bb56e165c8d068287f.jpg', 'extension': 'jpg'}, 1378046553: {'path': 'temp/1755695311_2201453_1378046553_1dc5aee0459093a1fe33b32c97d30b40.jpg', 'extension': 'jpg'}, 1378046556: {'path': 'temp/1755695311_2201453_1378046556_65e075cc4c00e3c23e315f776bf30f83.jpg', 'extension': 'jpg'}, 1378046560: {'path': 'temp/1755695311_2201453_1378046560_4d0c4f843579bb34e9b6980db90a4174.jpg', 'extension': 'jpg'}, 1378046588: {'path': 'temp/1755695311_2201453_1378046588_cb0416930b1c0cb87d91300cc193aacc.jpg', 'extension': 'jpg'}, 1378046618: {'path': 'temp/1755695311_2201453_1378046618_33818c4787dd94c0ac01c6ae7809baff.jpg', 'extension': 'jpg'}, 1378046830: {'path': 'temp/1755695311_2201453_1378046830_7330ecbcde0e7664f3a19f02c44e7505.jpg', 'extension': 'jpg'}, 1378046871: {'path': 'temp/1755695311_2201453_1378046871_df3b32d58b1ddfba51790aecd68f3053.jpg', 'extension': 'jpg'}, 1378046898: {'path': 'temp/1755695311_2201453_1378046898_0d87b6b56c5d7bcfbcc84f6757387cb0.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 = 26080200; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26080200 group by h (('15', 32),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26080200 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 (26080200) 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 (26080200) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 20082025 26080200 Nombre de photos uploadées : 32 / 23040 (0%) 20082025 26080200 Nombre de photos taguées (types de déchets): 0 / 32 (0%) 20082025 26080200 Nombre de photos taguées (volume) : 0 / 32 (0%) [{'photo_id': 1378045177, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/55da0c10c0192e2e6fc7d0570f47cca6.jpg', 'username': None, 'uploaded_at': 1755694868, 'text': 'image_20082025_15_00_14_10136.jpg'}, {'photo_id': 1378045153, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/8372c12a2acb56e25d031a6efdeb271b.jpg', 'username': None, 'uploaded_at': 1755694868, 'text': 'image_20082025_15_00_25_10138.jpg'}, {'photo_id': 1378045129, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/2f431c79f01cf5b1e4090da94106f2ee.jpg', 'username': None, 'uploaded_at': 1755694868, 'text': 'image_20082025_15_00_34_9133.jpg'}, {'photo_id': 1378045098, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/d21663a4594da66cd1a0a898598af023.jpg', 'username': None, 'uploaded_at': 1755694868, 'text': 'image_20082025_15_00_44_10139.jpg'}] 0 [] elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 1.0728836059570312e-05 ???????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016765594482421875 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26080200, '2025-08-20' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-08-20' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2142351,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21065187454223633 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= 2142351 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079943, 'dashboard_result_id': 14096963, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079947, 'dashboard_result_id': 14096964, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079950, 'dashboard_result_id': 14096965, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079954, 'dashboard_result_id': 14096966, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079958, 'dashboard_result_id': 14096967, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079961, 'dashboard_result_id': 14096968, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079964, 'dashboard_result_id': 14096969, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079967, 'dashboard_result_id': 14096970, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079969, 'dashboard_result_id': 14096971, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079970, 'dashboard_result_id': 14096972, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079972, 'dashboard_result_id': 14096973, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079974, 'dashboard_result_id': 14096974, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079976, 'dashboard_result_id': 14096975, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079979, 'dashboard_result_id': 14096976, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079981, 'dashboard_result_id': 14096977, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079983, 'dashboard_result_id': 14096978, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079985, 'dashboard_result_id': 14096979, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079987, 'dashboard_result_id': 14096980, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079989, 'dashboard_result_id': 14096981, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079991, 'dashboard_result_id': 14096982, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079993, 'dashboard_result_id': 14096983, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079995, 'dashboard_result_id': 14096984, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079997, 'dashboard_result_id': 14096985, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26080016, 'dashboard_result_id': 14096986, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26080019, 'dashboard_result_id': 14096987, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26080040, 'dashboard_result_id': 14096988, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26080042, 'dashboard_result_id': 14096989, '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_P26080042_20-08-2025_15_03_34.pdf'}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26080044, 'dashboard_result_id': 14096990, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26080046, 'dashboard_result_id': 14096991, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26080048, 'dashboard_result_id': 14096992, '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_P26080048_20-08-2025_15_08_02.pdf'}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26080050, 'dashboard_result_id': 14096993, '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_P26080050_20-08-2025_15_07_32.pdf'}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26080055, 'dashboard_result_id': 14096994, '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_P26080055_20-08-2025_15_03_33.pdf'}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26080060, 'dashboard_result_id': 14096995, '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_P26080060_20-08-2025_15_06_33.pdf'}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26080064, 'dashboard_result_id': 14096996, '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_P26080064_20-08-2025_15_06_01.pdf'}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26080069, 'dashboard_result_id': 14096997, '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_P26080069_20-08-2025_15_05_31.pdf'}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26080074, 'dashboard_result_id': 14096998, '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_P26080074_20-08-2025_15_04_31.pdf'}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26077616, 'dashboard_result_id': 14096999, '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_P26077616_20-08-2025_14_11_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077665, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26077618, 'dashboard_result_id': 14097000, '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_P26077618_20-08-2025_14_11_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077669, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077672, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077677, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26077621, 'dashboard_result_id': 14097001, '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_P26077621_20-08-2025_14_16_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077630, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077635, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26077839, 'dashboard_result_id': 14097002, '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_P26077839_20-08-2025_14_32_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077928, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077930, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26078554, 'dashboard_result_id': 14097003, '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_P26078554_20-08-2025_14_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26078580, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26078581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26078582, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26078583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26078584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26078585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26078586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26078587, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26078588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26078589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26078590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26078591, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26079264, 'dashboard_result_id': 14097004, '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_P26079264_20-08-2025_15_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26079313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26079314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26079315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26079316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26079317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26079318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26079319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26079320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26079321, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26079322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26079323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26079324, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2153971, 'mtr_portfolio_id': 26080200, 'dashboard_result_id': 14097005, '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_P26080200_20-08-2025_15_08_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080212, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080219, '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 = 26079943 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 = 26079943 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079943 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079943%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079943 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079943 and dashboard_run_id = 2153971 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 = 26079947 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 = 26079947 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079947 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079947%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079947 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079947 and dashboard_run_id = 2153971 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 = 26079950 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 = 26079950 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079950 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079950%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079950 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079950 and dashboard_run_id = 2153971 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 = 26079954 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 = 26079954 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079954 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079954%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079954 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079954 and dashboard_run_id = 2153971 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 = 26079958 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 = 26079958 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079958 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079958%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079958 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079958 and dashboard_run_id = 2153971 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 = 26079961 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 = 26079961 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079961 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079961%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079961 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079961 and dashboard_run_id = 2153971 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 = 26079964 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 = 26079964 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079964 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079964%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079964 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079964 and dashboard_run_id = 2153971 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 = 26079967 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 = 26079967 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079967 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079967%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079967 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079967 and dashboard_run_id = 2153971 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 = 26079969 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 = 26079969 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079969 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079969%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079969 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079969 and dashboard_run_id = 2153971 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 = 26079970 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 = 26079970 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079970 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079970%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079970 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079970 and dashboard_run_id = 2153971 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 = 26079972 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 = 26079972 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079972 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079972%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079972 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079972 and dashboard_run_id = 2153971 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 = 26079974 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 = 26079974 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079974 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079974%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079974 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079974 and dashboard_run_id = 2153971 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 = 26079976 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 = 26079976 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079976 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079976%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079976 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079976 and dashboard_run_id = 2153971 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 = 26079979 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 = 26079979 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079979 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079979%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079979 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079979 and dashboard_run_id = 2153971 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 = 26079981 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 = 26079981 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079981 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079981%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079981 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079981 and dashboard_run_id = 2153971 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 = 26079983 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 = 26079983 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079983 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079983%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079983 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079983 and dashboard_run_id = 2153971 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 = 26079985 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 = 26079985 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079985 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079985%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079985 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079985 and dashboard_run_id = 2153971 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 = 26079987 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 = 26079987 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079987 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079987%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079987 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079987 and dashboard_run_id = 2153971 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 = 26079989 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 = 26079989 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079989 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079989%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079989 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079989 and dashboard_run_id = 2153971 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 = 26079991 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 = 26079991 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079991 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079991%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079991 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079991 and dashboard_run_id = 2153971 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 = 26079993 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 = 26079993 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079993 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079993%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079993 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079993 and dashboard_run_id = 2153971 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 = 26079995 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 = 26079995 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079995 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079995%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079995 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079995 and dashboard_run_id = 2153971 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 = 26079997 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 = 26079997 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26079997 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26079997%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079997 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26079997 and dashboard_run_id = 2153971 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 = 26080016 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 = 26080016 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26080016 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26080016%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080016 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26080016 and dashboard_run_id = 2153971 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 = 26080019 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 = 26080019 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26080019 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26080019%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080019 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26080019 and dashboard_run_id = 2153971 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 = 26080040 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 = 26080040 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26080040 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26080040%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080040 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26080040 and dashboard_run_id = 2153971 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 = 26080042 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 = 26080042 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 = 26080042 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080042 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 = 26080042 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 = 26080042 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080042_20-08-2025_15_03_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080042 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_P26080042_20-08-2025_15_03_34.pdf'}" where mtr_portfolio_id = 26080042 and dashboard_run_id = 2153971 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 = 26080044 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 = 26080044 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26080044 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26080044%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080044 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26080044 and dashboard_run_id = 2153971 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 = 26080046 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 = 26080046 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26080046 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%26080046%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080046 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 26080046 and dashboard_run_id = 2153971 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 = 26080048 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 = 26080048 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 = 26080048 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080048 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 = 26080048 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 = 26080048 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080048_20-08-2025_15_08_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080048 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_P26080048_20-08-2025_15_08_02.pdf'}" where mtr_portfolio_id = 26080048 and dashboard_run_id = 2153971 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 = 26080050 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 = 26080050 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 = 26080050 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080050 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 = 26080050 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 = 26080050 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080050_20-08-2025_15_07_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080050 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_P26080050_20-08-2025_15_07_32.pdf'}" where mtr_portfolio_id = 26080050 and dashboard_run_id = 2153971 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 = 26080055 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 = 26080055 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 = 26080055 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080055 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 = 26080055 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 = 26080055 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080055_20-08-2025_15_03_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080055 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_P26080055_20-08-2025_15_03_33.pdf'}" where mtr_portfolio_id = 26080055 and dashboard_run_id = 2153971 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 = 26080060 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 = 26080060 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 = 26080060 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080060 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 = 26080060 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 = 26080060 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080060_20-08-2025_15_06_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080060 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_P26080060_20-08-2025_15_06_33.pdf'}" where mtr_portfolio_id = 26080060 and dashboard_run_id = 2153971 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 = 26080064 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 = 26080064 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 = 26080064 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080064 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 = 26080064 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 = 26080064 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080064_20-08-2025_15_06_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080064 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_P26080064_20-08-2025_15_06_01.pdf'}" where mtr_portfolio_id = 26080064 and dashboard_run_id = 2153971 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 = 26080069 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 = 26080069 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 = 26080069 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080069 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 = 26080069 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 = 26080069 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080069_20-08-2025_15_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080069 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_P26080069_20-08-2025_15_05_31.pdf'}" where mtr_portfolio_id = 26080069 and dashboard_run_id = 2153971 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 = 26080074 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 = 26080074 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 = 26080074 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080074 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 = 26080074 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 = 26080074 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080074_20-08-2025_15_04_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080074 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_P26080074_20-08-2025_15_04_31.pdf'}" where mtr_portfolio_id = 26080074 and dashboard_run_id = 2153971 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 = 26077616 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 = 26077616 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 = 26077616 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26077616 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 = 26077616 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 = 26077616 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077616_20-08-2025_14_11_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26077616 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_P26077616_20-08-2025_14_11_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077665, 'pht': 3726}}" where mtr_portfolio_id = 26077616 and dashboard_run_id = 2153971 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 = 26077618 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 = 26077618 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 = 26077618 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26077618 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 = 26077618 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 = 26077618 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077618_20-08-2025_14_11_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26077618 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_P26077618_20-08-2025_14_11_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077669, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077672, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077677, 'pht': 3726}}" where mtr_portfolio_id = 26077618 and dashboard_run_id = 2153971 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 = 26077621 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': 3556356, 'mtr_portfolio_id': 26077621, 'created_at': datetime.datetime(2025, 8, 20, 14, 16, 59), 'result': '0.06687066554665505', 'result_long': None, 'result_double': None}] Qualite : 0.06687066554665505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26077621 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077621_20-08-2025_14_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26077621 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_P26077621_20-08-2025_14_16_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077630, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077635, 'pht': 3726}}" where mtr_portfolio_id = 26077621 and dashboard_run_id = 2153971 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`=26077621 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14097001, 0.06687066554665505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077621_20-08-2025_14_16_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077630, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077635, '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 = 26077839 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': 3556534, 'mtr_portfolio_id': 26077839, 'created_at': datetime.datetime(2025, 8, 20, 14, 32, 57), 'result': '0.07742126445864296', 'result_long': None, 'result_double': None}] Qualite : 0.07742126445864296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26077839 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077839_20-08-2025_14_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26077839 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_P26077839_20-08-2025_14_32_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077928, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077930, 'pht': 3726}}" where mtr_portfolio_id = 26077839 and dashboard_run_id = 2153971 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`=26077839 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14097002, 0.07742126445864296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077839_20-08-2025_14_32_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077928, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077930, '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 = 26078554 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': 3556758, 'mtr_portfolio_id': 26078554, 'created_at': datetime.datetime(2025, 8, 20, 14, 48, 59), 'result': '0.029841024099936195', 'result_long': None, 'result_double': None}] Qualite : 0.029841024099936195 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26078554 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26078554_20-08-2025_14_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26078554 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_P26078554_20-08-2025_14_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26078580, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26078581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26078582, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26078583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26078584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26078585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26078586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26078587, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26078588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26078589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26078590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26078591, 'pht': 3726}}" where mtr_portfolio_id = 26078554 and dashboard_run_id = 2153971 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`=26078554 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14097003, 0.029841024099936195, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26078554_20-08-2025_14_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26078580, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26078581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26078582, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26078583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26078584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26078585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26078586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26078587, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26078588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26078589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26078590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26078591, '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 = 26079264 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 = 26079264 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 = 26079264 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079264 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 = 26079264 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 = 26079264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079264_20-08-2025_15_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079264 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_P26079264_20-08-2025_15_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26079313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26079314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26079315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26079316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26079317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26079318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26079319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26079320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26079321, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26079322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26079323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26079324, 'pht': 3726}}" where mtr_portfolio_id = 26079264 and dashboard_run_id = 2153971 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 = 26080200 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': 3557438, 'mtr_portfolio_id': 26080200, 'created_at': datetime.datetime(2025, 8, 20, 15, 8, 31), 'result': '0.10639004508155271', 'result_long': None, 'result_double': None}] Qualite : 0.10639004508155271 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26080200 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080200_20-08-2025_15_08_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080200 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_P26080200_20-08-2025_15_08_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080212, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080219, 'pht': 3726}}" where mtr_portfolio_id = 26080200 and dashboard_run_id = 2153971 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`=26080200 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14097005, 0.10639004508155271, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080200_20-08-2025_15_08_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080212, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080219, '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 (26079943,26079947,26079950,26079954,26079958,26079961,26079964,26079967,26079969,26079970,26079972,26079974,26079976,26079979,26079981,26079983,26079985,26079987,26079989,26079991,26079993,26079995,26079997,26080016,26080019,26080040,26080042,26080044,26080046,26080048,26080050,26080055,26080060,26080064,26080069,26080074,26077616,26077618,26077621,26077839,26078554,26079264,26080200) result : ((1378034422,), (1378034892,), (1378035148,), (1378035229,), (1378035309,), (1378035327,), (1378035330,), (1378035333,), (1378035335,), (1378035352,), (1378035380,), (1378035383,), (1378035385,), (1378035459,), (1378035464,), (1378035467,), (1378035754,), (1378035675,), (1378035704,), (1378035730,), (1378035855,), (1378035860,), (1378035864,), (1378035883,), (1378035888,), (1378035890,), (1378035956,), (1378035966,), (1378035997,), (1378036001,), (1378036005,), (1378036012,), (1378036039,), (1378036040,), (1378036084,), (1378036112,), (1378036115,), (1378036117,), (1378036145,), (1378036149,), (1378036177,), (1378036181,), (1378036184,), (1378036295,), (1378036298,), (1378036299,), (1378036301,), (1378036304,), (1378036784,), (1378036769,), (1378036772,), (1378036871,), (1378036875,), (1378036877,), (1378036879,), (1378036880,), (1378036903,), (1378036905,), (1378036920,), (1378036925,), (1378036927,), (1378036949,), (1378036952,), (1378036953,), (1378036954,), (1378036957,), (1378036960,), (1378036972,), (1378036977,), (1378036980,), (1378036983,), (1378036988,), (1378037003,), (1378037005,), (1378037007,), (1378037011,), (1378037091,), (1378037156,), (1378037158,), (1378037161,), (1378037163,), (1378037168,), (1378037177,), (1378037180,), (1378037186,), (1378037189,), (1378037198,), (1378037206,), (1378037252,), (1378037256,), (1378037258,), (1378037268,), (1378037339,), (1378037343,), (1378037346,), (1378037349,), (1378037352,), (1378037357,), (1378037388,), (1378037391,), (1378037392,), (1378037449,), (1378037453,), (1378037475,), (1378037478,), (1378037497,), (1378037500,), (1378037589,), (1378037620,), (1378037643,), (1378037665,), (1378037667,), (1378037669,), (1378037672,), (1378037675,), (1378037679,), (1378037741,), (1378037715,), (1378037718,), (1378037720,), (1378037890,), (1378037916,), (1378037927,), (1378037931,), (1378037935,), (1378037943,), (1378038084,), (1378038118,), (1378038144,), (1378038170,), (1378038300,), (1378038304,), (1378038305,), (1378038323,), (1378038328,), (1378038331,), (1378038484,), (1378038522,), (1378038531,), (1378038551,), (1378038619,), (1378038620,), (1378038633,), (1378038659,), (1378038685,), (1378038781,), (1378038795,), (1378038819,), (1378038838,), (1378038850,), (1378038869,), (1378038881,), (1378038888,), (1378038895,), (1378038979,), (1378038991,), (1378038993,), (1378038995,), (1378039005,), (1378039017,), (1378039082,), (1378039086,), (1378039100,), (1378039103,), (1378039227,), (1378039232,), (1378039234,), (1378039236,), (1378039238,), (1378039240,), (1378039253,), (1378039255,), (1378039256,), (1378039258,), (1378039362,), (1378039379,), (1378039392,), (1378039395,), (1378039432,), (1378039435,), (1378039436,), (1378039437,), (1378039439,), (1378039441,), (1378039463,), (1378039468,), (1378039472,), (1378039476,), (1378039480,), (1378039532,), (1378039513,), (1378039515,), (1378039517,), (1378039519,), (1378039522,), (1378039688,), (1378039694,), (1378039697,), (1378039699,), (1378039769,), (1378039772,), (1378039774,), (1378039776,), (1378039779,), (1378039784,), (1378039908,), (1378039914,), (1378039918,), (1378039921,), (1378039924,), (1378039941,), (1378039943,), (1378039945,), (1378039946,), (1378039948,), (1378039985,), (1378040016,), (1378040041,), (1378040053,), (1378040064,), (1378040070,), (1378040161,), (1378040169,), (1378040177,), (1378040196,), (1378040213,), (1378040280,), (1378040286,), (1378040291,), (1378040298,), (1378040301,), (1378040303,), (1378040340,), (1378040344,), (1378040345,), (1378040346,), (1378040348,), (1378040352,), (1378040372,), (1378040376,), (1378040380,), (1378040404,), (1378040406,), (1378040407,), (1378040408,), (1378040411,), (1378040415,), (1378040441,), (1378040450,), (1378040453,), (1378040468,), (1378040535,), (1378040538,), (1378040539,), (1378040541,), (1378040544,), (1378040546,), (1378040570,), (1378040574,), (1378040576,), (1378040580,), (1378040584,), (1378040642,), (1378040645,), (1378040648,), (1378040651,), (1378040866,), (1378040822,), (1378040830,), (1378040832,), (1378040840,), (1378041021,), (1378041028,), (1378041037,), (1378041064,), (1378041351,), (1378041377,), (1378041567,), (1378041571,), (1378041572,), (1378041573,), (1378041576,), (1378041580,), (1378041948,), (1378042001,), (1378042047,), (1378042085,), (1378042092,), (1378042200,), (1378042220,), (1378042246,), (1378042473,), (1378042520,), (1378042552,), (1378042557,), (1378042585,), (1378042611,), (1378042856,), (1378042878,), (1378042882,), (1378042897,), (1378042997,), (1378043001,), (1378043003,), (1378043025,), (1378043050,), (1378043075,), (1378043280,), (1378043322,), (1378043368,), (1378043398,), (1378043428,), (1378043453,), (1378043537,), (1378043565,), (1378043594,), (1378043622,), (1378043653,), (1378043977,), (1378044003,), (1378044026,), (1378044050,), (1378044084,), (1378044111,), (1378044873,), (1378044881,), (1378044912,), (1378044916,), (1378044920,), (1378044969,), (1378044970,), (1378044989,), (1378044990,), (1378044991,), (1378044992,), (1378044994,), (1378044995,), (1378045227,), (1377957814,), (1377957819,), (1377957914,), (1377957939,), (1377957940,), (1377957941,), (1377957942,), (1377957945,), (1377957948,), (1377957958,), (1377957960,), (1377957962,), (1377957978,), (1377957981,), (1377957984,), (1377957988,), (1377958088,), (1377958091,), (1377958095,), (1377958105,), (1377958109,), (1377958112,), (1377958130,), (1377958133,), (1377958136,), (1377958139,), (1377958142,), (1377958145,), (1377958176,), (1377958177,), (1377958198,), (1377958201,), (1377958204,), (1377958207,), (1377958210,), (1377958254,), (1377958256,), (1377958257,), (1377958336,), (1377958338,), (1377958340,), (1377958343,), (1377958346,), (1377958356,), (1377958388,), (1377958407,), (1377958410,), (1377958414,), (1377958421,), (1377958422,), (1377958383,), (1377958384,), (1377958490,), (1377958515,), (1377958519,), (1377958542,), (1377958549,), (1377958551,), (1377958554,), (1377958575,), (1377958576,), (1377958577,), (1377958579,), (1377958597,), (1377958599,), (1377958601,), (1377958605,), (1377958672,), (1377958674,), (1377958677,), (1377958681,), (1377958684,), (1377958767,), (1377958771,), (1377958775,), (1377958778,), (1377958782,), (1377958961,), (1377958986,), (1377959010,), (1377959037,), (1377959269,), (1377959271,), (1377959290,), (1377959302,), (1377959303,), (1377959348,), (1377959350,), (1377959352,), (1377959355,), (1377959358,), (1377959359,), (1377959364,), (1377959368,), (1377959372,), (1377959460,), (1377959485,), (1377959513,), (1377959536,), (1377959747,), (1377959757,), (1377959761,), (1377959767,), (1377959820,), (1377959824,), (1377959829,), (1377959833,), (1377959881,), (1377959883,), (1377959884,), (1377959887,), (1377959891,), (1377959894,), (1377959915,), (1377959918,), (1377959920,), (1377960088,), (1377960082,), (1377960085,), (1377960145,), (1377960148,), (1377960150,), (1377960178,), (1377960180,), (1377960190,), (1377960246,), (1377960249,), (1377960266,), (1377960268,), (1377960270,), (1377960391,), (1377960403,), (1377960408,), (1377960415,), (1377960417,), (1377960419,), (1377960436,), (1377960438,), (1377960439,), (1377960440,), (1377960442,), (1377960444,), (1377960454,), (1377960456,), (1377960458,), (1377960462,), (1377960470,), (1377960472,), (1377960489,), (1377960498,), (1377960500,), (1377960503,), (1377960560,), (1377960564,), (1377960568,), (1377960590,), (1377960597,), (1377960599,), (1377960604,), (1377960606,), (1377960609,), (1377960612,), (1377960615,), (1377960616,), (1377960618,), (1377960620,), (1377960623,), (1377960627,), (1377960629,), (1377960649,), (1377960652,), (1377960655,), (1377960657,), (1377960677,), (1377960681,), (1377960683,), (1377960685,), (1377960687,), (1377960706,), (1377960707,), (1377960708,), (1377960710,), (1377960713,), (1377960716,), (1377960733,), (1377960735,), (1377960737,), (1377960739,), (1377960757,), (1377960762,), (1377960766,), (1377960769,), (1377960796,), (1377960784,), (1377960786,), (1377960788,), (1377960791,), (1377960793,), (1377960825,), (1377960828,), (1377960832,), (1377960853,), (1377960867,), (1377960870,), (1377960886,), (1377960889,), (1377960911,), (1377960912,), (1377960913,), (1377960915,), (1377960928,), (1377960931,), (1377960934,), (1377960937,), (1377960940,), (1377960943,), (1377960955,), (1377960958,), (1377960960,), (1377960961,), (1377960964,), (1377960979,), (1377960987,), (1377960990,), (1377960992,), (1377960995,), (1377961010,), (1377961012,), (1377961015,), (1377961017,), (1377961035,), (1377961037,), (1377961077,), (1377961081,), (1377964177,), (1377964172,), (1377964175,), (1377964316,), (1377964318,), (1377964320,), (1377964323,), (1377964336,), (1377964338,), (1377964340,), (1377964342,), (1377964356,), (1377964359,), (1377964362,), (1377964365,), (1377964383,), (1377964386,), (1377964389,), (1377964394,), (1377964414,), (1377964417,), (1377964420,), (1377964423,), (1377964444,), (1377964446,), (1377964484,), (1377964487,), (1377964490,), (1377964493,), (1377964497,), (1377964511,), (1377964513,), (1377964515,), (1377964517,), (1377964532,), (1377964535,), (1377964538,), (1377964541,), (1377964569,), (1377964570,), (1377964589,), (1377964593,), (1377964596,), (1377964600,), (1377964623,), (1377964614,), (1377964617,), (1377964620,), (1377964644,), (1377964646,), (1377964647,), (1377964648,), (1377964650,), (1377964652,), (1377964668,), (1377964670,), (1377964672,), (1377964690,), (1377964692,), (1377964693,), (1377964694,), (1377964695,), (1377964697,), (1377964709,), (1377964712,), (1377964714,), (1377964717,), (1377964736,), (1377964739,), (1377964742,), (1377964745,), (1377964749,), (1377964753,), (1377964762,), (1377964765,), (1377964768,), (1377964771,), (1377964793,), (1377964795,), (1377964797,), (1377964800,), (1377964803,), (1377964819,), (1377964821,), (1377964843,), (1377964846,), (1377964850,), (1377964853,), (1377964867,), (1377964871,), (1377964873,), (1377964877,), (1377964895,), (1377964897,), (1377964899,), (1377964901,), (1377964919,), (1377964921,), (1377964953,), (1377964956,), (1377964959,), (1377964961,), (1377964963,), (1377964965,), (1377964981,), (1377964977,), (1377965002,), (1377965005,), (1377965008,), (1377965010,), (1377965025,), (1377965026,), (1377965027,), (1377965029,), (1377965032,), (1377965052,), (1377965054,), (1377965056,), (1377965057,), (1377965075,), (1377965079,), (1377965082,), (1377965094,), (1377965097,), (1377965099,), (1377965110,), (1377965112,), (1377965114,), (1377965116,), (1377965130,), (1377965132,), (1377965134,), (1377965137,), (1377965141,), (1377965145,), (1377965157,), (1377965159,), (1377965162,), (1377965166,), (1377965171,), (1377965182,), (1377965185,), (1377965188,), (1377965220,), (1377965223,), (1377965225,), (1377965227,), (1377965240,), (1377965242,), (1377965244,), (1377965246,), (1377965249,), (1377965263,), (1377965266,), (1377965269,), (1377965273,), (1377965286,), (1377965289,), (1377965292,), (1377965319,), (1377965320,), (1377965342,), (1377965339,), (1377965375,), (1377965376,), (1377965377,), (1377965379,), (1377965382,), (1377965398,), (1377965399,), (1377965400,), (1377965402,), (1377965406,), (1377965429,), (1377965433,), (1377965436,), (1377965449,), (1377965450,), (1377965451,), (1377965453,), (1377965467,), (1377965470,), (1377965472,), (1377965475,), (1377965478,), (1377965488,), (1377965490,), (1377965492,), (1377965495,), (1377965553,), (1377965555,), (1377965559,), (1377965580,), (1377965597,), (1377965599,), (1377965601,), (1377965604,), (1377965626,), (1377965629,), (1377965632,), (1377965635,), (1377965658,), (1377965660,), (1377965662,), (1377965726,), (1377965743,), (1377965747,), (1377965750,), (1377965768,), (1377965771,), (1377965792,), (1377965795,), (1377965797,), (1377965816,), (1377965818,), (1377965820,), (1377965822,), (1377965823,), (1377965825,), (1377965834,), (1377965835,), (1377965836,), (1377965861,), (1377965863,), (1377965864,), (1377965865,), (1377965879,), (1377965882,), (1377965903,), (1377965906,), (1377965907,), (1377965909,), (1377965930,), (1377965932,), (1377965934,), (1377965936,), (1377965965,), (1377965966,), (1377965967,), (1377965969,), (1377965972,), (1377965989,), (1377965992,), (1377965995,), (1377965998,), (1377966019,), (1377966021,), (1377966023,), (1377966025,), (1377966029,), (1377966032,), (1377966053,), (1377966056,), (1377966059,), (1377966060,), (1377966063,), (1377966092,), (1377966096,), (1377966098,), (1377966105,), (1377966107,), (1377966110,), (1377966082,), (1377966084,), (1377966088,), (1377966119,), (1377966122,), (1377966125,), (1377966129,), (1377966131,), (1377966143,), (1377966146,), (1377966149,), (1377966152,), (1377966156,), (1377966160,), (1377966179,), (1377966180,), (1377966181,), (1377966197,), (1377966199,), (1377966201,), (1377966203,), (1377966219,), (1377966221,), (1377966222,), (1377966223,), (1377966243,), (1377966245,), (1377966247,), (1377966249,), (1377966252,), (1377966265,), (1377966269,), (1377966272,), (1377966276,), (1377966279,), (1377966293,), (1377966295,), (1377966297,), (1377966300,), (1377966302,), (1377966321,), (1377966322,), (1377966346,), (1377966349,), (1377966351,), (1377966355,), (1377966359,), (1377966362,), (1377966371,), (1377966374,), (1377966376,), (1377966378,), (1377966402,), (1377966403,), (1377966404,), (1377966431,), (1377966434,), (1377966437,), (1377966460,), (1377966458,), (1377966479,), (1377966500,), (1377966502,), (1377966648,), (1377966651,), (1377966670,), (1377966673,), (1377966676,), (1377966679,), (1377966682,), (1377966695,), (1377966699,), (1377966703,), (1377966722,), (1377966725,), (1377966727,), (1377966729,), (1377966732,), (1377966735,), (1377966750,), (1377966753,), (1377966756,), (1377966759,), (1377966783,), (1377966788,), (1377966791,), (1377966794,), (1377966797,), (1377966819,), (1377966821,), (1377966822,), (1377966827,), (1377966830,), (1377966833,), (1377966813,), (1377966815,), (1377966817,), (1377966837,), (1377966838,), (1377966840,), (1377966858,), (1377966862,), (1377966886,), (1377966887,), (1377966888,), (1377966890,), (1377966894,), (1377966915,), (1377966917,), (1377966918,), (1377966919,), (1377966939,), (1377966941,), (1377966943,), (1377966963,), (1377966966,), (1377966969,), (1377966971,), (1377966974,), (1377966977,), (1377966988,), (1377966990,), (1377967009,), (1377967012,), (1377967015,), (1377967034,), (1377967036,), (1377967038,), (1377967063,), (1377967066,), (1377967070,), (1377967073,), (1377967075,), (1377967076,), (1377967093,), (1377967095,), (1377967096,), (1377967097,), (1377967099,), (1377967115,), (1377967117,), (1377967119,), (1377967122,), (1377967147,), (1377967153,), (1377967156,), (1377967173,), (1377967178,), (1377967181,), (1377967198,), (1377967194,), (1377967195,), (1377967196,), (1377967214,), (1377967216,), (1377967218,), (1377967220,), (1377967223,), (1377967225,), (1377967240,), (1377967244,), (1377967248,), (1377967251,), (1377967273,), (1377967275,), (1377967278,), (1377967297,), (1377967301,), (1377967304,), (1377967332,), (1377967334,), (1377967335,), (1377967337,), (1377967340,), (1377967356,), (1377967360,), (1377967364,), (1377967385,), (1377967387,), (1377967388,), (1377967389,), (1377967409,), (1377967412,), (1377967416,), (1377967437,), (1377967439,), (1377967440,), (1377967441,), (1377967455,), (1377967501,), (1377967640,), (1377967564,), (1377967635,), (1377967636,), (1377967637,), (1377967638,), (1377967657,), (1377967660,), (1377967664,), (1377967668,), (1377967692,), (1377967694,), (1377967696,), (1377967697,), (1377967699,), (1377967719,), (1377967721,), (1377967723,), (1377967725,), (1377967743,), (1377967744,), (1377967763,), (1377967767,), (1377967772,), (1377967777,), (1377967803,), (1377967805,), (1377967806,), (1377967807,), (1377967821,), (1377967823,), (1377967825,), (1377967828,), (1377967850,), (1377967852,), (1377967854,), (1377967880,), (1377967881,), (1377967882,), (1377967884,), (1377967887,), (1377967908,), (1377967912,), (1377967916,), (1377967925,), (1377967927,), (1377967929,), (1377967931,), (1377967955,), (1377967945,), (1377967952,), (1377967954,), (1377967968,), (1377967971,), (1377967978,), (1377967980,), (1377968000,), (1377968009,), (1377968011,), (1377968014,), (1377968017,), (1377968020,), (1377968035,), (1377968042,), (1377968045,), (1377968061,), (1377968071,), (1377968074,), (1377968076,), (1377968079,), (1377968099,), (1377968106,), (1377968107,), (1377968129,), (1377968138,), (1377968141,), (1377968144,), (1377968147,), (1377968150,), (1377968168,), (1377968177,), (1377968179,), (1377968201,), (1377968202,), (1377968209,), (1377968211,), (1377968214,), (1377968228,), (1377968708,), (1377970105,), (1377970114,), (1377970162,), (1377970228,), (1377970238,), (1377970326,), (1377970410,), (1377970415,), (1377970437,), (1377970453,), (1377970457,), (1377970462,), (1377970570,), (1377970598,), (1377970614,), (1377970686,), (1377970711,), (1377970760,), (1377970764,), (1377970818,), (1377970894,), (1377971669,), (1377971674,), (1377971677,), (1377971717,), (1377971720,), (1377971742,), (1377971745,), (1377971746,), (1377971793,), (1377971796,), (1377971903,), (1377971908,), (1377971933,), (1377971963,), (1377972040,), (1377972087,), (1377972107,), (1377972133,), (1377972137,), (1377972138,), (1377972155,), (1377972310,), (1377972331,), (1377972524,), (1377972752,), (1377972803,), (1377972804,), (1377972821,), (1377972886,), (1377973199,), (1377973293,), (1377973316,), (1377973819,), (1377973906,), (1377974755,), (1377974815,), (1377974864,), (1377974868,), (1377975031,), (1377975957,), (1377976109,), (1377976126,), (1377976800,), (1377977066,), (1377977081,), (1377977546,), (1377978228,), (1377978223,), (1377978606,), (1377978952,), (1377979005,), (1377979806,), (1377980040,), (1377980401,), (1377980679,), (1377981253,), (1377981250,), (1377981353,), (1377981580,), (1377981607,), (1377981935,), (1377981941,), (1377982057,), (1377982320,), (1377982353,), (1377982764,), (1377982743,), (1377983062,), (1377983821,), (1377983828,), (1377984121,), (1377984495,), (1377984499,), (1377984745,), (1377984741,), (1377984788,), (1377985103,), (1377985392,), (1377985402,), (1377985542,), (1377985601,), (1377985747,), (1377985978,), (1377985982,), (1377986253,), (1377986282,), (1377986380,), (1377986384,), (1377986528,), (1377986487,), (1377986692,), (1377986745,), (1377986899,), (1377986925,), (1377987453,), (1377987458,), (1377987623,), (1377987834,), (1377988358,), (1377988423,), (1377988741,), (1377988774,), (1377989024,), (1377989114,), (1377989119,), (1377989450,), (1377989678,), (1377990264,), (1377994181,), (1377994177,), (1377994220,), (1377994301,), (1377994389,), (1377994393,), (1377994395,), (1377994398,), (1377994401,), (1377994405,), (1377994421,), (1377994424,), (1377994426,), (1377994428,), (1377994500,), (1377994503,), (1377994561,), (1377994587,), (1377994634,), (1377994637,), (1377994639,), (1377994641,), (1377994644,), (1377994653,), (1377994710,), (1377994715,), (1377994718,), (1377994720,), (1377994735,), (1377994737,), (1377994758,), (1377994761,), (1377994762,), (1377994818,), (1377994836,), (1377994841,), (1377994914,), (1377994970,), (1377994972,), (1377994974,), (1377994977,), (1377994992,), (1377996701,), (1377996670,), (1377996676,), (1377997142,), (1377997163,), (1377997166,), (1377997169,), (1377997185,), (1377997311,), (1377997343,), (1377997386,), (1377997410,), (1377997462,), (1377997492,), (1377997831,), (1377997887,), (1377997952,), (1377997998,), (1377998208,), (1377998223,), (1377998225,), (1377998640,), (1377998665,), (1377998669,), (1377998672,), (1377998679,), (1377999040,), (1377998984,), (1377999026,), (1377999375,), (1377999427,), (1377999463,), (1377999831,), (1377999855,), (1378000236,), (1378000582,), (1378000587,), (1378000588,), (1378000597,), (1378000737,), (1378000780,), (1378000843,), (1378001240,), (1378001287,), (1378001346,), (1378001389,), (1378001965,), (1378002030,), (1378002075,), (1378002651,), (1378002695,), (1378002700,), (1378002703,), (1378002711,), (1378002714,), (1378002761,), (1378002796,), (1378002800,), (1378002945,), (1378003002,), (1378003026,), (1378003065,), (1378003090,), (1378003114,), (1378003219,), (1378003372,), (1378003402,), (1378003417,), (1378003426,), (1378003431,), (1378003500,), (1378003507,), (1378003529,), (1378003556,), (1378003603,), (1378003822,), (1378003826,), (1378003828,), (1378003830,), (1378003832,), (1378003835,), (1378003928,), (1378003952,), (1378003976,), (1378004368,), (1378004334,), (1378004337,), (1378004340,), (1378004343,), (1378004359,), (1378004535,), (1378004540,), (1378004550,), (1378004573,), (1378004621,), (1378004665,), (1378004825,), (1378004829,), (1378004838,), (1378005246,), (1378005272,), (1378005296,), (1378005323,), (1378005557,), (1378005564,), (1378005570,), (1378005574,), (1378005591,), (1378005627,), (1378005772,), (1378005806,), (1378005834,), (1378005862,), (1378006022,), (1378006036,), (1378006040,), (1378006055,), (1378006467,), (1378011952,), (1378011765,), (1378011799,), (1378012270,), (1378012282,), (1378012285,), (1378012290,), (1378012297,), (1378012319,), (1378012348,), (1378012352,), (1378012369,), (1378012372,), (1378012375,), (1378012581,), (1378012613,), (1378012645,), (1378012668,), (1378012695,), (1378012720,), (1378012921,), (1378012924,), (1378012926,), (1378012940,), (1378012948,), (1378012951,), (1378012966,), (1378012970,), (1378012973,), (1378012994,), (1378012998,), (1378013002,), (1378013022,), (1378013024,), (1378013027,), (1378013069,), (1378013095,), (1378013116,), (1378013139,), (1378013625,), (1378013631,), (1378013632,), (1378013635,), (1378013637,), (1378013605,), (1378013610,), (1378013615,), (1378013648,), (1378013653,), (1378013664,), (1378013689,), (1378013713,), (1378013738,), (1378013976,), (1378013997,), (1378014004,), (1378014031,), (1378014037,), (1378014041,), (1378014202,), (1378014227,), (1378014232,), (1378014237,), (1378014241,), (1378014252,), (1378014311,), (1378014317,), (1378014320,), (1378014325,), (1378014496,), (1378014513,), (1378014515,), (1378014520,), (1378014540,), (1378014564,), (1378014615,), (1378014621,), (1378014623,), (1378014627,), (1378014652,), (1378014675,), (1378014706,), (1378014711,), (1378014719,), (1378014759,), (1378014786,), (1378014815,), (1378014892,), (1378014992,), (1378015013,), (1378015040,), (1378015092,), (1378015351,), (1378015354,), (1378015356,), (1378015359,), (1378015382,), (1378015401,), (1378015584,), (1378015611,), (1378015637,), (1378015663,), (1378015831,), (1378015837,), (1378015839,), (1378015842,), (1378015865,), (1378015869,), (1378015906,), (1378015908,), (1378015922,), (1378015943,), (1378016055,), (1378016089,), (1378016135,), (1378016196,), (1378016249,), (1378016449,), (1378016452,), (1378016459,), (1378016462,), (1378016466,), (1378016658,), (1378016706,), (1378016709,), (1378016711,), (1378016732,), (1378017440,), (1378017432,), (1378017435,), (1378017437,), (1378017491,), (1378017496,), (1378017508,), (1378017511,), (1378017515,), (1378017644,), (1378017647,), (1378017649,), (1378017671,), (1378017694,), (1378018335,), (1378018566,), (1378018569,), (1378018588,), (1378018590,), (1378018593,), (1378018693,), (1378018716,), (1378018719,), (1378018732,), (1378018743,), (1378018749,), (1378018863,), (1378019084,), (1378019087,), (1378019088,), (1378019090,), (1378019092,), (1378019095,), (1378019153,), (1378019158,), (1378019162,), (1378019166,), (1378019170,), (1378019242,), (1378019245,), (1378019249,), (1378019253,), (1378019257,), (1378019311,), (1378019275,), (1378019285,), (1378019288,), (1378019291,), (1378019576,), (1378019600,), (1378019624,), (1378019652,), (1378019680,), (1378019729,), (1378019734,), (1378019737,), (1378019740,), (1378019743,), (1378019798,), (1378019810,), (1378019815,), (1378019819,), (1378019823,), (1378019840,), (1378019938,), (1378019958,), (1378019982,), (1378020012,), (1378020037,), (1378020375,), (1378020380,), (1378020394,), (1378020407,), (1378020412,), (1378020416,), (1378020529,), (1378020533,), (1378020536,), (1378020539,), (1378020542,), (1378020551,), (1378020612,), (1378020650,), (1378020655,), (1378020660,), (1378020666,), (1378020753,), (1378020779,), (1378020784,), (1378020790,), (1378020818,), (1378020845,), (1378021225,), (1378021280,), (1378021293,), (1378021295,), (1378021297,), (1378021362,), (1378021387,), (1378021413,), (1378021437,), (1378021464,), (1378021489,), (1378021651,), (1378021664,), (1378021667,), (1378021669,), (1378021844,), (1378021848,), (1378021851,), (1378021967,), (1378021994,), (1378022026,), (1378022041,), (1378022045,), (1378022049,), (1378022090,), (1378022092,), (1378022095,), (1378022098,), (1378022106,), (1378022114,), (1378022124,), (1378022129,), (1378022135,), (1378022146,), (1378022215,), (1378022255,), (1378022086,), (1378022088,), (1378022152,), (1378022162,), (1378022165,), (1378022171,), (1378022195,), (1378022353,), (1378022379,), (1378022401,), (1378022424,), (1378022472,), (1378022747,), (1378022774,), (1378022782,), (1378022908,), (1378022912,), (1378022914,), (1378022916,), (1378022919,), (1378022943,), (1378022947,), (1378022950,), (1378022953,), (1378022956,), (1378022960,), (1378023004,), (1378023005,), (1378023017,), (1378023026,), (1378023028,), (1378023044,), (1378023049,), (1378023089,), (1378023183,), (1378023205,), (1378023299,), (1378034895,), (1378045098,), (1378045129,), (1378045153,), (1378045177,), (1378045337,), (1378045339,), (1378045620,), (1378045726,), (1378045752,), (1378045779,), (1378045804,), (1378045825,), (1378046136,), (1378046176,), (1378046186,), (1378046190,), (1378046192,), (1378046195,), (1378046323,), (1378046327,), (1378046328,), (1378046330,), (1378046550,), (1378046553,), (1378046556,), (1378046560,), (1378046588,), (1378046618,), (1378046830,), (1378046871,), (1378046898,), (1378046927,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'20082025': {'nb_upload': 32, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26080200]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1378046927, 1378046898, 1378046871, 1378046830, 1378046618, 1378046588, 1378046560, 1378046556, 1378046553, 1378046550] map_info['map_portfolio_photo'] : {26080200: [1378046927, 1378046898, 1378046871, 1378046830, 1378046618, 1378046588, 1378046560, 1378046556, 1378046553, 1378046550, 1378046330, 1378046328, 1378046327, 1378046323, 1378046195, 1378046192, 1378046190, 1378046186, 1378046176, 1378046136, 1378045825, 1378045804, 1378045779, 1378045752, 1378045726, 1378045620, 1378045339, 1378045337, 1378045177, 1378045153, 1378045129, 1378045098]} final : True mtd_id 4302 list_pids : [1378046927, 1378046898, 1378046871, 1378046830, 1378046618, 1378046588, 1378046560, 1378046556, 1378046553, 1378046550] Looping around the photos to save general results len do output : 1 /26080200Didn'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, '3557438') ('4302', '26080200', '1378046927', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046898', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046871', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046830', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046618', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046588', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046560', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046556', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046553', None, None, None, None, None, '3557438') ('4302', None, None, None, None, None, None, None, '3557438') ('4302', '26080200', '1378046550', None, None, None, None, None, '3557438') 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, '26080200', 'None', None, None, None, None, '3557438'), ('4302', '26080200', '1378046927', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046898', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046871', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046830', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046618', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046588', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046560', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046556', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046553', None, None, None, None, None, '3557438'), ('4302', '26080200', '1378046550', None, None, None, None, None, '3557438')] time used for this insertion : 0.01593804359436035 save_final save missing photos in datou_result : time spend for datou_step_exec : 28.2583909034729 time spend to save output : 0.01607227325439453 total time spend for step 5 : 28.274463176727295 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 (3557438) 2.05user 2.05system 0:36.48elapsed 11%CPU (0avgtext+0avgdata 159400maxresident)k 24inputs+7304outputs (1major+70871minor)pagefaults 0swaps