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 : 3298989 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 (3608127) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3608127) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26253054 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3608127'] with mtr_portfolio_ids : ['26253054'] and first list_photo_ids : [] new path : /proc/3298989/ Name: python3 Umask: 0002 State: R (running) Tgid: 3298989 Ngid: 0 Pid: 3298989 PPid: 3298988 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3298989 NSpid: 3298989 NSpgid: 3297554 NSsid: 3297554 VmPeak: 1107248 kB VmSize: 1107248 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100776 kB VmRSS: 100776 kB RssAnon: 60160 kB RssFile: 40616 kB RssShmem: 0 kB VmData: 866000 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 608 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: 53 nonvoluntary_ctxt_switches: 93 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3298989', 'Ngid': '0', 'Pid': '3298989', 'PPid': '3298988', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3298989', 'NSpid': '3298989', 'NSpgid': '3297554', 'NSsid': '3297554', 'VmPeak': '1107248 kB', 'VmSize': '1107248 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100776 kB', 'VmRSS': '100776 kB', 'RssAnon': '60160 kB', 'RssFile': '40616 kB', 'RssShmem': '0 kB', 'VmData': '866000 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '608 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': '53', 'nonvoluntary_ctxt_switches': '93'} ('datou_batch_current', '3298989', '1107248', '0', '1107248', '866000', '100776', b'', 'marlene', '3608127') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (26253054) 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 (3608127 ) ) 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 (26253054) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1379600945, 'portfolio_id': 26253054}, {'photo_id': 1379600923, 'portfolio_id': 26253054}, {'photo_id': 1379600922, 'portfolio_id': 26253054}, {'photo_id': 1379600920, 'portfolio_id': 26253054}, {'photo_id': 1379600919, 'portfolio_id': 26253054}, {'photo_id': 1379600898, 'portfolio_id': 26253054}, {'photo_id': 1379600897, 'portfolio_id': 26253054}, {'photo_id': 1379600896, 'portfolio_id': 26253054}, {'photo_id': 1379600871, 'portfolio_id': 26253054}, {'photo_id': 1379600870, 'portfolio_id': 26253054}, {'photo_id': 1379600847, 'portfolio_id': 26253054}, {'photo_id': 1379600846, 'portfolio_id': 26253054}, {'photo_id': 1379600845, 'portfolio_id': 26253054}, {'photo_id': 1379600762, 'portfolio_id': 26253054}, {'photo_id': 1379600761, 'portfolio_id': 26253054}, {'photo_id': 1379600738, 'portfolio_id': 26253054}, {'photo_id': 1379600737, 'portfolio_id': 26253054}, {'photo_id': 1379600666, 'portfolio_id': 26253054}, {'photo_id': 1379600665, 'portfolio_id': 26253054}, {'photo_id': 1379600664, 'portfolio_id': 26253054}, {'photo_id': 1379600663, 'portfolio_id': 26253054}, {'photo_id': 1379600636, 'portfolio_id': 26253054}, {'photo_id': 1379600597, 'portfolio_id': 26253054}, {'photo_id': 1379600580, 'portfolio_id': 26253054}, {'photo_id': 1379600579, 'portfolio_id': 26253054}, {'photo_id': 1379600578, 'portfolio_id': 26253054}, {'photo_id': 1379600561, 'portfolio_id': 26253054}, {'photo_id': 1379600560, 'portfolio_id': 26253054}, {'photo_id': 1379600559, 'portfolio_id': 26253054}, {'photo_id': 1379600558, 'portfolio_id': 26253054}, {'photo_id': 1379600557, 'portfolio_id': 26253054}, {'photo_id': 1379600484, 'portfolio_id': 26253054}, {'photo_id': 1379600483, 'portfolio_id': 26253054}, {'photo_id': 1379600457, 'portfolio_id': 26253054}] map_portfolio_id_photo_id: {26253054: [1379600945, 1379600923, 1379600922, 1379600920, 1379600919, 1379600898, 1379600897, 1379600896, 1379600871, 1379600870, 1379600847, 1379600846, 1379600845, 1379600762, 1379600761, 1379600738, 1379600737, 1379600666, 1379600665, 1379600664, 1379600663, 1379600636, 1379600597, 1379600580, 1379600579, 1379600578, 1379600561, 1379600560, 1379600559, 1379600558, 1379600557, 1379600484, 1379600483, 1379600457]} ##### 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.014287948608398438 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Aug 27 05:32:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26253054) 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 : 26253054 get user id for portfolio 26253054 get sub ptf for main ptf 26253054, type 3726 and hashtags ['Carton_gris', 'kraft', 'mal_croppe', 'flou', 'Carton_brun', 'cartonnette', 'autre_refus', 'metal', 'Teint_Dans_La_Masse', 'environnement', 'papier', 'plastique'] 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`=26253054 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','kraft','mal_croppe','flou','Carton_brun','cartonnette','autre_refus','metal','Teint_Dans_La_Masse','environnement','papier','plastique')) 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`=26253054 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','kraft','mal_croppe','flou','Carton_brun','cartonnette','autre_refus','metal','Teint_Dans_La_Masse','environnement','papier','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 26253054, 'sub_port_id': 26253060, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670903, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 56)}, 'autre_refus': {'main_port_id': 26253054, 'sub_port_id': 26253061, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670904, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 56)}, 'Teint_Dans_La_Masse': {'main_port_id': 26253054, 'sub_port_id': 26253062, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670905, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 56)}, 'plastique': {'main_port_id': 26253054, 'sub_port_id': 26253063, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670906, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 56)}, 'kraft': {'main_port_id': 26253054, 'sub_port_id': 26253064, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670907, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 56)}, 'papier': {'main_port_id': 26253054, 'sub_port_id': 26253065, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670908, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 56)}, 'cartonnette': {'main_port_id': 26253054, 'sub_port_id': 26253066, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670909, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 56)}, 'metal': {'main_port_id': 26253054, 'sub_port_id': 26253067, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670910, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 56)}, 'mal_croppe': {'main_port_id': 26253054, 'sub_port_id': 26253068, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670911, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 56)}, 'environnement': {'main_port_id': 26253054, 'sub_port_id': 26253069, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670912, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 56)}, 'flou': {'main_port_id': 26253054, 'sub_port_id': 26253070, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670913, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 56)}, 'Carton_brun': {'main_port_id': 26253054, 'sub_port_id': 26253071, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670914, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 56)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26253060 , 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=26253054 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 (26253060) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26253054) result : ((1379600457,), (1379600483,), (1379600484,), (1379600557,), (1379600558,), (1379600559,), (1379600560,), (1379600561,), (1379600578,), (1379600579,), (1379600580,), (1379600597,), (1379600636,), (1379600663,), (1379600664,), (1379600665,), (1379600666,), (1379600737,), (1379600738,), (1379600761,), (1379600762,), (1379600845,), (1379600846,), (1379600847,), (1379600870,), (1379600871,), (1379600896,), (1379600897,), (1379600898,), (1379600919,), (1379600920,), (1379600922,), (1379600923,), (1379600945,)) 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 26253061 , 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=26253054 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 (26253061) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26253054) result : ((1379600457,), (1379600483,), (1379600484,), (1379600557,), (1379600558,), (1379600559,), (1379600560,), (1379600561,), (1379600578,), (1379600579,), (1379600580,), (1379600597,), (1379600636,), (1379600663,), (1379600664,), (1379600665,), (1379600666,), (1379600737,), (1379600738,), (1379600761,), (1379600762,), (1379600845,), (1379600846,), (1379600847,), (1379600870,), (1379600871,), (1379600896,), (1379600897,), (1379600898,), (1379600919,), (1379600920,), (1379600922,), (1379600923,), (1379600945,)) 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 26253062 , 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=26253054 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 (26253062) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26253054) result : ((1379600457,), (1379600483,), (1379600484,), (1379600557,), (1379600558,), (1379600559,), (1379600560,), (1379600561,), (1379600578,), (1379600579,), (1379600580,), (1379600597,), (1379600636,), (1379600663,), (1379600664,), (1379600665,), (1379600666,), (1379600737,), (1379600738,), (1379600761,), (1379600762,), (1379600845,), (1379600846,), (1379600847,), (1379600870,), (1379600871,), (1379600896,), (1379600897,), (1379600898,), (1379600919,), (1379600920,), (1379600922,), (1379600923,), (1379600945,)) 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 26253063 , 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=26253054 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 (26253063) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26253054) result : ((1379600457,), (1379600483,), (1379600484,), (1379600557,), (1379600558,), (1379600559,), (1379600560,), (1379600561,), (1379600578,), (1379600579,), (1379600580,), (1379600597,), (1379600636,), (1379600663,), (1379600664,), (1379600665,), (1379600666,), (1379600737,), (1379600738,), (1379600761,), (1379600762,), (1379600845,), (1379600846,), (1379600847,), (1379600870,), (1379600871,), (1379600896,), (1379600897,), (1379600898,), (1379600919,), (1379600920,), (1379600922,), (1379600923,), (1379600945,)) 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 26253064 , 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=26253054 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 (26253064) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26253054) result : ((1379600457,), (1379600483,), (1379600484,), (1379600557,), (1379600558,), (1379600559,), (1379600560,), (1379600561,), (1379600578,), (1379600579,), (1379600580,), (1379600597,), (1379600636,), (1379600663,), (1379600664,), (1379600665,), (1379600666,), (1379600737,), (1379600738,), (1379600761,), (1379600762,), (1379600845,), (1379600846,), (1379600847,), (1379600870,), (1379600871,), (1379600896,), (1379600897,), (1379600898,), (1379600919,), (1379600920,), (1379600922,), (1379600923,), (1379600945,)) 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 26253065 , 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=26253054 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 (26253065) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26253054) result : ((1379600457,), (1379600483,), (1379600484,), (1379600557,), (1379600558,), (1379600559,), (1379600560,), (1379600561,), (1379600578,), (1379600579,), (1379600580,), (1379600597,), (1379600636,), (1379600663,), (1379600664,), (1379600665,), (1379600666,), (1379600737,), (1379600738,), (1379600761,), (1379600762,), (1379600845,), (1379600846,), (1379600847,), (1379600870,), (1379600871,), (1379600896,), (1379600897,), (1379600898,), (1379600919,), (1379600920,), (1379600922,), (1379600923,), (1379600945,)) 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 26253066 , 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=26253054 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 (26253066) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26253054) result : ((1379600457,), (1379600483,), (1379600484,), (1379600557,), (1379600558,), (1379600559,), (1379600560,), (1379600561,), (1379600578,), (1379600579,), (1379600580,), (1379600597,), (1379600636,), (1379600663,), (1379600664,), (1379600665,), (1379600666,), (1379600737,), (1379600738,), (1379600761,), (1379600762,), (1379600845,), (1379600846,), (1379600847,), (1379600870,), (1379600871,), (1379600896,), (1379600897,), (1379600898,), (1379600919,), (1379600920,), (1379600922,), (1379600923,), (1379600945,)) 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 26253067 , 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=26253054 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 (26253067) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26253054) result : ((1379600457,), (1379600483,), (1379600484,), (1379600557,), (1379600558,), (1379600559,), (1379600560,), (1379600561,), (1379600578,), (1379600579,), (1379600580,), (1379600597,), (1379600636,), (1379600663,), (1379600664,), (1379600665,), (1379600666,), (1379600737,), (1379600738,), (1379600761,), (1379600762,), (1379600845,), (1379600846,), (1379600847,), (1379600870,), (1379600871,), (1379600896,), (1379600897,), (1379600898,), (1379600919,), (1379600920,), (1379600922,), (1379600923,), (1379600945,)) 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 26253068 , 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=26253054 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 (26253068) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26253054) result : ((1379600457,), (1379600483,), (1379600484,), (1379600557,), (1379600558,), (1379600559,), (1379600560,), (1379600561,), (1379600578,), (1379600579,), (1379600580,), (1379600597,), (1379600636,), (1379600663,), (1379600664,), (1379600665,), (1379600666,), (1379600737,), (1379600738,), (1379600761,), (1379600762,), (1379600845,), (1379600846,), (1379600847,), (1379600870,), (1379600871,), (1379600896,), (1379600897,), (1379600898,), (1379600919,), (1379600920,), (1379600922,), (1379600923,), (1379600945,)) 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 26253069 , 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=26253054 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 (26253069) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26253054) result : ((1379600457,), (1379600483,), (1379600484,), (1379600557,), (1379600558,), (1379600559,), (1379600560,), (1379600561,), (1379600578,), (1379600579,), (1379600580,), (1379600597,), (1379600636,), (1379600663,), (1379600664,), (1379600665,), (1379600666,), (1379600737,), (1379600738,), (1379600761,), (1379600762,), (1379600845,), (1379600846,), (1379600847,), (1379600870,), (1379600871,), (1379600896,), (1379600897,), (1379600898,), (1379600919,), (1379600920,), (1379600922,), (1379600923,), (1379600945,)) 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 26253070 , 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=26253054 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 (26253070) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26253054) result : ((1379600457,), (1379600483,), (1379600484,), (1379600557,), (1379600558,), (1379600559,), (1379600560,), (1379600561,), (1379600578,), (1379600579,), (1379600580,), (1379600597,), (1379600636,), (1379600663,), (1379600664,), (1379600665,), (1379600666,), (1379600737,), (1379600738,), (1379600761,), (1379600762,), (1379600845,), (1379600846,), (1379600847,), (1379600870,), (1379600871,), (1379600896,), (1379600897,), (1379600898,), (1379600919,), (1379600920,), (1379600922,), (1379600923,), (1379600945,)) 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 26253071 , 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=26253054 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 (26253071) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26253054) result : ((1379600457,), (1379600483,), (1379600484,), (1379600557,), (1379600558,), (1379600559,), (1379600560,), (1379600561,), (1379600578,), (1379600579,), (1379600580,), (1379600597,), (1379600636,), (1379600663,), (1379600664,), (1379600665,), (1379600666,), (1379600737,), (1379600738,), (1379600761,), (1379600762,), (1379600845,), (1379600846,), (1379600847,), (1379600870,), (1379600871,), (1379600896,), (1379600897,), (1379600898,), (1379600919,), (1379600920,), (1379600922,), (1379600923,), (1379600945,)) 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`=26253054 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','kraft','mal_croppe','flou','Carton_brun','cartonnette','autre_refus','metal','Teint_Dans_La_Masse','environnement','papier','plastique')) 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`=26253054 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','kraft','mal_croppe','flou','Carton_brun','cartonnette','autre_refus','metal','Teint_Dans_La_Masse','environnement','papier','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 26253054, 'sub_port_id': 26253073, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670915, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 58)}, 'autre_refus': {'main_port_id': 26253054, 'sub_port_id': 26253074, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670916, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 26253054, 'sub_port_id': 26253075, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670917, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 58)}, 'plastique': {'main_port_id': 26253054, 'sub_port_id': 26253076, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670918, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 58)}, 'kraft': {'main_port_id': 26253054, 'sub_port_id': 26253077, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670919, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 58)}, 'papier': {'main_port_id': 26253054, 'sub_port_id': 26253078, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670920, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 58)}, 'cartonnette': {'main_port_id': 26253054, 'sub_port_id': 26253079, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670921, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 58)}, 'metal': {'main_port_id': 26253054, 'sub_port_id': 26253080, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670922, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 58)}, 'mal_croppe': {'main_port_id': 26253054, 'sub_port_id': 26253081, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670923, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 58)}, 'environnement': {'main_port_id': 26253054, 'sub_port_id': 26253082, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670924, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 58)}, 'flou': {'main_port_id': 26253054, 'sub_port_id': 26253083, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670925, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 58)}, 'Carton_brun': {'main_port_id': 26253054, 'sub_port_id': 26253084, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17670926, 'last_updated_at': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 27, 5, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 27, 5, 18, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26253073,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26253060 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26253074,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26253061 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26253075,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26253062 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26253076,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26253063 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26253077,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26253064 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26253078,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26253065 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26253079,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26253066 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26253080,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26253067 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26253081,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26253068 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26253082,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26253069 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26253083,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26253070 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26253084,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26253071 lien utilise dans velours : https://www.fotonower.com/velours/26253073,26253074,26253075,26253076,26253077,26253078,26253079,26253080,26253081,26253082,26253083,26253084?tags=Carton_gris,autre_refus,Teint_Dans_La_Masse,plastique,kraft,papier,cartonnette,metal,mal_croppe,environnement,flou,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26253054]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379600945] map_info['map_portfolio_photo'] : {26253054: [1379600945, 1379600923, 1379600922, 1379600920, 1379600919, 1379600898, 1379600897, 1379600896, 1379600871, 1379600870, 1379600847, 1379600846, 1379600845, 1379600762, 1379600761, 1379600738, 1379600737, 1379600666, 1379600665, 1379600664, 1379600663, 1379600636, 1379600597, 1379600580, 1379600579, 1379600578, 1379600561, 1379600560, 1379600559, 1379600558, 1379600557, 1379600484, 1379600483, 1379600457]} final : False mtd_id 4302 list_pids : [1379600945] Looping around the photos to save general results len do output : 1 /26253054. 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, '3608127') ('4302', '26253054', '1379600945', None, None, None, None, None, '3608127') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '26253054', "{'Carton_gris': 26253060, 'autre_refus': 26253061, 'Teint_Dans_La_Masse': 26253062, 'plastique': 26253063, 'kraft': 26253064, 'papier': 26253065, 'cartonnette': 26253066, 'metal': 26253067, 'mal_croppe': 26253068, 'environnement': 26253069, 'flou': 26253070, 'Carton_brun': 26253071}", None, None, None, None, '3608127'), ('4302', '26253054', '1379600945', None, None, None, None, None, '3608127')] time used for this insertion : 0.029353618621826172 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4902234077453613 time spend to save output : 0.02957010269165039 total time spend for step 1 : 1.5197935104370117 step2:final Wed Aug 27 05:32:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26253054) 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 26253054 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1379600457,1379600484,1379600483,1379600561,1379600560,1379600559,1379600558,1379600557,1379600580,1379600579,1379600578,1379600597,1379600636,1379600666,1379600665,1379600664,1379600663,1379600738,1379600737,1379600762,1379600761,1379600847,1379600846,1379600845,1379600871,1379600870,1379600898,1379600897,1379600896,1379600923,1379600922,1379600920,1379600919,1379600945); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26253054]) Inside saveOutput : final : False verbose : True original output for save of step final : {1379600945: ('0.0',)} new output for save of step final : {1379600945: ('0.0',)} [1379600945] map_info['map_portfolio_photo'] : {26253054: [1379600945, 1379600923, 1379600922, 1379600920, 1379600919, 1379600898, 1379600897, 1379600896, 1379600871, 1379600870, 1379600847, 1379600846, 1379600845, 1379600762, 1379600761, 1379600738, 1379600737, 1379600666, 1379600665, 1379600664, 1379600663, 1379600636, 1379600597, 1379600580, 1379600579, 1379600578, 1379600561, 1379600560, 1379600559, 1379600558, 1379600557, 1379600484, 1379600483, 1379600457]} final : False mtd_id 4302 list_pids : [1379600945] Looping around the photos to save general results len do output : 1 /1379600945.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, '3608127') ('4302', '26253054', '1379600945', None, None, None, None, None, '3608127') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '26253054', '1379600945', '0.0', None, None, None, None, '3608127')] time used for this insertion : 0.023401260375976562 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05142688751220703 time spend to save output : 0.023566007614135742 total time spend for step 2 : 0.07499289512634277 step3:velours_tree Wed Aug 27 05:32:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {26253054: [{'Carton_gris': 26253060, 'autre_refus': 26253061, 'Teint_Dans_La_Masse': 26253062, 'plastique': 26253063, 'kraft': 26253064, 'papier': 26253065, 'cartonnette': 26253066, 'metal': 26253067, 'mal_croppe': 26253068, 'environnement': 26253069, 'flou': 26253070, 'Carton_brun': 26253071}]} input_args_next_step : {26253054: ()} output_args : {26253054: [{'Carton_gris': 26253060, 'autre_refus': 26253061, 'Teint_Dans_La_Masse': 26253062, 'plastique': 26253063, 'kraft': 26253064, 'papier': 26253065, 'cartonnette': 26253066, 'metal': 26253067, 'mal_croppe': 26253068, 'environnement': 26253069, 'flou': 26253070, 'Carton_brun': 26253071}]} args : 26253054 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 : ({'Carton_gris': 26253060, 'autre_refus': 26253061, 'Teint_Dans_La_Masse': 26253062, 'plastique': 26253063, 'kraft': 26253064, 'papier': 26253065, 'cartonnette': 26253066, 'metal': 26253067, 'mal_croppe': 26253068, 'environnement': 26253069, 'flou': 26253070, 'Carton_brun': 26253071},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26253054) 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([26253054]) 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.30176258087158203 time spend to save output : 4.744529724121094e-05 total time spend for step 3 : 0.30181002616882324 step4:send_mail_cod Wed Aug 27 05:32:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1379600945: ('0.0',)} input_args_next_step : {1379600945: ()} output_args : {1379600945: ('0.0',)} args : 1379600945 depend.output_id : 0 complete output_args for input 3 : {26253054: [{'Carton_gris': 26253060, 'autre_refus': 26253061, 'Teint_Dans_La_Masse': 26253062, 'plastique': 26253063, 'kraft': 26253064, 'papier': 26253065, 'cartonnette': 26253066, 'metal': 26253067, 'mal_croppe': 26253068, 'environnement': 26253069, 'flou': 26253070, 'Carton_brun': 26253071}]} input_args_next_step : {1379600945: ('0.0',), 26253054: ()} output_args : {26253054: [{'Carton_gris': 26253060, 'autre_refus': 26253061, 'Teint_Dans_La_Masse': 26253062, 'plastique': 26253063, 'kraft': 26253064, 'papier': 26253065, 'cartonnette': 26253066, 'metal': 26253067, 'mal_croppe': 26253068, 'environnement': 26253069, 'flou': 26253070, 'Carton_brun': 26253071}]} args : 26253054 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :2, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26253054) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1379600945) Found this number of photos: 1 ##### Call download_photos : nb_thread : 5 begin to download photo : 1379600945 download finish for photo 1379600945 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette262530611756265579/ imagette262530631756265579/ imagette262530641756265579/ imagette262530661756265579/ imagette262530671756265579/ imagette262530681756265579/ imagette262530701756265579/ imagette262530601756265579/ imagette262530621756265579/ imagette262530711756265579/ length of list_filenames : 1 ; length of list_pids : 1 ; length of list_args : 1 results_Auto_P26253054_27-08-2025_05_32_59.pdf 26253061 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26253061 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262530611756265579 26253063 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26253063 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262530631756265579 26253064 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26253064 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262530641756265579 26253066 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26253066 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262530661756265579 26253067 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26253067 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262530671756265579 26253068 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26253068 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262530681756265579 26253070 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26253070 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262530701756265579 26253060 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26253060 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262530601756265579 26253062 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26253062 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262530621756265579 26253071 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26253071 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262530711756265579 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26253054 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26253073,26253074,26253075,26253076,26253077,26253078,26253079,26253080,26253081,26253082,26253083,26253084?tags=Carton_gris,autre_refus,Teint_Dans_La_Masse,plastique,kraft,papier,cartonnette,metal,mal_croppe,environnement,flou,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1379600945] : ('0.0',) no score found for photo 1379600945 We are sending mail with results at report@fotonower.com refus_total : 0.0 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26253054 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_P26253054_27-08-2025_05_32_59.pdf results_Auto_P26253054_27-08-2025_05_32_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26253054_27-08-2025_05_32_59.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','26253054','results_Auto_P26253054_27-08-2025_05_32_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26253054_27-08-2025_05_32_59.pdf','pdf','','0.04','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26253054]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1379600945] map_info['map_portfolio_photo'] : {26253054: [1379600945, 1379600923, 1379600922, 1379600920, 1379600919, 1379600898, 1379600897, 1379600896, 1379600871, 1379600870, 1379600847, 1379600846, 1379600845, 1379600762, 1379600761, 1379600738, 1379600737, 1379600666, 1379600665, 1379600664, 1379600663, 1379600636, 1379600597, 1379600580, 1379600579, 1379600578, 1379600561, 1379600560, 1379600559, 1379600558, 1379600557, 1379600484, 1379600483, 1379600457]} final : False mtd_id 4302 list_pids : [1379600945] 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, '3608127') ('4302', '26253054', '1379600945', None, None, None, None, None, '3608127') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '26253054', '1379600945', None, None, None, None, None, '3608127')] time used for this insertion : 0.012463092803955078 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.807175874710083 time spend to save output : 0.01263284683227539 total time spend for step 4 : 0.8198087215423584 step5:split_time_score Wed Aug 27 05:32:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['26253054'] 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 : [('26253054',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26253054) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1379600945: {'path': 'temp/1756265579_3298989_1379600945_17b7ce91c5856da0d15e4dcc45f20f72_22608307.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 = 26253054; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm_bis',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26253054 group by h (('05', 34),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26253054 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 (26253054) 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 (26253054) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 27082025 26253054 Nombre de photos uploadées : 34 / 23040 (0%) 27082025 26253054 Nombre de photos taguées (types de déchets): 0 / 34 (0%) 27082025 26253054 Nombre de photos taguées (volume) : 0 / 34 (0%) [{'photo_id': 1379600457, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/27/0848d8c101984459a745e3db30f102ed_90966571.jpg', 'username': None, 'uploaded_at': 1756264571, 'text': 'image_27082025_05_15_23_9130.jpg'}, {'photo_id': 1379600484, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/27/a635e631bc6e55d4874bf4c200bd2077_56984678.jpg', 'username': None, 'uploaded_at': 1756264631, 'text': 'image_27082025_05_15_34_10139.jpg'}, {'photo_id': 1379600483, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/27/330b207ec6f720a789310ea459ad89e2_76344148.jpg', 'username': None, 'uploaded_at': 1756264631, 'text': 'image_27082025_05_16_14_10136.jpg'}, {'photo_id': 1379600561, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/27/e48bb711d2ca7ef3a96bebb53b4caa70_24747147.jpg', 'username': None, 'uploaded_at': 1756264693, 'text': 'image_27082025_05_16_44_9125.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ?????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016641616821289062 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26253054, '2025-08-27' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2181423,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21217107772827148 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 2181423 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2181423, 'dashboard_run_id': 2188893, 'mtr_portfolio_id': 26247297, 'dashboard_result_id': 14338788, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247297_27-08-2025_00_16_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26247309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26247310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26247311, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26247312, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26247313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26247314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26247315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26247316, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26247317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26247318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26247319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26247320, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2188893, 'mtr_portfolio_id': 26247585, 'dashboard_result_id': 14338789, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247585_27-08-2025_00_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26247597, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26247598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26247599, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26247600, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26247601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26247602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26247603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26247604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26247605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26247606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26247607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26247608, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2188893, 'mtr_portfolio_id': 26248115, 'dashboard_result_id': 14338790, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26248115_27-08-2025_00_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26248128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26248129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26248130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26248131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26248132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26248133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26248134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26248135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26248136, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26248137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26248138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26248139, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2188893, 'mtr_portfolio_id': 26248478, 'dashboard_result_id': 14338791, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26248478_27-08-2025_01_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26248490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26248491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26248492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26248493, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26248494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26248495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26248496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26248497, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26248498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26248499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26248500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26248501, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2188893, 'mtr_portfolio_id': 26249261, 'dashboard_result_id': 14338792, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26249261_27-08-2025_01_46_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26249280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26249281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26249282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26249283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26249284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26249285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26249286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26249287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26249288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26249289, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26249290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26249291, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2188893, 'mtr_portfolio_id': 26249442, 'dashboard_result_id': 14338793, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26249442_27-08-2025_02_03_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26249455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26249456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26249457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26249458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26249459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26249460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26249461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26249462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26249463, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26249464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26249465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26249466, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2188893, 'mtr_portfolio_id': 26249626, 'dashboard_result_id': 14338794, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26249626_27-08-2025_02_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26249632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26249633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26249634, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26249635, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26249636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26249637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26249638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26249639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26249640, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26249641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26249642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26249643, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2188893, 'mtr_portfolio_id': 26249963, 'dashboard_result_id': 14338795, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26249963_27-08-2025_02_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26250016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26250017, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26250018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26250019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26250020, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26250021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26250022, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26250023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26250024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26250025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26250026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26250027, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2188893, 'mtr_portfolio_id': 26250393, 'dashboard_result_id': 14338796, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26250393_27-08-2025_02_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26250403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26250404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26250405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26250406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26250407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26250408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26250409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26250410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26250411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26250412, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26250413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26250414, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2188893, 'mtr_portfolio_id': 26250610, 'dashboard_result_id': 14338797, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26250610_27-08-2025_03_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26250623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26250624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26250625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26250626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26250627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26250628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26250629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26250630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26250631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26250632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26250633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26250634, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2188893, 'mtr_portfolio_id': 26250843, 'dashboard_result_id': 14338798, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26250843_27-08-2025_03_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26250850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26250851, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26250852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26250853, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26250854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26250855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26250856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26250857, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26250858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26250859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26250860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26250861, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2188893, 'mtr_portfolio_id': 26251223, 'dashboard_result_id': 14338799, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26251223_27-08-2025_03_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26251252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26251253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26251254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26251255, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26251256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26251257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26251258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26251259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26251260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26251261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26251262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26251263, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2188893, 'mtr_portfolio_id': 26251509, 'dashboard_result_id': 14338800, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26251509_27-08-2025_03_46_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26251515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26251516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26251517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26251518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26251519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26251520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26251521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26251522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26251523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26251524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26251525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26251526, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2188893, 'mtr_portfolio_id': 26251704, 'dashboard_result_id': 14338801, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26251704_27-08-2025_04_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26251710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26251711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26251712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26251713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26251714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26251715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26251716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26251717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26251718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26251719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26251720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26251721, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2188893, 'mtr_portfolio_id': 26251902, 'dashboard_result_id': 14338802, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26251902_27-08-2025_05_26_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26251912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26251913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26251914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26251915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26251916, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26251917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26251918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26251919, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26251920, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26251921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26251922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26251923, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2188893, 'mtr_portfolio_id': 26252729, 'dashboard_result_id': 14338803, '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_P26252729_27-08-2025_04_57_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26252735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26252736, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26252737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26252738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26252739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26252740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26252741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26252742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26252743, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26252744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26252745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26252746, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2188893, 'mtr_portfolio_id': 26252961, 'dashboard_result_id': 14338804, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26252961_27-08-2025_05_16_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26252962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26252963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26252964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26252965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26252966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26252967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26252968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26252969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26252970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26252971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26252972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26252973, 'pht': 3726}}"}, {'dashboat_entry_day': 2181423, 'dashboard_run_id': 2188893, 'mtr_portfolio_id': 26253054, 'dashboard_result_id': 14338805, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26253054_27-08-2025_05_28_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26253060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26253061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26253062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26253063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26253064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26253065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26253066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26253067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26253068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26253069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26253070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26253071, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26247297 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26247297 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26247297 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26247297 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26247297 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26247297 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247297_27-08-2025_00_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247297 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247297_27-08-2025_00_16_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26247309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26247310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26247311, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26247312, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26247313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26247314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26247315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26247316, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26247317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26247318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26247319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26247320, 'pht': 3726}}" where mtr_portfolio_id = 26247297 and dashboard_run_id = 2188893 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26247585 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26247585 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26247585 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26247585 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26247585 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26247585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247585_27-08-2025_00_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247585 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247585_27-08-2025_00_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26247597, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26247598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26247599, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26247600, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26247601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26247602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26247603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26247604, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26247605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26247606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26247607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26247608, 'pht': 3726}}" where mtr_portfolio_id = 26247585 and dashboard_run_id = 2188893 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26248115 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26248115 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26248115 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26248115 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26248115 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26248115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26248115_27-08-2025_00_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26248115 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26248115_27-08-2025_00_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26248128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26248129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26248130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26248131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26248132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26248133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26248134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26248135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26248136, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26248137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26248138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26248139, 'pht': 3726}}" where mtr_portfolio_id = 26248115 and dashboard_run_id = 2188893 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26248478 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26248478 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26248478 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26248478 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26248478 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26248478 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26248478_27-08-2025_01_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26248478 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26248478_27-08-2025_01_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26248490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26248491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26248492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26248493, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26248494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26248495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26248496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26248497, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26248498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26248499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26248500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26248501, 'pht': 3726}}" where mtr_portfolio_id = 26248478 and dashboard_run_id = 2188893 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249261 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249261 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26249261 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249261 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249261 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26249261 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26249261_27-08-2025_01_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26249261 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26249261_27-08-2025_01_46_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26249280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26249281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26249282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26249283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26249284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26249285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26249286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26249287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26249288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26249289, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26249290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26249291, 'pht': 3726}}" where mtr_portfolio_id = 26249261 and dashboard_run_id = 2188893 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249442 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249442 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26249442 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249442 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249442 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26249442 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26249442_27-08-2025_02_03_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26249442 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26249442_27-08-2025_02_03_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26249455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26249456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26249457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26249458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26249459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26249460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26249461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26249462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26249463, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26249464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26249465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26249466, 'pht': 3726}}" where mtr_portfolio_id = 26249442 and dashboard_run_id = 2188893 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249626 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249626 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26249626 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249626 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249626 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26249626 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26249626_27-08-2025_02_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26249626 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26249626_27-08-2025_02_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26249632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26249633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26249634, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26249635, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26249636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26249637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26249638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26249639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26249640, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26249641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26249642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26249643, 'pht': 3726}}" where mtr_portfolio_id = 26249626 and dashboard_run_id = 2188893 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249963 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249963 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26249963 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249963 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26249963 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26249963 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26249963_27-08-2025_02_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26249963 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26249963_27-08-2025_02_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26250016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26250017, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26250018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26250019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26250020, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26250021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26250022, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26250023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26250024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26250025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26250026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26250027, 'pht': 3726}}" where mtr_portfolio_id = 26249963 and dashboard_run_id = 2188893 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26250393 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26250393 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26250393 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26250393 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26250393 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26250393 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26250393_27-08-2025_02_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26250393 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26250393_27-08-2025_02_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26250403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26250404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26250405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26250406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26250407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26250408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26250409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26250410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26250411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26250412, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26250413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26250414, 'pht': 3726}}" where mtr_portfolio_id = 26250393 and dashboard_run_id = 2188893 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26250610 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26250610 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26250610 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26250610 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26250610 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26250610 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26250610_27-08-2025_03_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26250610 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26250610_27-08-2025_03_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26250623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26250624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26250625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26250626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26250627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26250628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26250629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26250630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26250631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26250632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26250633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26250634, 'pht': 3726}}" where mtr_portfolio_id = 26250610 and dashboard_run_id = 2188893 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26250843 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26250843 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26250843 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26250843 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26250843 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26250843 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26250843_27-08-2025_03_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26250843 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26250843_27-08-2025_03_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26250850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26250851, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26250852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26250853, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26250854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26250855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26250856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26250857, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26250858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26250859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26250860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26250861, 'pht': 3726}}" where mtr_portfolio_id = 26250843 and dashboard_run_id = 2188893 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251223 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251223 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26251223 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251223 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251223 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26251223 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26251223_27-08-2025_03_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26251223 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26251223_27-08-2025_03_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26251252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26251253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26251254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26251255, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26251256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26251257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26251258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26251259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26251260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26251261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26251262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26251263, 'pht': 3726}}" where mtr_portfolio_id = 26251223 and dashboard_run_id = 2188893 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251509 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251509 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26251509 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251509 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251509 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26251509 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26251509_27-08-2025_03_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26251509 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26251509_27-08-2025_03_46_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26251515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26251516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26251517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26251518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26251519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26251520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26251521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26251522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26251523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26251524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26251525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26251526, 'pht': 3726}}" where mtr_portfolio_id = 26251509 and dashboard_run_id = 2188893 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251704 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251704 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26251704 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251704 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251704 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26251704 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26251704_27-08-2025_04_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26251704 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26251704_27-08-2025_04_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26251710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26251711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26251712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26251713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26251714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26251715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26251716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26251717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26251718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26251719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26251720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26251721, 'pht': 3726}}" where mtr_portfolio_id = 26251704 and dashboard_run_id = 2188893 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251902 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251902 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26251902 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251902 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26251902 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26251902 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26251902_27-08-2025_05_26_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26251902 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26251902_27-08-2025_05_26_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26251912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26251913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26251914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26251915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26251916, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26251917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26251918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26251919, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26251920, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26251921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26251922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26251923, 'pht': 3726}}" where mtr_portfolio_id = 26251902 and dashboard_run_id = 2188893 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26252729 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 = 26252729 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 = 26252729 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26252729 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 = 26252729 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 = 26252729 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26252729_27-08-2025_04_57_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26252729 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_P26252729_27-08-2025_04_57_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26252735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26252736, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26252737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26252738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26252739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26252740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26252741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26252742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26252743, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26252744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26252745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26252746, 'pht': 3726}}" where mtr_portfolio_id = 26252729 and dashboard_run_id = 2188895 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26252961 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26252961 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26252961 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26252961 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26252961 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26252961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26252961_27-08-2025_05_16_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26252961 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26252961_27-08-2025_05_16_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26252962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26252963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26252964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26252965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26252966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26252967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26252968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26252969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26252970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26252971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26252972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26252973, 'pht': 3726}}" where mtr_portfolio_id = 26252961 and dashboard_run_id = 2188895 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26253054 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26253054 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26253054 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26253054 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26253054 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26253054 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26253054_27-08-2025_05_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26253054 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26253054_27-08-2025_05_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26253060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26253061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26253062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26253063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26253064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26253065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26253066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26253067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26253068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26253069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26253070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26253071, 'pht': 3726}}" where mtr_portfolio_id = 26253054 and dashboard_run_id = 2188895 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26247297,26247585,26248115,26248478,26249261,26249442,26249626,26249963,26250393,26250610,26250843,26251223,26251509,26251704,26251902,26252729,26252961,26253054) result : ((1379565199,), (1379565582,), (1379565584,), (1379565668,), (1379565670,), (1379565672,), (1379565674,), (1379565676,), (1379565678,), (1379566162,), (1379566164,), (1379566166,), (1379566550,), (1379566552,), (1379566554,), (1379566556,), (1379566558,), (1379566945,), (1379566947,), (1379566950,), (1379566952,), (1379567109,), (1379567111,), (1379567113,), (1379567115,), (1379567117,), (1379567119,), (1379567199,), (1379567200,), (1379567201,), (1379567202,), (1379567240,), (1379567241,), (1379567242,), (1379567243,), (1379567361,), (1379567362,), (1379567363,), (1379567451,), (1379567455,), (1379567459,), (1379567463,), (1379567467,), (1379567913,), (1379567915,), (1379567917,), (1379567919,), (1379567921,), (1379567923,), (1379568072,), (1379568074,), (1379568076,), (1379568251,), (1379568241,), (1379568243,), (1379568245,), (1379568247,), (1379568249,), (1379568633,), (1379568635,), (1379568637,), (1379568639,), (1379568641,), (1379568643,), (1379568922,), (1379568924,), (1379568926,), (1379568928,), (1379569072,), (1379569073,), (1379569074,), (1379569075,), (1379569076,), (1379569097,), (1379569098,), (1379569099,), (1379569148,), (1379569192,), (1379569194,), (1379569196,), (1379569247,), (1379569248,), (1379569249,), (1379569250,), (1379569251,), (1379569279,), (1379569280,), (1379569282,), (1379569283,), (1379569343,), (1379569344,), (1379569345,), (1379569346,), (1379569489,), (1379569490,), (1379569491,), (1379569492,), (1379569493,), (1379569528,), (1379569529,), (1379569530,), (1379569531,), (1379569532,), (1379569533,), (1379569590,), (1379569591,), (1379569592,), (1379569593,), (1379569625,), (1379569626,), (1379569627,), (1379569822,), (1379569824,), (1379569826,), (1379570130,), (1379570190,), (1379570192,), (1379570194,), (1379570634,), (1379570627,), (1379571287,), (1379571290,), (1379571294,), (1379571296,), (1379571299,), (1379571986,), (1379571989,), (1379571992,), (1379572689,), (1379572691,), (1379572693,), (1379572696,), (1379572698,), (1379573019,), (1379573021,), (1379573023,), (1379573405,), (1379573406,), (1379573407,), (1379573408,), (1379573409,), (1379573410,), (1379573848,), (1379573850,), (1379573852,), (1379574001,), (1379574002,), (1379574004,), (1379574005,), (1379574006,), (1379574007,), (1379574210,), (1379574245,), (1379574247,), (1379574249,), (1379574251,), (1379574252,), (1379574390,), (1379574391,), (1379574392,), (1379574394,), (1379574396,), (1379574527,), (1379574528,), (1379574529,), (1379574713,), (1379574714,), (1379574715,), (1379574901,), (1379574903,), (1379574905,), (1379574907,), (1379574909,), (1379574910,), (1379575043,), (1379575045,), (1379575047,), (1379575049,), (1379575317,), (1379575318,), (1379575319,), (1379575320,), (1379575479,), (1379575477,), (1379575478,), (1379575561,), (1379575562,), (1379575563,), (1379575564,), (1379575565,), (1379575653,), (1379575700,), (1379575702,), (1379575703,), (1379575704,), (1379575705,), (1379575739,), (1379575740,), (1379575741,), (1379575742,), (1379575755,), (1379575756,), (1379575757,), (1379575758,), (1379575759,), (1379575827,), (1379575830,), (1379575857,), (1379575858,), (1379575859,), (1379575860,), (1379575861,), (1379575886,), (1379575887,), (1379575888,), (1379575916,), (1379575917,), (1379575918,), (1379575919,), (1379575920,), (1379576033,), (1379576034,), (1379576035,), (1379576116,), (1379576117,), (1379576118,), (1379576119,), (1379576120,), (1379576197,), (1379576198,), (1379576199,), (1379576200,), (1379576201,), (1379576219,), (1379576220,), (1379576221,), (1379576222,), (1379576223,), (1379580426,), (1379580420,), (1379580422,), (1379580424,), (1379580899,), (1379580901,), (1379580903,), (1379580905,), (1379581146,), (1379581151,), (1379581313,), (1379581314,), (1379581315,), (1379581317,), (1379581318,), (1379581433,), (1379581434,), (1379581435,), (1379581436,), (1379581522,), (1379581523,), (1379581525,), (1379581585,), (1379581586,), (1379581609,), (1379581610,), (1379581611,), (1379581612,), (1379581613,), (1379581665,), (1379581667,), (1379581669,), (1379581671,), (1379581673,), (1379582109,), (1379582111,), (1379582113,), (1379582115,), (1379582220,), (1379582222,), (1379582224,), (1379582226,), (1379582228,), (1379582375,), (1379582376,), (1379582377,), (1379582378,), (1379582462,), (1379582464,), (1379582467,), (1379582470,), (1379582471,), (1379582530,), (1379582531,), (1379582580,), (1379582581,), (1379582583,), (1379582611,), (1379582608,), (1379582609,), (1379582610,), (1379582636,), (1379582638,), (1379582640,), (1379582642,), (1379582644,), (1379582701,), (1379582702,), (1379582703,), (1379582704,), (1379582727,), (1379582728,), (1379582729,), (1379582730,), (1379582749,), (1379582750,), (1379582751,), (1379582782,), (1379582783,), (1379582784,), (1379582785,), (1379582786,), (1379582787,), (1379582885,), (1379582889,), (1379582893,), (1379582920,), (1379582981,), (1379582982,), (1379583003,), (1379583004,), (1379583005,), (1379583006,), (1379583025,), (1379583026,), (1379583027,), (1379583028,), (1379583029,), (1379583051,), (1379583052,), (1379583079,), (1379583080,), (1379583103,), (1379583104,), (1379583135,), (1379583131,), (1379583132,), (1379583133,), (1379583134,), (1379583161,), (1379583162,), (1379583163,), (1379583164,), (1379583165,), (1379583221,), (1379583222,), (1379583223,), (1379583243,), (1379583244,), (1379583245,), (1379583246,), (1379583247,), (1379583268,), (1379583269,), (1379583270,), (1379583271,), (1379583272,), (1379583273,), (1379583290,), (1379583291,), (1379583292,), (1379583312,), (1379583313,), (1379583336,), (1379583337,), (1379583338,), (1379583356,), (1379583357,), (1379583358,), (1379583379,), (1379583380,), (1379583381,), (1379583629,), (1379583751,), (1379583754,), (1379583758,), (1379583761,), (1379584593,), (1379584594,), (1379584595,), (1379584736,), (1379584737,), (1379584738,), (1379584779,), (1379584780,), (1379584805,), (1379584806,), (1379584811,), (1379584801,), (1379584802,), (1379584803,), (1379584804,), (1379584833,), (1379584834,), (1379584835,), (1379585099,), (1379585459,), (1379585461,), (1379585560,), (1379585564,), (1379585565,), (1379585566,), (1379585567,), (1379585866,), (1379585868,), (1379585870,), (1379586014,), (1379586015,), (1379586016,), (1379586017,), (1379586029,), (1379586030,), (1379586031,), (1379586032,), (1379586047,), (1379586048,), (1379586049,), (1379586050,), (1379586051,), (1379586068,), (1379586069,), (1379586089,), (1379586090,), (1379586091,), (1379586092,), (1379586093,), (1379586094,), (1379586109,), (1379586110,), (1379586111,), (1379586126,), (1379586127,), (1379586149,), (1379586150,), (1379586151,), (1379586152,), (1379586179,), (1379586180,), (1379586181,), (1379586182,), (1379586183,), (1379586184,), (1379586206,), (1379586205,), (1379586231,), (1379586232,), (1379586245,), (1379586246,), (1379586247,), (1379586270,), (1379586271,), (1379586272,), (1379586273,), (1379586274,), (1379586296,), (1379586297,), (1379586298,), (1379586299,), (1379586300,), (1379586321,), (1379586322,), (1379586323,), (1379586324,), (1379586325,), (1379586342,), (1379586360,), (1379586361,), (1379586362,), (1379586363,), (1379586379,), (1379586380,), (1379586381,), (1379586382,), (1379586383,), (1379586401,), (1379586402,), (1379586403,), (1379586452,), (1379586453,), (1379586454,), (1379586455,), (1379586456,), (1379586477,), (1379586478,), (1379586479,), (1379586480,), (1379586517,), (1379586518,), (1379586543,), (1379586544,), (1379586545,), (1379586546,), (1379586571,), (1379586567,), (1379586568,), (1379586569,), (1379586570,), (1379586597,), (1379586598,), (1379586599,), (1379586600,), (1379586625,), (1379586626,), (1379586627,), (1379586628,), (1379586629,), (1379586645,), (1379586646,), (1379586647,), (1379586648,), (1379586669,), (1379586670,), (1379586671,), (1379586726,), (1379586727,), (1379586728,), (1379586742,), (1379586743,), (1379586744,), (1379586761,), (1379586762,), (1379586763,), (1379586764,), (1379586765,), (1379586785,), (1379586786,), (1379586787,), (1379586788,), (1379586814,), (1379586815,), (1379586816,), (1379586837,), (1379586838,), (1379586875,), (1379586876,), (1379586877,), (1379586878,), (1379586891,), (1379586892,), (1379586918,), (1379586919,), (1379586928,), (1379586929,), (1379586931,), (1379586932,), (1379586978,), (1379586976,), (1379586977,), (1379587105,), (1379587107,), (1379587483,), (1379587485,), (1379587729,), (1379587730,), (1379587845,), (1379587847,), (1379587850,), (1379587852,), (1379587854,), (1379587855,), (1379588326,), (1379588327,), (1379588328,), (1379588329,), (1379588330,), (1379588750,), (1379588752,), (1379588754,), (1379589121,), (1379589122,), (1379589124,), (1379589446,), (1379589447,), (1379589448,), (1379589449,), (1379589613,), (1379589614,), (1379589615,), (1379589732,), (1379589733,), (1379589755,), (1379589756,), (1379589757,), (1379589758,), (1379589759,), (1379589771,), (1379589772,), (1379589773,), (1379589774,), (1379589794,), (1379589795,), (1379589796,), (1379589797,), (1379589798,), (1379589822,), (1379589823,), (1379589824,), (1379589825,), (1379589826,), (1379589845,), (1379589841,), (1379589842,), (1379589843,), (1379589844,), (1379589865,), (1379589866,), (1379589880,), (1379589881,), (1379589882,), (1379589883,), (1379589904,), (1379589905,), (1379589906,), (1379589907,), (1379589908,), (1379589928,), (1379589929,), (1379589930,), (1379589949,), (1379589950,), (1379589951,), (1379589977,), (1379589978,), (1379589995,), (1379589996,), (1379589997,), (1379590015,), (1379590016,), (1379590037,), (1379590038,), (1379590039,), (1379590062,), (1379590063,), (1379590064,), (1379590085,), (1379590086,), (1379590105,), (1379590106,), (1379590107,), (1379590108,), (1379590132,), (1379590133,), (1379590134,), (1379590135,), (1379590150,), (1379590152,), (1379590188,), (1379590187,), (1379590222,), (1379590223,), (1379590243,), (1379590244,), (1379590245,), (1379590247,), (1379590268,), (1379590269,), (1379590291,), (1379590310,), (1379590311,), (1379590312,), (1379590313,), (1379590337,), (1379590338,), (1379590355,), (1379590356,), (1379590357,), (1379590380,), (1379590412,), (1379590413,), (1379590416,), (1379590417,), (1379590456,), (1379590519,), (1379590520,), (1379590521,), (1379590534,), (1379590535,), (1379590536,), (1379590556,), (1379590557,), (1379590558,), (1379590559,), (1379590574,), (1379590575,), (1379590576,), (1379590597,), (1379590596,), (1379590617,), (1379590618,), (1379590695,), (1379590696,), (1379590697,), (1379590698,), (1379590699,), (1379590718,), (1379590719,), (1379590720,), (1379590721,), (1379590751,), (1379590752,), (1379590753,), (1379590754,), (1379590821,), (1379590825,), (1379590826,), (1379590827,), (1379590828,), (1379590922,), (1379590923,), (1379590924,), (1379590925,), (1379590926,), (1379591093,), (1379591094,), (1379591095,), (1379591096,), (1379591116,), (1379591117,), (1379591118,), (1379591119,), (1379591141,), (1379591142,), (1379591143,), (1379591162,), (1379591163,), (1379591184,), (1379591185,), (1379591186,), (1379591187,), (1379591188,), (1379591238,), (1379591239,), (1379591240,), (1379591241,), (1379591242,), (1379591243,), (1379591284,), (1379591285,), (1379591286,), (1379591287,), (1379591299,), (1379591301,), (1379591304,), (1379591306,), (1379591566,), (1379591562,), (1379591564,), (1379591914,), (1379591916,), (1379592353,), (1379592355,), (1379592357,), (1379593046,), (1379593048,), (1379593050,), (1379593052,), (1379593354,), (1379593355,), (1379593534,), (1379593536,), (1379593629,), (1379593630,), (1379593657,), (1379598426,), (1379596398,), (1379596731,), (1379598425,), (1379598797,), (1379598799,), (1379599157,), (1379600124,), (1379600125,), (1379600127,), (1379600337,), (1379600338,), (1379600339,), (1379600340,), (1379600341,), (1379600395,), (1379600396,), (1379600397,), (1379600398,), (1379600399,), (1379600428,), (1379600429,), (1379600430,), (1379600431,), (1379600458,), (1379600457,), (1379600483,), (1379600484,), (1379600557,), (1379600558,), (1379600559,), (1379600560,), (1379600561,), (1379600578,), (1379600579,), (1379600580,), (1379600597,), (1379600636,), (1379600663,), (1379600664,), (1379600665,), (1379600666,), (1379600737,), (1379600738,), (1379600761,), (1379600762,), (1379600845,), (1379600846,), (1379600847,), (1379600870,), (1379600871,), (1379600896,), (1379600897,), (1379600898,), (1379600919,), (1379600920,), (1379600922,), (1379600923,), (1379600945,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'27082025': {'nb_upload': 34, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26253054]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1379600945] map_info['map_portfolio_photo'] : {26253054: [1379600945, 1379600923, 1379600922, 1379600920, 1379600919, 1379600898, 1379600897, 1379600896, 1379600871, 1379600870, 1379600847, 1379600846, 1379600845, 1379600762, 1379600761, 1379600738, 1379600737, 1379600666, 1379600665, 1379600664, 1379600663, 1379600636, 1379600597, 1379600580, 1379600579, 1379600578, 1379600561, 1379600560, 1379600559, 1379600558, 1379600557, 1379600484, 1379600483, 1379600457]} final : True mtd_id 4302 list_pids : [1379600945] Looping around the photos to save general results len do output : 1 /26253054Didn'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, '3608127') ('4302', '26253054', '1379600945', None, None, None, None, None, '3608127') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '26253054', 'None', None, None, None, None, '3608127'), ('4302', '26253054', '1379600945', None, None, None, None, None, '3608127')] time used for this insertion : 0.08949422836303711 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.9669086933135986 time spend to save output : 0.0896146297454834 total time spend for step 5 : 2.056523323059082 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 (3608127) 1.79user 2.11system 0:07.39elapsed 52%CPU (0avgtext+0avgdata 158168maxresident)k 400inputs+1208outputs (24major+61996minor)pagefaults 0swaps