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 : 680265 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 (3952855) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3952855) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872807 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3952855'] with mtr_portfolio_ids : ['27872807'] and first list_photo_ids : [] new path : /proc/680265/ Name: python3 Umask: 0002 State: R (running) Tgid: 680265 Ngid: 0 Pid: 680265 PPid: 680264 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 680265 NSpid: 680265 NSpgid: 679498 NSsid: 679498 VmPeak: 1106852 kB VmSize: 1106852 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100360 kB VmRSS: 100360 kB RssAnon: 59824 kB RssFile: 40536 kB RssShmem: 0 kB VmData: 865604 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 592 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: 43 nonvoluntary_ctxt_switches: 142 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '680265', 'Ngid': '0', 'Pid': '680265', 'PPid': '680264', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '680265', 'NSpid': '680265', 'NSpgid': '679498', 'NSsid': '679498', 'VmPeak': '1106852 kB', 'VmSize': '1106852 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100360 kB', 'VmRSS': '100360 kB', 'RssAnon': '59824 kB', 'RssFile': '40536 kB', 'RssShmem': '0 kB', 'VmData': '865604 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '592 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': '43', 'nonvoluntary_ctxt_switches': '142'} ('datou_batch_current', '680265', '1106852', '0', '1106852', '865604', '100360', b'', 'marlene', '3952855') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (27872807) 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 (3952855 ) ) 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 (27872807) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1389769144, 'portfolio_id': 27872807}, {'photo_id': 1389769141, 'portfolio_id': 27872807}, {'photo_id': 1389769137, 'portfolio_id': 27872807}, {'photo_id': 1389769136, 'portfolio_id': 27872807}, {'photo_id': 1389769133, 'portfolio_id': 27872807}, {'photo_id': 1389769129, 'portfolio_id': 27872807}, {'photo_id': 1389769123, 'portfolio_id': 27872807}, {'photo_id': 1389769119, 'portfolio_id': 27872807}, {'photo_id': 1389769114, 'portfolio_id': 27872807}, {'photo_id': 1389769109, 'portfolio_id': 27872807}, {'photo_id': 1389769106, 'portfolio_id': 27872807}, {'photo_id': 1389769103, 'portfolio_id': 27872807}, {'photo_id': 1389769093, 'portfolio_id': 27872807}, {'photo_id': 1389769089, 'portfolio_id': 27872807}, {'photo_id': 1389769085, 'portfolio_id': 27872807}, {'photo_id': 1389769082, 'portfolio_id': 27872807}, {'photo_id': 1389769080, 'portfolio_id': 27872807}, {'photo_id': 1389769079, 'portfolio_id': 27872807}, {'photo_id': 1389769072, 'portfolio_id': 27872807}, {'photo_id': 1389769068, 'portfolio_id': 27872807}, {'photo_id': 1389769064, 'portfolio_id': 27872807}, {'photo_id': 1389769060, 'portfolio_id': 27872807}, {'photo_id': 1389769056, 'portfolio_id': 27872807}, {'photo_id': 1389769054, 'portfolio_id': 27872807}, {'photo_id': 1389769053, 'portfolio_id': 27872807}, {'photo_id': 1389769051, 'portfolio_id': 27872807}, {'photo_id': 1389769040, 'portfolio_id': 27872807}, {'photo_id': 1389769033, 'portfolio_id': 27872807}, {'photo_id': 1389769029, 'portfolio_id': 27872807}, {'photo_id': 1389769027, 'portfolio_id': 27872807}] map_portfolio_id_photo_id: {27872807: [1389769144, 1389769141, 1389769137, 1389769136, 1389769133, 1389769129, 1389769123, 1389769119, 1389769114, 1389769109, 1389769106, 1389769103, 1389769093, 1389769089, 1389769085, 1389769082, 1389769080, 1389769079, 1389769072, 1389769068, 1389769064, 1389769060, 1389769056, 1389769054, 1389769053, 1389769051, 1389769040, 1389769033, 1389769029, 1389769027]} ##### 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.05466580390930176 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Oct 17 09:56:28 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 (27872807) 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 : 27872807 get user id for portfolio 27872807 get sub ptf for main ptf 27872807, type 3726 and hashtags ['kraft', 'Carton_gris', 'cartonnette', 'papier', 'plastique', 'environnement', 'flou', 'Teint_Dans_La_Masse', 'Carton_brun', 'autre_refus', 'mal_croppe', 'metal'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27872807 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Carton_gris','cartonnette','papier','plastique','environnement','flou','Teint_Dans_La_Masse','Carton_brun','autre_refus','mal_croppe','metal')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27872807 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Carton_gris','cartonnette','papier','plastique','environnement','flou','Teint_Dans_La_Masse','Carton_brun','autre_refus','mal_croppe','metal')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 27872807, 'sub_port_id': 27872810, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813933, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 54, 59)}, 'cartonnette': {'main_port_id': 27872807, 'sub_port_id': 27872811, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813934, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 54, 59)}, 'autre_refus': {'main_port_id': 27872807, 'sub_port_id': 27872812, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813935, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 54, 59)}, 'papier': {'main_port_id': 27872807, 'sub_port_id': 27872813, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813936, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 54, 59)}, 'metal': {'main_port_id': 27872807, 'sub_port_id': 27872814, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813937, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 54, 59)}, 'flou': {'main_port_id': 27872807, 'sub_port_id': 27872815, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813938, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 54, 59)}, 'mal_croppe': {'main_port_id': 27872807, 'sub_port_id': 27872816, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813939, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 54, 59)}, 'Carton_gris': {'main_port_id': 27872807, 'sub_port_id': 27872817, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813940, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 54, 59)}, 'plastique': {'main_port_id': 27872807, 'sub_port_id': 27872818, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813941, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 54, 59)}, 'kraft': {'main_port_id': 27872807, 'sub_port_id': 27872819, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813942, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 54, 59)}, 'Carton_brun': {'main_port_id': 27872807, 'sub_port_id': 27872820, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813943, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 54, 59)}, 'environnement': {'main_port_id': 27872807, 'sub_port_id': 27872821, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813944, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 54, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27872810 , 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=27872807 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 (27872810) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872807) result : ((1389769027,), (1389769029,), (1389769033,), (1389769040,), (1389769051,), (1389769053,), (1389769054,), (1389769056,), (1389769060,), (1389769064,), (1389769068,), (1389769072,), (1389769079,), (1389769080,), (1389769082,), (1389769085,), (1389769089,), (1389769093,), (1389769103,), (1389769106,), (1389769109,), (1389769114,), (1389769119,), (1389769123,), (1389769129,), (1389769133,), (1389769136,), (1389769137,), (1389769141,), (1389769144,)) 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 27872811 , 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=27872807 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 (27872811) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872807) result : ((1389769027,), (1389769029,), (1389769033,), (1389769040,), (1389769051,), (1389769053,), (1389769054,), (1389769056,), (1389769060,), (1389769064,), (1389769068,), (1389769072,), (1389769079,), (1389769080,), (1389769082,), (1389769085,), (1389769089,), (1389769093,), (1389769103,), (1389769106,), (1389769109,), (1389769114,), (1389769119,), (1389769123,), (1389769129,), (1389769133,), (1389769136,), (1389769137,), (1389769141,), (1389769144,)) 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 27872812 , 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=27872807 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 (27872812) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872807) result : ((1389769027,), (1389769029,), (1389769033,), (1389769040,), (1389769051,), (1389769053,), (1389769054,), (1389769056,), (1389769060,), (1389769064,), (1389769068,), (1389769072,), (1389769079,), (1389769080,), (1389769082,), (1389769085,), (1389769089,), (1389769093,), (1389769103,), (1389769106,), (1389769109,), (1389769114,), (1389769119,), (1389769123,), (1389769129,), (1389769133,), (1389769136,), (1389769137,), (1389769141,), (1389769144,)) 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 27872813 , 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=27872807 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 (27872813) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872807) result : ((1389769027,), (1389769029,), (1389769033,), (1389769040,), (1389769051,), (1389769053,), (1389769054,), (1389769056,), (1389769060,), (1389769064,), (1389769068,), (1389769072,), (1389769079,), (1389769080,), (1389769082,), (1389769085,), (1389769089,), (1389769093,), (1389769103,), (1389769106,), (1389769109,), (1389769114,), (1389769119,), (1389769123,), (1389769129,), (1389769133,), (1389769136,), (1389769137,), (1389769141,), (1389769144,)) 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 27872814 , 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=27872807 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 (27872814) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872807) result : ((1389769027,), (1389769029,), (1389769033,), (1389769040,), (1389769051,), (1389769053,), (1389769054,), (1389769056,), (1389769060,), (1389769064,), (1389769068,), (1389769072,), (1389769079,), (1389769080,), (1389769082,), (1389769085,), (1389769089,), (1389769093,), (1389769103,), (1389769106,), (1389769109,), (1389769114,), (1389769119,), (1389769123,), (1389769129,), (1389769133,), (1389769136,), (1389769137,), (1389769141,), (1389769144,)) 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 27872815 , 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=27872807 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 (27872815) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872807) result : ((1389769027,), (1389769029,), (1389769033,), (1389769040,), (1389769051,), (1389769053,), (1389769054,), (1389769056,), (1389769060,), (1389769064,), (1389769068,), (1389769072,), (1389769079,), (1389769080,), (1389769082,), (1389769085,), (1389769089,), (1389769093,), (1389769103,), (1389769106,), (1389769109,), (1389769114,), (1389769119,), (1389769123,), (1389769129,), (1389769133,), (1389769136,), (1389769137,), (1389769141,), (1389769144,)) 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 27872816 , 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=27872807 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 (27872816) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872807) result : ((1389769027,), (1389769029,), (1389769033,), (1389769040,), (1389769051,), (1389769053,), (1389769054,), (1389769056,), (1389769060,), (1389769064,), (1389769068,), (1389769072,), (1389769079,), (1389769080,), (1389769082,), (1389769085,), (1389769089,), (1389769093,), (1389769103,), (1389769106,), (1389769109,), (1389769114,), (1389769119,), (1389769123,), (1389769129,), (1389769133,), (1389769136,), (1389769137,), (1389769141,), (1389769144,)) 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 27872817 , 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=27872807 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 (27872817) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872807) result : ((1389769027,), (1389769029,), (1389769033,), (1389769040,), (1389769051,), (1389769053,), (1389769054,), (1389769056,), (1389769060,), (1389769064,), (1389769068,), (1389769072,), (1389769079,), (1389769080,), (1389769082,), (1389769085,), (1389769089,), (1389769093,), (1389769103,), (1389769106,), (1389769109,), (1389769114,), (1389769119,), (1389769123,), (1389769129,), (1389769133,), (1389769136,), (1389769137,), (1389769141,), (1389769144,)) 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 27872818 , 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=27872807 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 (27872818) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872807) result : ((1389769027,), (1389769029,), (1389769033,), (1389769040,), (1389769051,), (1389769053,), (1389769054,), (1389769056,), (1389769060,), (1389769064,), (1389769068,), (1389769072,), (1389769079,), (1389769080,), (1389769082,), (1389769085,), (1389769089,), (1389769093,), (1389769103,), (1389769106,), (1389769109,), (1389769114,), (1389769119,), (1389769123,), (1389769129,), (1389769133,), (1389769136,), (1389769137,), (1389769141,), (1389769144,)) 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 27872819 , 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=27872807 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 (27872819) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872807) result : ((1389769027,), (1389769029,), (1389769033,), (1389769040,), (1389769051,), (1389769053,), (1389769054,), (1389769056,), (1389769060,), (1389769064,), (1389769068,), (1389769072,), (1389769079,), (1389769080,), (1389769082,), (1389769085,), (1389769089,), (1389769093,), (1389769103,), (1389769106,), (1389769109,), (1389769114,), (1389769119,), (1389769123,), (1389769129,), (1389769133,), (1389769136,), (1389769137,), (1389769141,), (1389769144,)) 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 27872820 , 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=27872807 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 (27872820) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872807) result : ((1389769027,), (1389769029,), (1389769033,), (1389769040,), (1389769051,), (1389769053,), (1389769054,), (1389769056,), (1389769060,), (1389769064,), (1389769068,), (1389769072,), (1389769079,), (1389769080,), (1389769082,), (1389769085,), (1389769089,), (1389769093,), (1389769103,), (1389769106,), (1389769109,), (1389769114,), (1389769119,), (1389769123,), (1389769129,), (1389769133,), (1389769136,), (1389769137,), (1389769141,), (1389769144,)) 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 27872821 , 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=27872807 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 (27872821) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872807) result : ((1389769027,), (1389769029,), (1389769033,), (1389769040,), (1389769051,), (1389769053,), (1389769054,), (1389769056,), (1389769060,), (1389769064,), (1389769068,), (1389769072,), (1389769079,), (1389769080,), (1389769082,), (1389769085,), (1389769089,), (1389769093,), (1389769103,), (1389769106,), (1389769109,), (1389769114,), (1389769119,), (1389769123,), (1389769129,), (1389769133,), (1389769136,), (1389769137,), (1389769141,), (1389769144,)) 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`=27872807 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Carton_gris','cartonnette','papier','plastique','environnement','flou','Teint_Dans_La_Masse','Carton_brun','autre_refus','mal_croppe','metal')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27872807 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Carton_gris','cartonnette','papier','plastique','environnement','flou','Teint_Dans_La_Masse','Carton_brun','autre_refus','mal_croppe','metal')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 27872807, 'sub_port_id': 27872823, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813945, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 55, 5)}, 'cartonnette': {'main_port_id': 27872807, 'sub_port_id': 27872824, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813946, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 55, 5)}, 'autre_refus': {'main_port_id': 27872807, 'sub_port_id': 27872825, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813947, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 55, 5)}, 'papier': {'main_port_id': 27872807, 'sub_port_id': 27872826, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813948, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 55, 5)}, 'metal': {'main_port_id': 27872807, 'sub_port_id': 27872827, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813949, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 55, 5)}, 'flou': {'main_port_id': 27872807, 'sub_port_id': 27872828, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813950, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 55, 5)}, 'mal_croppe': {'main_port_id': 27872807, 'sub_port_id': 27872829, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813951, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 55, 5)}, 'Carton_gris': {'main_port_id': 27872807, 'sub_port_id': 27872830, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813952, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 55, 5)}, 'plastique': {'main_port_id': 27872807, 'sub_port_id': 27872831, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813953, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 55, 5)}, 'kraft': {'main_port_id': 27872807, 'sub_port_id': 27872832, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813954, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 55, 5)}, 'Carton_brun': {'main_port_id': 27872807, 'sub_port_id': 27872833, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813955, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 55, 5)}, 'environnement': {'main_port_id': 27872807, 'sub_port_id': 27872834, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813956, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 55, 5), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 55, 5)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872823,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872810 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872824,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872811 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872825,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872812 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872826,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872813 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872827,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872814 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872828,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872815 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872829,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872816 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872830,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872817 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872831,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872818 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872832,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872819 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872833,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872820 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872834,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872821 lien utilise dans velours : https://marlene.fotonower.com/velours/27872823,27872824,27872825,27872826,27872827,27872828,27872829,27872830,27872831,27872832,27872833,27872834?tags=Teint_Dans_La_Masse,cartonnette,autre_refus,papier,metal,flou,mal_croppe,Carton_gris,plastique,kraft,Carton_brun,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27872807]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1389769144, 1389769141, 1389769137, 1389769136, 1389769133, 1389769129, 1389769123, 1389769119, 1389769114, 1389769109, 1389769106, 1389769103, 1389769093, 1389769089, 1389769085, 1389769082, 1389769080, 1389769079] map_info['map_portfolio_photo'] : {27872807: [1389769144, 1389769141, 1389769137, 1389769136, 1389769133, 1389769129, 1389769123, 1389769119, 1389769114, 1389769109, 1389769106, 1389769103, 1389769093, 1389769089, 1389769085, 1389769082, 1389769080, 1389769079, 1389769072, 1389769068, 1389769064, 1389769060, 1389769056, 1389769054, 1389769053, 1389769051, 1389769040, 1389769033, 1389769029, 1389769027]} final : False mtd_id 4302 list_pids : [1389769144, 1389769141, 1389769137, 1389769136, 1389769133, 1389769129, 1389769123, 1389769119, 1389769114, 1389769109, 1389769106, 1389769103, 1389769093, 1389769089, 1389769085, 1389769082, 1389769080, 1389769079] Looping around the photos to save general results len do output : 1 /27872807. 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, '3952855') ('4302', '27872807', '1389769144', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769141', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769137', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769136', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769133', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769129', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769123', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769119', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769114', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769109', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769106', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769103', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769093', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769089', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769085', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769082', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769080', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769079', None, None, None, None, None, '3952855') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 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, '27872807', "{'Teint_Dans_La_Masse': 27872810, 'cartonnette': 27872811, 'autre_refus': 27872812, 'papier': 27872813, 'metal': 27872814, 'flou': 27872815, 'mal_croppe': 27872816, 'Carton_gris': 27872817, 'plastique': 27872818, 'kraft': 27872819, 'Carton_brun': 27872820, 'environnement': 27872821}", None, None, None, None, '3952855'), ('4302', '27872807', '1389769144', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769141', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769137', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769136', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769133', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769129', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769123', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769119', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769114', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769109', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769106', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769103', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769093', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769089', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769085', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769082', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769080', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769079', None, None, None, None, None, '3952855')] time used for this insertion : 0.03893852233886719 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.027190208435059 time spend to save output : 0.03916335105895996 total time spend for step 1 : 5.0663535594940186 step2:final Fri Oct 17 09:56: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 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 (27872807) 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 27872807 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1389769144,1389769141,1389769053,1389769137,1389769051,1389769136,1389769040,1389769133,1389769033,1389769129,1389769029,1389769093,1389769027,1389769089,1389769072,1389769068,1389769064,1389769060,1389769056,1389769054,1389769085,1389769082,1389769080,1389769079,1389769123,1389769119,1389769114,1389769109,1389769106,1389769103); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27872807]) Inside saveOutput : final : False verbose : True original output for save of step final : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} new output for save of step final : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} [1389769144, 1389769141, 1389769137, 1389769136, 1389769133, 1389769129, 1389769123, 1389769119, 1389769114, 1389769109, 1389769106, 1389769103, 1389769093, 1389769089, 1389769085, 1389769082, 1389769080, 1389769079] map_info['map_portfolio_photo'] : {27872807: [1389769144, 1389769141, 1389769137, 1389769136, 1389769133, 1389769129, 1389769123, 1389769119, 1389769114, 1389769109, 1389769106, 1389769103, 1389769093, 1389769089, 1389769085, 1389769082, 1389769080, 1389769079, 1389769072, 1389769068, 1389769064, 1389769060, 1389769056, 1389769054, 1389769053, 1389769051, 1389769040, 1389769033, 1389769029, 1389769027]} final : False mtd_id 4302 list_pids : [1389769144, 1389769141, 1389769137, 1389769136, 1389769133, 1389769129, 1389769123, 1389769119, 1389769114, 1389769109, 1389769106, 1389769103, 1389769093, 1389769089, 1389769085, 1389769082, 1389769080, 1389769079] Looping around the photos to save general results len do output : 18 /1389769144.Didn't retrieve data . /1389769141.Didn't retrieve data . /1389769137.Didn't retrieve data . /1389769136.Didn't retrieve data . /1389769133.Didn't retrieve data . /1389769129.Didn't retrieve data . /1389769123.Didn't retrieve data . /1389769119.Didn't retrieve data . /1389769114.Didn't retrieve data . /1389769109.Didn't retrieve data . /1389769106.Didn't retrieve data . /1389769103.Didn't retrieve data . /1389769093.Didn't retrieve data . /1389769089.Didn't retrieve data . /1389769085.Didn't retrieve data . /1389769082.Didn't retrieve data . /1389769080.Didn't retrieve data . /1389769079.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, '3952855') ('4302', '27872807', '1389769144', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769141', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769137', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769136', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769133', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769129', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769123', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769119', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769114', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769109', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769106', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769103', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769093', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769089', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769085', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769082', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769080', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769079', None, None, None, None, None, '3952855') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 54 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', '27872807', '1389769144', '0.0', None, None, None, None, '3952855'), ('4302', '27872807', '1389769141', '0.0', None, None, None, None, '3952855'), ('4302', '27872807', '1389769137', '0.0', None, None, None, None, '3952855'), ('4302', '27872807', '1389769136', '0.0', None, None, None, None, '3952855'), ('4302', '27872807', '1389769133', '0.0', None, None, None, None, '3952855'), ('4302', '27872807', '1389769129', '0.0', None, None, None, None, '3952855'), ('4302', '27872807', '1389769123', '0.0', None, None, None, None, '3952855'), ('4302', '27872807', '1389769119', '0.0', None, None, None, None, '3952855'), ('4302', '27872807', '1389769114', '0.0', None, None, None, None, '3952855'), ('4302', '27872807', '1389769109', '0.0', None, None, None, None, '3952855'), ('4302', '27872807', '1389769106', '0.0', None, None, None, None, '3952855'), ('4302', '27872807', '1389769103', '0.0', None, None, None, None, '3952855'), ('4302', '27872807', '1389769093', '0.0', None, None, None, None, '3952855'), ('4302', '27872807', '1389769089', '0.0', None, None, None, None, '3952855'), ('4302', '27872807', '1389769085', '0.0', None, None, None, None, '3952855'), ('4302', '27872807', '1389769082', '0.0', None, None, None, None, '3952855'), ('4302', '27872807', '1389769080', '0.0', None, None, None, None, '3952855'), ('4302', '27872807', '1389769079', '0.0', None, None, None, None, '3952855')] time used for this insertion : 0.03953695297241211 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.20372867584228516 time spend to save output : 0.04036903381347656 total time spend for step 2 : 0.24409770965576172 step3:velours_tree Fri Oct 17 09:56: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 : {27872807: [{'Teint_Dans_La_Masse': 27872810, 'cartonnette': 27872811, 'autre_refus': 27872812, 'papier': 27872813, 'metal': 27872814, 'flou': 27872815, 'mal_croppe': 27872816, 'Carton_gris': 27872817, 'plastique': 27872818, 'kraft': 27872819, 'Carton_brun': 27872820, 'environnement': 27872821}]} input_args_next_step : {27872807: ()} output_args : {27872807: [{'Teint_Dans_La_Masse': 27872810, 'cartonnette': 27872811, 'autre_refus': 27872812, 'papier': 27872813, 'metal': 27872814, 'flou': 27872815, 'mal_croppe': 27872816, 'Carton_gris': 27872817, 'plastique': 27872818, 'kraft': 27872819, 'Carton_brun': 27872820, 'environnement': 27872821}]} args : 27872807 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 : ({'Teint_Dans_La_Masse': 27872810, 'cartonnette': 27872811, 'autre_refus': 27872812, 'papier': 27872813, 'metal': 27872814, 'flou': 27872815, 'mal_croppe': 27872816, 'Carton_gris': 27872817, 'plastique': 27872818, 'kraft': 27872819, 'Carton_brun': 27872820, 'environnement': 27872821},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27872807) 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([27872807]) 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.33430910110473633 time spend to save output : 4.3392181396484375e-05 total time spend for step 3 : 0.3343524932861328 step4:send_mail_cod Fri Oct 17 09:56: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 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 : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} input_args_next_step : {1389769144: ()} output_args : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} args : 1389769144 depend.output_id : 0 input_args_next_step : {1389769144: ('0.0',), 1389769141: ()} output_args : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} args : 1389769141 depend.output_id : 0 input_args_next_step : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ()} output_args : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} args : 1389769137 depend.output_id : 0 input_args_next_step : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ()} output_args : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} args : 1389769136 depend.output_id : 0 input_args_next_step : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ()} output_args : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} args : 1389769133 depend.output_id : 0 input_args_next_step : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ()} output_args : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} args : 1389769129 depend.output_id : 0 input_args_next_step : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ()} output_args : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} args : 1389769123 depend.output_id : 0 input_args_next_step : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ()} output_args : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} args : 1389769119 depend.output_id : 0 input_args_next_step : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ()} output_args : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} args : 1389769114 depend.output_id : 0 input_args_next_step : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ()} output_args : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} args : 1389769109 depend.output_id : 0 input_args_next_step : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ()} output_args : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} args : 1389769106 depend.output_id : 0 input_args_next_step : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ()} output_args : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} args : 1389769103 depend.output_id : 0 input_args_next_step : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ()} output_args : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} args : 1389769093 depend.output_id : 0 input_args_next_step : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ()} output_args : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} args : 1389769089 depend.output_id : 0 input_args_next_step : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ()} output_args : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} args : 1389769085 depend.output_id : 0 input_args_next_step : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ()} output_args : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} args : 1389769082 depend.output_id : 0 input_args_next_step : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ()} output_args : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} args : 1389769080 depend.output_id : 0 input_args_next_step : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ()} output_args : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',)} args : 1389769079 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 : {27872807: [{'Teint_Dans_La_Masse': 27872810, 'cartonnette': 27872811, 'autre_refus': 27872812, 'papier': 27872813, 'metal': 27872814, 'flou': 27872815, 'mal_croppe': 27872816, 'Carton_gris': 27872817, 'plastique': 27872818, 'kraft': 27872819, 'Carton_brun': 27872820, 'environnement': 27872821}]} input_args_next_step : {1389769144: ('0.0',), 1389769141: ('0.0',), 1389769137: ('0.0',), 1389769136: ('0.0',), 1389769133: ('0.0',), 1389769129: ('0.0',), 1389769123: ('0.0',), 1389769119: ('0.0',), 1389769114: ('0.0',), 1389769109: ('0.0',), 1389769106: ('0.0',), 1389769103: ('0.0',), 1389769093: ('0.0',), 1389769089: ('0.0',), 1389769085: ('0.0',), 1389769082: ('0.0',), 1389769080: ('0.0',), 1389769079: ('0.0',), 27872807: ()} output_args : {27872807: [{'Teint_Dans_La_Masse': 27872810, 'cartonnette': 27872811, 'autre_refus': 27872812, 'papier': 27872813, 'metal': 27872814, 'flou': 27872815, 'mal_croppe': 27872816, 'Carton_gris': 27872817, 'plastique': 27872818, 'kraft': 27872819, 'Carton_brun': 27872820, 'environnement': 27872821}]} args : 27872807 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 :19, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27872807) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos_view ph WHERE photo_id IN (1389769144,1389769141,1389769137,1389769136,1389769133,1389769129,1389769123,1389769119,1389769114,1389769109,1389769106,1389769103,1389769093,1389769089,1389769085,1389769082,1389769080,1389769079) Found this number of photos: 18 ##### Call download_photos : nb_thread : 5 begin to download photo : 1389769079 begin to download photo : 1389769089 begin to download photo : 1389769109 begin to download photo : 1389769129 begin to download photo : 1389769141 download finish for photo 1389769079 begin to download photo : 1389769080 download finish for photo 1389769129 begin to download photo : 1389769133 download finish for photo 1389769141 download finish for photo 1389769089 begin to download photo : 1389769144 begin to download photo : 1389769093 download finish for photo 1389769109 begin to download photo : 1389769114 download finish for photo 1389769080 begin to download photo : 1389769082 download finish for photo 1389769093 begin to download photo : 1389769103 download finish for photo 1389769133 begin to download photo : 1389769136 download finish for photo 1389769144 download finish for photo 1389769114 begin to download photo : 1389769119 download finish for photo 1389769082 begin to download photo : 1389769085 download finish for photo 1389769103 begin to download photo : 1389769106 download finish for photo 1389769136 begin to download photo : 1389769137 download finish for photo 1389769119 begin to download photo : 1389769123 download finish for photo 1389769085 download finish for photo 1389769106 download finish for photo 1389769137 download finish for photo 1389769123 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette278728111760687794/ imagette278728121760687794/ imagette278728141760687794/ imagette278728151760687794/ imagette278728161760687794/ imagette278728181760687794/ imagette278728191760687794/ imagette278728101760687794/ imagette278728171760687794/ imagette278728201760687794/ length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 results_Auto_P27872807_17-10-2025_09_56_34.pdf 27872811 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872811 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278728111760687794 27872812 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872812 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278728121760687794 27872814 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872814 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278728141760687794 27872815 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872815 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278728151760687794 27872816 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872816 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278728161760687794 27872818 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872818 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278728181760687794 27872819 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872819 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278728191760687794 27872810 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872810 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278728101760687794 27872817 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872817 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278728171760687794 27872820 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872820 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278728201760687794 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27872807 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27872823,27872824,27872825,27872826,27872827,27872828,27872829,27872830,27872831,27872832,27872833,27872834?tags=Teint_Dans_La_Masse,cartonnette,autre_refus,papier,metal,flou,mal_croppe,Carton_gris,plastique,kraft,Carton_brun,environnement your option no_mail is active, we will not send the real mail to your client args[1389769144] : ('0.0',) no score found for photo 1389769144 We are sending mail with results at report@fotonower.com args[1389769141] : ('0.0',) no score found for photo 1389769141 We are sending mail with results at report@fotonower.com args[1389769137] : ('0.0',) no score found for photo 1389769137 We are sending mail with results at report@fotonower.com args[1389769136] : ('0.0',) no score found for photo 1389769136 We are sending mail with results at report@fotonower.com args[1389769133] : ('0.0',) no score found for photo 1389769133 We are sending mail with results at report@fotonower.com args[1389769129] : ('0.0',) no score found for photo 1389769129 We are sending mail with results at report@fotonower.com args[1389769123] : ('0.0',) no score found for photo 1389769123 We are sending mail with results at report@fotonower.com args[1389769119] : ('0.0',) no score found for photo 1389769119 We are sending mail with results at report@fotonower.com args[1389769114] : ('0.0',) no score found for photo 1389769114 We are sending mail with results at report@fotonower.com args[1389769109] : ('0.0',) no score found for photo 1389769109 We are sending mail with results at report@fotonower.com args[1389769106] : ('0.0',) no score found for photo 1389769106 We are sending mail with results at report@fotonower.com args[1389769103] : ('0.0',) no score found for photo 1389769103 We are sending mail with results at report@fotonower.com args[1389769093] : ('0.0',) no score found for photo 1389769093 We are sending mail with results at report@fotonower.com args[1389769089] : ('0.0',) no score found for photo 1389769089 We are sending mail with results at report@fotonower.com args[1389769085] : ('0.0',) no score found for photo 1389769085 We are sending mail with results at report@fotonower.com args[1389769082] : ('0.0',) no score found for photo 1389769082 We are sending mail with results at report@fotonower.com args[1389769080] : ('0.0',) no score found for photo 1389769080 We are sending mail with results at report@fotonower.com args[1389769079] : ('0.0',) no score found for photo 1389769079 We are sending mail with results at report@fotonower.com refus_total : 0.0 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872807 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_P27872807_17-10-2025_09_56_34.pdf results_Auto_P27872807_17-10-2025_09_56_34.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872807_17-10-2025_09_56_34.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','27872807','results_Auto_P27872807_17-10-2025_09_56_34.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872807_17-10-2025_09_56_34.pdf','pdf','','0.16','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27872807]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1389769144, 1389769141, 1389769137, 1389769136, 1389769133, 1389769129, 1389769123, 1389769119, 1389769114, 1389769109, 1389769106, 1389769103, 1389769093, 1389769089, 1389769085, 1389769082, 1389769080, 1389769079] map_info['map_portfolio_photo'] : {27872807: [1389769144, 1389769141, 1389769137, 1389769136, 1389769133, 1389769129, 1389769123, 1389769119, 1389769114, 1389769109, 1389769106, 1389769103, 1389769093, 1389769089, 1389769085, 1389769082, 1389769080, 1389769079, 1389769072, 1389769068, 1389769064, 1389769060, 1389769056, 1389769054, 1389769053, 1389769051, 1389769040, 1389769033, 1389769029, 1389769027]} final : False mtd_id 4302 list_pids : [1389769144, 1389769141, 1389769137, 1389769136, 1389769133, 1389769129, 1389769123, 1389769119, 1389769114, 1389769109, 1389769106, 1389769103, 1389769093, 1389769089, 1389769085, 1389769082, 1389769080, 1389769079] 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, '3952855') ('4302', '27872807', '1389769144', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769141', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769137', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769136', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769133', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769129', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769123', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769119', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769114', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769109', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769106', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769103', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769093', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769089', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769085', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769082', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769080', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769079', None, None, None, None, None, '3952855') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 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', '27872807', '1389769144', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769141', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769137', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769136', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769133', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769129', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769123', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769119', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769114', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769109', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769106', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769103', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769093', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769089', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769085', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769082', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769080', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769079', None, None, None, None, None, '3952855')] time used for this insertion : 0.03714942932128906 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.082087278366089 time spend to save output : 0.03751492500305176 total time spend for step 4 : 3.1196022033691406 step5:split_time_score Fri Oct 17 09:56:36 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 : ['27872807'] 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 : [('27872807',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27872807) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1389769141: {'path': 'temp/1760687793_680265_1389769141_bc3703d81ac1289428849f9e11188176.jpg', 'extension': 'jpg'}, 1389769144: {'path': 'temp/1760687793_680265_1389769144_a801bec03382d61e1ecc44b1738994f7.jpg', 'extension': 'jpg'}, 1389769079: {'path': 'temp/1760687793_680265_1389769079_948597adc462d33c33d6f25f517456af.jpg', 'extension': 'jpg'}, 1389769080: {'path': 'temp/1760687793_680265_1389769080_724d07d196354224aae1517efb6246ac.jpg', 'extension': 'jpg'}, 1389769082: {'path': 'temp/1760687793_680265_1389769082_46b12bd8cd0786dedb2e8370b079c731.jpg', 'extension': 'jpg'}, 1389769085: {'path': 'temp/1760687793_680265_1389769085_91b4ed79ba8d338b3773869ad2a989c5.jpg', 'extension': 'jpg'}, 1389769089: {'path': 'temp/1760687793_680265_1389769089_8691eacbb23795da4a24e6336b6221f6.jpg', 'extension': 'jpg'}, 1389769093: {'path': 'temp/1760687793_680265_1389769093_91aa70b444c3d2d38dc2860b13532730.jpg', 'extension': 'jpg'}, 1389769103: {'path': 'temp/1760687793_680265_1389769103_a3d07b8b3f8a4ce033ddc85afa65341b.jpg', 'extension': 'jpg'}, 1389769106: {'path': 'temp/1760687793_680265_1389769106_c7a073bf68d138c55708dd2b51c0a816.jpg', 'extension': 'jpg'}, 1389769129: {'path': 'temp/1760687793_680265_1389769129_60f5e7fb9f189aaa680df587c52b8513.jpg', 'extension': 'jpg'}, 1389769133: {'path': 'temp/1760687793_680265_1389769133_0427d6f9ba7f0090cb9b1afb8106fcd0.jpg', 'extension': 'jpg'}, 1389769136: {'path': 'temp/1760687793_680265_1389769136_59f013e000ef068462ce034ead908e97.jpg', 'extension': 'jpg'}, 1389769137: {'path': 'temp/1760687793_680265_1389769137_c57e005ac3afe02737d2127ab32f0da4.jpg', 'extension': 'jpg'}, 1389769109: {'path': 'temp/1760687793_680265_1389769109_d7986087563e9c6630d6c910ed5c802d.jpg', 'extension': 'jpg'}, 1389769114: {'path': 'temp/1760687793_680265_1389769114_49f63d1808b6ccae4dbd10ace29d5750.jpg', 'extension': 'jpg'}, 1389769119: {'path': 'temp/1760687793_680265_1389769119_436e969c541574a17ff221be2439b739.jpg', 'extension': 'jpg'}, 1389769123: {'path': 'temp/1760687793_680265_1389769123_b03d45bb5912a20a831be302820786d6.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 = 27872807; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27872807 group by h (('09', 30),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872807 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 (27872807) 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 (27872807) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17102025 27872807 Nombre de photos uploadées : 30 / 23040 (0%) 17102025 27872807 Nombre de photos taguées (types de déchets): 0 / 30 (0%) 17102025 27872807 Nombre de photos taguées (volume) : 0 / 30 (0%) [{'photo_id': 1389769144, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/a801bec03382d61e1ecc44b1738994f7.jpg', 'username': None, 'uploaded_at': 1760687748, 'text': 'image_17102025_09_50_14_10139.jpg'}, {'photo_id': 1389769141, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/bc3703d81ac1289428849f9e11188176.jpg', 'username': None, 'uploaded_at': 1760687748, 'text': 'image_17102025_09_50_24_10139.jpg'}, {'photo_id': 1389769053, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/0ff8fc4365a161d05f0757254403f517.jpg', 'username': None, 'uploaded_at': 1760687600, 'text': 'image_17102025_09_50_34_10150.jpg'}, {'photo_id': 1389769137, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/c57e005ac3afe02737d2127ab32f0da4.jpg', 'username': None, 'uploaded_at': 1760687748, 'text': 'image_17102025_09_50_34_10150.jpg'}] 0 [] elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 1.7404556274414062e-05 ?????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0013828277587890625 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27872807, '2025-10-17' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-10-17' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2461577,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6479487419128418 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 2461577 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27870991, 'dashboard_result_id': 16460199, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870991_17-10-2025_09_13_08.pdf'}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871007, 'dashboard_result_id': 16460200, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871031, 'dashboard_result_id': 16460201, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871053, 'dashboard_result_id': 16460202, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871053_17-10-2025_09_13_13.pdf'}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871068, 'dashboard_result_id': 16460203, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871109, 'dashboard_result_id': 16460204, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871156, 'dashboard_result_id': 16460205, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871302, 'dashboard_result_id': 16460206, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871396, 'dashboard_result_id': 16460207, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871396_17-10-2025_09_13_41.pdf'}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871468, 'dashboard_result_id': 16460208, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871520, 'dashboard_result_id': 16460209, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871526, 'dashboard_result_id': 16460210, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871526_17-10-2025_09_14_05.pdf'}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871530, 'dashboard_result_id': 16460211, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871534, 'dashboard_result_id': 16460212, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871543, 'dashboard_result_id': 16460213, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871551, 'dashboard_result_id': 16460214, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871551_17-10-2025_09_14_14.pdf'}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871561, 'dashboard_result_id': 16460215, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871572, 'dashboard_result_id': 16460216, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871576, 'dashboard_result_id': 16460217, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871581, 'dashboard_result_id': 16460218, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871590, 'dashboard_result_id': 16460219, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871598, 'dashboard_result_id': 16460220, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871605, 'dashboard_result_id': 16460221, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871605_17-10-2025_09_14_49.pdf'}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871619, 'dashboard_result_id': 16460222, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871619_17-10-2025_09_14_56.pdf'}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871638, 'dashboard_result_id': 16460223, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871656, 'dashboard_result_id': 16460224, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27870700, 'dashboard_result_id': 16460225, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870700_17-10-2025_08_40_17.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870952, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27870807, 'dashboard_result_id': 16460226, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870807_17-10-2025_08_40_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870889, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27870679, 'dashboard_result_id': 16460227, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870679_17-10-2025_09_11_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870753, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27870695, 'dashboard_result_id': 16460228, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870695_17-10-2025_08_52_17.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870720, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27871563, 'dashboard_result_id': 16460229, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871563_17-10-2025_09_30_19.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871599, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27872616, 'dashboard_result_id': 16460230, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872616_17-10-2025_09_32_42.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872656, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27872805, 'dashboard_result_id': 16460231, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872805_17-10-2025_09_55_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872877, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469435, 'mtr_portfolio_id': 27872807, 'dashboard_result_id': 16460232, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872807_17-10-2025_09_55_06.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872821, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870991 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870991 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27870991 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870991 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870991 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27870991 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870991_17-10-2025_09_13_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870991 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870991_17-10-2025_09_13_08.pdf'}" where mtr_portfolio_id = 27870991 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871007 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 = 27871007 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 = 27871007 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%27871007%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871007 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 = 27871007 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871031 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 = 27871031 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 = 27871031 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%27871031%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871031 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 = 27871031 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871053 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871053 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871053 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871053 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871053 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871053 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871053_17-10-2025_09_13_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871053 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871053_17-10-2025_09_13_13.pdf'}" where mtr_portfolio_id = 27871053 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871068 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 = 27871068 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 = 27871068 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%27871068%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871068 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 = 27871068 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871109 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 = 27871109 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 = 27871109 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%27871109%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871109 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 = 27871109 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871156 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 = 27871156 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 = 27871156 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%27871156%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871156 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 = 27871156 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871302 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 = 27871302 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 = 27871302 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%27871302%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871302 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 = 27871302 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871396 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871396 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871396 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871396 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871396 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871396 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871396_17-10-2025_09_13_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871396 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871396_17-10-2025_09_13_41.pdf'}" where mtr_portfolio_id = 27871396 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871468 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 = 27871468 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 = 27871468 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%27871468%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871468 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 = 27871468 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871520 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 = 27871520 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 = 27871520 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%27871520%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871520 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 = 27871520 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871526 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871526 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871526 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871526 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871526 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871526 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871526_17-10-2025_09_14_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871526 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871526_17-10-2025_09_14_05.pdf'}" where mtr_portfolio_id = 27871526 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871530 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 = 27871530 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 = 27871530 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%27871530%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871530 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 = 27871530 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871534 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871534 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871534 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871534 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871534 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871534 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871534_17-10-2025_09_21_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871534 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871534_17-10-2025_09_21_36.pdf'}" where mtr_portfolio_id = 27871534 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871543 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871543 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871543 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871543 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871543 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871543 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871543_17-10-2025_09_20_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871543 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871543_17-10-2025_09_20_20.pdf'}" where mtr_portfolio_id = 27871543 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871551 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871551 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871551 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871551 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871551 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871551 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871551_17-10-2025_09_14_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871551 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871551_17-10-2025_09_14_14.pdf'}" where mtr_portfolio_id = 27871551 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871561 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871561 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871561 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871561 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871561 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871561 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871561_17-10-2025_09_20_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871561 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871561_17-10-2025_09_20_07.pdf'}" where mtr_portfolio_id = 27871561 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871572 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871572 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871572 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871572 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871572 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871572 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871572_17-10-2025_09_18_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871572 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871572_17-10-2025_09_18_54.pdf'}" where mtr_portfolio_id = 27871572 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871576 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871576 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871576 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871576 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871576 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871576 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871576_17-10-2025_09_18_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871576 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871576_17-10-2025_09_18_40.pdf'}" where mtr_portfolio_id = 27871576 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871581 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871581 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871581 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871581 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871581 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871581 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871581_17-10-2025_09_18_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871581 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871581_17-10-2025_09_18_27.pdf'}" where mtr_portfolio_id = 27871581 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871590 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871590 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871590 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871590 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871590 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871590 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871590_17-10-2025_09_18_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871590 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871590_17-10-2025_09_18_27.pdf'}" where mtr_portfolio_id = 27871590 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871598 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871598 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871598 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871598 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871598 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871598 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871598_17-10-2025_09_17_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871598 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871598_17-10-2025_09_17_46.pdf'}" where mtr_portfolio_id = 27871598 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871605 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871605 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871605 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871605 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871605 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871605 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871605_17-10-2025_09_14_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871605 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871605_17-10-2025_09_14_49.pdf'}" where mtr_portfolio_id = 27871605 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871619 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871619 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871619 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871619 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871619 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871619 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871619_17-10-2025_09_14_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871619 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871619_17-10-2025_09_14_56.pdf'}" where mtr_portfolio_id = 27871619 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871638 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871638 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871638 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871638 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871638 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871638_17-10-2025_09_17_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871638 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871638_17-10-2025_09_17_24.pdf'}" where mtr_portfolio_id = 27871638 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871656 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871656 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871656 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871656 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871656 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871656 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871656_17-10-2025_09_16_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871656 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871656_17-10-2025_09_16_57.pdf'}" where mtr_portfolio_id = 27871656 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870700 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870700 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27870700 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870700 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870700 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27870700 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870700_17-10-2025_08_40_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870700 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870700_17-10-2025_08_40_17.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870952, 'pht': 3726}}" where mtr_portfolio_id = 27870700 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870807 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870807 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27870807 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870807 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870807 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27870807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870807_17-10-2025_08_40_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870807 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870807_17-10-2025_08_40_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870889, 'pht': 3726}}" where mtr_portfolio_id = 27870807 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870679 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952473, 'mtr_portfolio_id': 27870679, 'created_at': datetime.datetime(2025, 10, 17, 9, 11, 39), 'result': '0.026132705072848785', 'result_long': None, 'result_double': None}] Qualite : 0.026132705072848785 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27870679 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870679_17-10-2025_09_11_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870679 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870679_17-10-2025_09_11_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870753, 'pht': 3726}}" where mtr_portfolio_id = 27870679 and dashboard_run_id = 2469435 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27870679 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16460227, 0.026132705072848785, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870679_17-10-2025_09_11_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870753, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870695 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952474, 'mtr_portfolio_id': 27870695, 'created_at': datetime.datetime(2025, 10, 17, 9, 20, 45), 'result': '0.03953099328767383', 'result_long': None, 'result_double': None}] Qualite : 0.03953099328767383 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27870695 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870695_17-10-2025_09_20_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870695 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870695_17-10-2025_09_20_55.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870720, 'pht': 3726}}" where mtr_portfolio_id = 27870695 and dashboard_run_id = 2469435 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27870695 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16460228, 0.03953099328767383, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870695_17-10-2025_09_20_55.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870720, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871563 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871563 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871563 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871563 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871563 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871563_17-10-2025_09_30_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871563 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871563_17-10-2025_09_30_19.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871599, 'pht': 3726}}" where mtr_portfolio_id = 27871563 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872616 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872616 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27872616 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872616 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872616 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27872616 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872616_17-10-2025_09_32_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27872616 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872616_17-10-2025_09_32_42.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872656, 'pht': 3726}}" where mtr_portfolio_id = 27872616 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872805 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872805 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27872805 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872805 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872805 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27872805 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872805_17-10-2025_09_55_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27872805 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872805_17-10-2025_09_55_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872877, 'pht': 3726}}" where mtr_portfolio_id = 27872805 and dashboard_run_id = 2469435 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872807 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872807 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27872807 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872807 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872807 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27872807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872807_17-10-2025_09_56_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27872807 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872807_17-10-2025_09_56_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872821, 'pht': 3726}}" where mtr_portfolio_id = 27872807 and dashboard_run_id = 2469435 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27870991,27871007,27871031,27871053,27871068,27871109,27871156,27871302,27871396,27871468,27871520,27871526,27871530,27871534,27871543,27871551,27871561,27871572,27871576,27871581,27871590,27871598,27871605,27871619,27871638,27871656,27870700,27870807,27870679,27870695,27871563,27872616,27872805,27872807) result : ((1389765808,), (1389765811,), (1389765817,), (1389765830,), (1389765833,), (1389765834,), (1389765835,), (1389765836,), (1389765838,), (1389765844,), (1389765846,), (1389765848,), (1389765859,), (1389765862,), (1389765864,), (1389765865,), (1389765877,), (1389765880,), (1389765883,), (1389765885,), (1389765887,), (1389765889,), (1389765898,), (1389765903,), (1389765906,), (1389765910,), (1389765919,), (1389765922,), (1389765925,), (1389765928,), (1389765930,), (1389765933,), (1389765940,), (1389765943,), (1389765947,), (1389765962,), (1389765964,), (1389765967,), (1389765970,), (1389765973,), (1389765975,), (1389765993,), (1389765996,), (1389766000,), (1389766001,), (1389766002,), (1389766019,), (1389766023,), (1389766027,), (1389766031,), (1389766034,), (1389766037,), (1389766048,), (1389766051,), (1389766057,), (1389766060,), (1389766063,), (1389766075,), (1389766077,), (1389766080,), (1389766084,), (1389766088,), (1389766090,), (1389766095,), (1389766097,), (1389766099,), (1389766102,), (1389766105,), (1389766109,), (1389766112,), (1389766115,), (1389766118,), (1389766124,), (1389766125,), (1389766126,), (1389766131,), (1389766134,), (1389766138,), (1389766153,), (1389766157,), (1389766159,), (1389766164,), (1389766203,), (1389766186,), (1389766188,), (1389766190,), (1389766194,), (1389766198,), (1389766212,), (1389766214,), (1389766215,), (1389766219,), (1389766233,), (1389766234,), (1389766236,), (1389766239,), (1389766243,), (1389766248,), (1389766281,), (1389766284,), (1389766287,), (1389766289,), (1389766292,), (1389766300,), (1389766302,), (1389766306,), (1389766308,), (1389766311,), (1389766315,), (1389766320,), (1389766323,), (1389766325,), (1389766331,), (1389766340,), (1389766346,), (1389766352,), (1389766357,), (1389766369,), (1389766374,), (1389766375,), (1389766380,), (1389766383,), (1389766390,), (1389766395,), (1389766406,), (1389766414,), (1389766416,), (1389766423,), (1389766430,), (1389766439,), (1389766446,), (1389766456,), (1389766470,), (1389766471,), (1389766476,), (1389766477,), (1389766489,), (1389766491,), (1389766492,), (1389766495,), (1389766496,), (1389766499,), (1389766505,), (1389766506,), (1389766511,), (1389766519,), (1389766523,), (1389766526,), (1389766531,), (1389766534,), (1389766535,), (1389766537,), (1389766542,), (1389766543,), (1389766547,), (1389766548,), (1389766551,), (1389766552,), (1389766556,), (1389766557,), (1389766561,), (1389766566,), (1389766569,), (1389766574,), (1389766582,), (1389766588,), (1389766596,), (1389766599,), (1389766604,), (1389766613,), (1389766624,), (1389766632,), (1389766640,), (1389766649,), (1389766661,), (1389766670,), (1389765082,), (1389765084,), (1389765085,), (1389765088,), (1389765091,), (1389765102,), (1389765105,), (1389765110,), (1389765113,), (1389765116,), (1389765118,), (1389765123,), (1389765125,), (1389765128,), (1389765134,), (1389765136,), (1389765142,), (1389765145,), (1389765147,), (1389765149,), (1389765156,), (1389765160,), (1389765163,), (1389765168,), (1389765172,), (1389765174,), (1389765182,), (1389765185,), (1389765187,), (1389765191,), (1389765205,), (1389765208,), (1389765211,), (1389765215,), (1389765218,), (1389765221,), (1389765233,), (1389765235,), (1389765239,), (1389765241,), (1389765255,), (1389765257,), (1389765260,), (1389765267,), (1389765270,), (1389765273,), (1389765284,), (1389765288,), (1389765289,), (1389765290,), (1389765292,), (1389765295,), (1389765302,), (1389765308,), (1389765317,), (1389765319,), (1389765322,), (1389765324,), (1389765326,), (1389765328,), (1389765335,), (1389765339,), (1389765342,), (1389765345,), (1389765347,), (1389765359,), (1389765363,), (1389765367,), (1389765371,), (1389765372,), (1389765375,), (1389765382,), (1389765385,), (1389765390,), (1389765393,), (1389765396,), (1389765400,), (1389765402,), (1389765404,), (1389765406,), (1389765415,), (1389765418,), (1389765429,), (1389765433,), (1389765435,), (1389765437,), (1389765463,), (1389765449,), (1389765454,), (1389765457,), (1389765461,), (1389765477,), (1389765481,), (1389765485,), (1389765487,), (1389765497,), (1389765499,), (1389765501,), (1389765505,), (1389765520,), (1389765523,), (1389765526,), (1389765529,), (1389765531,), (1389765534,), (1389765542,), (1389765544,), (1389765546,), (1389765549,), (1389765560,), (1389765564,), (1389765566,), (1389765571,), (1389765574,), (1389765576,), (1389765590,), (1389765593,), (1389765597,), (1389765601,), (1389765605,), (1389765607,), (1389765611,), (1389765614,), (1389765617,), (1389765620,), (1389765623,), (1389765625,), (1389765628,), (1389765631,), (1389765634,), (1389765640,), (1389765641,), (1389765642,), (1389765645,), (1389765647,), (1389765651,), (1389765663,), (1389765665,), (1389765667,), (1389765670,), (1389765686,), (1389765689,), (1389765692,), (1389765695,), (1389765698,), (1389765701,), (1389765717,), (1389765722,), (1389765725,), (1389765726,), (1389765743,), (1389765746,), (1389765748,), (1389765750,), (1389765751,), (1389765752,), (1389765764,), (1389765768,), (1389765772,), (1389765774,), (1389765786,), (1389765789,), (1389765792,), (1389765795,), (1389765798,), (1389765800,), (1389765820,), (1389765852,), (1389754273,), (1389754275,), (1389754277,), (1389754279,), (1389754283,), (1389754288,), (1389754291,), (1389754294,), (1389754322,), (1389754327,), (1389754332,), (1389754335,), (1389754339,), (1389754343,), (1389754348,), (1389754351,), (1389754353,), (1389754356,), (1389754358,), (1389754361,), (1389754389,), (1389754390,), (1389754393,), (1389754394,), (1389754396,), (1389754397,), (1389754400,), (1389754401,), (1389754404,), (1389754405,), (1389754409,), (1389754411,), (1389754414,), (1389754417,), (1389754420,), (1389754449,), (1389754450,), (1389754452,), (1389754453,), (1389754456,), (1389754457,), (1389754460,), (1389754461,), (1389754465,), (1389754466,), (1389754470,), (1389754473,), (1389754476,), (1389754479,), (1389754504,), (1389754593,), (1389754595,), (1389754596,), (1389754597,), (1389754601,), (1389754604,), (1389754607,), (1389754610,), (1389754614,), (1389754615,), (1389754638,), (1389754640,), (1389754642,), (1389754670,), (1389754673,), (1389754675,), (1389754687,), (1389754680,), (1389754683,), (1389754685,), (1389754710,), (1389754711,), (1389754713,), (1389754715,), (1389754717,), (1389754745,), (1389754746,), (1389754748,), (1389754753,), (1389754757,), (1389754760,), (1389754798,), (1389754801,), (1389754803,), (1389754804,), (1389754829,), (1389754833,), (1389754837,), (1389754841,), (1389754844,), (1389754846,), (1389754849,), (1389754853,), (1389754857,), (1389754860,), (1389754883,), (1389754887,), (1389754890,), (1389754913,), (1389754916,), (1389754921,), (1389754925,), (1389754956,), (1389754959,), (1389754960,), (1389754961,), (1389754962,), (1389754968,), (1389754972,), (1389754975,), (1389754978,), (1389754998,), (1389755000,), (1389755003,), (1389755024,), (1389755025,), (1389755027,), (1389755028,), (1389755052,), (1389755055,), (1389755059,), (1389755061,), (1389755064,), (1389755070,), (1389755072,), (1389755073,), (1389755074,), (1389755077,), (1389755095,), (1389755098,), (1389755102,), (1389755109,), (1389755113,), (1389755117,), (1389755089,), (1389755091,), (1389755093,), (1389755127,), (1389755128,), (1389755131,), (1389755132,), (1389755134,), (1389755135,), (1389755137,), (1389755138,), (1389755140,), (1389755141,), (1389755144,), (1389755145,), (1389755150,), (1389755152,), (1389755155,), (1389755158,), (1389755190,), (1389755192,), (1389755195,), (1389755196,), (1389755200,), (1389755201,), (1389755205,), (1389755206,), (1389755210,), (1389755212,), (1389755217,), (1389755218,), (1389755221,), (1389755252,), (1389755255,), (1389755258,), (1389755261,), (1389755284,), (1389755286,), (1389755288,), (1389755291,), (1389755298,), (1389755303,), (1389755307,), (1389755330,), (1389755333,), (1389755337,), (1389755341,), (1389755369,), (1389755371,), (1389755373,), (1389755375,), (1389755378,), (1389755380,), (1389755389,), (1389755391,), (1389755423,), (1389755427,), (1389755431,), (1389755435,), (1389755437,), (1389755459,), (1389755462,), (1389755465,), (1389755468,), (1389755471,), (1389755475,), (1389755481,), (1389755484,), (1389755488,), (1389755515,), (1389755518,), (1389755519,), (1389755522,), (1389755524,), (1389755564,), (1389755557,), (1389755560,), (1389755562,), (1389755563,), (1389755571,), (1389755575,), (1389755579,), (1389755582,), (1389755585,), (1389755587,), (1389755612,), (1389755614,), (1389755617,), (1389755621,), (1389755623,), (1389755625,), (1389755626,), (1389755629,), (1389755654,), (1389755658,), (1389755662,), (1389755666,), (1389755669,), (1389755673,), (1389755697,), (1389755701,), (1389755704,), (1389755712,), (1389755714,), (1389755715,), (1389755717,), (1389755719,), (1389755744,), (1389755747,), (1389755750,), (1389755753,), (1389755756,), (1389755758,), (1389755766,), (1389755769,), (1389755773,), (1389755777,), (1389755803,), (1389755806,), (1389755809,), (1389755812,), (1389755815,), (1389755841,), (1389755843,), (1389755847,), (1389755851,), (1389755855,), (1389755858,), (1389755887,), (1389755889,), (1389755891,), (1389755893,), (1389755911,), (1389755914,), (1389755918,), (1389755922,), (1389755926,), (1389755931,), (1389755935,), (1389756809,), (1389756807,), (1389756808,), (1389756814,), (1389756817,), (1389756820,), (1389756823,), (1389756825,), (1389756842,), (1389756844,), (1389756865,), (1389756868,), (1389756871,), (1389756874,), (1389756877,), (1389756879,), (1389756882,), (1389756884,), (1389756887,), (1389756890,), (1389756893,), (1389756912,), (1389756916,), (1389756918,), (1389756920,), (1389756923,), (1389756946,), (1389756948,), (1389756950,), (1389756952,), (1389756954,), (1389756958,), (1389756961,), (1389756963,), (1389756966,), (1389756987,), (1389756988,), (1389756989,), (1389756990,), (1389756991,), (1389756992,), (1389756994,), (1389756997,), (1389756998,), (1389757001,), (1389757007,), (1389757008,), (1389757011,), (1389757031,), (1389757034,), (1389757038,), (1389757041,), (1389757045,), (1389757047,), (1389757071,), (1389757074,), (1389757079,), (1389757082,), (1389757085,), (1389757089,), (1389757091,), (1389757094,), (1389757097,), (1389757123,), (1389757125,), (1389757126,), (1389757128,), (1389757130,), (1389757149,), (1389757137,), (1389757140,), (1389757142,), (1389757144,), (1389757147,), (1389757153,), (1389757156,), (1389757159,), (1389757181,), (1389757185,), (1389757188,), (1389757192,), (1389757195,), (1389757196,), (1389757216,), (1389757219,), (1389757222,), (1389757228,), (1389757231,), (1389757236,), (1389757238,), (1389757241,), (1389757266,), (1389757267,), (1389757270,), (1389757271,), (1389757274,), (1389757275,), (1389757278,), (1389757279,), (1389757281,), (1389757282,), (1389757283,), (1389757284,), (1389757289,), (1389757293,), (1389757295,), (1389757298,), (1389757300,), (1389757302,), (1389757326,), (1389757328,), (1389757330,), (1389757334,), (1389757337,), (1389757340,), (1389757342,), (1389757344,), (1389757345,), (1389757346,), (1389757347,), (1389757348,), (1389757349,), (1389757351,), (1389757352,), (1389757354,), (1389757355,), (1389757357,), (1389757360,), (1389757362,), (1389757364,), (1389757365,), (1389757369,), (1389757370,), (1389757373,), (1389757374,), (1389757376,), (1389757377,), (1389757380,), (1389757385,), (1389757389,), (1389757392,), (1389757395,), (1389757398,), (1389757400,), (1389757408,), (1389757412,), (1389757415,), (1389757418,), (1389757421,), (1389757425,), (1389757430,), (1389757432,), (1389757435,), (1389757459,), (1389757444,), (1389757448,), (1389757451,), (1389757454,), (1389757457,), (1389757482,), (1389757485,), (1389757488,), (1389757489,), (1389757491,), (1389757494,), (1389757504,), (1389757506,), (1389757524,), (1389757526,), (1389757528,), (1389757530,), (1389757534,), (1389757543,), (1389757546,), (1389757549,), (1389757552,), (1389757554,), (1389757555,), (1389757566,), (1389757569,), (1389757571,), (1389757574,), (1389757587,), (1389757590,), (1389757593,), (1389757595,), (1389757596,), (1389757598,), (1389757609,), (1389757610,), (1389757613,), (1389757616,), (1389757619,), (1389757621,), (1389757630,), (1389757633,), (1389757636,), (1389757651,), (1389757653,), (1389757656,), (1389757659,), (1389757671,), (1389757672,), (1389757674,), (1389757678,), (1389757680,), (1389757691,), (1389757695,), (1389757698,), (1389757701,), (1389757715,), (1389757717,), (1389757718,), (1389757720,), (1389757724,), (1389757739,), (1389757742,), (1389757746,), (1389757749,), (1389757751,), (1389757754,), (1389757762,), (1389757766,), (1389757770,), (1389757774,), (1389757777,), (1389757780,), (1389757785,), (1389757787,), (1389757789,), (1389757790,), (1389757791,), (1389757814,), (1389757815,), (1389757794,), (1389757795,), (1389757798,), (1389757800,), (1389757803,), (1389757804,), (1389757806,), (1389757808,), (1389757811,), (1389757812,), (1389757819,), (1389757823,), (1389757825,), (1389757827,), (1389757832,), (1389757838,), (1389757840,), (1389757843,), (1389757846,), (1389757849,), (1389757861,), (1389757864,), (1389757867,), (1389757870,), (1389757873,), (1389757876,), (1389757883,), (1389757885,), (1389757889,), (1389757893,), (1389757896,), (1389757899,), (1389757907,), (1389757911,), (1389757916,), (1389757919,), (1389757933,), (1389757937,), (1389757941,), (1389757944,), (1389757948,), (1389757951,), (1389757956,), (1389757958,), (1389757961,), (1389757964,), (1389757968,), (1389757976,), (1389757978,), (1389757982,), (1389757996,), (1389757999,), (1389758001,), (1389758004,), (1389758015,), (1389758017,), (1389758020,), (1389758023,), (1389758026,), (1389758033,), (1389758036,), (1389758040,), (1389758052,), (1389758055,), (1389758068,), (1389758070,), (1389758073,), (1389758076,), (1389758079,), (1389758082,), (1389758092,), (1389758094,), (1389758098,), (1389758101,), (1389758103,), (1389758117,), (1389758111,), (1389758114,), (1389758130,), (1389758132,), (1389758134,), (1389758137,), (1389758140,), (1389758143,), (1389758151,), (1389758154,), (1389758157,), (1389758160,), (1389758163,), (1389758174,), (1389758176,), (1389758179,), (1389758181,), (1389758184,), (1389758193,), (1389758194,), (1389758197,), (1389758215,), (1389758217,), (1389758219,), (1389758222,), (1389758224,), (1389758235,), (1389758236,), (1389758237,), (1389758241,), (1389758244,), (1389758247,), (1389758255,), (1389758257,), (1389758260,), (1389758273,), (1389758281,), (1389758284,), (1389758288,), (1389758291,), (1389758293,), (1389758298,), (1389758300,), (1389758303,), (1389758306,), (1389758319,), (1389758322,), (1389758324,), (1389758328,), (1389758331,), (1389758340,), (1389758342,), (1389758360,), (1389758363,), (1389758367,), (1389758369,), (1389758382,), (1389758386,), (1389758390,), (1389758393,), (1389758401,), (1389758403,), (1389758405,), (1389758409,), (1389758414,), (1389758435,), (1389758426,), (1389758428,), (1389758432,), (1389758444,), (1389758447,), (1389758450,), (1389758454,), (1389758458,), (1389758461,), (1389758467,), (1389758470,), (1389758473,), (1389758476,), (1389758479,), (1389758492,), (1389758494,), (1389758495,), (1389758498,), (1389758511,), (1389758513,), (1389758515,), (1389758531,), (1389758546,), (1389758547,), (1389758550,), (1389758554,), (1389758557,), (1389758560,), (1389758567,), (1389758569,), (1389758571,), (1389758588,), (1389758590,), (1389758593,), (1389758596,), (1389758598,), (1389758600,), (1389758610,), (1389758612,), (1389758614,), (1389758618,), (1389758630,), (1389758632,), (1389758635,), (1389758638,), (1389758641,), (1389758644,), (1389758648,), (1389758655,), (1389758658,), (1389758660,), (1389758663,), (1389758666,), (1389758672,), (1389758676,), (1389758679,), (1389758683,), (1389758685,), (1389758696,), (1389758700,), (1389758705,), (1389758709,), (1389758713,), (1389758718,), (1389758719,), (1389758722,), (1389758736,), (1389758726,), (1389758729,), (1389758733,), (1389758735,), (1389758748,), (1389758750,), (1389758753,), (1389758756,), (1389758759,), (1389758767,), (1389758770,), (1389758773,), (1389758777,), (1389758789,), (1389758792,), (1389758796,), (1389758799,), (1389758801,), (1389758803,), (1389758809,), (1389758812,), (1389758815,), (1389758818,), (1389758820,), (1389758829,), (1389758831,), (1389758834,), (1389758846,), (1389758849,), (1389758854,), (1389758859,), (1389758863,), (1389758869,), (1389758872,), (1389758876,), (1389758880,), (1389758883,), (1389758886,), (1389758892,), (1389758895,), (1389758897,), (1389758909,), (1389758911,), (1389758915,), (1389758918,), (1389758922,), (1389758925,), (1389758932,), (1389758936,), (1389758941,), (1389758946,), (1389758950,), (1389758951,), (1389758960,), (1389758963,), (1389758967,), (1389758970,), (1389758982,), (1389758984,), (1389758986,), (1389758989,), (1389758991,), (1389758993,), (1389759002,), (1389759006,), (1389759009,), (1389759011,), (1389759024,), (1389759027,), (1389759030,), (1389759033,), (1389759035,), (1389759038,), (1389759060,), (1389759049,), (1389759052,), (1389759055,), (1389759058,), (1389759071,), (1389759073,), (1389759075,), (1389759079,), (1389759090,), (1389759093,), (1389759097,), (1389759101,), (1389759104,), (1389759112,), (1389759115,), (1389759118,), (1389759121,), (1389759123,), (1389759127,), (1389759135,), (1389759137,), (1389759141,), (1389759145,), (1389759154,), (1389759157,), (1389759161,), (1389759165,), (1389759168,), (1389759176,), (1389759179,), (1389759182,), (1389759185,), (1389759187,), (1389759198,), (1389759201,), (1389759204,), (1389759217,), (1389759220,), (1389759221,), (1389759224,), (1389759227,), (1389759239,), (1389759243,), (1389759248,), (1389759252,), (1389759256,), (1389759258,), (1389759262,), (1389759265,), (1389759268,), (1389759273,), (1389759283,), (1389759286,), (1389759289,), (1389759292,), (1389759295,), (1389759297,), (1389759308,), (1389759311,), (1389759315,), (1389759318,), (1389759328,), (1389759330,), (1389759334,), (1389759338,), (1389759341,), (1389759344,), (1389759353,), (1389759356,), (1389759359,), (1389759361,), (1389759364,), (1389759380,), (1389759377,), (1389759379,), (1389759395,), (1389759396,), (1389759397,), (1389759399,), (1389759402,), (1389759415,), (1389759431,), (1389759449,), (1389759452,), (1389759456,), (1389759459,), (1389759470,), (1389759472,), (1389759475,), (1389759478,), (1389759482,), (1389759490,), (1389759493,), (1389759497,), (1389759502,), (1389759512,), (1389759515,), (1389759520,), (1389759525,), (1389759535,), (1389759538,), (1389759541,), (1389759555,), (1389759558,), (1389759562,), (1389759564,), (1389759579,), (1389759583,), (1389759588,), (1389759591,), (1389759593,), (1389759604,), (1389759607,), (1389759610,), (1389759614,), (1389759618,), (1389759620,), (1389759628,), (1389759630,), (1389759631,), (1389759632,), (1389759633,), (1389759649,), (1389759663,), (1389759665,), (1389759668,), (1389759701,), (1389759686,), (1389759689,), (1389759692,), (1389759695,), (1389759698,), (1389759709,), (1389759713,), (1389759717,), (1389759719,), (1389759721,), (1389759725,), (1389759732,), (1389759734,), (1389759738,), (1389759741,), (1389759751,), (1389759754,), (1389759758,), (1389759762,), (1389759764,), (1389759776,), (1389759779,), (1389759782,), (1389759784,), (1389759785,), (1389759787,), (1389759798,), (1389759800,), (1389759801,), (1389759804,), (1389759818,), (1389759820,), (1389759823,), (1389759826,), (1389759828,), (1389759841,), (1389759844,), (1389759846,), (1389759847,), (1389759850,), (1389759865,), (1389759867,), (1389759870,), (1389759873,), (1389759885,), (1389759889,), (1389759892,), (1389759895,), (1389759900,), (1389759912,), (1389759914,), (1389759916,), (1389759919,), (1389759921,), (1389759924,), (1389759933,), (1389759934,), (1389759936,), (1389759952,), (1389759955,), (1389759959,), (1389759963,), (1389759966,), (1389759969,), (1389759976,), (1389759981,), (1389759986,), (1389759989,), (1389759995,), (1389759996,), (1389759999,), (1389760002,), (1389760004,), (1389760022,), (1389760010,), (1389760015,), (1389760020,), (1389760034,), (1389760037,), (1389760041,), (1389760045,), (1389760057,), (1389760061,), (1389760065,), (1389760070,), (1389760075,), (1389760085,), (1389760088,), (1389760092,), (1389760096,), (1389760099,), (1389760109,), (1389760112,), (1389760131,), (1389760135,), (1389760140,), (1389760145,), (1389760148,), (1389760159,), (1389760162,), (1389760165,), (1389760169,), (1389760173,), (1389760186,), (1389760190,), (1389760194,), (1389760198,), (1389760202,), (1389760203,), (1389760206,), (1389760207,), (1389760211,), (1389760218,), (1389760221,), (1389760224,), (1389760227,), (1389760229,), (1389760232,), (1389760247,), (1389760252,), (1389760256,), (1389760259,), (1389760262,), (1389761298,), (1389761317,), (1389761358,), (1389761373,), (1389761402,), (1389761405,), (1389761422,), (1389761425,), (1389761429,), (1389761433,), (1389761439,), (1389761442,), (1389761452,), (1389761455,), (1389761532,), (1389761535,), (1389761538,), (1389761559,), (1389761562,), (1389761567,), (1389761570,), (1389761572,), (1389761574,), (1389761582,), (1389761592,), (1389761597,), (1389761600,), (1389761603,), (1389761608,), (1389761612,), (1389761618,), (1389761753,), (1389761749,), (1389761751,), (1389761763,), (1389761771,), (1389761775,), (1389761779,), (1389761781,), (1389761792,), (1389761794,), (1389761797,), (1389761800,), (1389761801,), (1389761803,), (1389761818,), (1389761822,), (1389761826,), (1389761838,), (1389761842,), (1389761846,), (1389761850,), (1389761853,), (1389761855,), (1389761869,), (1389761872,), (1389761874,), (1389761875,), (1389761876,), (1389761878,), (1389761884,), (1389761887,), (1389761890,), (1389761892,), (1389761895,), (1389761897,), (1389761901,), (1389761904,), (1389761906,), (1389761908,), (1389761914,), (1389761918,), (1389761937,), (1389761941,), (1389761945,), (1389761947,), (1389761950,), (1389761953,), (1389761968,), (1389762008,), (1389767119,), (1389767187,), (1389767295,), (1389767385,), (1389767388,), (1389767463,), (1389767515,), (1389767579,), (1389767611,), (1389767655,), (1389767719,), (1389767754,), (1389767813,), (1389767842,), (1389767901,), (1389767926,), (1389767931,), (1389767959,), (1389768004,), (1389768038,), (1389768065,), (1389768100,), (1389768134,), (1389768136,), (1389768167,), (1389768173,), (1389768234,), (1389768264,), (1389768299,), (1389768331,), (1389768371,), (1389768402,), (1389768438,), (1389768462,), (1389768493,), (1389768514,), (1389768550,), (1389768583,), (1389768611,), (1389768645,), (1389768668,), (1389768703,), (1389768716,), (1389768751,), (1389768754,), (1389768788,), (1389768810,), (1389768849,), (1389768880,), (1389761962,), (1389761965,), (1389761983,), (1389761986,), (1389761990,), (1389761993,), (1389761996,), (1389761999,), (1389762002,), (1389762004,), (1389762013,), (1389762172,), (1389762188,), (1389762192,), (1389762196,), (1389762199,), (1389762201,), (1389762208,), (1389762211,), (1389762243,), (1389762271,), (1389762229,), (1389762232,), (1389762236,), (1389762240,), (1389762255,), (1389762257,), (1389762259,), (1389762261,), (1389762263,), (1389762266,), (1389762270,), (1389762279,), (1389762281,), (1389762283,), (1389762286,), (1389762288,), (1389762290,), (1389762300,), (1389762304,), (1389762307,), (1389762310,), (1389762324,), (1389762327,), (1389762343,), (1389762346,), (1389762349,), (1389762353,), (1389762363,), (1389762366,), (1389762370,), (1389762373,), (1389762377,), (1389762379,), (1389762394,), (1389762397,), (1389762398,), (1389762410,), (1389762412,), (1389762416,), (1389762417,), (1389762420,), (1389762421,), (1389762433,), (1389762437,), (1389762441,), (1389762444,), (1389762447,), (1389762449,), (1389762460,), (1389762463,), (1389762467,), (1389762469,), (1389762471,), (1389762482,), (1389762484,), (1389762487,), (1389762490,), (1389762492,), (1389762494,), (1389762498,), (1389762500,), (1389762502,), (1389762506,), (1389762511,), (1389762518,), (1389762521,), (1389762523,), (1389762524,), (1389762525,), (1389762530,), (1389762534,), (1389762538,), (1389762543,), (1389762547,), (1389762553,), (1389762554,), (1389762557,), (1389762559,), (1389762583,), (1389762585,), (1389762665,), (1389762668,), (1389762671,), (1389762672,), (1389762673,), (1389762575,), (1389762577,), (1389762579,), (1389762581,), (1389762598,), (1389762599,), (1389762600,), (1389762603,), (1389762607,), (1389762611,), (1389762617,), (1389762618,), (1389762619,), (1389762621,), (1389762623,), (1389762627,), (1389762636,), (1389762639,), (1389762642,), (1389762644,), (1389762646,), (1389762647,), (1389762653,), (1389762655,), (1389762657,), (1389762661,), (1389762680,), (1389762682,), (1389762686,), (1389762689,), (1389762692,), (1389762701,), (1389762704,), (1389762707,), (1389762709,), (1389762710,), (1389762711,), (1389762716,), (1389762720,), (1389762722,), (1389762725,), (1389762727,), (1389762731,), (1389762734,), (1389762742,), (1389762746,), (1389762749,), (1389762751,), (1389762754,), (1389762758,), (1389762765,), (1389762767,), (1389762770,), (1389762774,), (1389762777,), (1389762780,), (1389762787,), (1389762790,), (1389762794,), (1389762798,), (1389762807,), (1389762810,), (1389762814,), (1389762817,), (1389762819,), (1389762822,), (1389762831,), (1389762835,), (1389762839,), (1389762849,), (1389762852,), (1389762856,), (1389762860,), (1389762870,), (1389762873,), (1389762876,), (1389762878,), (1389762881,), (1389762884,), (1389762902,), (1389762934,), (1389762893,), (1389762896,), (1389762899,), (1389762914,), (1389762916,), (1389762920,), (1389762924,), (1389762927,), (1389762930,), (1389762937,), (1389762939,), (1389762941,), (1389762944,), (1389762948,), (1389762951,), (1389762958,), (1389762961,), (1389762964,), (1389762967,), (1389762980,), (1389762984,), (1389762987,), (1389762995,), (1389762998,), (1389763003,), (1389763008,), (1389763011,), (1389763015,), (1389763021,), (1389763024,), (1389763028,), (1389763031,), (1389763033,), (1389763036,), (1389763043,), (1389763046,), (1389763049,), (1389763053,), (1389763063,), (1389763066,), (1389763069,), (1389763073,), (1389763077,), (1389763080,), (1389763090,), (1389763094,), (1389763098,), (1389763103,), (1389763107,), (1389763109,), (1389763115,), (1389763118,), (1389763121,), (1389763125,), (1389763138,), (1389763141,), (1389763144,), (1389763145,), (1389763148,), (1389763151,), (1389763153,), (1389763155,), (1389763157,), (1389763161,), (1389763168,), (1389763171,), (1389763174,), (1389763176,), (1389763186,), (1389763190,), (1389763194,), (1389763197,), (1389763200,), (1389763203,), (1389763212,), (1389763215,), (1389763217,), (1389763221,), (1389763226,), (1389763228,), (1389763245,), (1389763240,), (1389763242,), (1389763265,), (1389763267,), (1389763270,), (1389763274,), (1389763278,), (1389763281,), (1389763289,), (1389763291,), (1389763293,), (1389763296,), (1389763297,), (1389763310,), (1389763313,), (1389763315,), (1389763318,), (1389763333,), (1389763334,), (1389763336,), (1389763340,), (1389763343,), (1389763346,), (1389763354,), (1389763355,), (1389763357,), (1389763362,), (1389763378,), (1389763380,), (1389763382,), (1389763385,), (1389763388,), (1389763390,), (1389763396,), (1389763399,), (1389763402,), (1389763406,), (1389763411,), (1389763412,), (1389763413,), (1389763415,), (1389763420,), (1389763425,), (1389763435,), (1389763440,), (1389763442,), (1389763457,), (1389763459,), (1389763460,), (1389763463,), (1389763477,), (1389763481,), (1389763485,), (1389763489,), (1389763491,), (1389763505,), (1389763508,), (1389763510,), (1389763511,), (1389763513,), (1389763528,), (1389763530,), (1389763534,), (1389763538,), (1389763540,), (1389763551,), (1389763554,), (1389763556,), (1389763558,), (1389763562,), (1389763563,), (1389763575,), (1389763577,), (1389763580,), (1389763583,), (1389763584,), (1389763611,), (1389763653,), (1389763600,), (1389763602,), (1389763606,), (1389763608,), (1389763609,), (1389763624,), (1389763626,), (1389763628,), (1389763631,), (1389763632,), (1389763634,), (1389763639,), (1389763642,), (1389763646,), (1389763650,), (1389763654,), (1389763656,), (1389763659,), (1389763662,), (1389763666,), (1389763677,), (1389763680,), (1389763681,), (1389763682,), (1389763684,), (1389763686,), (1389763699,), (1389763700,), (1389763703,), (1389763705,), (1389763721,), (1389763725,), (1389763734,), (1389763735,), (1389763737,), (1389763740,), (1389763750,), (1389763754,), (1389763756,), (1389763758,), (1389763760,), (1389763762,), (1389763772,), (1389763774,), (1389763775,), (1389763788,), (1389763791,), (1389763793,), (1389763795,), (1389763797,), (1389763800,), (1389763811,), (1389763815,), (1389763818,), (1389763822,), (1389763834,), (1389763837,), (1389763841,), (1389763844,), (1389763846,), (1389763849,), (1389763857,), (1389763859,), (1389763865,), (1389763867,), (1389763870,), (1389763874,), (1389763878,), (1389763880,), (1389763882,), (1389763885,), (1389763893,), (1389763895,), (1389763898,), (1389763899,), (1389763902,), (1389763919,), (1389763924,), (1389763927,), (1389763932,), (1389763936,), (1389763943,), (1389763945,), (1389763948,), (1389763951,), (1389763985,), (1389763964,), (1389763968,), (1389763971,), (1389763977,), (1389763981,), (1389763997,), (1389763999,), (1389764002,), (1389764006,), (1389764018,), (1389764021,), (1389764025,), (1389764029,), (1389764032,), (1389764034,), (1389764043,), (1389764048,), (1389764052,), (1389764055,), (1389764073,), (1389764076,), (1389764079,), (1389764082,), (1389764084,), (1389764088,), (1389764101,), (1389764103,), (1389764105,), (1389764108,), (1389764112,), (1389764126,), (1389764129,), (1389764133,), (1389764137,), (1389764141,), (1389764143,), (1389764145,), (1389764146,), (1389764147,), (1389764155,), (1389764159,), (1389764163,), (1389764167,), (1389764170,), (1389764171,), (1389764181,), (1389764187,), (1389764191,), (1389764196,), (1389764200,), (1389764201,), (1389764223,), (1389764226,), (1389764230,), (1389764233,), (1389764236,), (1389764239,), (1389764241,), (1389764243,), (1389764246,), (1389764252,), (1389764254,), (1389764257,), (1389764261,), (1389764266,), (1389764269,), (1389764272,), (1389764276,), (1389764280,), (1389764282,), (1389764290,), (1389764294,), (1389764298,), (1389764302,), (1389764304,), (1389764312,), (1389764315,), (1389764319,), (1389764323,), (1389764352,), (1389764392,), (1389764334,), (1389764338,), (1389764342,), (1389764345,), (1389764349,), (1389764361,), (1389764365,), (1389764369,), (1389764373,), (1389764375,), (1389764376,), (1389764380,), (1389764384,), (1389764390,), (1389764397,), (1389764401,), (1389764403,), (1389764406,), (1389764409,), (1389764414,), (1389764421,), (1389764425,), (1389764429,), (1389764431,), (1389764437,), (1389764441,), (1389764445,), (1389764448,), (1389764451,), (1389764454,), (1389764463,), (1389764467,), (1389764471,), (1389764475,), (1389764485,), (1389764489,), (1389764493,), (1389764496,), (1389764498,), (1389764500,), (1389764510,), (1389764512,), (1389764516,), (1389764519,), (1389764533,), (1389764535,), (1389764537,), (1389764541,), (1389764544,), (1389764548,), (1389764555,), (1389764558,), (1389764562,), (1389764567,), (1389764580,), (1389764583,), (1389764586,), (1389764591,), (1389764595,), (1389764599,), (1389764612,), (1389764616,), (1389764618,), (1389764623,), (1389764627,), (1389764630,), (1389764635,), (1389764637,), (1389764639,), (1389764641,), (1389764647,), (1389764648,), (1389764651,), (1389764652,), (1389764656,), (1389764657,), (1389764661,), (1389764662,), (1389764665,), (1389764666,), (1389764668,), (1389764669,), (1389764677,), (1389764680,), (1389764684,), (1389764687,), (1389764699,), (1389764705,), (1389764709,), (1389764712,), (1389764715,), (1389764717,), (1389764740,), (1389764728,), (1389764736,), (1389764738,), (1389764753,), (1389764756,), (1389764759,), (1389764762,), (1389764764,), (1389764766,), (1389764775,), (1389764778,), (1389764781,), (1389764797,), (1389764801,), (1389764806,), (1389764810,), (1389764812,), (1389764813,), (1389764824,), (1389764827,), (1389764830,), (1389764832,), (1389764843,), (1389764845,), (1389764848,), (1389764850,), (1389764854,), (1389764856,), (1389764869,), (1389764873,), (1389764876,), (1389764879,), (1389764881,), (1389764883,), (1389764888,), (1389764891,), (1389764895,), (1389764897,), (1389764899,), (1389764901,), (1389764904,), (1389764907,), (1389764910,), (1389764914,), (1389764918,), (1389764928,), (1389764931,), (1389764934,), (1389764938,), (1389764941,), (1389764949,), (1389764952,), (1389764954,), (1389764958,), (1389764962,), (1389764964,), (1389764971,), (1389764973,), (1389764976,), (1389764979,), (1389764993,), (1389764995,), (1389764998,), (1389765001,), (1389765004,), (1389765006,), (1389765017,), (1389765019,), (1389765021,), (1389765023,), (1389765036,), (1389765039,), (1389765041,), (1389765045,), (1389765048,), (1389765060,), (1389765063,), (1389765064,), (1389765067,), (1389765094,), (1389765131,), (1389768268,), (1389768344,), (1389768413,), (1389768463,), (1389768521,), (1389768574,), (1389768634,), (1389768674,), (1389768715,), (1389768774,), (1389768811,), (1389768812,), (1389768847,), (1389768848,), (1389768878,), (1389768881,), (1389768911,), (1389768914,), (1389768942,), (1389768950,), (1389768975,), (1389768981,), (1389769027,), (1389769029,), (1389769033,), (1389769040,), (1389769051,), (1389769053,), (1389769054,), (1389769056,), (1389769060,), (1389769064,), (1389769068,), (1389769072,), (1389769079,), (1389769080,), (1389769082,), (1389769085,), (1389769089,), (1389769093,), (1389769103,), (1389769106,), (1389769109,), (1389769114,), (1389769119,), (1389769123,), (1389769129,), (1389769133,), (1389769136,), (1389769137,), (1389769141,), (1389769144,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17102025': {'nb_upload': 30, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27872807]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1389769144, 1389769141, 1389769137, 1389769136, 1389769133, 1389769129, 1389769123, 1389769119, 1389769114, 1389769109, 1389769106, 1389769103, 1389769093, 1389769089, 1389769085, 1389769082, 1389769080, 1389769079] map_info['map_portfolio_photo'] : {27872807: [1389769144, 1389769141, 1389769137, 1389769136, 1389769133, 1389769129, 1389769123, 1389769119, 1389769114, 1389769109, 1389769106, 1389769103, 1389769093, 1389769089, 1389769085, 1389769082, 1389769080, 1389769079, 1389769072, 1389769068, 1389769064, 1389769060, 1389769056, 1389769054, 1389769053, 1389769051, 1389769040, 1389769033, 1389769029, 1389769027]} final : True mtd_id 4302 list_pids : [1389769144, 1389769141, 1389769137, 1389769136, 1389769133, 1389769129, 1389769123, 1389769119, 1389769114, 1389769109, 1389769106, 1389769103, 1389769093, 1389769089, 1389769085, 1389769082, 1389769080, 1389769079] Looping around the photos to save general results len do output : 1 /27872807Didn'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, '3952855') ('4302', '27872807', '1389769144', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769141', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769137', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769136', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769133', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769129', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769123', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769119', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769114', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769109', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769106', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769103', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769093', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769089', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769085', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769082', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769080', None, None, None, None, None, '3952855') ('4302', None, None, None, None, None, None, None, '3952855') ('4302', '27872807', '1389769079', None, None, None, None, None, '3952855') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 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, '27872807', 'None', None, None, None, None, '3952855'), ('4302', '27872807', '1389769144', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769141', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769137', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769136', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769133', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769129', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769123', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769119', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769114', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769109', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769106', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769103', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769093', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769089', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769085', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769082', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769080', None, None, None, None, None, '3952855'), ('4302', '27872807', '1389769079', None, None, None, None, None, '3952855')] time used for this insertion : 0.03705549240112305 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.818424463272095 time spend to save output : 0.037275075912475586 total time spend for step 5 : 9.85569953918457 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 (3952855) 2.45user 2.43system 0:22.22elapsed 21%CPU (0avgtext+0avgdata 163684maxresident)k 1848inputs+11104outputs (23major+77954minor)pagefaults 0swaps