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 : 2271858 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 (4199547) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4199547) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29272155 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4199547'] with mtr_portfolio_ids : ['29272155'] and first list_photo_ids : [] new path : /proc/2271858/ Name: python3 Umask: 0002 State: R (running) Tgid: 2271858 Ngid: 0 Pid: 2271858 PPid: 2271857 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2271858 NSpid: 2271858 NSpgid: 2270410 NSsid: 2270410 VmPeak: 1113364 kB VmSize: 1113364 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 104200 kB VmRSS: 104200 kB RssAnon: 66292 kB RssFile: 37908 kB RssShmem: 0 kB VmData: 872092 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 620 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 39 nonvoluntary_ctxt_switches: 96 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2271858', 'Ngid': '0', 'Pid': '2271858', 'PPid': '2271857', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2271858', 'NSpid': '2271858', 'NSpgid': '2270410', 'NSsid': '2270410', 'VmPeak': '1113364 kB', 'VmSize': '1113364 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '104200 kB', 'VmRSS': '104200 kB', 'RssAnon': '66292 kB', 'RssFile': '37908 kB', 'RssShmem': '0 kB', 'VmData': '872092 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '620 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '39', 'nonvoluntary_ctxt_switches': '96'} ('datou_batch_current', '2271858', '1113364', '0', '1113364', '872092', '104200', b'', 'marlene', '4199547') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (29272155) 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 (4199547 ) ) 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 (29272155) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1398517396, 'portfolio_id': 29272155}, {'photo_id': 1398517394, 'portfolio_id': 29272155}, {'photo_id': 1398517392, 'portfolio_id': 29272155}, {'photo_id': 1398517389, 'portfolio_id': 29272155}, {'photo_id': 1398517387, 'portfolio_id': 29272155}, {'photo_id': 1398517358, 'portfolio_id': 29272155}, {'photo_id': 1398517356, 'portfolio_id': 29272155}, {'photo_id': 1398517354, 'portfolio_id': 29272155}, {'photo_id': 1398517350, 'portfolio_id': 29272155}, {'photo_id': 1398517346, 'portfolio_id': 29272155}, {'photo_id': 1398517343, 'portfolio_id': 29272155}, {'photo_id': 1398517332, 'portfolio_id': 29272155}, {'photo_id': 1398517330, 'portfolio_id': 29272155}, {'photo_id': 1398517328, 'portfolio_id': 29272155}, {'photo_id': 1398517103, 'portfolio_id': 29272155}, {'photo_id': 1398517101, 'portfolio_id': 29272155}, {'photo_id': 1398517097, 'portfolio_id': 29272155}, {'photo_id': 1398517096, 'portfolio_id': 29272155}, {'photo_id': 1398517081, 'portfolio_id': 29272155}, {'photo_id': 1398517075, 'portfolio_id': 29272155}, {'photo_id': 1398517073, 'portfolio_id': 29272155}, {'photo_id': 1398517039, 'portfolio_id': 29272155}, {'photo_id': 1398517036, 'portfolio_id': 29272155}, {'photo_id': 1398517034, 'portfolio_id': 29272155}, {'photo_id': 1398517026, 'portfolio_id': 29272155}, {'photo_id': 1398517023, 'portfolio_id': 29272155}, {'photo_id': 1398517021, 'portfolio_id': 29272155}, {'photo_id': 1398517020, 'portfolio_id': 29272155}, {'photo_id': 1398517017, 'portfolio_id': 29272155}, {'photo_id': 1398517016, 'portfolio_id': 29272155}, {'photo_id': 1398517012, 'portfolio_id': 29272155}, {'photo_id': 1398517010, 'portfolio_id': 29272155}, {'photo_id': 1398516992, 'portfolio_id': 29272155}, {'photo_id': 1398516990, 'portfolio_id': 29272155}, {'photo_id': 1398516982, 'portfolio_id': 29272155}, {'photo_id': 1398516980, 'portfolio_id': 29272155}, {'photo_id': 1398516714, 'portfolio_id': 29272155}, {'photo_id': 1398516683, 'portfolio_id': 29272155}, {'photo_id': 1398516655, 'portfolio_id': 29272155}, {'photo_id': 1398516486, 'portfolio_id': 29272155}, {'photo_id': 1398516457, 'portfolio_id': 29272155}, {'photo_id': 1398516429, 'portfolio_id': 29272155}, {'photo_id': 1398516413, 'portfolio_id': 29272155}, {'photo_id': 1398516275, 'portfolio_id': 29272155}, {'photo_id': 1398516243, 'portfolio_id': 29272155}, {'photo_id': 1398516194, 'portfolio_id': 29272155}, {'photo_id': 1398515991, 'portfolio_id': 29272155}, {'photo_id': 1398515963, 'portfolio_id': 29272155}, {'photo_id': 1398515922, 'portfolio_id': 29272155}, {'photo_id': 1398515872, 'portfolio_id': 29272155}, {'photo_id': 1398515084, 'portfolio_id': 29272155}, {'photo_id': 1398515028, 'portfolio_id': 29272155}, {'photo_id': 1398514971, 'portfolio_id': 29272155}, {'photo_id': 1398514902, 'portfolio_id': 29272155}, {'photo_id': 1398514604, 'portfolio_id': 29272155}] map_portfolio_id_photo_id: {29272155: [1398517396, 1398517394, 1398517392, 1398517389, 1398517387, 1398517358, 1398517356, 1398517354, 1398517350, 1398517346, 1398517343, 1398517332, 1398517330, 1398517328, 1398517103, 1398517101, 1398517097, 1398517096, 1398517081, 1398517075, 1398517073, 1398517039, 1398517036, 1398517034, 1398517026, 1398517023, 1398517021, 1398517020, 1398517017, 1398517016, 1398517012, 1398517010, 1398516992, 1398516990, 1398516982, 1398516980, 1398516714, 1398516683, 1398516655, 1398516486, 1398516457, 1398516429, 1398516413, 1398516275, 1398516243, 1398516194, 1398515991, 1398515963, 1398515922, 1398515872, 1398515084, 1398515028, 1398514971, 1398514902, 1398514604]} ##### 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.04473280906677246 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Tue Dec 9 17:14: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 (29272155) 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 : 29272155 get user id for portfolio 29272155 get sub ptf for main ptf 29272155, type 3726 and hashtags ['mal_croppe', 'kraft', 'papier', 'Carton_gris', 'plastique', 'cartonnette', 'metal', 'flou', 'Carton_brun', 'Teint_Dans_La_Masse', 'autre_refus', 'environnement'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29272155 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','kraft','papier','Carton_gris','plastique','cartonnette','metal','flou','Carton_brun','Teint_Dans_La_Masse','autre_refus','environnement')) 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`=29272155 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','kraft','papier','Carton_gris','plastique','cartonnette','metal','flou','Carton_brun','Teint_Dans_La_Masse','autre_refus','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 29272155, 'sub_port_id': 29272170, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917874, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5)}, 'flou': {'main_port_id': 29272155, 'sub_port_id': 29272171, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917875, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5)}, 'Teint_Dans_La_Masse': {'main_port_id': 29272155, 'sub_port_id': 29272172, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917876, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5)}, 'Carton_gris': {'main_port_id': 29272155, 'sub_port_id': 29272173, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917877, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5)}, 'Carton_brun': {'main_port_id': 29272155, 'sub_port_id': 29272174, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917878, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5)}, 'environnement': {'main_port_id': 29272155, 'sub_port_id': 29272175, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917879, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5)}, 'autre_refus': {'main_port_id': 29272155, 'sub_port_id': 29272176, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917880, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5)}, 'papier': {'main_port_id': 29272155, 'sub_port_id': 29272177, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917881, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5)}, 'cartonnette': {'main_port_id': 29272155, 'sub_port_id': 29272178, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917882, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5)}, 'mal_croppe': {'main_port_id': 29272155, 'sub_port_id': 29272179, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917883, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5)}, 'kraft': {'main_port_id': 29272155, 'sub_port_id': 29272180, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917884, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5)}, 'metal': {'main_port_id': 29272155, 'sub_port_id': 29272181, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917885, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 13, 3), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29272170 , 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=29272155 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 (29272170) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29272155) result : ((1398514604,), (1398514902,), (1398514971,), (1398515028,), (1398515084,), (1398515872,), (1398515922,), (1398515963,), (1398515991,), (1398516194,), (1398516243,), (1398516275,), (1398516413,), (1398516429,), (1398516457,), (1398516486,), (1398516655,), (1398516683,), (1398516714,), (1398516980,), (1398516982,), (1398516990,), (1398516992,), (1398517010,), (1398517012,), (1398517016,), (1398517017,), (1398517020,), (1398517021,), (1398517023,), (1398517026,), (1398517034,), (1398517036,), (1398517039,), (1398517073,), (1398517075,), (1398517081,), (1398517096,), (1398517097,), (1398517101,), (1398517103,), (1398517328,), (1398517330,), (1398517332,), (1398517343,), (1398517346,), (1398517350,), (1398517354,), (1398517356,), (1398517358,), (1398517387,), (1398517389,), (1398517392,), (1398517394,), (1398517396,)) 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 29272171 , 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=29272155 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 (29272171) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29272155) result : ((1398514604,), (1398514902,), (1398514971,), (1398515028,), (1398515084,), (1398515872,), (1398515922,), (1398515963,), (1398515991,), (1398516194,), (1398516243,), (1398516275,), (1398516413,), (1398516429,), (1398516457,), (1398516486,), (1398516655,), (1398516683,), (1398516714,), (1398516980,), (1398516982,), (1398516990,), (1398516992,), (1398517010,), (1398517012,), (1398517016,), (1398517017,), (1398517020,), (1398517021,), (1398517023,), (1398517026,), (1398517034,), (1398517036,), (1398517039,), (1398517073,), (1398517075,), (1398517081,), (1398517096,), (1398517097,), (1398517101,), (1398517103,), (1398517328,), (1398517330,), (1398517332,), (1398517343,), (1398517346,), (1398517350,), (1398517354,), (1398517356,), (1398517358,), (1398517387,), (1398517389,), (1398517392,), (1398517394,), (1398517396,)) 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 29272172 , 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=29272155 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 (29272172) result : ((1398517024,), (1398517054,), (1398517293,), (1398517294,), (1398517295,), (1398517296,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29272155) result : ((1398514604,), (1398514902,), (1398514971,), (1398515028,), (1398515084,), (1398515872,), (1398515922,), (1398515963,), (1398515991,), (1398516194,), (1398516243,), (1398516275,), (1398516413,), (1398516429,), (1398516457,), (1398516486,), (1398516655,), (1398516683,), (1398516714,), (1398516980,), (1398516982,), (1398516990,), (1398516992,), (1398517010,), (1398517012,), (1398517016,), (1398517017,), (1398517020,), (1398517021,), (1398517023,), (1398517026,), (1398517034,), (1398517036,), (1398517039,), (1398517073,), (1398517075,), (1398517081,), (1398517096,), (1398517097,), (1398517101,), (1398517103,), (1398517328,), (1398517330,), (1398517332,), (1398517343,), (1398517346,), (1398517350,), (1398517354,), (1398517356,), (1398517358,), (1398517387,), (1398517389,), (1398517392,), (1398517394,), (1398517396,)) 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 29272173 , 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=29272155 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 (29272173) result : ((1398516989,), (1398517027,), (1398517055,), (1398517300,), (1398517301,), (1398517302,), (1398517303,), (1398517304,), (1398517305,), (1398517306,), (1398517307,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29272155) result : ((1398514604,), (1398514902,), (1398514971,), (1398515028,), (1398515084,), (1398515872,), (1398515922,), (1398515963,), (1398515991,), (1398516194,), (1398516243,), (1398516275,), (1398516413,), (1398516429,), (1398516457,), (1398516486,), (1398516655,), (1398516683,), (1398516714,), (1398516980,), (1398516982,), (1398516990,), (1398516992,), (1398517010,), (1398517012,), (1398517016,), (1398517017,), (1398517020,), (1398517021,), (1398517023,), (1398517026,), (1398517034,), (1398517036,), (1398517039,), (1398517073,), (1398517075,), (1398517081,), (1398517096,), (1398517097,), (1398517101,), (1398517103,), (1398517328,), (1398517330,), (1398517332,), (1398517343,), (1398517346,), (1398517350,), (1398517354,), (1398517356,), (1398517358,), (1398517387,), (1398517389,), (1398517392,), (1398517394,), (1398517396,)) 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 29272174 , 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=29272155 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 (29272174) result : ((1398516991,), (1398516993,), (1398517314,), (1398517315,), (1398517316,), (1398517317,), (1398517318,), (1398517319,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29272155) result : ((1398514604,), (1398514902,), (1398514971,), (1398515028,), (1398515084,), (1398515872,), (1398515922,), (1398515963,), (1398515991,), (1398516194,), (1398516243,), (1398516275,), (1398516413,), (1398516429,), (1398516457,), (1398516486,), (1398516655,), (1398516683,), (1398516714,), (1398516980,), (1398516982,), (1398516990,), (1398516992,), (1398517010,), (1398517012,), (1398517016,), (1398517017,), (1398517020,), (1398517021,), (1398517023,), (1398517026,), (1398517034,), (1398517036,), (1398517039,), (1398517073,), (1398517075,), (1398517081,), (1398517096,), (1398517097,), (1398517101,), (1398517103,), (1398517328,), (1398517330,), (1398517332,), (1398517343,), (1398517346,), (1398517350,), (1398517354,), (1398517356,), (1398517358,), (1398517387,), (1398517389,), (1398517392,), (1398517394,), (1398517396,)) 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 29272175 , 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=29272155 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 (29272175) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29272155) result : ((1398514604,), (1398514902,), (1398514971,), (1398515028,), (1398515084,), (1398515872,), (1398515922,), (1398515963,), (1398515991,), (1398516194,), (1398516243,), (1398516275,), (1398516413,), (1398516429,), (1398516457,), (1398516486,), (1398516655,), (1398516683,), (1398516714,), (1398516980,), (1398516982,), (1398516990,), (1398516992,), (1398517010,), (1398517012,), (1398517016,), (1398517017,), (1398517020,), (1398517021,), (1398517023,), (1398517026,), (1398517034,), (1398517036,), (1398517039,), (1398517073,), (1398517075,), (1398517081,), (1398517096,), (1398517097,), (1398517101,), (1398517103,), (1398517328,), (1398517330,), (1398517332,), (1398517343,), (1398517346,), (1398517350,), (1398517354,), (1398517356,), (1398517358,), (1398517387,), (1398517389,), (1398517392,), (1398517394,), (1398517396,)) 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 29272176 , 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=29272155 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 (29272176) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29272155) result : ((1398514604,), (1398514902,), (1398514971,), (1398515028,), (1398515084,), (1398515872,), (1398515922,), (1398515963,), (1398515991,), (1398516194,), (1398516243,), (1398516275,), (1398516413,), (1398516429,), (1398516457,), (1398516486,), (1398516655,), (1398516683,), (1398516714,), (1398516980,), (1398516982,), (1398516990,), (1398516992,), (1398517010,), (1398517012,), (1398517016,), (1398517017,), (1398517020,), (1398517021,), (1398517023,), (1398517026,), (1398517034,), (1398517036,), (1398517039,), (1398517073,), (1398517075,), (1398517081,), (1398517096,), (1398517097,), (1398517101,), (1398517103,), (1398517328,), (1398517330,), (1398517332,), (1398517343,), (1398517346,), (1398517350,), (1398517354,), (1398517356,), (1398517358,), (1398517387,), (1398517389,), (1398517392,), (1398517394,), (1398517396,)) 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 29272177 , 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=29272155 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 (29272177) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29272155) result : ((1398514604,), (1398514902,), (1398514971,), (1398515028,), (1398515084,), (1398515872,), (1398515922,), (1398515963,), (1398515991,), (1398516194,), (1398516243,), (1398516275,), (1398516413,), (1398516429,), (1398516457,), (1398516486,), (1398516655,), (1398516683,), (1398516714,), (1398516980,), (1398516982,), (1398516990,), (1398516992,), (1398517010,), (1398517012,), (1398517016,), (1398517017,), (1398517020,), (1398517021,), (1398517023,), (1398517026,), (1398517034,), (1398517036,), (1398517039,), (1398517073,), (1398517075,), (1398517081,), (1398517096,), (1398517097,), (1398517101,), (1398517103,), (1398517328,), (1398517330,), (1398517332,), (1398517343,), (1398517346,), (1398517350,), (1398517354,), (1398517356,), (1398517358,), (1398517387,), (1398517389,), (1398517392,), (1398517394,), (1398517396,)) 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 29272178 , 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=29272155 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 (29272178) result : ((1398517028,), (1398517056,), (1398517088,), (1398517310,), (1398517311,), (1398517393,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29272155) result : ((1398514604,), (1398514902,), (1398514971,), (1398515028,), (1398515084,), (1398515872,), (1398515922,), (1398515963,), (1398515991,), (1398516194,), (1398516243,), (1398516275,), (1398516413,), (1398516429,), (1398516457,), (1398516486,), (1398516655,), (1398516683,), (1398516714,), (1398516980,), (1398516982,), (1398516990,), (1398516992,), (1398517010,), (1398517012,), (1398517016,), (1398517017,), (1398517020,), (1398517021,), (1398517023,), (1398517026,), (1398517034,), (1398517036,), (1398517039,), (1398517073,), (1398517075,), (1398517081,), (1398517096,), (1398517097,), (1398517101,), (1398517103,), (1398517328,), (1398517330,), (1398517332,), (1398517343,), (1398517346,), (1398517350,), (1398517354,), (1398517356,), (1398517358,), (1398517387,), (1398517389,), (1398517392,), (1398517394,), (1398517396,)) 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 29272179 , 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=29272155 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 (29272179) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29272155) result : ((1398514604,), (1398514902,), (1398514971,), (1398515028,), (1398515084,), (1398515872,), (1398515922,), (1398515963,), (1398515991,), (1398516194,), (1398516243,), (1398516275,), (1398516413,), (1398516429,), (1398516457,), (1398516486,), (1398516655,), (1398516683,), (1398516714,), (1398516980,), (1398516982,), (1398516990,), (1398516992,), (1398517010,), (1398517012,), (1398517016,), (1398517017,), (1398517020,), (1398517021,), (1398517023,), (1398517026,), (1398517034,), (1398517036,), (1398517039,), (1398517073,), (1398517075,), (1398517081,), (1398517096,), (1398517097,), (1398517101,), (1398517103,), (1398517328,), (1398517330,), (1398517332,), (1398517343,), (1398517346,), (1398517350,), (1398517354,), (1398517356,), (1398517358,), (1398517387,), (1398517389,), (1398517392,), (1398517394,), (1398517396,)) 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 29272180 , 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=29272155 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 (29272180) result : ((1398517321,), (1398517322,), (1398517325,), (1398517326,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29272155) result : ((1398514604,), (1398514902,), (1398514971,), (1398515028,), (1398515084,), (1398515872,), (1398515922,), (1398515963,), (1398515991,), (1398516194,), (1398516243,), (1398516275,), (1398516413,), (1398516429,), (1398516457,), (1398516486,), (1398516655,), (1398516683,), (1398516714,), (1398516980,), (1398516982,), (1398516990,), (1398516992,), (1398517010,), (1398517012,), (1398517016,), (1398517017,), (1398517020,), (1398517021,), (1398517023,), (1398517026,), (1398517034,), (1398517036,), (1398517039,), (1398517073,), (1398517075,), (1398517081,), (1398517096,), (1398517097,), (1398517101,), (1398517103,), (1398517328,), (1398517330,), (1398517332,), (1398517343,), (1398517346,), (1398517350,), (1398517354,), (1398517356,), (1398517358,), (1398517387,), (1398517389,), (1398517392,), (1398517394,), (1398517396,)) 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 29272181 , 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=29272155 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 (29272181) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29272155) result : ((1398514604,), (1398514902,), (1398514971,), (1398515028,), (1398515084,), (1398515872,), (1398515922,), (1398515963,), (1398515991,), (1398516194,), (1398516243,), (1398516275,), (1398516413,), (1398516429,), (1398516457,), (1398516486,), (1398516655,), (1398516683,), (1398516714,), (1398516980,), (1398516982,), (1398516990,), (1398516992,), (1398517010,), (1398517012,), (1398517016,), (1398517017,), (1398517020,), (1398517021,), (1398517023,), (1398517026,), (1398517034,), (1398517036,), (1398517039,), (1398517073,), (1398517075,), (1398517081,), (1398517096,), (1398517097,), (1398517101,), (1398517103,), (1398517328,), (1398517330,), (1398517332,), (1398517343,), (1398517346,), (1398517350,), (1398517354,), (1398517356,), (1398517358,), (1398517387,), (1398517389,), (1398517392,), (1398517394,), (1398517396,)) 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`=29272155 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','kraft','papier','Carton_gris','plastique','cartonnette','metal','flou','Carton_brun','Teint_Dans_La_Masse','autre_refus','environnement')) 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`=29272155 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','kraft','papier','Carton_gris','plastique','cartonnette','metal','flou','Carton_brun','Teint_Dans_La_Masse','autre_refus','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 29272155, 'sub_port_id': 29272196, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917898, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5, 5)}, 'flou': {'main_port_id': 29272155, 'sub_port_id': 29272197, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917899, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5, 5)}, 'Teint_Dans_La_Masse': {'main_port_id': 29272155, 'sub_port_id': 29272198, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917900, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5, 5)}, 'Carton_gris': {'main_port_id': 29272155, 'sub_port_id': 29272199, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917901, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5, 5)}, 'Carton_brun': {'main_port_id': 29272155, 'sub_port_id': 29272200, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917902, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5, 5)}, 'environnement': {'main_port_id': 29272155, 'sub_port_id': 29272201, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917903, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5, 5)}, 'autre_refus': {'main_port_id': 29272155, 'sub_port_id': 29272202, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917904, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5, 5)}, 'papier': {'main_port_id': 29272155, 'sub_port_id': 29272203, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917905, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5, 5)}, 'cartonnette': {'main_port_id': 29272155, 'sub_port_id': 29272204, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917906, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5, 5)}, 'mal_croppe': {'main_port_id': 29272155, 'sub_port_id': 29272205, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917907, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5, 5)}, 'kraft': {'main_port_id': 29272155, 'sub_port_id': 29272206, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917908, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 5, 5), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5, 5)}, 'metal': {'main_port_id': 29272155, 'sub_port_id': 29272207, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19917909, 'last_updated_at': datetime.datetime(2025, 12, 9, 17, 13, 4), 'last_updated_at_desc': datetime.datetime(2025, 12, 9, 17, 13, 4), 'last_updated_at_asc': datetime.datetime(2025, 12, 9, 17, 5, 5)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29272196,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29272170 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29272197,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29272171 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29272198,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29272172 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29272199,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29272173 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29272200,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29272174 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29272201,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29272175 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29272202,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29272176 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29272203,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29272177 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29272204,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29272178 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29272205,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29272179 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29272206,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29272180 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29272207,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29272181 lien utilise dans velours : https://marlene.fotonower.com/velours/29272196,29272197,29272198,29272199,29272200,29272201,29272202,29272203,29272204,29272205,29272206,29272207?tags=plastique,flou,Teint_Dans_La_Masse,Carton_gris,Carton_brun,environnement,autre_refus,papier,cartonnette,mal_croppe,kraft,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29272155]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1398517396, 1398517394, 1398517392, 1398517389, 1398517387, 1398517358, 1398517356, 1398517354, 1398517350, 1398517346, 1398517343] map_info['map_portfolio_photo'] : {29272155: [1398517396, 1398517394, 1398517392, 1398517389, 1398517387, 1398517358, 1398517356, 1398517354, 1398517350, 1398517346, 1398517343, 1398517332, 1398517330, 1398517328, 1398517103, 1398517101, 1398517097, 1398517096, 1398517081, 1398517075, 1398517073, 1398517039, 1398517036, 1398517034, 1398517026, 1398517023, 1398517021, 1398517020, 1398517017, 1398517016, 1398517012, 1398517010, 1398516992, 1398516990, 1398516982, 1398516980, 1398516714, 1398516683, 1398516655, 1398516486, 1398516457, 1398516429, 1398516413, 1398516275, 1398516243, 1398516194, 1398515991, 1398515963, 1398515922, 1398515872, 1398515084, 1398515028, 1398514971, 1398514902, 1398514604]} final : False mtd_id 4302 list_pids : [1398517396, 1398517394, 1398517392, 1398517389, 1398517387, 1398517358, 1398517356, 1398517354, 1398517350, 1398517346, 1398517343] Looping around the photos to save general results len do output : 1 /29272155. 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, '4199547') ('4302', '29272155', '1398517396', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517394', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517392', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517389', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517387', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517358', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517356', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517354', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517350', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517346', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517343', None, None, None, None, None, '4199547') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 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, '29272155', "{'plastique': 29272170, 'flou': 29272171, 'Teint_Dans_La_Masse': 29272172, 'Carton_gris': 29272173, 'Carton_brun': 29272174, 'environnement': 29272175, 'autre_refus': 29272176, 'papier': 29272177, 'cartonnette': 29272178, 'mal_croppe': 29272179, 'kraft': 29272180, 'metal': 29272181}", None, None, None, None, '4199547'), ('4302', '29272155', '1398517396', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517394', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517392', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517389', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517387', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517358', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517356', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517354', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517350', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517346', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517343', None, None, None, None, None, '4199547')] time used for this insertion : 0.03680300712585449 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.62653660774231 time spend to save output : 0.03712201118469238 total time spend for step 1 : 4.663658618927002 step2:final Tue Dec 9 17:15:02 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 (29272155) 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 29272155 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1398514604,1398515084,1398515028,1398514971,1398514902,1398515991,1398515963,1398515922,1398515872,1398516275,1398516243,1398516194,1398516486,1398516457,1398516429,1398516413,1398516714,1398516683,1398516655,1398517026,1398517023,1398517021,1398517020,1398517016,1398517017,1398517012,1398517010,1398516992,1398516990,1398516982,1398516980,1398517039,1398517036,1398517034,1398517081,1398517075,1398517073,1398517103,1398517101,1398517097,1398517096,1398517332,1398517330,1398517328,1398517358,1398517356,1398517354,1398517350,1398517346,1398517343,1398517396,1398517394,1398517392,1398517389,1398517387); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29272155]) Inside saveOutput : final : False verbose : True original output for save of step final : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ('0.0509075057242365',), 1398517354: ('0.0509075057242365',), 1398517350: ('0.0509075057242365',), 1398517346: ('0.0509075057242365',), 1398517343: ('0.0509075057242365',)} new output for save of step final : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ('0.0509075057242365',), 1398517354: ('0.0509075057242365',), 1398517350: ('0.0509075057242365',), 1398517346: ('0.0509075057242365',), 1398517343: ('0.0509075057242365',)} [1398517396, 1398517394, 1398517392, 1398517389, 1398517387, 1398517358, 1398517356, 1398517354, 1398517350, 1398517346, 1398517343] map_info['map_portfolio_photo'] : {29272155: [1398517396, 1398517394, 1398517392, 1398517389, 1398517387, 1398517358, 1398517356, 1398517354, 1398517350, 1398517346, 1398517343, 1398517332, 1398517330, 1398517328, 1398517103, 1398517101, 1398517097, 1398517096, 1398517081, 1398517075, 1398517073, 1398517039, 1398517036, 1398517034, 1398517026, 1398517023, 1398517021, 1398517020, 1398517017, 1398517016, 1398517012, 1398517010, 1398516992, 1398516990, 1398516982, 1398516980, 1398516714, 1398516683, 1398516655, 1398516486, 1398516457, 1398516429, 1398516413, 1398516275, 1398516243, 1398516194, 1398515991, 1398515963, 1398515922, 1398515872, 1398515084, 1398515028, 1398514971, 1398514902, 1398514604]} final : False mtd_id 4302 list_pids : [1398517396, 1398517394, 1398517392, 1398517389, 1398517387, 1398517358, 1398517356, 1398517354, 1398517350, 1398517346, 1398517343] Looping around the photos to save general results len do output : 11 /1398517396.Didn't retrieve data . /1398517394.Didn't retrieve data . /1398517392.Didn't retrieve data . /1398517389.Didn't retrieve data . /1398517387.Didn't retrieve data . /1398517358.Didn't retrieve data . /1398517356.Didn't retrieve data . /1398517354.Didn't retrieve data . /1398517350.Didn't retrieve data . /1398517346.Didn't retrieve data . /1398517343.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, '4199547') ('4302', '29272155', '1398517396', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517394', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517392', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517389', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517387', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517358', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517356', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517354', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517350', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517346', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517343', None, None, None, None, None, '4199547') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 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', '29272155', '1398517396', '0.0509075057242365', None, None, None, None, '4199547'), ('4302', '29272155', '1398517394', '0.0509075057242365', None, None, None, None, '4199547'), ('4302', '29272155', '1398517392', '0.0509075057242365', None, None, None, None, '4199547'), ('4302', '29272155', '1398517389', '0.0509075057242365', None, None, None, None, '4199547'), ('4302', '29272155', '1398517387', '0.0509075057242365', None, None, None, None, '4199547'), ('4302', '29272155', '1398517358', '0.0509075057242365', None, None, None, None, '4199547'), ('4302', '29272155', '1398517356', '0.0509075057242365', None, None, None, None, '4199547'), ('4302', '29272155', '1398517354', '0.0509075057242365', None, None, None, None, '4199547'), ('4302', '29272155', '1398517350', '0.0509075057242365', None, None, None, None, '4199547'), ('4302', '29272155', '1398517346', '0.0509075057242365', None, None, None, None, '4199547'), ('4302', '29272155', '1398517343', '0.0509075057242365', None, None, None, None, '4199547')] time used for this insertion : 0.0382688045501709 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.23548555374145508 time spend to save output : 0.04005861282348633 total time spend for step 2 : 0.2755441665649414 step3:velours_tree Tue Dec 9 17:15:02 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 : {29272155: [{'plastique': 29272170, 'flou': 29272171, 'Teint_Dans_La_Masse': 29272172, 'Carton_gris': 29272173, 'Carton_brun': 29272174, 'environnement': 29272175, 'autre_refus': 29272176, 'papier': 29272177, 'cartonnette': 29272178, 'mal_croppe': 29272179, 'kraft': 29272180, 'metal': 29272181}]} input_args_next_step : {29272155: ()} output_args : {29272155: [{'plastique': 29272170, 'flou': 29272171, 'Teint_Dans_La_Masse': 29272172, 'Carton_gris': 29272173, 'Carton_brun': 29272174, 'environnement': 29272175, 'autre_refus': 29272176, 'papier': 29272177, 'cartonnette': 29272178, 'mal_croppe': 29272179, 'kraft': 29272180, 'metal': 29272181}]} args : 29272155 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 : ({'plastique': 29272170, 'flou': 29272171, 'Teint_Dans_La_Masse': 29272172, 'Carton_gris': 29272173, 'Carton_brun': 29272174, 'environnement': 29272175, 'autre_refus': 29272176, 'papier': 29272177, 'cartonnette': 29272178, 'mal_croppe': 29272179, 'kraft': 29272180, 'metal': 29272181},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29272155) 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([29272155]) 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.2955918312072754 time spend to save output : 3.933906555175781e-05 total time spend for step 3 : 0.29563117027282715 step4:send_mail_cod Tue Dec 9 17:15:02 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 : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ('0.0509075057242365',), 1398517354: ('0.0509075057242365',), 1398517350: ('0.0509075057242365',), 1398517346: ('0.0509075057242365',), 1398517343: ('0.0509075057242365',)} input_args_next_step : {1398517396: ()} output_args : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ('0.0509075057242365',), 1398517354: ('0.0509075057242365',), 1398517350: ('0.0509075057242365',), 1398517346: ('0.0509075057242365',), 1398517343: ('0.0509075057242365',)} args : 1398517396 depend.output_id : 0 input_args_next_step : {1398517396: ('0.0509075057242365',), 1398517394: ()} output_args : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ('0.0509075057242365',), 1398517354: ('0.0509075057242365',), 1398517350: ('0.0509075057242365',), 1398517346: ('0.0509075057242365',), 1398517343: ('0.0509075057242365',)} args : 1398517394 depend.output_id : 0 input_args_next_step : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ()} output_args : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ('0.0509075057242365',), 1398517354: ('0.0509075057242365',), 1398517350: ('0.0509075057242365',), 1398517346: ('0.0509075057242365',), 1398517343: ('0.0509075057242365',)} args : 1398517392 depend.output_id : 0 input_args_next_step : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ()} output_args : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ('0.0509075057242365',), 1398517354: ('0.0509075057242365',), 1398517350: ('0.0509075057242365',), 1398517346: ('0.0509075057242365',), 1398517343: ('0.0509075057242365',)} args : 1398517389 depend.output_id : 0 input_args_next_step : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ()} output_args : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ('0.0509075057242365',), 1398517354: ('0.0509075057242365',), 1398517350: ('0.0509075057242365',), 1398517346: ('0.0509075057242365',), 1398517343: ('0.0509075057242365',)} args : 1398517387 depend.output_id : 0 input_args_next_step : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ()} output_args : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ('0.0509075057242365',), 1398517354: ('0.0509075057242365',), 1398517350: ('0.0509075057242365',), 1398517346: ('0.0509075057242365',), 1398517343: ('0.0509075057242365',)} args : 1398517358 depend.output_id : 0 input_args_next_step : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ()} output_args : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ('0.0509075057242365',), 1398517354: ('0.0509075057242365',), 1398517350: ('0.0509075057242365',), 1398517346: ('0.0509075057242365',), 1398517343: ('0.0509075057242365',)} args : 1398517356 depend.output_id : 0 input_args_next_step : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ('0.0509075057242365',), 1398517354: ()} output_args : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ('0.0509075057242365',), 1398517354: ('0.0509075057242365',), 1398517350: ('0.0509075057242365',), 1398517346: ('0.0509075057242365',), 1398517343: ('0.0509075057242365',)} args : 1398517354 depend.output_id : 0 input_args_next_step : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ('0.0509075057242365',), 1398517354: ('0.0509075057242365',), 1398517350: ()} output_args : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ('0.0509075057242365',), 1398517354: ('0.0509075057242365',), 1398517350: ('0.0509075057242365',), 1398517346: ('0.0509075057242365',), 1398517343: ('0.0509075057242365',)} args : 1398517350 depend.output_id : 0 input_args_next_step : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ('0.0509075057242365',), 1398517354: ('0.0509075057242365',), 1398517350: ('0.0509075057242365',), 1398517346: ()} output_args : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ('0.0509075057242365',), 1398517354: ('0.0509075057242365',), 1398517350: ('0.0509075057242365',), 1398517346: ('0.0509075057242365',), 1398517343: ('0.0509075057242365',)} args : 1398517346 depend.output_id : 0 input_args_next_step : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ('0.0509075057242365',), 1398517354: ('0.0509075057242365',), 1398517350: ('0.0509075057242365',), 1398517346: ('0.0509075057242365',), 1398517343: ()} output_args : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ('0.0509075057242365',), 1398517354: ('0.0509075057242365',), 1398517350: ('0.0509075057242365',), 1398517346: ('0.0509075057242365',), 1398517343: ('0.0509075057242365',)} args : 1398517343 depend.output_id : 0 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 : {29272155: [{'plastique': 29272170, 'flou': 29272171, 'Teint_Dans_La_Masse': 29272172, 'Carton_gris': 29272173, 'Carton_brun': 29272174, 'environnement': 29272175, 'autre_refus': 29272176, 'papier': 29272177, 'cartonnette': 29272178, 'mal_croppe': 29272179, 'kraft': 29272180, 'metal': 29272181}]} input_args_next_step : {1398517396: ('0.0509075057242365',), 1398517394: ('0.0509075057242365',), 1398517392: ('0.0509075057242365',), 1398517389: ('0.0509075057242365',), 1398517387: ('0.0509075057242365',), 1398517358: ('0.0509075057242365',), 1398517356: ('0.0509075057242365',), 1398517354: ('0.0509075057242365',), 1398517350: ('0.0509075057242365',), 1398517346: ('0.0509075057242365',), 1398517343: ('0.0509075057242365',), 29272155: ()} output_args : {29272155: [{'plastique': 29272170, 'flou': 29272171, 'Teint_Dans_La_Masse': 29272172, 'Carton_gris': 29272173, 'Carton_brun': 29272174, 'environnement': 29272175, 'autre_refus': 29272176, 'papier': 29272177, 'cartonnette': 29272178, 'mal_croppe': 29272179, 'kraft': 29272180, 'metal': 29272181}]} args : 29272155 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 :12, first value : ('0.0509075057242365',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29272155) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos_view ph WHERE photo_id IN (1398517396,1398517394,1398517392,1398517389,1398517387,1398517358,1398517356,1398517354,1398517350,1398517346,1398517343) Found this number of photos: 11 ##### Call download_photos : nb_thread : 5 begin to download photo : 1398517343 begin to download photo : 1398517354 begin to download photo : 1398517387 begin to download photo : 1398517394 download finish for photo 1398517343 begin to download photo : 1398517346 download finish for photo 1398517354 begin to download photo : 1398517356 download finish for photo 1398517394 begin to download photo : 1398517396 download finish for photo 1398517387 begin to download photo : 1398517389 download finish for photo 1398517356 begin to download photo : 1398517358 download finish for photo 1398517346 begin to download photo : 1398517350 download finish for photo 1398517389 begin to download photo : 1398517392 download finish for photo 1398517358 download finish for photo 1398517396 download finish for photo 1398517350 download finish for photo 1398517392 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette292721701765296903/ imagette292721711765296903/ imagette292721761765296903/ length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 results_Auto_P29272155_09-12-2025_17_15_03.pdf 29272170 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29272170 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette292721701765296903 29272171 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29272171 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette292721711765296903 29272176 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29272176 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette292721761765296903 29272178 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29272178 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398517028: '1765296447_3838158_1398515922_fa6ea042f52c0f5c517ab47fed53c903_rle_crop_4063501567_0.png', 1398517056: '1765296507_3842934_1398515922_fa6ea042f52c0f5c517ab47fed53c903_rle_crop_4063501567_0.png', 1398517088: '1765296568_3846020_1398516194_d5704c995fc2a68527a3b0a18d74a28d_rle_crop_4063501987_0.png', 1398517310: '1765296626_3849767_1398517017_f3e69f65072a6e4e8d9b28b08c08ba7d_rle_crop_4063502211_0.png', 1398517311: '1765296626_3849767_1398517016_40111544ecc4e80b89c8d85c853e4028_rle_crop_4063502226_0.png', 1398517393: '1765296807_3859232_1398515084_a62a9446ab36363476c83b46c645319b_rle_crop_4063502501_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/94752a67f8c089ff5b6a36f597ecb48c_63640856.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/94752a67f8c089ff5b6a36f597ecb48c_15909691.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/de06fc497fc4be313146b48f90afdb99_38743536.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4d82913fa7d735dae9ef2732593d5c79_38336015.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4d82913fa7d735dae9ef2732593d5c79_48183938.png change filename to text .imagette292721781765296903/ imagette292721781765296903/1765296626_3849767_1398517016_40111544ecc4e80b89c8d85c853e4028_rle_crop_4063502226_0.png.png imagette292721781765296903/1765296447_3838158_1398515922_fa6ea042f52c0f5c517ab47fed53c903_rle_crop_4063501567_0.png.png imagette292721781765296903/1765296807_3859232_1398515084_a62a9446ab36363476c83b46c645319b_rle_crop_4063502501_0.png.png imagette292721781765296903/1765296626_3849767_1398517017_f3e69f65072a6e4e8d9b28b08c08ba7d_rle_crop_4063502211_0.png.png imagette292721781765296903/1765296568_3846020_1398516194_d5704c995fc2a68527a3b0a18d74a28d_rle_crop_4063501987_0.png.png imagette292721781765296903/1765296507_3842934_1398515922_fa6ea042f52c0f5c517ab47fed53c903_rle_crop_4063501567_0.png.png imagette292721791765296904/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/51ab0445c05aa2d70d735204a5cb30db_18665125.png imagette292721781765296903 29272179 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29272179 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette292721791765296904 29272180 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29272180 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398517321: '1765296626_3849767_1398516992_cbe8ad021216d3f9ac3c453249676891_rle_crop_4063502254_0.png', 1398517322: '1765296626_3849767_1398516990_8952698fa47d48a9566fd78ca6e81625_rle_crop_4063502263_0.png', 1398517325: '1765296626_3849767_1398516982_49216d53d9490bfa5cac12baf4888f3d_rle_crop_4063502272_0.png', 1398517326: '1765296626_3849767_1398516980_71521b5cfffcda6b1c86c87f93ab6ceb_rle_crop_4063502280_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fa47cdf0a2dcb39bf63bd40eb3c17042_22643120.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fa47cdf0a2dcb39bf63bd40eb3c17042_45491268.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0525f1ad7286f865bdaf11a544c6bbad_72124695.png change filename to text .imagette292721801765296904/ imagette292721801765296904/1765296626_3849767_1398516990_8952698fa47d48a9566fd78ca6e81625_rle_crop_4063502263_0.png.png imagette292721801765296904/1765296626_3849767_1398516980_71521b5cfffcda6b1c86c87f93ab6ceb_rle_crop_4063502280_0.png.png imagette292721801765296904/1765296626_3849767_1398516992_cbe8ad021216d3f9ac3c453249676891_rle_crop_4063502254_0.png.png imagette292721801765296904/1765296626_3849767_1398516982_49216d53d9490bfa5cac12baf4888f3d_rle_crop_4063502272_0.png.png imagette292721811765296904/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0525f1ad7286f865bdaf11a544c6bbad_2267618.png imagette292721801765296904 29272181 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29272181 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette292721811765296904 29272172 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29272172 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398517024: '1765296447_3838158_1398515872_a251d261387c126c9e55cff2f3537b09_rle_crop_4063501584_0.png', 1398517054: '1765296507_3842934_1398515872_a251d261387c126c9e55cff2f3537b09_rle_crop_4063501584_0.png', 1398517293: '1765296626_3849767_1398517017_f3e69f65072a6e4e8d9b28b08c08ba7d_rle_crop_4063502212_0.png', 1398517294: '1765296626_3849767_1398517016_40111544ecc4e80b89c8d85c853e4028_rle_crop_4063502227_0.png', 1398517295: '1765296626_3849767_1398517012_ce36411823c7817b69d8acf1a538c32b_rle_crop_4063502241_0.png', 1398517296: '1765296626_3849767_1398517010_cb5fee96ef6090619f2168b8a176a08f_rle_crop_4063502251_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6474c1eade41c7dec821d6fb54e5e27a_61974057.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6474c1eade41c7dec821d6fb54e5e27a_32015487.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0df29ec4f61bfa33c8ce1024857c73a8_51731518.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0df29ec4f61bfa33c8ce1024857c73a8_99421941.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6da7993cf93446b791e05e815dc1d953_75541565.png change filename to text .imagette292721721765296904/ imagette292721721765296904/1765296507_3842934_1398515872_a251d261387c126c9e55cff2f3537b09_rle_crop_4063501584_0.png.png imagette292721721765296904/1765296447_3838158_1398515872_a251d261387c126c9e55cff2f3537b09_rle_crop_4063501584_0.png.png imagette292721721765296904/1765296626_3849767_1398517012_ce36411823c7817b69d8acf1a538c32b_rle_crop_4063502241_0.png.png imagette292721721765296904/1765296626_3849767_1398517017_f3e69f65072a6e4e8d9b28b08c08ba7d_rle_crop_4063502212_0.png.png imagette292721721765296904/1765296626_3849767_1398517010_cb5fee96ef6090619f2168b8a176a08f_rle_crop_4063502251_0.png.png imagette292721721765296904/1765296626_3849767_1398517016_40111544ecc4e80b89c8d85c853e4028_rle_crop_4063502227_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6da7993cf93446b791e05e815dc1d953_39704434.png imagette292721721765296904 29272173 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29272173 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398516989: '1765296425_3837023_1398515028_47e3b4202fedc0992fa3f1eb4cf4e8d9_rle_crop_4063501384_0.png', 1398517027: '1765296447_3838158_1398515922_fa6ea042f52c0f5c517ab47fed53c903_rle_crop_4063501571_0.png', 1398517055: '1765296507_3842934_1398515922_fa6ea042f52c0f5c517ab47fed53c903_rle_crop_4063501571_0.png', 1398517300: '1765296626_3849767_1398517021_cd2362943c73688eea5f574247e3cb8a_rle_crop_4063502190_0.png', 1398517301: '1765296626_3849767_1398517020_2d0ee9cf119bc32d7bdc1e4c3f412285_rle_crop_4063502197_0.png', 1398517302: '1765296626_3849767_1398517017_f3e69f65072a6e4e8d9b28b08c08ba7d_rle_crop_4063502209_0.png', 1398517303: '1765296626_3849767_1398517017_f3e69f65072a6e4e8d9b28b08c08ba7d_rle_crop_4063502215_0.png', 1398517304: '1765296626_3849767_1398517016_40111544ecc4e80b89c8d85c853e4028_rle_crop_4063502224_0.png', 1398517305: '1765296626_3849767_1398517016_40111544ecc4e80b89c8d85c853e4028_rle_crop_4063502230_0.png', 1398517306: '1765296626_3849767_1398517012_ce36411823c7817b69d8acf1a538c32b_rle_crop_4063502239_0.png', 1398517307: '1765296626_3849767_1398517010_cb5fee96ef6090619f2168b8a176a08f_rle_crop_4063502249_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d20bb9560fcacdde851a4ae7fa05c7c8_68867766.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4a07b45a415236b35af514826d40b2ea_41412147.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4a07b45a415236b35af514826d40b2ea_56385554.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0d285ce37b8508f9936d9690eb1d112f_37329634.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0d285ce37b8508f9936d9690eb1d112f_84208635.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b480a3dd70a7d095f941b3e45ab0fad4_46427164.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c6af88ce23727f5bc2485762e5b6cc33_5364066.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b480a3dd70a7d095f941b3e45ab0fad4_67632611.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c6af88ce23727f5bc2485762e5b6cc33_93892336.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0b0d81e9e250fd8bba83513bab6ce12f_21656388.png change filename to text .imagette292721731765296904/ imagette292721731765296904/1765296626_3849767_1398517017_f3e69f65072a6e4e8d9b28b08c08ba7d_rle_crop_4063502209_0.png.png imagette292721731765296904/1765296447_3838158_1398515922_fa6ea042f52c0f5c517ab47fed53c903_rle_crop_4063501571_0.png.png imagette292721731765296904/1765296626_3849767_1398517010_cb5fee96ef6090619f2168b8a176a08f_rle_crop_4063502249_0.png.png imagette292721731765296904/1765296507_3842934_1398515922_fa6ea042f52c0f5c517ab47fed53c903_rle_crop_4063501571_0.png.png imagette292721731765296904/1765296425_3837023_1398515028_47e3b4202fedc0992fa3f1eb4cf4e8d9_rle_crop_4063501384_0.png.png imagette292721731765296904/1765296626_3849767_1398517017_f3e69f65072a6e4e8d9b28b08c08ba7d_rle_crop_4063502215_0.png.png imagette292721731765296904/1765296626_3849767_1398517016_40111544ecc4e80b89c8d85c853e4028_rle_crop_4063502230_0.png.png imagette292721731765296904/1765296626_3849767_1398517012_ce36411823c7817b69d8acf1a538c32b_rle_crop_4063502239_0.png.png imagette292721731765296904/1765296626_3849767_1398517021_cd2362943c73688eea5f574247e3cb8a_rle_crop_4063502190_0.png.png imagette292721731765296904/1765296626_3849767_1398517016_40111544ecc4e80b89c8d85c853e4028_rle_crop_4063502224_0.png.png imagette292721731765296904/1765296626_3849767_1398517020_2d0ee9cf119bc32d7bdc1e4c3f412285_rle_crop_4063502197_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0b0d81e9e250fd8bba83513bab6ce12f_50951458.png imagette292721731765296904 29272174 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29272174 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398516991: '1765296425_3837023_1398515991_390bbae7a1dd37f59200f0bb4daf80b2_rle_crop_4063501375_0.png', 1398516993: '1765296425_3837023_1398514971_6279d49b645b0814e2423ef4d9c52139_rle_crop_4063501389_0.png', 1398517314: '1765296626_3849767_1398517017_f3e69f65072a6e4e8d9b28b08c08ba7d_rle_crop_4063502214_0.png', 1398517315: '1765296626_3849767_1398517016_40111544ecc4e80b89c8d85c853e4028_rle_crop_4063502229_0.png', 1398517316: '1765296626_3849767_1398517012_ce36411823c7817b69d8acf1a538c32b_rle_crop_4063502240_0.png', 1398517317: '1765296626_3849767_1398517010_cb5fee96ef6090619f2168b8a176a08f_rle_crop_4063502250_0.png', 1398517318: '1765296626_3849767_1398516992_cbe8ad021216d3f9ac3c453249676891_rle_crop_4063502256_0.png', 1398517319: '1765296626_3849767_1398516990_8952698fa47d48a9566fd78ca6e81625_rle_crop_4063502265_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ffb890d689de267bc7c811646e8c2b33_12015894.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6fb0fcacab6fb4cdd8f0755ada437892_28831220.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/65913492da502175de87a6ffbfef19db_83140355.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/65913492da502175de87a6ffbfef19db_37070556.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b8e432ef6c22c7242b33fbe6cc51afee_80550850.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b8e432ef6c22c7242b33fbe6cc51afee_93234829.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/76bda237282cbe6deaa51fd4a1d6ca4e_18781775.png change filename to text .imagette292721741765296905/ imagette292721741765296905/1765296626_3849767_1398517017_f3e69f65072a6e4e8d9b28b08c08ba7d_rle_crop_4063502214_0.png.png imagette292721741765296905/1765296626_3849767_1398516992_cbe8ad021216d3f9ac3c453249676891_rle_crop_4063502256_0.png.png imagette292721741765296905/1765296626_3849767_1398516990_8952698fa47d48a9566fd78ca6e81625_rle_crop_4063502265_0.png.png imagette292721741765296905/1765296626_3849767_1398517010_cb5fee96ef6090619f2168b8a176a08f_rle_crop_4063502250_0.png.png imagette292721741765296905/1765296425_3837023_1398514971_6279d49b645b0814e2423ef4d9c52139_rle_crop_4063501389_0.png.png imagette292721741765296905/1765296626_3849767_1398517016_40111544ecc4e80b89c8d85c853e4028_rle_crop_4063502229_0.png.png imagette292721741765296905/1765296626_3849767_1398517012_ce36411823c7817b69d8acf1a538c32b_rle_crop_4063502240_0.png.png imagette292721741765296905/1765296425_3837023_1398515991_390bbae7a1dd37f59200f0bb4daf80b2_rle_crop_4063501375_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/76bda237282cbe6deaa51fd4a1d6ca4e_75762646.png imagette292721741765296905 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29272155 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29272196,29272197,29272198,29272199,29272200,29272201,29272202,29272203,29272204,29272205,29272206,29272207?tags=plastique,flou,Teint_Dans_La_Masse,Carton_gris,Carton_brun,environnement,autre_refus,papier,cartonnette,mal_croppe,kraft,metal your option no_mail is active, we will not send the real mail to your client args[1398517396] : ('0.0509075057242365',) no score found for photo 1398517396 We are sending mail with results at report@fotonower.com args[1398517394] : ('0.0509075057242365',) no score found for photo 1398517394 We are sending mail with results at report@fotonower.com args[1398517392] : ('0.0509075057242365',) no score found for photo 1398517392 We are sending mail with results at report@fotonower.com args[1398517389] : ('0.0509075057242365',) no score found for photo 1398517389 We are sending mail with results at report@fotonower.com args[1398517387] : ('0.0509075057242365',) no score found for photo 1398517387 We are sending mail with results at report@fotonower.com args[1398517358] : ('0.0509075057242365',) no score found for photo 1398517358 We are sending mail with results at report@fotonower.com args[1398517356] : ('0.0509075057242365',) no score found for photo 1398517356 We are sending mail with results at report@fotonower.com args[1398517354] : ('0.0509075057242365',) no score found for photo 1398517354 We are sending mail with results at report@fotonower.com args[1398517350] : ('0.0509075057242365',) no score found for photo 1398517350 We are sending mail with results at report@fotonower.com args[1398517346] : ('0.0509075057242365',) no score found for photo 1398517346 We are sending mail with results at report@fotonower.com args[1398517343] : ('0.0509075057242365',) no score found for photo 1398517343 We are sending mail with results at report@fotonower.com refus_total : 0.0509075057242365 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29272155 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_P29272155_09-12-2025_17_15_03.pdf results_Auto_P29272155_09-12-2025_17_15_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29272155_09-12-2025_17_15_03.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','29272155','results_Auto_P29272155_09-12-2025_17_15_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29272155_09-12-2025_17_15_03.pdf','pdf','','0.18','0.0509075057242365') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29272155]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1398517396, 1398517394, 1398517392, 1398517389, 1398517387, 1398517358, 1398517356, 1398517354, 1398517350, 1398517346, 1398517343] map_info['map_portfolio_photo'] : {29272155: [1398517396, 1398517394, 1398517392, 1398517389, 1398517387, 1398517358, 1398517356, 1398517354, 1398517350, 1398517346, 1398517343, 1398517332, 1398517330, 1398517328, 1398517103, 1398517101, 1398517097, 1398517096, 1398517081, 1398517075, 1398517073, 1398517039, 1398517036, 1398517034, 1398517026, 1398517023, 1398517021, 1398517020, 1398517017, 1398517016, 1398517012, 1398517010, 1398516992, 1398516990, 1398516982, 1398516980, 1398516714, 1398516683, 1398516655, 1398516486, 1398516457, 1398516429, 1398516413, 1398516275, 1398516243, 1398516194, 1398515991, 1398515963, 1398515922, 1398515872, 1398515084, 1398515028, 1398514971, 1398514902, 1398514604]} final : False mtd_id 4302 list_pids : [1398517396, 1398517394, 1398517392, 1398517389, 1398517387, 1398517358, 1398517356, 1398517354, 1398517350, 1398517346, 1398517343] 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, '4199547') ('4302', '29272155', '1398517396', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517394', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517392', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517389', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517387', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517358', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517356', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517354', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517350', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517346', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517343', None, None, None, None, None, '4199547') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '29272155', '1398517396', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517394', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517392', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517389', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517387', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517358', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517356', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517354', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517350', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517346', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517343', None, None, None, None, None, '4199547')] time used for this insertion : 0.04009199142456055 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.861441373825073 time spend to save output : 0.04037165641784668 total time spend for step 4 : 4.90181303024292 step5:split_time_score Tue Dec 9 17:15:07 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['29272155'] 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 : [('29272155',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29272155) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1398517354: {'path': 'temp/1765296903_2271858_1398517354_056bcabd795d2287ea9a4683bade9cd9.jpg', 'extension': 'jpg'}, 1398517356: {'path': 'temp/1765296903_2271858_1398517356_8673b1438583748e8573e79cca001d86.jpg', 'extension': 'jpg'}, 1398517358: {'path': 'temp/1765296903_2271858_1398517358_605693d8c499331fdfee7eb5cae66db9.jpg', 'extension': 'jpg'}, 1398517394: {'path': 'temp/1765296903_2271858_1398517394_430f17cd1afc0c405c297103e4af2da5.jpg', 'extension': 'jpg'}, 1398517396: {'path': 'temp/1765296903_2271858_1398517396_0745dd6311cd385a07ad4d4e41a0d477.jpg', 'extension': 'jpg'}, 1398517343: {'path': 'temp/1765296903_2271858_1398517343_843d2241482b65dd2993b0b4d14e408c.jpg', 'extension': 'jpg'}, 1398517346: {'path': 'temp/1765296903_2271858_1398517346_dc46b0f208e151cccddf3397a84ac12e.jpg', 'extension': 'jpg'}, 1398517350: {'path': 'temp/1765296903_2271858_1398517350_bc829ed3e8c55d4a335741663f0f9f5d.jpg', 'extension': 'jpg'}, 1398517387: {'path': 'temp/1765296903_2271858_1398517387_ea927171ceaffc5cd503b91e1d71c745.jpg', 'extension': 'jpg'}, 1398517389: {'path': 'temp/1765296903_2271858_1398517389_1201a0b8ea874bc1110d7901a57abef3.jpg', 'extension': 'jpg'}, 1398517392: {'path': 'temp/1765296903_2271858_1398517392_d5287ad8481ff1602376ed2889944245.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 = 29272155; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 29272155 group by h (('17', 55),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29272155 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 (29272155) 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 (29272155) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 09122025 29272155 Nombre de photos uploadées : 55 / 23040 (0%) 09122025 29272155 Nombre de photos taguées (types de déchets): 0 / 55 (0%) 09122025 29272155 Nombre de photos taguées (volume) : 0 / 55 (0%) [{'photo_id': 1398514604, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d8e16912a068a76295b8d80f22ad4354.jpg', 'username': None, 'uploaded_at': 1765296087, 'text': 'image_09122025_17_00_04_10158.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1398515084, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a62a9446ab36363476c83b46c645319b.jpg', 'username': None, 'uploaded_at': 1765296127, 'text': 'image_09122025_17_00_54_10134.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1398515028, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/47e3b4202fedc0992fa3f1eb4cf4e8d9.jpg', 'username': None, 'uploaded_at': 1765296127, 'text': 'image_09122025_17_01_24_009124m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1398514971, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6279d49b645b0814e2423ef4d9c52139.jpg', 'username': None, 'uploaded_at': 1765296127, 'text': 'image_09122025_17_01_34_010134m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 6.198883056640625e-06 ??????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0026230812072753906 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29272155, '2025-12-09' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-12-09' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2709875,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.760413408279419 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 2709875 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29271794, 'dashboard_result_id': 18172003, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29271799, 'dashboard_result_id': 18172004, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29271820, 'dashboard_result_id': 18172005, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29271821, 'dashboard_result_id': 18172006, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29271823, 'dashboard_result_id': 18172007, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29271824, 'dashboard_result_id': 18172008, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29271826, 'dashboard_result_id': 18172009, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29271830, 'dashboard_result_id': 18172010, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271830_09-12-2025_17_01_38.pdf'}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29271834, 'dashboard_result_id': 18172011, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29271836, 'dashboard_result_id': 18172012, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271836_09-12-2025_17_02_03.pdf'}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29271839, 'dashboard_result_id': 18172013, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271839_09-12-2025_17_01_34.pdf'}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29267748, 'dashboard_result_id': 18172014, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267748_09-12-2025_15_09_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268353, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29267751, 'dashboard_result_id': 18172015, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267751_09-12-2025_15_08_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268268, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268272, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268273, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268274, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268278, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29267753, 'dashboard_result_id': 18172016, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267753_09-12-2025_15_08_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29268223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268235, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268242, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29267754, 'dashboard_result_id': 18172017, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267754_09-12-2025_15_06_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268112, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268113, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268118, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29267755, 'dashboard_result_id': 18172018, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267755_09-12-2025_15_06_23.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268036, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268039, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268046, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29267756, 'dashboard_result_id': 18172019, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267756_09-12-2025_15_06_09.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268010, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29267757, 'dashboard_result_id': 18172021, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267757_09-12-2025_15_05_39.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29267950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267954, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267961, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29267758, 'dashboard_result_id': 18172022, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267758_09-12-2025_15_04_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29267886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267893, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267897, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29267759, 'dashboard_result_id': 18172023, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267759_09-12-2025_15_04_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267845, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267847, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267849, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29266334, 'dashboard_result_id': 18172024, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29266334_09-12-2025_15_02_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29266389, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29266390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29266391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29266392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29266393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29266394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29266395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29266396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29266397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29266398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29266399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29266400, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29266335, 'dashboard_result_id': 18172025, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29266335_09-12-2025_14_00_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29266363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29266364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29266365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29266366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29266367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29266368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29266369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29266370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29266371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29266372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29266373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29266374, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29266336, 'dashboard_result_id': 18172026, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29266336_09-12-2025_15_02_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29266337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29266338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29266339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29266340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29266341, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29266342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29266343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29266344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29266345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29266346, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29266347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29266348, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29267192, 'dashboard_result_id': 18172027, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267192_09-12-2025_15_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267235, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29267785, 'dashboard_result_id': 18172028, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267785_09-12-2025_15_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267801, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29268760, 'dashboard_result_id': 18172029, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29268760_09-12-2025_15_35_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268769, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268778, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29269175, 'dashboard_result_id': 18172030, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269175_09-12-2025_15_49_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269178, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269188, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29269542, 'dashboard_result_id': 18172031, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269542_09-12-2025_16_03_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269556, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29269897, 'dashboard_result_id': 18172032, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269897_09-12-2025_16_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269915, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29270467, 'dashboard_result_id': 18172033, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29270467_09-12-2025_16_33_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29270528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29270529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29270530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29270531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29270532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29270533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29270534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29270535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29270536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29270537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29270538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29270539, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29271024, 'dashboard_result_id': 18172034, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271024_09-12-2025_16_49_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271067, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29271469, 'dashboard_result_id': 18172035, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271469_09-12-2025_17_03_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271487, 'pht': 3726}}"}, {'dashboat_entry_day': 2709875, 'dashboard_run_id': 2717626, 'mtr_portfolio_id': 29272155, 'dashboard_result_id': 18172036, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29272155_09-12-2025_17_11_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272171, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272181, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271794 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271794 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29271794 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271794 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271794 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29271794 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271794_09-12-2025_17_06_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271794 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271794_09-12-2025_17_06_32.pdf'}" where mtr_portfolio_id = 29271794 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271799 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271799 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29271799 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271799 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271799 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29271799 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271799_09-12-2025_17_06_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271799 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271799_09-12-2025_17_06_21.pdf'}" where mtr_portfolio_id = 29271799 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271820 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271820 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29271820 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271820 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271820 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29271820 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271820_09-12-2025_17_06_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271820 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271820_09-12-2025_17_06_08.pdf'}" where mtr_portfolio_id = 29271820 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271821 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271821 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29271821 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271821 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271821 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29271821 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271821_09-12-2025_17_05_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271821 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271821_09-12-2025_17_05_36.pdf'}" where mtr_portfolio_id = 29271821 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271823 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271823 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29271823 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271823 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271823 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29271823 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271823_09-12-2025_17_04_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271823 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271823_09-12-2025_17_04_36.pdf'}" where mtr_portfolio_id = 29271823 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271824 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271824 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29271824 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271824 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271824 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29271824 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271824_09-12-2025_17_04_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271824 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271824_09-12-2025_17_04_08.pdf'}" where mtr_portfolio_id = 29271824 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271826 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271826 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29271826 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271826 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271826 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29271826 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271826_09-12-2025_17_03_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271826 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271826_09-12-2025_17_03_37.pdf'}" where mtr_portfolio_id = 29271826 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271830 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271830 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29271830 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271830 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271830 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29271830 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271830_09-12-2025_17_01_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271830 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271830_09-12-2025_17_01_38.pdf'}" where mtr_portfolio_id = 29271830 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271834 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271834 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29271834 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271834 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271834 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29271834 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271834_09-12-2025_17_02_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271834 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271834_09-12-2025_17_02_34.pdf'}" where mtr_portfolio_id = 29271834 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271836 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271836 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29271836 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271836 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271836 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29271836 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271836_09-12-2025_17_02_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271836 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271836_09-12-2025_17_02_03.pdf'}" where mtr_portfolio_id = 29271836 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271839 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271839 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29271839 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271839 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271839 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29271839 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271839_09-12-2025_17_01_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271839 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271839_09-12-2025_17_01_34.pdf'}" where mtr_portfolio_id = 29271839 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267748 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267748 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29267748 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267748 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267748 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29267748 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267748_09-12-2025_15_09_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267748 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267748_09-12-2025_15_09_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268353, 'pht': 3726}}" where mtr_portfolio_id = 29267748 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267751 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267751 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29267751 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267751 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267751 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29267751 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267751_09-12-2025_15_08_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267751 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267751_09-12-2025_15_08_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268268, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268272, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268273, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268274, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268278, 'pht': 3726}}" where mtr_portfolio_id = 29267751 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267753 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267753 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29267753 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267753 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267753 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29267753 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267753_09-12-2025_15_08_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267753 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267753_09-12-2025_15_08_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29268223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268235, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268242, 'pht': 3726}}" where mtr_portfolio_id = 29267753 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267754 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267754 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29267754 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267754 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267754 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29267754 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267754_09-12-2025_15_06_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267754 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267754_09-12-2025_15_06_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268112, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268113, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268118, 'pht': 3726}}" where mtr_portfolio_id = 29267754 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267755 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267755 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29267755 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267755 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267755 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29267755 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267755_09-12-2025_15_06_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267755 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267755_09-12-2025_15_06_23.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268036, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268039, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268046, 'pht': 3726}}" where mtr_portfolio_id = 29267755 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267756 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267756 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29267756 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267756 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267756 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29267756 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267756_09-12-2025_15_06_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267756 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267756_09-12-2025_15_06_09.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268010, 'pht': 3726}}" where mtr_portfolio_id = 29267756 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267757 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267757 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29267757 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267757 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267757 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29267757 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267757_09-12-2025_15_05_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267757 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267757_09-12-2025_15_05_39.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29267950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267954, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267961, 'pht': 3726}}" where mtr_portfolio_id = 29267757 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267758 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267758 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29267758 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267758 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267758 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29267758 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267758_09-12-2025_15_04_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267758 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267758_09-12-2025_15_04_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29267886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267893, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267897, 'pht': 3726}}" where mtr_portfolio_id = 29267758 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267759 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267759 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29267759 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267759 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267759 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29267759 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267759_09-12-2025_15_04_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267759 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267759_09-12-2025_15_04_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267845, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267847, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267849, 'pht': 3726}}" where mtr_portfolio_id = 29267759 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266334 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266334 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29266334 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266334 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266334 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29266334 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29266334_09-12-2025_15_02_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29266334 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29266334_09-12-2025_15_02_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29266389, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29266390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29266391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29266392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29266393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29266394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29266395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29266396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29266397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29266398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29266399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29266400, 'pht': 3726}}" where mtr_portfolio_id = 29266334 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266335 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266335 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29266335 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266335 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266335 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29266335 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29266335_09-12-2025_14_00_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29266335 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29266335_09-12-2025_14_00_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29266363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29266364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29266365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29266366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29266367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29266368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29266369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29266370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29266371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29266372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29266373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29266374, 'pht': 3726}}" where mtr_portfolio_id = 29266335 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266336 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266336 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 29266336 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266336 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29266336 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29266336 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29266336_09-12-2025_15_02_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29266336 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29266336_09-12-2025_15_02_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29266337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29266338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29266339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29266340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29266341, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29266342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29266343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29266344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29266345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29266346, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29266347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29266348, 'pht': 3726}}" where mtr_portfolio_id = 29266336 and dashboard_run_id = 2717626 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267192 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4198993, 'mtr_portfolio_id': 29267192, 'created_at': datetime.datetime(2025, 12, 9, 15, 2, 59), 'result': '0.055123495118521916', 'result_long': None, 'result_double': None}] Qualite : 0.055123495118521916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29267192 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267192_09-12-2025_15_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267192 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267192_09-12-2025_15_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267235, 'pht': 3726}}" where mtr_portfolio_id = 29267192 and dashboard_run_id = 2717626 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29267192 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18172027, 0.055123495118521916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267192_09-12-2025_15_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267235, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29267785 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199068, 'mtr_portfolio_id': 29267785, 'created_at': datetime.datetime(2025, 12, 9, 15, 19), 'result': '0.04142523440009138', 'result_long': None, 'result_double': None}] Qualite : 0.04142523440009138 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29267785 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267785_09-12-2025_15_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29267785 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267785_09-12-2025_15_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267801, 'pht': 3726}}" where mtr_portfolio_id = 29267785 and dashboard_run_id = 2717626 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29267785 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18172028, 0.04142523440009138, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29267785_09-12-2025_15_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29267790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29267791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29267792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29267793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29267794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29267795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29267796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29267797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29267798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29267799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29267800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29267801, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29268760 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199123, 'mtr_portfolio_id': 29268760, 'created_at': datetime.datetime(2025, 12, 9, 15, 35, 2), 'result': '0.046356266129274515', 'result_long': None, 'result_double': None}] Qualite : 0.046356266129274515 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29268760 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29268760_09-12-2025_15_35_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29268760 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29268760_09-12-2025_15_35_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268769, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268778, 'pht': 3726}}" where mtr_portfolio_id = 29268760 and dashboard_run_id = 2717626 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29268760 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18172029, 0.046356266129274515, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29268760_09-12-2025_15_35_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29268767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29268768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29268769, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29268770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29268771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29268772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29268773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29268774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29268775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29268776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29268777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29268778, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29269175 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199171, 'mtr_portfolio_id': 29269175, 'created_at': datetime.datetime(2025, 12, 9, 15, 49, 30), 'result': '0.07373983268430408', 'result_long': None, 'result_double': None}] Qualite : 0.07373983268430408 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29269175 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269175_09-12-2025_15_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29269175 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269175_09-12-2025_15_49_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269178, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269188, 'pht': 3726}}" where mtr_portfolio_id = 29269175 and dashboard_run_id = 2717626 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29269175 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18172030, 0.07373983268430408, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269175_09-12-2025_15_49_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269178, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269188, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29269542 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199222, 'mtr_portfolio_id': 29269542, 'created_at': datetime.datetime(2025, 12, 9, 16, 3, 2), 'result': '0.061443197515436254', 'result_long': None, 'result_double': None}] Qualite : 0.061443197515436254 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29269542 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269542_09-12-2025_16_03_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29269542 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269542_09-12-2025_16_03_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269556, 'pht': 3726}}" where mtr_portfolio_id = 29269542 and dashboard_run_id = 2717626 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29269542 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18172031, 0.061443197515436254, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269542_09-12-2025_16_03_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269556, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29269897 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199288, 'mtr_portfolio_id': 29269897, 'created_at': datetime.datetime(2025, 12, 9, 16, 19, 1), 'result': '0.05629057871474523', 'result_long': None, 'result_double': None}] Qualite : 0.05629057871474523 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29269897 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269897_09-12-2025_16_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29269897 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269897_09-12-2025_16_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269915, 'pht': 3726}}" where mtr_portfolio_id = 29269897 and dashboard_run_id = 2717626 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29269897 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18172032, 0.05629057871474523, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29269897_09-12-2025_16_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29269904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29269905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29269906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29269907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29269908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29269909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29269910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29269911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29269912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29269913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29269914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29269915, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29270467 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199344, 'mtr_portfolio_id': 29270467, 'created_at': datetime.datetime(2025, 12, 9, 16, 33, 2), 'result': '0.04375678261221711', 'result_long': None, 'result_double': None}] Qualite : 0.04375678261221711 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29270467 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29270467_09-12-2025_16_33_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29270467 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29270467_09-12-2025_16_33_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29270528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29270529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29270530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29270531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29270532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29270533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29270534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29270535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29270536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29270537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29270538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29270539, 'pht': 3726}}" where mtr_portfolio_id = 29270467 and dashboard_run_id = 2717625 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29270467 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18172033, 0.04375678261221711, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29270467_09-12-2025_16_33_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29270528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29270529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29270530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29270531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29270532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29270533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29270534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29270535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29270536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29270537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29270538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29270539, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271024 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199408, 'mtr_portfolio_id': 29271024, 'created_at': datetime.datetime(2025, 12, 9, 16, 49, 3), 'result': '0.05174984659760503', 'result_long': None, 'result_double': None}] Qualite : 0.05174984659760503 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29271024 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271024_09-12-2025_16_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271024 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271024_09-12-2025_16_49_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271067, 'pht': 3726}}" where mtr_portfolio_id = 29271024 and dashboard_run_id = 2717625 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29271024 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18172034, 0.05174984659760503, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271024_09-12-2025_16_49_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271067, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29271469 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199458, 'mtr_portfolio_id': 29271469, 'created_at': datetime.datetime(2025, 12, 9, 17, 3, 2), 'result': '0.040487911134795766', 'result_long': None, 'result_double': None}] Qualite : 0.040487911134795766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29271469 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271469_09-12-2025_17_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29271469 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271469_09-12-2025_17_03_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271487, 'pht': 3726}}" where mtr_portfolio_id = 29271469 and dashboard_run_id = 2717625 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29271469 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18172035, 0.040487911134795766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29271469_09-12-2025_17_03_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29271476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29271477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29271478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29271479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29271480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29271481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29271482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29271483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29271484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29271485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29271486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29271487, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29272155 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4199547, 'mtr_portfolio_id': 29272155, 'created_at': datetime.datetime(2025, 12, 9, 17, 15, 2), 'result': '0.0509075057242365', 'result_long': None, 'result_double': None}] Qualite : 0.0509075057242365 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29272155 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29272155_09-12-2025_17_15_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29272155 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29272155_09-12-2025_17_15_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272171, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272181, 'pht': 3726}}" where mtr_portfolio_id = 29272155 and dashboard_run_id = 2717625 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29272155 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18172036, 0.0509075057242365, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29272155_09-12-2025_17_15_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29272170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29272171, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29272172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29272173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29272174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29272175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29272176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29272177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29272178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29272179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29272180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29272181, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29271794,29271799,29271820,29271821,29271823,29271824,29271826,29271830,29271834,29271836,29271839,29267748,29267751,29267753,29267754,29267755,29267756,29267757,29267758,29267759,29266334,29266335,29266336,29267192,29267785,29268760,29269175,29269542,29269897,29270467,29271024,29271469,29272155) result : ((1398478389,), (1398478392,), (1398478395,), (1398478404,), (1398478406,), (1398478408,), (1398478411,), (1398478413,), (1398478415,), (1398478421,), (1398478422,), (1398478425,), (1398478426,), (1398478429,), (1398478430,), (1398478433,), (1398478434,), (1398478438,), (1398478439,), (1398478442,), (1398478443,), (1398478457,), (1398478492,), (1398478526,), (1398478560,), (1398478593,), (1398478627,), (1398478793,), (1398478869,), (1398478936,), (1398478975,), (1398479014,), (1398479050,), (1398479333,), (1398479338,), (1398479344,), (1398479350,), (1398479353,), (1398479358,), (1398479362,), (1398479364,), (1398479366,), (1398479368,), (1398479370,), (1398479374,), (1398479382,), (1398479384,), (1398479387,), (1398479389,), (1398479391,), (1398479393,), (1398479400,), (1398479403,), (1398479405,), (1398479408,), (1398479411,), (1398479414,), (1398479421,), (1398479422,), (1398479424,), (1398479426,), (1398479430,), (1398479434,), (1398479442,), (1398479445,), (1398479448,), (1398479450,), (1398479452,), (1398479454,), (1398478115,), (1398478116,), (1398478118,), (1398478120,), (1398478126,), (1398478128,), (1398478132,), (1398478137,), (1398478142,), (1398478146,), (1398478154,), (1398478156,), (1398478158,), (1398478161,), (1398478164,), (1398478166,), (1398478174,), (1398478177,), (1398478181,), (1398478185,), (1398478190,), (1398478194,), (1398478201,), (1398478203,), (1398478205,), (1398478208,), (1398478212,), (1398478216,), (1398478222,), (1398478225,), (1398478227,), (1398478229,), (1398478231,), (1398478234,), (1398478247,), (1398478250,), (1398478254,), (1398478257,), (1398478261,), (1398478264,), (1398478268,), (1398478271,), (1398478274,), (1398478277,), (1398478280,), (1398478284,), (1398478294,), (1398478298,), (1398478301,), (1398478303,), (1398478308,), (1398478311,), (1398478320,), (1398478323,), (1398478327,), (1398478332,), (1398478335,), (1398478338,), (1398478344,), (1398478346,), (1398478349,), (1398478352,), (1398478355,), (1398478358,), (1398478367,), (1398478370,), (1398478372,), (1398478373,), (1398478375,), (1398478377,), (1398478381,), (1398478383,), (1398478386,), (1398477880,), (1398477881,), (1398477883,), (1398477892,), (1398477895,), (1398477899,), (1398477903,), (1398477905,), (1398477906,), (1398477907,), (1398477909,), (1398477911,), (1398477915,), (1398477919,), (1398477922,), (1398477934,), (1398477936,), (1398477938,), (1398477939,), (1398477940,), (1398477943,), (1398477954,), (1398477957,), (1398477959,), (1398477962,), (1398477965,), (1398477968,), (1398477985,), (1398477987,), (1398477991,), (1398477994,), (1398477998,), (1398478002,), (1398478010,), (1398478012,), (1398478014,), (1398478016,), (1398478019,), (1398478022,), (1398478042,), (1398478044,), (1398478046,), (1398478048,), (1398478051,), (1398478053,), (1398478063,), (1398478067,), (1398478070,), (1398478073,), (1398478077,), (1398478079,), (1398478087,), (1398478089,), (1398478092,), (1398478095,), (1398478097,), (1398478101,), (1398478109,), (1398478111,), (1398480933,), (1398491628,), (1398491666,), (1398492370,), (1398492402,), (1398492436,), (1398492548,), (1398492777,), (1398492778,), (1398492782,), (1398492786,), (1398492790,), (1398492835,), (1398492838,), (1398492841,), (1398492861,), (1398492862,), (1398492866,), (1398493100,), (1398493206,), (1398493314,), (1398493409,), (1398493473,), (1398493477,), (1398493555,), (1398493564,), (1398493590,), (1398494074,), (1398494075,), (1398494110,), (1398494115,), (1398494156,), (1398494157,), (1398494188,), (1398494189,), (1398494241,), (1398494270,), (1398494297,), (1398494315,), (1398494318,), (1398494509,), (1398494565,), (1398494624,), (1398494759,), (1398494761,), (1398494764,), (1398494767,), (1398494770,), (1398495332,), (1398495418,), (1398495454,), (1398495483,), (1398496799,), (1398494378,), (1398494380,), (1398494381,), (1398494383,), (1398494386,), (1398494675,), (1398494688,), (1398494693,), (1398494774,), (1398495513,), (1398495598,), (1398495867,), (1398495948,), (1398496030,), (1398496080,), (1398496138,), (1398496199,), (1398496871,), (1398497043,), (1398497065,), (1398497093,), (1398497395,), (1398497451,), (1398497687,), (1398497732,), (1398497778,), (1398497835,), (1398497908,), (1398497961,), (1398498085,), (1398498090,), (1398498149,), (1398498150,), (1398498180,), (1398498182,), (1398498441,), (1398498469,), (1398498591,), (1398498624,), (1398498653,), (1398498663,), (1398498680,), (1398498699,), (1398498808,), (1398498827,), (1398498832,), (1398498840,), (1398498842,), (1398498867,), (1398498893,), (1398498919,), (1398498945,), (1398499177,), (1398499810,), (1398500190,), (1398500334,), (1398500486,), (1398500582,), (1398500641,), (1398500688,), (1398501004,), (1398501049,), (1398501231,), (1398501248,), (1398501258,), (1398501263,), (1398501264,), (1398501270,), (1398501280,), (1398501287,), (1398492879,), (1398492882,), (1398492885,), (1398492888,), (1398492891,), (1398492894,), (1398493613,), (1398493618,), (1398493621,), (1398493766,), (1398493801,), (1398493839,), (1398493875,), (1398493912,), (1398493950,), (1398494192,), (1398494193,), (1398494196,), (1398494197,), (1398494339,), (1398494376,), (1398487618,), (1398487771,), (1398487905,), (1398488061,), (1398488374,), (1398488465,), (1398488568,), (1398488731,), (1398488858,), (1398488995,), (1398489461,), (1398489543,), (1398489612,), (1398489708,), (1398489793,), (1398489854,), (1398490018,), (1398490101,), (1398490172,), (1398490257,), (1398490351,), (1398490431,), (1398490745,), (1398490823,), (1398490882,), (1398490900,), (1398490926,), (1398491021,), (1398491057,), (1398491090,), (1398491123,), (1398491182,), (1398491253,), (1398491374,), (1398491383,), (1398491417,), (1398491471,), (1398491494,), (1398491497,), (1398491611,), (1398491616,), (1398491618,), (1398491620,), (1398491622,), (1398491624,), (1398491771,), (1398491880,), (1398492000,), (1398492133,), (1398492580,), (1398492607,), (1398492688,), (1398492724,), (1398492726,), (1398492752,), (1398492766,), (1398492772,), (1398492794,), (1398492798,), (1398492800,), (1398492803,), (1398492806,), (1398492809,), (1398492813,), (1398492844,), (1398492845,), (1398492850,), (1398492871,), (1398492873,), (1398492875,), (1398483611,), (1398483721,), (1398484213,), (1398484326,), (1398484391,), (1398484427,), (1398484472,), (1398484542,), (1398484924,), (1398485056,), (1398485166,), (1398485247,), (1398485324,), (1398485385,), (1398485779,), (1398485903,), (1398486077,), (1398486136,), (1398486170,), (1398486184,), (1398486262,), (1398486299,), (1398486336,), (1398486374,), (1398486410,), (1398486437,), (1398486569,), (1398486619,), (1398486660,), (1398486716,), (1398486787,), (1398486848,), (1398486975,), (1398487044,), (1398487098,), (1398487140,), (1398487197,), (1398487259,), (1398487432,), (1398487440,), (1398487442,), (1398487444,), (1398487447,), (1398487450,), (1398487461,), (1398487484,), (1398481083,), (1398481086,), (1398481091,), (1398481102,), (1398481106,), (1398481110,), (1398481113,), (1398481115,), (1398481118,), (1398481132,), (1398481137,), (1398481142,), (1398481145,), (1398481148,), (1398481152,), (1398481157,), (1398481159,), (1398481161,), (1398481164,), (1398481167,), (1398481170,), (1398481179,), (1398481182,), (1398481183,), (1398481186,), (1398481189,), (1398481191,), (1398481197,), (1398481199,), (1398481202,), (1398481205,), (1398481208,), (1398481211,), (1398481214,), (1398481216,), (1398481219,), (1398481222,), (1398481226,), (1398481236,), (1398481249,), (1398481251,), (1398481277,), (1398481280,), (1398481284,), (1398481285,), (1398481294,), (1398481298,), (1398481301,), (1398481304,), (1398481307,), (1398481310,), (1398481323,), (1398481357,), (1398481393,), (1398481429,), (1398481471,), (1398481537,), (1398481782,), (1398481783,), (1398481855,), (1398481856,), (1398481930,), (1398481936,), (1398482010,), (1398482024,), (1398482083,), (1398482110,), (1398482239,), (1398482283,), (1398482826,), (1398482891,), (1398483022,), (1398483120,), (1398483264,), (1398483317,), (1398483432,), (1398483466,), (1398483501,), (1398483533,), (1398480841,), (1398480843,), (1398480853,), (1398480856,), (1398480858,), (1398480862,), (1398480866,), (1398480868,), (1398480875,), (1398480877,), (1398480881,), (1398480885,), (1398480889,), (1398480893,), (1398480897,), (1398480899,), (1398480902,), (1398480905,), (1398480908,), (1398480911,), (1398480934,), (1398480935,), (1398480938,), (1398480941,), (1398480951,), (1398480955,), (1398480957,), (1398480959,), (1398480960,), (1398480961,), (1398480968,), (1398480971,), (1398480974,), (1398480977,), (1398480978,), (1398480980,), (1398480990,), (1398480993,), (1398480996,), (1398480999,), (1398481002,), (1398481003,), (1398481007,), (1398481008,), (1398481012,), (1398481016,), (1398481021,), (1398481026,), (1398481032,), (1398481035,), (1398481038,), (1398481040,), (1398481042,), (1398481045,), (1398481054,), (1398481059,), (1398481062,), (1398481065,), (1398481067,), (1398481070,), (1398481079,), (1398481081,), (1398479970,), (1398479985,), (1398479990,), (1398479999,), (1398480013,), (1398480015,), (1398480020,), (1398480024,), (1398480027,), (1398480031,), (1398480035,), (1398480039,), (1398480045,), (1398480046,), (1398480049,), (1398480052,), (1398480055,), (1398480057,), (1398480065,), (1398480066,), (1398480068,), (1398480069,), (1398480072,), (1398480073,), (1398480078,), (1398480079,), (1398480084,), (1398480085,), (1398480089,), (1398480090,), (1398480099,), (1398480101,), (1398480105,), (1398480126,), (1398480163,), (1398480203,), (1398480327,), (1398480365,), (1398480398,), (1398480434,), (1398480470,), (1398480505,), (1398480556,), (1398480557,), (1398480581,), (1398480617,), (1398480642,), (1398480646,), (1398480693,), (1398480718,), (1398480720,), (1398480721,), (1398480724,), (1398480727,), (1398480741,), (1398480744,), (1398480746,), (1398480750,), (1398480754,), (1398480758,), (1398480765,), (1398480766,), (1398480768,), (1398480770,), (1398480774,), (1398480777,), (1398480789,), (1398480791,), (1398480793,), (1398480795,), (1398480799,), (1398480803,), (1398480813,), (1398480817,), (1398480819,), (1398480821,), (1398480822,), (1398480825,), (1398480831,), (1398480834,), (1398480836,), (1398480839,), (1398479697,), (1398479700,), (1398479703,), (1398479712,), (1398479714,), (1398479716,), (1398479719,), (1398479721,), (1398479723,), (1398479731,), (1398479733,), (1398479737,), (1398479741,), (1398479743,), (1398479746,), (1398479753,), (1398479756,), (1398479761,), (1398479765,), (1398479769,), (1398479772,), (1398479780,), (1398479783,), (1398479785,), (1398479788,), (1398479792,), (1398479794,), (1398479805,), (1398479806,), (1398479811,), (1398479813,), (1398479816,), (1398479818,), (1398479822,), (1398479823,), (1398479829,), (1398479830,), (1398479833,), (1398479834,), (1398479841,), (1398479843,), (1398479845,), (1398479847,), (1398479850,), (1398479852,), (1398479862,), (1398479865,), (1398479867,), (1398479869,), (1398479873,), (1398479876,), (1398479883,), (1398479886,), (1398479887,), (1398479889,), (1398479891,), (1398479895,), (1398479905,), (1398479908,), (1398479911,), (1398479913,), (1398479914,), (1398479915,), (1398479923,), (1398479924,), (1398479928,), (1398479929,), (1398479933,), (1398479934,), (1398479936,), (1398479938,), (1398479941,), (1398479942,), (1398479944,), (1398479945,), (1398479949,), (1398479951,), (1398479953,), (1398479956,), (1398479959,), (1398479961,), (1398479459,), (1398479462,), (1398479466,), (1398479470,), (1398479474,), (1398479477,), (1398479481,), (1398479483,), (1398479486,), (1398479490,), (1398479497,), (1398479502,), (1398479537,), (1398479541,), (1398479545,), (1398479549,), (1398479553,), (1398479557,), (1398479567,), (1398479571,), (1398479576,), (1398479579,), (1398479583,), (1398479587,), (1398479591,), (1398479594,), (1398479598,), (1398479601,), (1398479605,), (1398479609,), (1398479613,), (1398479615,), (1398479618,), (1398479621,), (1398479624,), (1398479627,), (1398479631,), (1398479633,), (1398479638,), (1398479641,), (1398479645,), (1398479649,), (1398479654,), (1398479655,), (1398479656,), (1398479659,), (1398479662,), (1398479665,), (1398479676,), (1398479678,), (1398479680,), (1398479681,), (1398479683,), (1398479685,), (1398479688,), (1398479691,), (1398479694,), (1398496493,), (1398496560,), (1398496624,), (1398496711,), (1398497030,), (1398497039,), (1398497041,), (1398497241,), (1398497292,), (1398497323,), (1398497370,), (1398498021,), (1398498022,), (1398498024,), (1398498025,), (1398498037,), (1398498042,), (1398498335,), (1398498361,), (1398498389,), (1398498415,), (1398498784,), (1398498799,), (1398498803,), (1398498805,), (1398498807,), (1398498815,), (1398498818,), (1398498821,), (1398498824,), (1398499042,), (1398499066,), (1398499091,), (1398499123,), (1398499151,), (1398499318,), (1398499415,), (1398499511,), (1398499616,), (1398499713,), (1398500756,), (1398500820,), (1398500865,), (1398500952,), (1398501138,), (1398501183,), (1398501216,), (1398501300,), (1398501303,), (1398501306,), (1398501308,), (1398501310,), (1398501313,), (1398501322,), (1398501325,), (1398501327,), (1398501333,), (1398501339,), (1398501361,), (1398501368,), (1398501382,), (1398501903,), (1398501933,), (1398501960,), (1398501986,), (1398502016,), (1398502048,), (1398502275,), (1398502155,), (1398502186,), (1398502216,), (1398502244,), (1398502443,), (1398502479,), (1398502506,), (1398502535,), (1398502548,), (1398502557,), (1398502603,), (1398502625,), (1398502647,), (1398502833,), (1398502885,), (1398503286,), (1398503336,), (1398504466,), (1398504467,), (1398504539,), (1398504560,), (1398504563,), (1398504566,), (1398504625,), (1398504631,), (1398504633,), (1398504635,), (1398504637,), (1398504639,), (1398504644,), (1398504647,), (1398504650,), (1398504654,), (1398504658,), (1398504664,), (1398504689,), (1398504690,), (1398504693,), (1398504694,), (1398504697,), (1398504698,), (1398504703,), (1398504704,), (1398504707,), (1398504708,), (1398504784,), (1398504785,), (1398504768,), (1398504769,), (1398504772,), (1398504773,), (1398504776,), (1398504777,), (1398504780,), (1398504781,), (1398504792,), (1398504794,), (1398504796,), (1398504798,), (1398504801,), (1398504804,), (1398504853,), (1398504854,), (1398504856,), (1398504858,), (1398504860,), (1398504861,), (1398504877,), (1398504878,), (1398504880,), (1398504883,), (1398504886,), (1398504927,), (1398504928,), (1398504931,), (1398504932,), (1398504935,), (1398504936,), (1398504941,), (1398504942,), (1398504945,), (1398504946,), (1398504948,), (1398504949,), (1398504954,), (1398504956,), (1398504959,), (1398504962,), (1398505032,), (1398505035,), (1398505039,), (1398505041,), (1398505044,), (1398505045,), (1398505050,), (1398505054,), (1398505057,), (1398505109,), (1398505112,), (1398505115,), (1398505126,), (1398505129,), (1398505176,), (1398505179,), (1398505182,), (1398505184,), (1398505191,), (1398505194,), (1398505197,), (1398505254,), (1398505258,), (1398505272,), (1398505275,), (1398505278,), (1398505287,), (1398505300,), (1398505342,), (1398505333,), (1398505340,), (1398505380,), (1398505383,), (1398505448,), (1398505471,), (1398505509,), (1398505512,), (1398505613,), (1398505654,), (1398505657,), (1398505659,), (1398505670,), (1398505673,), (1398505676,), (1398505724,), (1398505728,), (1398505730,), (1398505732,), (1398505741,), (1398505744,), (1398505747,), (1398505750,), (1398505753,), (1398505756,), (1398505796,), (1398505829,), (1398505903,), (1398506258,), (1398506314,), (1398506365,), (1398506420,), (1398506467,), (1398506725,), (1398506628,), (1398506657,), (1398506685,), (1398507122,), (1398507124,), (1398507152,), (1398508073,), (1398508100,), (1398508298,), (1398508325,), (1398508353,), (1398508719,), (1398508722,), (1398508729,), (1398508734,), (1398508739,), (1398508742,), (1398508824,), (1398508825,), (1398508852,), (1398508855,), (1398508880,), (1398508883,), (1398508907,), (1398508910,), (1398508938,), (1398508946,), (1398509083,), (1398509118,), (1398509185,), (1398509242,), (1398509295,), (1398510072,), (1398510111,), (1398510139,), (1398510164,), (1398510219,), (1398510283,), (1398510594,), (1398510677,), (1398510747,), (1398510794,), (1398511309,), (1398511313,), (1398511320,), (1398511327,), (1398511330,), (1398511402,), (1398511457,), (1398511512,), (1398511561,), (1398511614,), (1398512077,), (1398512082,), (1398512088,), (1398512094,), (1398512217,), (1398512220,), (1398512223,), (1398512246,), (1398512274,), (1398512351,), (1398512354,), (1398512358,), (1398512419,), (1398512411,), (1398512413,), (1398512416,), (1398512429,), (1398512431,), (1398512433,), (1398512435,), (1398512482,), (1398512484,), (1398512487,), (1398512490,), (1398512501,), (1398512503,), (1398512505,), (1398512553,), (1398512564,), (1398512594,), (1398512595,), (1398512641,), (1398512642,), (1398512645,), (1398512646,), (1398512670,), (1398512673,), (1398512676,), (1398512679,), (1398512723,), (1398512724,), (1398512726,), (1398512727,), (1398512729,), (1398512730,), (1398512735,), (1398512736,), (1398512738,), (1398512739,), (1398512750,), (1398512753,), (1398512756,), (1398512801,), (1398512803,), (1398512820,), (1398512823,), (1398512827,), (1398512830,), (1398512837,), (1398512848,), (1398512873,), (1398512876,), (1398512889,), (1398512892,), (1398512895,), (1398512898,), (1398512901,), (1398512913,), (1398512915,), (1398512918,), (1398512920,), (1398512922,), (1398512923,), (1398512975,), (1398512976,), (1398512961,), (1398512962,), (1398512965,), (1398512966,), (1398512970,), (1398512971,), (1398512995,), (1398512997,), (1398512999,), (1398513001,), (1398513002,), (1398513004,), (1398513040,), (1398513045,), (1398513051,), (1398513055,), (1398513066,), (1398513068,), (1398513070,), (1398513072,), (1398513074,), (1398513105,), (1398513107,), (1398513113,), (1398513117,), (1398513119,), (1398513138,), (1398513141,), (1398513143,), (1398513146,), (1398513148,), (1398513156,), (1398513159,), (1398513162,), (1398513197,), (1398513199,), (1398513201,), (1398513203,), (1398513206,), (1398513223,), (1398513226,), (1398513228,), (1398513230,), (1398513232,), (1398513282,), (1398513285,), (1398513287,), (1398513298,), (1398513301,), (1398513304,), (1398513308,), (1398513356,), (1398513360,), (1398513361,), (1398513362,), (1398513363,), (1398513379,), (1398513384,), (1398513389,), (1398513394,), (1398513434,), (1398513435,), (1398513436,), (1398513437,), (1398513438,), (1398513439,), (1398513440,), (1398513441,), (1398513442,), (1398513443,), (1398513444,), (1398513445,), (1398513455,), (1398513460,), (1398513466,), (1398513471,), (1398513473,), (1398513475,), (1398513514,), (1398513512,), (1398513513,), (1398513536,), (1398513540,), (1398513544,), (1398513547,), (1398513548,), (1398513549,), (1398513583,), (1398513584,), (1398513589,), (1398513591,), (1398513605,), (1398513609,), (1398513613,), (1398513616,), (1398513649,), (1398513650,), (1398513652,), (1398513654,), (1398513659,), (1398513674,), (1398513677,), (1398513680,), (1398513681,), (1398513682,), (1398513730,), (1398513732,), (1398513734,), (1398513737,), (1398513756,), (1398513760,), (1398513762,), (1398513764,), (1398513770,), (1398513797,), (1398513800,), (1398513803,), (1398513806,), (1398513849,), (1398513850,), (1398513851,), (1398513852,), (1398513853,), (1398513854,), (1398513859,), (1398513861,), (1398513882,), (1398513885,), (1398513922,), (1398513927,), (1398513936,), (1398513951,), (1398513954,), (1398513965,), (1398513991,), (1398514020,), (1398514391,), (1398514422,), (1398514451,), (1398514481,), (1398514498,), (1398514575,), (1398514579,), (1398514581,), (1398514583,), (1398514588,), (1398514607,), (1398513888,), (1398513891,), (1398513892,), (1398513893,), (1398513898,), (1398513900,), (1398513904,), (1398513907,), (1398513911,), (1398513915,), (1398513938,), (1398513941,), (1398513943,), (1398514044,), (1398514154,), (1398514182,), (1398514212,), (1398514240,), (1398514272,), (1398514303,), (1398513401,), (1398513404,), (1398513405,), (1398513406,), (1398513415,), (1398513420,), (1398513424,), (1398513488,), (1398513489,), (1398513493,), (1398513497,), (1398513501,), (1398513505,), (1398513515,), (1398513516,), (1398513524,), (1398513560,), (1398513562,), (1398513569,), (1398513572,), (1398513575,), (1398513578,), (1398513593,), (1398513595,), (1398513619,), (1398513622,), (1398513629,), (1398513631,), (1398513635,), (1398513638,), (1398513641,), (1398513644,), (1398513663,), (1398513692,), (1398513713,), (1398513715,), (1398513718,), (1398513721,), (1398513724,), (1398513727,), (1398513742,), (1398513746,), (1398513780,), (1398513809,), (1398513812,), (1398513818,), (1398513821,), (1398513825,), (1398513833,), (1398513838,), (1398513841,), (1398513868,), (1398513869,), (1398513871,), (1398513872,), (1398512853,), (1398512855,), (1398512857,), (1398512859,), (1398512861,), (1398512864,), (1398512878,), (1398512880,), (1398512882,), (1398512884,), (1398512904,), (1398512935,), (1398512939,), (1398512942,), (1398512948,), (1398512953,), (1398512956,), (1398512980,), (1398512981,), (1398512986,), (1398512987,), (1398513022,), (1398513024,), (1398513028,), (1398513031,), (1398513033,), (1398513035,), (1398513057,), (1398513060,), (1398513076,), (1398513083,), (1398513085,), (1398513089,), (1398513093,), (1398513096,), (1398513099,), (1398513123,), (1398513151,), (1398513165,), (1398513168,), (1398513170,), (1398513182,), (1398513185,), (1398513187,), (1398513189,), (1398513191,), (1398513193,), (1398513208,), (1398513234,), (1398513243,), (1398513246,), (1398513251,), (1398513253,), (1398513258,), (1398513268,), (1398513290,), (1398513292,), (1398513294,), (1398513312,), (1398513316,), (1398513319,), (1398513327,), (1398513334,), (1398513338,), (1398513342,), (1398513346,), (1398513364,), (1398513399,), (1398512474,), (1398512476,), (1398512493,), (1398512496,), (1398512507,), (1398512509,), (1398512512,), (1398512528,), (1398512532,), (1398512536,), (1398512539,), (1398512542,), (1398512545,), (1398512569,), (1398512574,), (1398512578,), (1398512582,), (1398512596,), (1398512597,), (1398512598,), (1398512601,), (1398512620,), (1398512624,), (1398512629,), (1398512635,), (1398512637,), (1398512638,), (1398512649,), (1398512650,), (1398512653,), (1398512654,), (1398512658,), (1398512659,), (1398512662,), (1398512663,), (1398512682,), (1398512688,), (1398512694,), (1398512696,), (1398512701,), (1398512710,), (1398512713,), (1398512716,), (1398512741,), (1398512742,), (1398512759,), (1398512761,), (1398512765,), (1398512769,), (1398512775,), (1398512784,), (1398512787,), (1398512790,), (1398512793,), (1398512805,), (1398512809,), (1398512810,), (1398512812,), (1398507239,), (1398507438,), (1398507476,), (1398507504,), (1398507526,), (1398507557,), (1398507587,), (1398507782,), (1398507808,), (1398507835,), (1398507878,), (1398507928,), (1398507969,), (1398508127,), (1398508150,), (1398508181,), (1398508208,), (1398508377,), (1398508407,), (1398508432,), (1398508539,), (1398508565,), (1398508593,), (1398508620,), (1398508647,), (1398508675,), (1398508967,), (1398508976,), (1398509345,), (1398509641,), (1398509692,), (1398509744,), (1398509795,), (1398509842,), (1398509906,), (1398510844,), (1398510899,), (1398511075,), (1398511126,), (1398511165,), (1398511198,), (1398511249,), (1398511291,), (1398511333,), (1398511674,), (1398511813,), (1398511871,), (1398511900,), (1398511941,), (1398511984,), (1398512009,), (1398512110,), (1398512146,), (1398512300,), (1398512361,), (1398512365,), (1398512369,), (1398512388,), (1398512392,), (1398512393,), (1398512395,), (1398512399,), (1398512405,), (1398512422,), (1398512425,), (1398512438,), (1398512441,), (1398512450,), (1398512461,), (1398512471,), (1398512472,), (1398505584,), (1398505590,), (1398505593,), (1398505595,), (1398505597,), (1398505616,), (1398505619,), (1398505622,), (1398505625,), (1398505628,), (1398505636,), (1398505637,), (1398505639,), (1398505641,), (1398505644,), (1398505647,), (1398505661,), (1398505663,), (1398505665,), (1398505679,), (1398505688,), (1398505696,), (1398505705,), (1398505707,), (1398505709,), (1398505711,), (1398505714,), (1398505717,), (1398505734,), (1398505736,), (1398505761,), (1398505763,), (1398505765,), (1398505766,), (1398505767,), (1398505768,), (1398505967,), (1398506024,), (1398506082,), (1398506522,), (1398506776,), (1398506824,), (1398506999,), (1398507035,), (1398507043,), (1398507067,), (1398507093,), (1398507113,), (1398507179,), (1398507210,), (1398505466,), (1398505474,), (1398505477,), (1398505480,), (1398505483,), (1398505485,), (1398505491,), (1398505492,), (1398505494,), (1398505496,), (1398505499,), (1398505502,), (1398505514,), (1398505519,), (1398505531,), (1398505533,), (1398505540,), (1398505543,), (1398505546,), (1398505549,), (1398505552,), (1398505555,), (1398505559,), (1398505561,), (1398505563,), (1398505565,), (1398505568,), (1398505571,), (1398505581,), (1398505203,), (1398505206,), (1398505234,), (1398505236,), (1398505239,), (1398505240,), (1398505242,), (1398505245,), (1398505260,), (1398505261,), (1398505263,), (1398505266,), (1398505304,), (1398505344,), (1398505347,), (1398505350,), (1398505359,), (1398505362,), (1398505366,), (1398505367,), (1398505370,), (1398505373,), (1398505384,), (1398505388,), (1398505393,), (1398505396,), (1398505410,), (1398505413,), (1398505416,), (1398505419,), (1398505422,), (1398505425,), (1398505430,), (1398505432,), (1398505434,), (1398505435,), (1398505438,), (1398505441,), (1398504601,), (1398504672,), (1398504674,), (1398504675,), (1398504677,), (1398504680,), (1398504682,), (1398504710,), (1398504711,), (1398504717,), (1398504720,), (1398504722,), (1398504726,), (1398504732,), (1398504735,), (1398504742,), (1398504744,), (1398504746,), (1398504755,), (1398504760,), (1398504762,), (1398504787,), (1398504788,), (1398504826,), (1398504828,), (1398504830,), (1398504833,), (1398504842,), (1398504846,), (1398504864,), (1398504865,), (1398504868,), (1398504869,), (1398504871,), (1398504872,), (1398504889,), (1398504907,), (1398504909,), (1398504911,), (1398504917,), (1398504919,), (1398504921,), (1398504965,), (1398504968,), (1398504990,), (1398504991,), (1398505003,), (1398505005,), (1398505022,), (1398505025,), (1398505060,), (1398505064,), (1398505068,), (1398505079,), (1398505084,), (1398505094,), (1398505098,), (1398505100,), (1398505102,), (1398505118,), (1398505120,), (1398505122,), (1398505133,), (1398505137,), (1398505146,), (1398505149,), (1398505158,), (1398505159,), (1398505161,), (1398505163,), (1398505165,), (1398505168,), (1398505185,), (1398505187,), (1398505200,), (1398502675,), (1398502678,), (1398502681,), (1398502684,), (1398502690,), (1398502696,), (1398502700,), (1398502702,), (1398502703,), (1398502706,), (1398502937,), (1398502982,), (1398503026,), (1398503066,), (1398503384,), (1398503439,), (1398503491,), (1398503538,), (1398503719,), (1398503824,), (1398503925,), (1398503997,), (1398504005,), (1398504008,), (1398504015,), (1398504018,), (1398504020,), (1398504022,), (1398504024,), (1398504026,), (1398504222,), (1398504270,), (1398504285,), (1398504289,), (1398504294,), (1398504310,), (1398504358,), (1398504374,), (1398504414,), (1398504436,), (1398504455,), (1398504458,), (1398504470,), (1398504471,), (1398504474,), (1398504475,), (1398504478,), (1398504479,), (1398504481,), (1398504482,), (1398504485,), (1398504486,), (1398504493,), (1398504496,), (1398504499,), (1398504502,), (1398504504,), (1398504507,), (1398504518,), (1398504522,), (1398504523,), (1398504526,), (1398504529,), (1398504532,), (1398504542,), (1398504545,), (1398504547,), (1398504550,), (1398504553,), (1398504569,), (1398504573,), (1398504581,), (1398504586,), (1398504588,), (1398504592,), (1398504595,), (1398504598,), (1398501288,), (1398501343,), (1398501411,), (1398501454,), (1398501491,), (1398501603,), (1398501631,), (1398501662,), (1398501693,), (1398501727,), (1398501763,), (1398502301,), (1398502353,), (1398502356,), (1398502359,), (1398502362,), (1398502365,), (1398502368,), (1398502654,), (1398502656,), (1398502658,), (1398502668,), (1398502671,), (1398514604,), (1398514902,), (1398514971,), (1398515028,), (1398515084,), (1398515872,), (1398515922,), (1398515963,), (1398515991,), (1398516194,), (1398516243,), (1398516275,), (1398516413,), (1398516429,), (1398516457,), (1398516486,), (1398516655,), (1398516683,), (1398516714,), (1398516980,), (1398516982,), (1398516990,), (1398516992,), (1398517010,), (1398517012,), (1398517016,), (1398517017,), (1398517020,), (1398517021,), (1398517023,), (1398517026,), (1398517034,), (1398517036,), (1398517039,), (1398517073,), (1398517075,), (1398517081,), (1398517096,), (1398517097,), (1398517101,), (1398517103,), (1398517328,), (1398517330,), (1398517332,), (1398517343,), (1398517346,), (1398517350,), (1398517354,), (1398517356,), (1398517358,), (1398517387,), (1398517389,), (1398517392,), (1398517394,), (1398517396,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'09122025': {'nb_upload': 55, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29272155]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1398517396, 1398517394, 1398517392, 1398517389, 1398517387, 1398517358, 1398517356, 1398517354, 1398517350, 1398517346, 1398517343] map_info['map_portfolio_photo'] : {29272155: [1398517396, 1398517394, 1398517392, 1398517389, 1398517387, 1398517358, 1398517356, 1398517354, 1398517350, 1398517346, 1398517343, 1398517332, 1398517330, 1398517328, 1398517103, 1398517101, 1398517097, 1398517096, 1398517081, 1398517075, 1398517073, 1398517039, 1398517036, 1398517034, 1398517026, 1398517023, 1398517021, 1398517020, 1398517017, 1398517016, 1398517012, 1398517010, 1398516992, 1398516990, 1398516982, 1398516980, 1398516714, 1398516683, 1398516655, 1398516486, 1398516457, 1398516429, 1398516413, 1398516275, 1398516243, 1398516194, 1398515991, 1398515963, 1398515922, 1398515872, 1398515084, 1398515028, 1398514971, 1398514902, 1398514604]} final : True mtd_id 4302 list_pids : [1398517396, 1398517394, 1398517392, 1398517389, 1398517387, 1398517358, 1398517356, 1398517354, 1398517350, 1398517346, 1398517343] Looping around the photos to save general results len do output : 1 /29272155Didn'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, '4199547') ('4302', '29272155', '1398517396', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517394', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517392', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517389', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517387', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517358', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517356', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517354', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517350', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517346', None, None, None, None, None, '4199547') ('4302', None, None, None, None, None, None, None, '4199547') ('4302', '29272155', '1398517343', None, None, None, None, None, '4199547') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 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, '29272155', 'None', None, None, None, None, '4199547'), ('4302', '29272155', '1398517396', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517394', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517392', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517389', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517387', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517358', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517356', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517354', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517350', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517346', None, None, None, None, None, '4199547'), ('4302', '29272155', '1398517343', None, None, None, None, None, '4199547')] time used for this insertion : 0.032938480377197266 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.508695602416992 time spend to save output : 0.03315377235412598 total time spend for step 5 : 5.541849374771118 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 (4199547) 2.31user 2.33system 0:17.64elapsed 26%CPU (0avgtext+0avgdata 166248maxresident)k 32inputs+13968outputs (1major+79489minor)pagefaults 0swaps