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 : 2322321 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 (2659294) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2659294) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21304387 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2659294'] with mtr_portfolio_ids : ['21304387'] and first list_photo_ids : [] new path : /proc/2322321/ Name: python3 Umask: 0002 State: R (running) Tgid: 2322321 Ngid: 0 Pid: 2322321 PPid: 2322320 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2322321 NSpid: 2322321 NSpgid: 2316725 NSsid: 2316725 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98100 kB VmRSS: 97620 kB RssAnon: 59760 kB RssFile: 37860 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 592 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 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: 55 nonvoluntary_ctxt_switches: 210 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2322321', 'Ngid': '0', 'Pid': '2322321', 'PPid': '2322320', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2322321', 'NSpid': '2322321', 'NSpgid': '2316725', 'NSsid': '2316725', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98100 kB', 'VmRSS': '97620 kB', 'RssAnon': '59760 kB', 'RssFile': '37860 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '592 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', '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': '55', 'nonvoluntary_ctxt_switches': '210'} ('datou_batch_current', '2322321', '1106844', '0', '1106844', '865592', '97620', b'', 'marlene', '2659294') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (21304387) 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 (2659294 ) ) 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 (21304387) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1343164506, 'portfolio_id': 21304387}, {'photo_id': 1343164497, 'portfolio_id': 21304387}, {'photo_id': 1343164485, 'portfolio_id': 21304387}, {'photo_id': 1343164481, 'portfolio_id': 21304387}, {'photo_id': 1343164476, 'portfolio_id': 21304387}, {'photo_id': 1343164465, 'portfolio_id': 21304387}, {'photo_id': 1343164410, 'portfolio_id': 21304387}, {'photo_id': 1343164405, 'portfolio_id': 21304387}, {'photo_id': 1343164400, 'portfolio_id': 21304387}, {'photo_id': 1343164396, 'portfolio_id': 21304387}, {'photo_id': 1343164281, 'portfolio_id': 21304387}, {'photo_id': 1343164261, 'portfolio_id': 21304387}, {'photo_id': 1343164245, 'portfolio_id': 21304387}, {'photo_id': 1343164241, 'portfolio_id': 21304387}, {'photo_id': 1343164237, 'portfolio_id': 21304387}, {'photo_id': 1343164233, 'portfolio_id': 21304387}, {'photo_id': 1343164103, 'portfolio_id': 21304387}, {'photo_id': 1343164099, 'portfolio_id': 21304387}, {'photo_id': 1343164095, 'portfolio_id': 21304387}, {'photo_id': 1343164093, 'portfolio_id': 21304387}, {'photo_id': 1343164090, 'portfolio_id': 21304387}, {'photo_id': 1343164059, 'portfolio_id': 21304387}, {'photo_id': 1343164057, 'portfolio_id': 21304387}, {'photo_id': 1343164054, 'portfolio_id': 21304387}, {'photo_id': 1343164049, 'portfolio_id': 21304387}, {'photo_id': 1343164044, 'portfolio_id': 21304387}, {'photo_id': 1343164012, 'portfolio_id': 21304387}, {'photo_id': 1343164008, 'portfolio_id': 21304387}, {'photo_id': 1343164006, 'portfolio_id': 21304387}, {'photo_id': 1343164001, 'portfolio_id': 21304387}, {'photo_id': 1343163996, 'portfolio_id': 21304387}, {'photo_id': 1343163993, 'portfolio_id': 21304387}, {'photo_id': 1343163909, 'portfolio_id': 21304387}, {'photo_id': 1343163903, 'portfolio_id': 21304387}, {'photo_id': 1343163650, 'portfolio_id': 21304387}, {'photo_id': 1343163647, 'portfolio_id': 21304387}, {'photo_id': 1343163645, 'portfolio_id': 21304387}, {'photo_id': 1343163640, 'portfolio_id': 21304387}, {'photo_id': 1343163636, 'portfolio_id': 21304387}, {'photo_id': 1343163151, 'portfolio_id': 21304387}, {'photo_id': 1343163147, 'portfolio_id': 21304387}, {'photo_id': 1343162433, 'portfolio_id': 21304387}, {'photo_id': 1343162404, 'portfolio_id': 21304387}, {'photo_id': 1343162386, 'portfolio_id': 21304387}, {'photo_id': 1343162322, 'portfolio_id': 21304387}, {'photo_id': 1343162306, 'portfolio_id': 21304387}, {'photo_id': 1343162274, 'portfolio_id': 21304387}, {'photo_id': 1343162153, 'portfolio_id': 21304387}, {'photo_id': 1343162149, 'portfolio_id': 21304387}, {'photo_id': 1343162144, 'portfolio_id': 21304387}, {'photo_id': 1343162126, 'portfolio_id': 21304387}, {'photo_id': 1343162113, 'portfolio_id': 21304387}, {'photo_id': 1343162105, 'portfolio_id': 21304387}, {'photo_id': 1343162029, 'portfolio_id': 21304387}, {'photo_id': 1343162025, 'portfolio_id': 21304387}, {'photo_id': 1343162015, 'portfolio_id': 21304387}, {'photo_id': 1343161986, 'portfolio_id': 21304387}, {'photo_id': 1343161976, 'portfolio_id': 21304387}, {'photo_id': 1343161599, 'portfolio_id': 21304387}, {'photo_id': 1343161590, 'portfolio_id': 21304387}, {'photo_id': 1343161577, 'portfolio_id': 21304387}, {'photo_id': 1343161504, 'portfolio_id': 21304387}, {'photo_id': 1343161127, 'portfolio_id': 21304387}, {'photo_id': 1343161123, 'portfolio_id': 21304387}, {'photo_id': 1343161118, 'portfolio_id': 21304387}, {'photo_id': 1343161113, 'portfolio_id': 21304387}, {'photo_id': 1343161109, 'portfolio_id': 21304387}] map_portfolio_id_photo_id: {21304387: [1343164506, 1343164497, 1343164485, 1343164481, 1343164476, 1343164465, 1343164410, 1343164405, 1343164400, 1343164396, 1343164281, 1343164261, 1343164245, 1343164241, 1343164237, 1343164233, 1343164103, 1343164099, 1343164095, 1343164093, 1343164090, 1343164059, 1343164057, 1343164054, 1343164049, 1343164044, 1343164012, 1343164008, 1343164006, 1343164001, 1343163996, 1343163993, 1343163909, 1343163903, 1343163650, 1343163647, 1343163645, 1343163640, 1343163636, 1343163151, 1343163147, 1343162433, 1343162404, 1343162386, 1343162322, 1343162306, 1343162274, 1343162153, 1343162149, 1343162144, 1343162126, 1343162113, 1343162105, 1343162029, 1343162025, 1343162015, 1343161986, 1343161976, 1343161599, 1343161590, 1343161577, 1343161504, 1343161127, 1343161123, 1343161118, 1343161113, 1343161109]} ##### 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.015811443328857422 #### 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 Mar 11 19:30:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21304387) 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 : 21304387 get user id for portfolio 21304387 get sub ptf for main ptf 21304387, type 3726 and hashtags ['environnement', 'autre_refus', 'metal', 'kraft', 'cartonnette', 'plastique', 'mal_croppe', 'Carton_brun', 'papier', 'flou', 'Teint_Dans_La_Masse', 'Carton_gris'] 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`=21304387 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','autre_refus','metal','kraft','cartonnette','plastique','mal_croppe','Carton_brun','papier','flou','Teint_Dans_La_Masse','Carton_gris')) 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`=21304387 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','autre_refus','metal','kraft','cartonnette','plastique','mal_croppe','Carton_brun','papier','flou','Teint_Dans_La_Masse','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 21304387, 'sub_port_id': 21304457, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888622, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 19, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 21304387, 'sub_port_id': 21304458, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888623, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 19, 58)}, 'autre_refus': {'main_port_id': 21304387, 'sub_port_id': 21304459, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888624, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 19, 58)}, 'plastique': {'main_port_id': 21304387, 'sub_port_id': 21304460, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888625, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 19, 58)}, 'metal': {'main_port_id': 21304387, 'sub_port_id': 21304461, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888626, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 19, 58)}, 'Carton_gris': {'main_port_id': 21304387, 'sub_port_id': 21304462, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888627, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 19, 58)}, 'environnement': {'main_port_id': 21304387, 'sub_port_id': 21304463, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888628, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 19, 58)}, 'Carton_brun': {'main_port_id': 21304387, 'sub_port_id': 21304464, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888629, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 19, 58)}, 'kraft': {'main_port_id': 21304387, 'sub_port_id': 21304465, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888630, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 19, 58)}, 'papier': {'main_port_id': 21304387, 'sub_port_id': 21304466, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888631, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 19, 58)}, 'flou': {'main_port_id': 21304387, 'sub_port_id': 21304467, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888632, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 19, 58)}, 'cartonnette': {'main_port_id': 21304387, 'sub_port_id': 21304468, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888633, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 19, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21304457 , 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=21304387 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 (21304457) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21304387) result : ((1343161109,), (1343161113,), (1343161118,), (1343161123,), (1343161127,), (1343161504,), (1343161577,), (1343161590,), (1343161599,), (1343161976,), (1343161986,), (1343162015,), (1343162025,), (1343162029,), (1343162105,), (1343162113,), (1343162126,), (1343162144,), (1343162149,), (1343162153,), (1343162274,), (1343162306,), (1343162322,), (1343162386,), (1343162404,), (1343162433,), (1343163147,), (1343163151,), (1343163636,), (1343163640,), (1343163645,), (1343163647,), (1343163650,), (1343163903,), (1343163909,), (1343163993,), (1343163996,), (1343164001,), (1343164006,), (1343164008,), (1343164012,), (1343164044,), (1343164049,), (1343164054,), (1343164057,), (1343164059,), (1343164090,), (1343164093,), (1343164095,), (1343164099,), (1343164103,), (1343164233,), (1343164237,), (1343164241,), (1343164245,), (1343164261,), (1343164281,), (1343164396,), (1343164400,), (1343164405,), (1343164410,), (1343164465,), (1343164476,), (1343164481,), (1343164485,), (1343164497,), (1343164506,)) 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 (1343164400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21304458 , 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=21304387 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 (21304458) result : ((1343162169,), (1343162170,), (1343162403,), (1343162411,), (1343163756,), (1343163759,), (1343163770,), (1343164428,), (1343164463,), (1343164483,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21304387) result : ((1343161109,), (1343161113,), (1343161118,), (1343161123,), (1343161127,), (1343161504,), (1343161577,), (1343161590,), (1343161599,), (1343161976,), (1343161986,), (1343162015,), (1343162025,), (1343162029,), (1343162105,), (1343162113,), (1343162126,), (1343162144,), (1343162149,), (1343162153,), (1343162274,), (1343162306,), (1343162322,), (1343162386,), (1343162404,), (1343162433,), (1343163147,), (1343163151,), (1343163636,), (1343163640,), (1343163645,), (1343163647,), (1343163650,), (1343163903,), (1343163909,), (1343163993,), (1343163996,), (1343164001,), (1343164006,), (1343164008,), (1343164012,), (1343164044,), (1343164049,), (1343164054,), (1343164057,), (1343164059,), (1343164090,), (1343164093,), (1343164095,), (1343164099,), (1343164103,), (1343164233,), (1343164237,), (1343164241,), (1343164245,), (1343164261,), (1343164281,), (1343164396,), (1343164400,), (1343164405,), (1343164410,), (1343164465,), (1343164476,), (1343164481,), (1343164485,), (1343164497,), (1343164506,)) 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 (1343164400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21304459 , 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=21304387 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 (21304459) result : ((1343162173,), (1343162174,), (1343162176,), (1343162400,), (1343162412,), (1343162506,), (1343162508,), (1343162510,), (1343162513,), (1343163738,), (1343163739,), (1343163740,), (1343163741,), (1343163873,), (1343163885,), (1343163892,), (1343163893,), (1343164429,), (1343164430,), (1343164431,), (1343164432,), (1343164452,), (1343164466,), (1343164467,), (1343164469,), (1343164470,), (1343164487,), (1343164488,), (1343164489,), (1343164490,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21304387) result : ((1343161109,), (1343161113,), (1343161118,), (1343161123,), (1343161127,), (1343161504,), (1343161577,), (1343161590,), (1343161599,), (1343161976,), (1343161986,), (1343162015,), (1343162025,), (1343162029,), (1343162105,), (1343162113,), (1343162126,), (1343162144,), (1343162149,), (1343162153,), (1343162274,), (1343162306,), (1343162322,), (1343162386,), (1343162404,), (1343162433,), (1343163147,), (1343163151,), (1343163636,), (1343163640,), (1343163645,), (1343163647,), (1343163650,), (1343163903,), (1343163909,), (1343163993,), (1343163996,), (1343164001,), (1343164006,), (1343164008,), (1343164012,), (1343164044,), (1343164049,), (1343164054,), (1343164057,), (1343164059,), (1343164090,), (1343164093,), (1343164095,), (1343164099,), (1343164103,), (1343164233,), (1343164237,), (1343164241,), (1343164245,), (1343164261,), (1343164281,), (1343164396,), (1343164400,), (1343164405,), (1343164410,), (1343164465,), (1343164476,), (1343164481,), (1343164485,), (1343164497,), (1343164506,)) 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 (1343164400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21304460 , 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=21304387 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 (21304460) result : ((1343162610,), (1343163749,), (1343163904,), (1343163905,), (1343164457,), (1343164474,), (1343164475,), (1343164496,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21304387) result : ((1343161109,), (1343161113,), (1343161118,), (1343161123,), (1343161127,), (1343161504,), (1343161577,), (1343161590,), (1343161599,), (1343161976,), (1343161986,), (1343162015,), (1343162025,), (1343162029,), (1343162105,), (1343162113,), (1343162126,), (1343162144,), (1343162149,), (1343162153,), (1343162274,), (1343162306,), (1343162322,), (1343162386,), (1343162404,), (1343162433,), (1343163147,), (1343163151,), (1343163636,), (1343163640,), (1343163645,), (1343163647,), (1343163650,), (1343163903,), (1343163909,), (1343163993,), (1343163996,), (1343164001,), (1343164006,), (1343164008,), (1343164012,), (1343164044,), (1343164049,), (1343164054,), (1343164057,), (1343164059,), (1343164090,), (1343164093,), (1343164095,), (1343164099,), (1343164103,), (1343164233,), (1343164237,), (1343164241,), (1343164245,), (1343164261,), (1343164281,), (1343164396,), (1343164400,), (1343164405,), (1343164410,), (1343164465,), (1343164476,), (1343164481,), (1343164485,), (1343164497,), (1343164506,)) 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 (1343164400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21304461 , 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=21304387 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 (21304461) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21304387) result : ((1343161109,), (1343161113,), (1343161118,), (1343161123,), (1343161127,), (1343161504,), (1343161577,), (1343161590,), (1343161599,), (1343161976,), (1343161986,), (1343162015,), (1343162025,), (1343162029,), (1343162105,), (1343162113,), (1343162126,), (1343162144,), (1343162149,), (1343162153,), (1343162274,), (1343162306,), (1343162322,), (1343162386,), (1343162404,), (1343162433,), (1343163147,), (1343163151,), (1343163636,), (1343163640,), (1343163645,), (1343163647,), (1343163650,), (1343163903,), (1343163909,), (1343163993,), (1343163996,), (1343164001,), (1343164006,), (1343164008,), (1343164012,), (1343164044,), (1343164049,), (1343164054,), (1343164057,), (1343164059,), (1343164090,), (1343164093,), (1343164095,), (1343164099,), (1343164103,), (1343164233,), (1343164237,), (1343164241,), (1343164245,), (1343164261,), (1343164281,), (1343164396,), (1343164400,), (1343164405,), (1343164410,), (1343164465,), (1343164476,), (1343164481,), (1343164485,), (1343164497,), (1343164506,)) 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 (1343164400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21304462 , 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=21304387 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 (21304462) result : ((1343162184,), (1343162185,), (1343162547,), (1343163745,), (1343163746,), (1343163747,), (1343163899,), (1343163900,), (1343164471,), (1343164491,), (1343164492,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21304387) result : ((1343161109,), (1343161113,), (1343161118,), (1343161123,), (1343161127,), (1343161504,), (1343161577,), (1343161590,), (1343161599,), (1343161976,), (1343161986,), (1343162015,), (1343162025,), (1343162029,), (1343162105,), (1343162113,), (1343162126,), (1343162144,), (1343162149,), (1343162153,), (1343162274,), (1343162306,), (1343162322,), (1343162386,), (1343162404,), (1343162433,), (1343163147,), (1343163151,), (1343163636,), (1343163640,), (1343163645,), (1343163647,), (1343163650,), (1343163903,), (1343163909,), (1343163993,), (1343163996,), (1343164001,), (1343164006,), (1343164008,), (1343164012,), (1343164044,), (1343164049,), (1343164054,), (1343164057,), (1343164059,), (1343164090,), (1343164093,), (1343164095,), (1343164099,), (1343164103,), (1343164233,), (1343164237,), (1343164241,), (1343164245,), (1343164261,), (1343164281,), (1343164396,), (1343164400,), (1343164405,), (1343164410,), (1343164465,), (1343164476,), (1343164481,), (1343164485,), (1343164497,), (1343164506,)) 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 (1343164400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21304463 , 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=21304387 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 (21304463) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21304387) result : ((1343161109,), (1343161113,), (1343161118,), (1343161123,), (1343161127,), (1343161504,), (1343161577,), (1343161590,), (1343161599,), (1343161976,), (1343161986,), (1343162015,), (1343162025,), (1343162029,), (1343162105,), (1343162113,), (1343162126,), (1343162144,), (1343162149,), (1343162153,), (1343162274,), (1343162306,), (1343162322,), (1343162386,), (1343162404,), (1343162433,), (1343163147,), (1343163151,), (1343163636,), (1343163640,), (1343163645,), (1343163647,), (1343163650,), (1343163903,), (1343163909,), (1343163993,), (1343163996,), (1343164001,), (1343164006,), (1343164008,), (1343164012,), (1343164044,), (1343164049,), (1343164054,), (1343164057,), (1343164059,), (1343164090,), (1343164093,), (1343164095,), (1343164099,), (1343164103,), (1343164233,), (1343164237,), (1343164241,), (1343164245,), (1343164261,), (1343164281,), (1343164396,), (1343164400,), (1343164405,), (1343164410,), (1343164465,), (1343164476,), (1343164481,), (1343164485,), (1343164497,), (1343164506,)) 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 (1343164400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21304464 , 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=21304387 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 (21304464) result : ((1343162449,), (1343162566,), (1343162567,), (1343162569,), (1343164063,), (1343164455,), (1343164495,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21304387) result : ((1343161109,), (1343161113,), (1343161118,), (1343161123,), (1343161127,), (1343161504,), (1343161577,), (1343161590,), (1343161599,), (1343161976,), (1343161986,), (1343162015,), (1343162025,), (1343162029,), (1343162105,), (1343162113,), (1343162126,), (1343162144,), (1343162149,), (1343162153,), (1343162274,), (1343162306,), (1343162322,), (1343162386,), (1343162404,), (1343162433,), (1343163147,), (1343163151,), (1343163636,), (1343163640,), (1343163645,), (1343163647,), (1343163650,), (1343163903,), (1343163909,), (1343163993,), (1343163996,), (1343164001,), (1343164006,), (1343164008,), (1343164012,), (1343164044,), (1343164049,), (1343164054,), (1343164057,), (1343164059,), (1343164090,), (1343164093,), (1343164095,), (1343164099,), (1343164103,), (1343164233,), (1343164237,), (1343164241,), (1343164245,), (1343164261,), (1343164281,), (1343164396,), (1343164400,), (1343164405,), (1343164410,), (1343164465,), (1343164476,), (1343164481,), (1343164485,), (1343164497,), (1343164506,)) 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 (1343164400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21304465 , 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=21304387 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 (21304465) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21304387) result : ((1343161109,), (1343161113,), (1343161118,), (1343161123,), (1343161127,), (1343161504,), (1343161577,), (1343161590,), (1343161599,), (1343161976,), (1343161986,), (1343162015,), (1343162025,), (1343162029,), (1343162105,), (1343162113,), (1343162126,), (1343162144,), (1343162149,), (1343162153,), (1343162274,), (1343162306,), (1343162322,), (1343162386,), (1343162404,), (1343162433,), (1343163147,), (1343163151,), (1343163636,), (1343163640,), (1343163645,), (1343163647,), (1343163650,), (1343163903,), (1343163909,), (1343163993,), (1343163996,), (1343164001,), (1343164006,), (1343164008,), (1343164012,), (1343164044,), (1343164049,), (1343164054,), (1343164057,), (1343164059,), (1343164090,), (1343164093,), (1343164095,), (1343164099,), (1343164103,), (1343164233,), (1343164237,), (1343164241,), (1343164245,), (1343164261,), (1343164281,), (1343164396,), (1343164400,), (1343164405,), (1343164410,), (1343164465,), (1343164476,), (1343164481,), (1343164485,), (1343164497,), (1343164506,)) 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 (1343164400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21304466 , 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=21304387 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 (21304466) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21304387) result : ((1343161109,), (1343161113,), (1343161118,), (1343161123,), (1343161127,), (1343161504,), (1343161577,), (1343161590,), (1343161599,), (1343161976,), (1343161986,), (1343162015,), (1343162025,), (1343162029,), (1343162105,), (1343162113,), (1343162126,), (1343162144,), (1343162149,), (1343162153,), (1343162274,), (1343162306,), (1343162322,), (1343162386,), (1343162404,), (1343162433,), (1343163147,), (1343163151,), (1343163636,), (1343163640,), (1343163645,), (1343163647,), (1343163650,), (1343163903,), (1343163909,), (1343163993,), (1343163996,), (1343164001,), (1343164006,), (1343164008,), (1343164012,), (1343164044,), (1343164049,), (1343164054,), (1343164057,), (1343164059,), (1343164090,), (1343164093,), (1343164095,), (1343164099,), (1343164103,), (1343164233,), (1343164237,), (1343164241,), (1343164245,), (1343164261,), (1343164281,), (1343164396,), (1343164400,), (1343164405,), (1343164410,), (1343164465,), (1343164476,), (1343164481,), (1343164485,), (1343164497,), (1343164506,)) 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 (1343164400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21304467 , 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=21304387 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 (21304467) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21304387) result : ((1343161109,), (1343161113,), (1343161118,), (1343161123,), (1343161127,), (1343161504,), (1343161577,), (1343161590,), (1343161599,), (1343161976,), (1343161986,), (1343162015,), (1343162025,), (1343162029,), (1343162105,), (1343162113,), (1343162126,), (1343162144,), (1343162149,), (1343162153,), (1343162274,), (1343162306,), (1343162322,), (1343162386,), (1343162404,), (1343162433,), (1343163147,), (1343163151,), (1343163636,), (1343163640,), (1343163645,), (1343163647,), (1343163650,), (1343163903,), (1343163909,), (1343163993,), (1343163996,), (1343164001,), (1343164006,), (1343164008,), (1343164012,), (1343164044,), (1343164049,), (1343164054,), (1343164057,), (1343164059,), (1343164090,), (1343164093,), (1343164095,), (1343164099,), (1343164103,), (1343164233,), (1343164237,), (1343164241,), (1343164245,), (1343164261,), (1343164281,), (1343164396,), (1343164400,), (1343164405,), (1343164410,), (1343164465,), (1343164476,), (1343164481,), (1343164485,), (1343164497,), (1343164506,)) 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 (1343164400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21304468 , 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=21304387 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 (21304468) result : ((1343162192,), (1343162193,), (1343162426,), (1343163748,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21304387) result : ((1343161109,), (1343161113,), (1343161118,), (1343161123,), (1343161127,), (1343161504,), (1343161577,), (1343161590,), (1343161599,), (1343161976,), (1343161986,), (1343162015,), (1343162025,), (1343162029,), (1343162105,), (1343162113,), (1343162126,), (1343162144,), (1343162149,), (1343162153,), (1343162274,), (1343162306,), (1343162322,), (1343162386,), (1343162404,), (1343162433,), (1343163147,), (1343163151,), (1343163636,), (1343163640,), (1343163645,), (1343163647,), (1343163650,), (1343163903,), (1343163909,), (1343163993,), (1343163996,), (1343164001,), (1343164006,), (1343164008,), (1343164012,), (1343164044,), (1343164049,), (1343164054,), (1343164057,), (1343164059,), (1343164090,), (1343164093,), (1343164095,), (1343164099,), (1343164103,), (1343164233,), (1343164237,), (1343164241,), (1343164245,), (1343164261,), (1343164281,), (1343164396,), (1343164400,), (1343164405,), (1343164410,), (1343164465,), (1343164476,), (1343164481,), (1343164485,), (1343164497,), (1343164506,)) 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 (1343164400) and cspi.crop_hashtag_id = chi.id; 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`=21304387 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','autre_refus','metal','kraft','cartonnette','plastique','mal_croppe','Carton_brun','papier','flou','Teint_Dans_La_Masse','Carton_gris')) 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`=21304387 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','autre_refus','metal','kraft','cartonnette','plastique','mal_croppe','Carton_brun','papier','flou','Teint_Dans_La_Masse','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 21304387, 'sub_port_id': 21304469, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888634, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 20, 2)}, 'Teint_Dans_La_Masse': {'main_port_id': 21304387, 'sub_port_id': 21304470, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888635, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 20, 2)}, 'autre_refus': {'main_port_id': 21304387, 'sub_port_id': 21304471, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888636, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 20, 2)}, 'plastique': {'main_port_id': 21304387, 'sub_port_id': 21304472, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888637, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 20, 2)}, 'metal': {'main_port_id': 21304387, 'sub_port_id': 21304473, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888638, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 20, 2)}, 'Carton_gris': {'main_port_id': 21304387, 'sub_port_id': 21304474, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888639, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 20, 2)}, 'environnement': {'main_port_id': 21304387, 'sub_port_id': 21304475, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888640, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 20, 2)}, 'Carton_brun': {'main_port_id': 21304387, 'sub_port_id': 21304476, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888641, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 20, 2)}, 'kraft': {'main_port_id': 21304387, 'sub_port_id': 21304477, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888642, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 20, 2)}, 'papier': {'main_port_id': 21304387, 'sub_port_id': 21304478, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888643, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 20, 2)}, 'flou': {'main_port_id': 21304387, 'sub_port_id': 21304479, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888644, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 20, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 20, 2)}, 'cartonnette': {'main_port_id': 21304387, 'sub_port_id': 21304480, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13888645, 'last_updated_at': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 19, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 19, 20, 2)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21304469,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21304457 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21304470,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21304458 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21304471,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21304459 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21304472,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21304460 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21304473,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21304461 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21304474,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21304462 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21304475,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21304463 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21304476,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21304464 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21304477,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21304465 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21304478,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21304466 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21304479,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21304467 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21304480,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21304468 lien utilise dans velours : https://www.fotonower.com/velours/21304469,21304470,21304471,21304472,21304473,21304474,21304475,21304476,21304477,21304478,21304479,21304480?tags=mal_croppe,Teint_Dans_La_Masse,autre_refus,plastique,metal,Carton_gris,environnement,Carton_brun,kraft,papier,flou,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21304387]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1343164506, 1343164497, 1343164485, 1343164481, 1343164476, 1343164465, 1343164410, 1343164405, 1343164400, 1343164396, 1343164281, 1343164261, 1343164245, 1343164241, 1343164237, 1343164233] map_info['map_portfolio_photo'] : {21304387: [1343164506, 1343164497, 1343164485, 1343164481, 1343164476, 1343164465, 1343164410, 1343164405, 1343164400, 1343164396, 1343164281, 1343164261, 1343164245, 1343164241, 1343164237, 1343164233, 1343164103, 1343164099, 1343164095, 1343164093, 1343164090, 1343164059, 1343164057, 1343164054, 1343164049, 1343164044, 1343164012, 1343164008, 1343164006, 1343164001, 1343163996, 1343163993, 1343163909, 1343163903, 1343163650, 1343163647, 1343163645, 1343163640, 1343163636, 1343163151, 1343163147, 1343162433, 1343162404, 1343162386, 1343162322, 1343162306, 1343162274, 1343162153, 1343162149, 1343162144, 1343162126, 1343162113, 1343162105, 1343162029, 1343162025, 1343162015, 1343161986, 1343161976, 1343161599, 1343161590, 1343161577, 1343161504, 1343161127, 1343161123, 1343161118, 1343161113, 1343161109]} final : False mtd_id 4302 list_pids : [1343164506, 1343164497, 1343164485, 1343164481, 1343164476, 1343164465, 1343164410, 1343164405, 1343164400, 1343164396, 1343164281, 1343164261, 1343164245, 1343164241, 1343164237, 1343164233] Looping around the photos to save general results len do output : 1 /21304387. 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, '2659294') ('4302', '21304387', '1343164506', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164497', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164485', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164481', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164476', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164465', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164410', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164405', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164400', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164396', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164281', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164261', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164245', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164241', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164237', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164233', None, None, None, None, None, '2659294') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 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, '21304387', "{'mal_croppe': 21304457, 'Teint_Dans_La_Masse': 21304458, 'autre_refus': 21304459, 'plastique': 21304460, 'metal': 21304461, 'Carton_gris': 21304462, 'environnement': 21304463, 'Carton_brun': 21304464, 'kraft': 21304465, 'papier': 21304466, 'flou': 21304467, 'cartonnette': 21304468}", None, None, None, None, '2659294'), ('4302', '21304387', '1343164506', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164497', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164485', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164481', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164476', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164465', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164410', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164405', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164400', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164396', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164281', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164261', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164245', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164241', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164237', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164233', None, None, None, None, None, '2659294')] time used for this insertion : 0.014542341232299805 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.913161039352417 time spend to save output : 0.015002250671386719 total time spend for step 1 : 0.9281632900238037 step2:final Tue Mar 11 19:30:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (21304387) 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 21304387 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1343161127,1343161123,1343161118,1343161113,1343161109,1343161599,1343161590,1343161577,1343161504,1343162029,1343162025,1343162015,1343161986,1343161976,1343162153,1343162149,1343162144,1343162126,1343162113,1343162105,1343162433,1343162404,1343162386,1343162322,1343162306,1343162274,1343163151,1343163147,1343163650,1343163647,1343163645,1343163640,1343163636,1343163909,1343163903,1343164012,1343164008,1343164006,1343164001,1343163996,1343163993,1343164059,1343164057,1343164054,1343164049,1343164044,1343164103,1343164099,1343164095,1343164093,1343164090,1343164281,1343164261,1343164245,1343164241,1343164237,1343164233,1343164410,1343164405,1343164400,1343164396,1343164506,1343164497,1343164485,1343164481,1343164476,1343164465); 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([21304387]) Inside saveOutput : final : False verbose : True original output for save of step final : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',)} new output for save of step final : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',)} [1343164506, 1343164497, 1343164485, 1343164481, 1343164476, 1343164465, 1343164410, 1343164405, 1343164400, 1343164396, 1343164281, 1343164261, 1343164245, 1343164241, 1343164237, 1343164233] map_info['map_portfolio_photo'] : {21304387: [1343164506, 1343164497, 1343164485, 1343164481, 1343164476, 1343164465, 1343164410, 1343164405, 1343164400, 1343164396, 1343164281, 1343164261, 1343164245, 1343164241, 1343164237, 1343164233, 1343164103, 1343164099, 1343164095, 1343164093, 1343164090, 1343164059, 1343164057, 1343164054, 1343164049, 1343164044, 1343164012, 1343164008, 1343164006, 1343164001, 1343163996, 1343163993, 1343163909, 1343163903, 1343163650, 1343163647, 1343163645, 1343163640, 1343163636, 1343163151, 1343163147, 1343162433, 1343162404, 1343162386, 1343162322, 1343162306, 1343162274, 1343162153, 1343162149, 1343162144, 1343162126, 1343162113, 1343162105, 1343162029, 1343162025, 1343162015, 1343161986, 1343161976, 1343161599, 1343161590, 1343161577, 1343161504, 1343161127, 1343161123, 1343161118, 1343161113, 1343161109]} final : False mtd_id 4302 list_pids : [1343164506, 1343164497, 1343164485, 1343164481, 1343164476, 1343164465, 1343164410, 1343164405, 1343164400, 1343164396, 1343164281, 1343164261, 1343164245, 1343164241, 1343164237, 1343164233] Looping around the photos to save general results len do output : 16 /1343164506.Didn't retrieve data . /1343164497.Didn't retrieve data . /1343164485.Didn't retrieve data . /1343164481.Didn't retrieve data . /1343164476.Didn't retrieve data . /1343164465.Didn't retrieve data . /1343164410.Didn't retrieve data . /1343164405.Didn't retrieve data . /1343164400.Didn't retrieve data . /1343164396.Didn't retrieve data . /1343164281.Didn't retrieve data . /1343164261.Didn't retrieve data . /1343164245.Didn't retrieve data . /1343164241.Didn't retrieve data . /1343164237.Didn't retrieve data . /1343164233.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, '2659294') ('4302', '21304387', '1343164506', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164497', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164485', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164481', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164476', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164465', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164410', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164405', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164400', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164396', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164281', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164261', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164245', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164241', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164237', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164233', None, None, None, None, None, '2659294') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 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', '21304387', '1343164506', '0.04786195243582283', None, None, None, None, '2659294'), ('4302', '21304387', '1343164497', '0.04786195243582283', None, None, None, None, '2659294'), ('4302', '21304387', '1343164485', '0.04786195243582283', None, None, None, None, '2659294'), ('4302', '21304387', '1343164481', '0.04786195243582283', None, None, None, None, '2659294'), ('4302', '21304387', '1343164476', '0.04786195243582283', None, None, None, None, '2659294'), ('4302', '21304387', '1343164465', '0.04786195243582283', None, None, None, None, '2659294'), ('4302', '21304387', '1343164410', '0.04786195243582283', None, None, None, None, '2659294'), ('4302', '21304387', '1343164405', '0.04786195243582283', None, None, None, None, '2659294'), ('4302', '21304387', '1343164400', '0.04786195243582283', None, None, None, None, '2659294'), ('4302', '21304387', '1343164396', '0.04786195243582283', None, None, None, None, '2659294'), ('4302', '21304387', '1343164281', '0.04786195243582283', None, None, None, None, '2659294'), ('4302', '21304387', '1343164261', '0.04786195243582283', None, None, None, None, '2659294'), ('4302', '21304387', '1343164245', '0.04786195243582283', None, None, None, None, '2659294'), ('4302', '21304387', '1343164241', '0.04786195243582283', None, None, None, None, '2659294'), ('4302', '21304387', '1343164237', '0.04786195243582283', None, None, None, None, '2659294'), ('4302', '21304387', '1343164233', '0.04786195243582283', None, None, None, None, '2659294')] time used for this insertion : 0.01620030403137207 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07393980026245117 time spend to save output : 0.01699066162109375 total time spend for step 2 : 0.09093046188354492 step3:velours_tree Tue Mar 11 19:31:00 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 : {21304387: [{'mal_croppe': 21304457, 'Teint_Dans_La_Masse': 21304458, 'autre_refus': 21304459, 'plastique': 21304460, 'metal': 21304461, 'Carton_gris': 21304462, 'environnement': 21304463, 'Carton_brun': 21304464, 'kraft': 21304465, 'papier': 21304466, 'flou': 21304467, 'cartonnette': 21304468}]} input_args_next_step : {21304387: ()} output_args : {21304387: [{'mal_croppe': 21304457, 'Teint_Dans_La_Masse': 21304458, 'autre_refus': 21304459, 'plastique': 21304460, 'metal': 21304461, 'Carton_gris': 21304462, 'environnement': 21304463, 'Carton_brun': 21304464, 'kraft': 21304465, 'papier': 21304466, 'flou': 21304467, 'cartonnette': 21304468}]} args : 21304387 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 : ({'mal_croppe': 21304457, 'Teint_Dans_La_Masse': 21304458, 'autre_refus': 21304459, 'plastique': 21304460, 'metal': 21304461, 'Carton_gris': 21304462, 'environnement': 21304463, 'Carton_brun': 21304464, 'kraft': 21304465, 'papier': 21304466, 'flou': 21304467, 'cartonnette': 21304468},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21304387) 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([21304387]) 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.5274412631988525 time spend to save output : 6.747245788574219e-05 total time spend for step 3 : 0.5275087356567383 step4:send_mail_cod Tue Mar 11 19:31:00 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 : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',)} input_args_next_step : {1343164506: ()} output_args : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',)} args : 1343164506 depend.output_id : 0 input_args_next_step : {1343164506: ('0.04786195243582283',), 1343164497: ()} output_args : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',)} args : 1343164497 depend.output_id : 0 input_args_next_step : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ()} output_args : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',)} args : 1343164485 depend.output_id : 0 input_args_next_step : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ()} output_args : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',)} args : 1343164481 depend.output_id : 0 input_args_next_step : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ()} output_args : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',)} args : 1343164476 depend.output_id : 0 input_args_next_step : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ()} output_args : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',)} args : 1343164465 depend.output_id : 0 input_args_next_step : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ()} output_args : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',)} args : 1343164410 depend.output_id : 0 input_args_next_step : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ()} output_args : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',)} args : 1343164405 depend.output_id : 0 input_args_next_step : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ()} output_args : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',)} args : 1343164400 depend.output_id : 0 input_args_next_step : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ()} output_args : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',)} args : 1343164396 depend.output_id : 0 input_args_next_step : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ()} output_args : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',)} args : 1343164281 depend.output_id : 0 input_args_next_step : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ()} output_args : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',)} args : 1343164261 depend.output_id : 0 input_args_next_step : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ()} output_args : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',)} args : 1343164245 depend.output_id : 0 input_args_next_step : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ()} output_args : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',)} args : 1343164241 depend.output_id : 0 input_args_next_step : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ()} output_args : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',)} args : 1343164237 depend.output_id : 0 input_args_next_step : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ()} output_args : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',)} args : 1343164233 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 : {21304387: [{'mal_croppe': 21304457, 'Teint_Dans_La_Masse': 21304458, 'autre_refus': 21304459, 'plastique': 21304460, 'metal': 21304461, 'Carton_gris': 21304462, 'environnement': 21304463, 'Carton_brun': 21304464, 'kraft': 21304465, 'papier': 21304466, 'flou': 21304467, 'cartonnette': 21304468}]} input_args_next_step : {1343164506: ('0.04786195243582283',), 1343164497: ('0.04786195243582283',), 1343164485: ('0.04786195243582283',), 1343164481: ('0.04786195243582283',), 1343164476: ('0.04786195243582283',), 1343164465: ('0.04786195243582283',), 1343164410: ('0.04786195243582283',), 1343164405: ('0.04786195243582283',), 1343164400: ('0.04786195243582283',), 1343164396: ('0.04786195243582283',), 1343164281: ('0.04786195243582283',), 1343164261: ('0.04786195243582283',), 1343164245: ('0.04786195243582283',), 1343164241: ('0.04786195243582283',), 1343164237: ('0.04786195243582283',), 1343164233: ('0.04786195243582283',), 21304387: ()} output_args : {21304387: [{'mal_croppe': 21304457, 'Teint_Dans_La_Masse': 21304458, 'autre_refus': 21304459, 'plastique': 21304460, 'metal': 21304461, 'Carton_gris': 21304462, 'environnement': 21304463, 'Carton_brun': 21304464, 'kraft': 21304465, 'papier': 21304466, 'flou': 21304467, 'cartonnette': 21304468}]} args : 21304387 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 :17, first value : ('0.04786195243582283',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21304387) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1343164506,1343164497,1343164485,1343164481,1343164476,1343164465,1343164410,1343164405,1343164400,1343164396,1343164281,1343164261,1343164245,1343164241,1343164237,1343164233) Found this number of photos: 16 ##### Call download_photos : nb_thread : 5 begin to download photo : 1343164233 begin to download photo : 1343164261 begin to download photo : 1343164405 begin to download photo : 1343164481 download finish for photo 1343164405 begin to download photo : 1343164410 download finish for photo 1343164233 begin to download photo : 1343164237 download finish for photo 1343164261 begin to download photo : 1343164281 download finish for photo 1343164481 begin to download photo : 1343164485 download finish for photo 1343164410 begin to download photo : 1343164465 download finish for photo 1343164281 begin to download photo : 1343164396 download finish for photo 1343164237 begin to download photo : 1343164241 download finish for photo 1343164485 begin to download photo : 1343164497 download finish for photo 1343164465 begin to download photo : 1343164476 download finish for photo 1343164241 begin to download photo : 1343164245 download finish for photo 1343164396 begin to download photo : 1343164400 download finish for photo 1343164497 begin to download photo : 1343164506 download finish for photo 1343164476 download finish for photo 1343164506 download finish for photo 1343164245 download finish for photo 1343164400 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette213044571741717861/ length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 results_Auto_P21304387_11-03-2025_19_31_01.pdf 21304457 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21304457 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette213044571741717861 21304459 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21304459 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343163892: '1741717344_2334496_1343162126_59781bd26eb647ef83594f5138fa8d7e_rle_crop_3706158580_0.png', 1343164490: '1741717712_1628792_1343163993_c13067b73af3b7195332d708caa980eb_rle_crop_3706165214_0.png', 1343164489: '1741717712_1628792_1343164001_dcc1709aab7a272fa13c1aac40f02ba9_rle_crop_3706165131_0.png', 1343164488: '1741717712_1628792_1343164008_90bc15732ae8ff091fb865382ee644d3_rle_crop_3706164961_0.png', 1343164487: '1741717712_1628792_1343164059_1d88b557a593a2f028dd25f24739f7f0_rle_crop_3706164793_0.png', 1343164470: '1741717706_2338732_1343164044_ee222fdf48488f64ea233e1a167e2ca6_rle_crop_3706165041_0.png', 1343164469: '1741717706_2338732_1343164049_694bbdb998bf1885ccc02ce1510154a6_rle_crop_3706164947_0.png', 1343164467: '1741717706_2338732_1343164054_ed608c3604f77219c577df17689e0af1_rle_crop_3706164804_0.png', 1343164466: '1741717706_2338732_1343164057_2d27634202259341468597c2ff78f1e0_rle_crop_3706164739_0.png', 1343164452: '1741717731_1628927_1343163903_0d1890d2c17a788015b716724fc19593_rle_crop_3706165056_0.png', 1343164432: '1741717705_634298_1343164090_bb98fe2ac49f17fb870f641d25dac447_rle_crop_3706164760_0.png', 1343164431: '1741717705_634298_1343164090_bb98fe2ac49f17fb870f641d25dac447_rle_crop_3706164759_0.png', 1343164430: '1741717705_634298_1343164093_d25ff3e51efd93f9140fa77ebedab17f_rle_crop_3706164681_0.png', 1343164429: '1741717705_634298_1343164095_9ef526a74efb819c5ecd20cbf06b2a57_rle_crop_3706164567_0.png', 1343163893: '1741717344_2334496_1343162105_6558d7d417bd77b1af66fc11eeaa921f_rle_crop_3706158631_0.png', 1343162173: '1741717113_1623518_1343161123_fac881d2056fd8b10b09d08bc893d227_rle_crop_3706156421_0.png', 1343163885: '1741717344_2334496_1343162433_d62d21d8adfca28bae5d4e9017b9a329_rle_crop_3706158414_0.png', 1343163873: '1741717344_2334496_1343162433_d62d21d8adfca28bae5d4e9017b9a329_rle_crop_3706158408_0.png', 1343163741: '1741717333_1625889_1343162306_da72b72860994495a03e06c4ca9b515c_rle_crop_3706158540_0.png', 1343163740: '1741717333_1625889_1343162322_ca511c32008bffb40cdf01e8561066cc_rle_crop_3706158465_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/586d9f18e1ada42b6197df611b23031b_80780880.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/e896550e37e9b4016c7f3463cba0796e_7383739.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/b9ca8ad8846f5fe1826069914b0895ed_48625147.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/5a83d8afa082f8d9ec04eca83860890c_47526108.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/01d9eb319d63155879ceee5d02808a5a_58816193.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/38c6e097ee315bf0bda06f009e09d263_15919139.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/54c1f821f3ef19a608587066a7f505f6_37960359.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/a702c87a88a856e9344f5aab42a26c22_73279456.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/5d8f422d76b51a701a0a2311c52ad431_42326878.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/2f342146cbc706a3d98ee6ae10d7e73a_42587914.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/242010ced21476b6900745207ada5ae8_82105227.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ef2da40ea6c930142a437c0bae561334_58724886.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/dbdf1ae1f9481d4cb270846654073673_51992365.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/b827ccabe87c45d35e3bf1177a17f27c_66778122.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/654d891d7df50a6ba69263690d3ffad4_15751354.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/dea1b85ccc09f675deae74bd1008eab9_59328795.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/41315a884157010194d741e9dd07e154_77344834.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/f2ab3943fc044ae096084d4a1b6773f8_54026310.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/f4cb965ba8cce404145f85ee6170fb05_72616496.png change filename to text .imagette213044591741717861/ imagette213044591741717861/1741717344_2334496_1343162433_d62d21d8adfca28bae5d4e9017b9a329_rle_crop_3706158414_0.png.png imagette213044591741717861/1741717344_2334496_1343162126_59781bd26eb647ef83594f5138fa8d7e_rle_crop_3706158580_0.png.png imagette213044591741717861/1741717344_2334496_1343162105_6558d7d417bd77b1af66fc11eeaa921f_rle_crop_3706158631_0.png.png imagette213044591741717861/1741717705_634298_1343164090_bb98fe2ac49f17fb870f641d25dac447_rle_crop_3706164759_0.png.png imagette213044591741717861/1741717333_1625889_1343162306_da72b72860994495a03e06c4ca9b515c_rle_crop_3706158540_0.png.png imagette213044591741717861/1741717712_1628792_1343164008_90bc15732ae8ff091fb865382ee644d3_rle_crop_3706164961_0.png.png imagette213044591741717861/1741717731_1628927_1343163903_0d1890d2c17a788015b716724fc19593_rle_crop_3706165056_0.png.png imagette213044591741717861/1741717712_1628792_1343164001_dcc1709aab7a272fa13c1aac40f02ba9_rle_crop_3706165131_0.png.png imagette213044591741717861/1741717344_2334496_1343162433_d62d21d8adfca28bae5d4e9017b9a329_rle_crop_3706158408_0.png.png imagette213044591741717861/1741717712_1628792_1343163993_c13067b73af3b7195332d708caa980eb_rle_crop_3706165214_0.png.png imagette213044591741717861/1741717712_1628792_1343164059_1d88b557a593a2f028dd25f24739f7f0_rle_crop_3706164793_0.png.png imagette213044591741717861/1741717705_634298_1343164093_d25ff3e51efd93f9140fa77ebedab17f_rle_crop_3706164681_0.png.png imagette213044591741717861/1741717706_2338732_1343164054_ed608c3604f77219c577df17689e0af1_rle_crop_3706164804_0.png.png imagette213044591741717861/1741717705_634298_1343164090_bb98fe2ac49f17fb870f641d25dac447_rle_crop_3706164760_0.png.png imagette213044591741717861/1741717333_1625889_1343162322_ca511c32008bffb40cdf01e8561066cc_rle_crop_3706158465_0.png.png imagette213044591741717861/1741717705_634298_1343164095_9ef526a74efb819c5ecd20cbf06b2a57_rle_crop_3706164567_0.png.png imagette213044591741717861/1741717706_2338732_1343164049_694bbdb998bf1885ccc02ce1510154a6_rle_crop_3706164947_0.png.png imagette213044591741717861/1741717706_2338732_1343164044_ee222fdf48488f64ea233e1a167e2ca6_rle_crop_3706165041_0.png.png imagette213044591741717861/1741717113_1623518_1343161123_fac881d2056fd8b10b09d08bc893d227_rle_crop_3706156421_0.png.png imagette213044591741717861/1741717706_2338732_1343164057_2d27634202259341468597c2ff78f1e0_rle_crop_3706164739_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/92892ed5a7be30b4fa715ba121abbd85_22454528.png imagette213044591741717861 21304460 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21304460 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343162610: '1741717212_1624803_1343161590_eb14dfbd586d4e72c2d30524ade2c74f_rle_crop_3706157052_0.png', 1343163749: '1741717333_1625889_1343162386_d35135967a1656ed5daca9c67cb9fdac_rle_crop_3706158424_0.png', 1343163904: '1741717344_2334496_1343162433_d62d21d8adfca28bae5d4e9017b9a329_rle_crop_3706158409_0.png', 1343163905: '1741717344_2334496_1343162105_6558d7d417bd77b1af66fc11eeaa921f_rle_crop_3706158629_0.png', 1343164457: '1741717731_1628927_1343163903_0d1890d2c17a788015b716724fc19593_rle_crop_3706165055_0.png', 1343164474: '1741717706_2338732_1343164054_ed608c3604f77219c577df17689e0af1_rle_crop_3706164805_0.png', 1343164475: '1741717706_2338732_1343164049_694bbdb998bf1885ccc02ce1510154a6_rle_crop_3706164951_0.png', 1343164496: '1741717712_1628792_1343164059_1d88b557a593a2f028dd25f24739f7f0_rle_crop_3706164784_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/9f84e5d92dd1e38e6c00002057aed157_46582805.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/65786e2410a7aeb4c31088cd66affdf4_15957966.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/726f7d573c7753e101251bc8ceb0c432_14841650.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/417779c455f7049dde6557c89b9eb3c6_24085240.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/d9e46135bb64f9619728dcf4891668fa_49848704.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/392b02c78b60a202a0f8cb6df5ca0b52_20550630.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/735dbfb8e14dad18826e6aaa80c77c81_44551602.png change filename to text .imagette213044601741717862/ imagette213044601741717862/1741717731_1628927_1343163903_0d1890d2c17a788015b716724fc19593_rle_crop_3706165055_0.png.png imagette213044601741717862/1741717333_1625889_1343162386_d35135967a1656ed5daca9c67cb9fdac_rle_crop_3706158424_0.png.png imagette213044601741717862/1741717344_2334496_1343162433_d62d21d8adfca28bae5d4e9017b9a329_rle_crop_3706158409_0.png.png imagette213044601741717862/1741717712_1628792_1343164059_1d88b557a593a2f028dd25f24739f7f0_rle_crop_3706164784_0.png.png imagette213044601741717862/1741717212_1624803_1343161590_eb14dfbd586d4e72c2d30524ade2c74f_rle_crop_3706157052_0.png.png imagette213044601741717862/1741717344_2334496_1343162105_6558d7d417bd77b1af66fc11eeaa921f_rle_crop_3706158629_0.png.png imagette213044601741717862/1741717706_2338732_1343164054_ed608c3604f77219c577df17689e0af1_rle_crop_3706164805_0.png.png imagette213044601741717862/1741717706_2338732_1343164049_694bbdb998bf1885ccc02ce1510154a6_rle_crop_3706164951_0.png.png imagette213044611741717862/ imagette213044651741717862/ imagette213044671741717862/ wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/b7481b89e0e45db1e6199aed1e3cac4c_68547966.png imagette213044601741717862 21304461 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21304461 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette213044611741717862 21304465 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21304465 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette213044651741717862 21304467 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21304467 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette213044671741717862 21304468 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21304468 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343162192: '1741717113_1623518_1343161127_01c8d7e3d06899ea1595f16a8f3af259_rle_crop_3706156345_0.png', 1343162193: '1741717113_1623518_1343161113_dd54f24580e718d89b67ba828f1e779f_rle_crop_3706156524_0.png', 1343162426: '1741717225_2331364_1343161986_fc395403dcb9028ae27d37ccab3a6d79_rle_crop_3706157060_0.png', 1343163748: '1741717333_1625889_1343162274_0220225afae2b4fd63e538dc3e20fd53_rle_crop_3706158563_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ab6a2904a5ab8d9e6b8ab19a1d2a9cdc_79113830.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/4ff3653aed8e486427a6221b8c4b83e0_16508096.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/884e239fe524776d9b08a0b98087b631_4287579.png change filename to text .imagette213044681741717862/ imagette213044681741717862/1741717113_1623518_1343161127_01c8d7e3d06899ea1595f16a8f3af259_rle_crop_3706156345_0.png.png imagette213044681741717862/1741717113_1623518_1343161113_dd54f24580e718d89b67ba828f1e779f_rle_crop_3706156524_0.png.png imagette213044681741717862/1741717225_2331364_1343161986_fc395403dcb9028ae27d37ccab3a6d79_rle_crop_3706157060_0.png.png imagette213044681741717862/1741717333_1625889_1343162274_0220225afae2b4fd63e538dc3e20fd53_rle_crop_3706158563_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/a3cbcbb617ac99ccf7aa338445d186f6_77962839.png imagette213044681741717862 21304458 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21304458 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343162169: '1741717113_1623518_1343161127_01c8d7e3d06899ea1595f16a8f3af259_rle_crop_3706156349_0.png', 1343162170: '1741717113_1623518_1343161123_fac881d2056fd8b10b09d08bc893d227_rle_crop_3706156418_0.png', 1343162403: '1741717212_1624803_1343162029_255d6c62cf81c9af843d9e5a8118c1b4_rle_crop_3706156971_0.png', 1343162411: '1741717212_1624803_1343161590_eb14dfbd586d4e72c2d30524ade2c74f_rle_crop_3706157053_0.png', 1343163756: '1741717344_2334496_1343162144_8770320bdf7bdca69fca535c56f39b66_rle_crop_3706158529_0.png', 1343163759: '1741717344_2334496_1343162126_59781bd26eb647ef83594f5138fa8d7e_rle_crop_3706158578_0.png', 1343163770: '1741717344_2334496_1343162126_59781bd26eb647ef83594f5138fa8d7e_rle_crop_3706158579_0.png', 1343164428: '1741717705_634298_1343164093_d25ff3e51efd93f9140fa77ebedab17f_rle_crop_3706164679_0.png', 1343164463: '1741717706_2338732_1343164057_2d27634202259341468597c2ff78f1e0_rle_crop_3706164736_0.png', 1343164483: '1741717712_1628792_1343164001_dcc1709aab7a272fa13c1aac40f02ba9_rle_crop_3706165127_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/990812d942bc6a683d6425d3c8eee698_4388121.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/af63f14759665ae75a6c9f153a10139e_22088470.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/c82a2baac9da9f40abea8cfe1faaf728_10039504.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/a6a9f6b18a52e8ee267e04b4e25b2b70_90164294.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/d63608d133475ff7a6639cc918c176a8_38583823.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/77b32bd8a9b0d50450f9b1f921e589be_49019736.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/3f2439925beb56bcaa063892561abd4c_34849441.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/715fa4617b6698770487aab25637f6a4_48611301.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/0e283697ad13afcb0a5af44546b317e4_66496996.png change filename to text .imagette213044581741717862/ imagette213044581741717862/1741717344_2334496_1343162126_59781bd26eb647ef83594f5138fa8d7e_rle_crop_3706158579_0.png.png imagette213044581741717862/1741717212_1624803_1343162029_255d6c62cf81c9af843d9e5a8118c1b4_rle_crop_3706156971_0.png.png imagette213044581741717862/1741717344_2334496_1343162144_8770320bdf7bdca69fca535c56f39b66_rle_crop_3706158529_0.png.png imagette213044581741717862/1741717712_1628792_1343164001_dcc1709aab7a272fa13c1aac40f02ba9_rle_crop_3706165127_0.png.png imagette213044581741717862/1741717705_634298_1343164093_d25ff3e51efd93f9140fa77ebedab17f_rle_crop_3706164679_0.png.png imagette213044581741717862/1741717113_1623518_1343161123_fac881d2056fd8b10b09d08bc893d227_rle_crop_3706156418_0.png.png imagette213044581741717862/1741717706_2338732_1343164057_2d27634202259341468597c2ff78f1e0_rle_crop_3706164736_0.png.png imagette213044581741717862/1741717344_2334496_1343162126_59781bd26eb647ef83594f5138fa8d7e_rle_crop_3706158578_0.png.png imagette213044581741717862/1741717212_1624803_1343161590_eb14dfbd586d4e72c2d30524ade2c74f_rle_crop_3706157053_0.png.png imagette213044581741717862/1741717113_1623518_1343161127_01c8d7e3d06899ea1595f16a8f3af259_rle_crop_3706156349_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/89528400294c295b7d89274a256f92ed_66066847.png imagette213044581741717862 21304462 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21304462 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343162184: '1741717113_1623518_1343161127_01c8d7e3d06899ea1595f16a8f3af259_rle_crop_3706156351_0.png', 1343162185: '1741717113_1623518_1343161123_fac881d2056fd8b10b09d08bc893d227_rle_crop_3706156417_0.png', 1343162547: '1741717212_1624803_1343161577_ae06bb9c299acc57b1249ecb007b59aa_rle_crop_3706157078_0.png', 1343163745: '1741717333_1625889_1343162386_d35135967a1656ed5daca9c67cb9fdac_rle_crop_3706158423_0.png', 1343163746: '1741717333_1625889_1343162322_ca511c32008bffb40cdf01e8561066cc_rle_crop_3706158457_0.png', 1343163747: '1741717333_1625889_1343162306_da72b72860994495a03e06c4ca9b515c_rle_crop_3706158534_0.png', 1343163899: '1741717344_2334496_1343162149_5eaf08b5e83a171544cf1118f034d0c1_rle_crop_3706158442_0.png', 1343163900: '1741717344_2334496_1343162144_8770320bdf7bdca69fca535c56f39b66_rle_crop_3706158521_0.png', 1343164471: '1741717706_2338732_1343164044_ee222fdf48488f64ea233e1a167e2ca6_rle_crop_3706165039_0.png', 1343164491: '1741717712_1628792_1343163996_b77bc484568cb96babe53afd22f6c646_rle_crop_3706165173_0.png', 1343164492: '1741717712_1628792_1343163993_c13067b73af3b7195332d708caa980eb_rle_crop_3706165210_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/8eecf50742db79f9a23613e8e83fed7e_65605199.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/38c6066128b5fc77067c5fad66a44c96_32566054.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/d7c7423cf0582aa8981b239331bdecd8_22378047.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/c8a034911bf4a7cbddb6fc9241f07127_69497584.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/30b8af2b3aa188c1b0e2b47bada1a102_9702155.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/b37e22448b9b9cee65be181b53acfdbe_55701029.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/a9c9d329ac628fe7c5e4a26f8674fcf8_75269302.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/2cd0ebc15fdeb4a44a7e37c0d6043dd3_2385506.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/adaa5a4f20597da5442c392e55d69a0f_46529962.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/91df0746c0c4c48be5123d38b5212bbb_1744785.png change filename to text .imagette213044621741717863/ imagette213044621741717863/1741717212_1624803_1343161577_ae06bb9c299acc57b1249ecb007b59aa_rle_crop_3706157078_0.png.png imagette213044621741717863/1741717113_1623518_1343161127_01c8d7e3d06899ea1595f16a8f3af259_rle_crop_3706156351_0.png.png imagette213044621741717863/1741717333_1625889_1343162306_da72b72860994495a03e06c4ca9b515c_rle_crop_3706158534_0.png.png imagette213044621741717863/1741717344_2334496_1343162149_5eaf08b5e83a171544cf1118f034d0c1_rle_crop_3706158442_0.png.png imagette213044621741717863/1741717706_2338732_1343164044_ee222fdf48488f64ea233e1a167e2ca6_rle_crop_3706165039_0.png.png imagette213044621741717863/1741717113_1623518_1343161123_fac881d2056fd8b10b09d08bc893d227_rle_crop_3706156417_0.png.png imagette213044621741717863/1741717712_1628792_1343163993_c13067b73af3b7195332d708caa980eb_rle_crop_3706165210_0.png.png imagette213044621741717863/1741717333_1625889_1343162386_d35135967a1656ed5daca9c67cb9fdac_rle_crop_3706158423_0.png.png imagette213044621741717863/1741717344_2334496_1343162144_8770320bdf7bdca69fca535c56f39b66_rle_crop_3706158521_0.png.png imagette213044621741717863/1741717712_1628792_1343163996_b77bc484568cb96babe53afd22f6c646_rle_crop_3706165173_0.png.png imagette213044621741717863/1741717333_1625889_1343162322_ca511c32008bffb40cdf01e8561066cc_rle_crop_3706158457_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/948796b80cf2627b042dfdabe14f6a66_53906331.png imagette213044621741717863 21304464 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21304464 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1343162449: '1741717225_2331364_1343161986_fc395403dcb9028ae27d37ccab3a6d79_rle_crop_3706157062_0.png', 1343162566: '1741717212_1624803_1343161590_eb14dfbd586d4e72c2d30524ade2c74f_rle_crop_3706157045_0.png', 1343162567: '1741717212_1624803_1343161590_eb14dfbd586d4e72c2d30524ade2c74f_rle_crop_3706157046_0.png', 1343162569: '1741717212_1624803_1343161504_4c368813ca28ea0264c3b4c214e92235_rle_crop_3706157086_0.png', 1343164063: '1741717535_1627776_1343163147_09bc582fc6ca805f2a85748ba567cfc2_rle_crop_3706160558_0.png', 1343164455: '1741717731_1628927_1343163903_0d1890d2c17a788015b716724fc19593_rle_crop_3706165052_0.png', 1343164495: '1741717712_1628792_1343164001_dcc1709aab7a272fa13c1aac40f02ba9_rle_crop_3706165125_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/5d1fd8fa828119c06ef05c2289312b7e_34096070.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/2b2d5ad196d01aff19a67f478af8f7b9_13979461.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/6adb20667ff02918c9e5a2cab99e24e5_61342401.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/25ba6ab0ee2124474adbf5dc23c1d21c_71026555.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/0fc23949f897b38248e5333e4018cc85_77432978.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/89c124152dba008a013a379034df7eb0_30541651.png change filename to text .imagette213044641741717863/ imagette213044641741717863/1741717535_1627776_1343163147_09bc582fc6ca805f2a85748ba567cfc2_rle_crop_3706160558_0.png.png imagette213044641741717863/1741717212_1624803_1343161504_4c368813ca28ea0264c3b4c214e92235_rle_crop_3706157086_0.png.png imagette213044641741717863/1741717225_2331364_1343161986_fc395403dcb9028ae27d37ccab3a6d79_rle_crop_3706157062_0.png.png imagette213044641741717863/1741717712_1628792_1343164001_dcc1709aab7a272fa13c1aac40f02ba9_rle_crop_3706165125_0.png.png imagette213044641741717863/1741717731_1628927_1343163903_0d1890d2c17a788015b716724fc19593_rle_crop_3706165052_0.png.png imagette213044641741717863/1741717212_1624803_1343161590_eb14dfbd586d4e72c2d30524ade2c74f_rle_crop_3706157045_0.png.png imagette213044641741717863/1741717212_1624803_1343161590_eb14dfbd586d4e72c2d30524ade2c74f_rle_crop_3706157046_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/92c7bccd525a1a5ffcaed2aa98376f6a_83108445.png imagette213044641741717863 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21304387 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21304469,21304470,21304471,21304472,21304473,21304474,21304475,21304476,21304477,21304478,21304479,21304480?tags=mal_croppe,Teint_Dans_La_Masse,autre_refus,plastique,metal,Carton_gris,environnement,Carton_brun,kraft,papier,flou,cartonnette your option no_mail is active, we will not send the real mail to your client args[1343164506] : ('0.04786195243582283',) no score found for photo 1343164506 We are sending mail with results at report@fotonower.com args[1343164497] : ('0.04786195243582283',) no score found for photo 1343164497 We are sending mail with results at report@fotonower.com args[1343164485] : ('0.04786195243582283',) no score found for photo 1343164485 We are sending mail with results at report@fotonower.com args[1343164481] : ('0.04786195243582283',) no score found for photo 1343164481 We are sending mail with results at report@fotonower.com args[1343164476] : ('0.04786195243582283',) no score found for photo 1343164476 We are sending mail with results at report@fotonower.com args[1343164465] : ('0.04786195243582283',) no score found for photo 1343164465 We are sending mail with results at report@fotonower.com args[1343164410] : ('0.04786195243582283',) no score found for photo 1343164410 We are sending mail with results at report@fotonower.com args[1343164405] : ('0.04786195243582283',) no score found for photo 1343164405 We are sending mail with results at report@fotonower.com args[1343164400] : ('0.04786195243582283',) no score found for photo 1343164400 We are sending mail with results at report@fotonower.com args[1343164396] : ('0.04786195243582283',) no score found for photo 1343164396 We are sending mail with results at report@fotonower.com args[1343164281] : ('0.04786195243582283',) no score found for photo 1343164281 We are sending mail with results at report@fotonower.com args[1343164261] : ('0.04786195243582283',) no score found for photo 1343164261 We are sending mail with results at report@fotonower.com args[1343164245] : ('0.04786195243582283',) no score found for photo 1343164245 We are sending mail with results at report@fotonower.com args[1343164241] : ('0.04786195243582283',) no score found for photo 1343164241 We are sending mail with results at report@fotonower.com args[1343164237] : ('0.04786195243582283',) no score found for photo 1343164237 We are sending mail with results at report@fotonower.com args[1343164233] : ('0.04786195243582283',) no score found for photo 1343164233 We are sending mail with results at report@fotonower.com refus_total : 0.04786195243582283 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21304387 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 error for generate pdf : 'autre_refus' After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21304387]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1343164506, 1343164497, 1343164485, 1343164481, 1343164476, 1343164465, 1343164410, 1343164405, 1343164400, 1343164396, 1343164281, 1343164261, 1343164245, 1343164241, 1343164237, 1343164233] map_info['map_portfolio_photo'] : {21304387: [1343164506, 1343164497, 1343164485, 1343164481, 1343164476, 1343164465, 1343164410, 1343164405, 1343164400, 1343164396, 1343164281, 1343164261, 1343164245, 1343164241, 1343164237, 1343164233, 1343164103, 1343164099, 1343164095, 1343164093, 1343164090, 1343164059, 1343164057, 1343164054, 1343164049, 1343164044, 1343164012, 1343164008, 1343164006, 1343164001, 1343163996, 1343163993, 1343163909, 1343163903, 1343163650, 1343163647, 1343163645, 1343163640, 1343163636, 1343163151, 1343163147, 1343162433, 1343162404, 1343162386, 1343162322, 1343162306, 1343162274, 1343162153, 1343162149, 1343162144, 1343162126, 1343162113, 1343162105, 1343162029, 1343162025, 1343162015, 1343161986, 1343161976, 1343161599, 1343161590, 1343161577, 1343161504, 1343161127, 1343161123, 1343161118, 1343161113, 1343161109]} final : False mtd_id 4302 list_pids : [1343164506, 1343164497, 1343164485, 1343164481, 1343164476, 1343164465, 1343164410, 1343164405, 1343164400, 1343164396, 1343164281, 1343164261, 1343164245, 1343164241, 1343164237, 1343164233] 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, '2659294') ('4302', '21304387', '1343164506', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164497', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164485', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164481', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164476', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164465', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164410', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164405', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164400', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164396', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164281', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164261', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164245', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164241', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164237', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164233', None, None, None, None, None, '2659294') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 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', '21304387', '1343164506', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164497', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164485', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164481', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164476', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164465', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164410', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164405', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164400', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164396', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164281', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164261', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164245', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164241', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164237', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164233', None, None, None, None, None, '2659294')] time used for this insertion : 0.13376927375793457 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.031039476394653 time spend to save output : 0.1341996192932129 total time spend for step 4 : 4.165239095687866 step5:split_time_score Tue Mar 11 19:31:04 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 : ['21304387'] 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 : [('21304387',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21304387) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1343164405: {'path': 'temp/1741717860_2322321_1343164405_76d6b5853a6cb5fb9133b6e2c0faebd1.jpg', 'extension': 'jpg'}, 1343164410: {'path': 'temp/1741717860_2322321_1343164410_2d6533c6bb986416d952394a72af77f6.jpg', 'extension': 'jpg'}, 1343164465: {'path': 'temp/1741717860_2322321_1343164465_a3362d1f9cbbc06af48a7f2270b1a697.jpg', 'extension': 'jpg'}, 1343164476: {'path': 'temp/1741717860_2322321_1343164476_ceb4920c27fc1a1644d84f454f0e2c10.jpg', 'extension': 'jpg'}, 1343164481: {'path': 'temp/1741717860_2322321_1343164481_5cd4f8ef08d71bff25ecd6067da80df3.jpg', 'extension': 'jpg'}, 1343164485: {'path': 'temp/1741717860_2322321_1343164485_fac4b083915a9d61faf12474c96c7b12.jpg', 'extension': 'jpg'}, 1343164497: {'path': 'temp/1741717860_2322321_1343164497_8494afd968ff8a93f2dc1ff300fb09e2.jpg', 'extension': 'jpg'}, 1343164506: {'path': 'temp/1741717860_2322321_1343164506_dbd0058272f3a95a047f5cd651858b9f.jpg', 'extension': 'jpg'}, 1343164233: {'path': 'temp/1741717860_2322321_1343164233_461af25fc79ceb1eecbb8d5275445885.jpg', 'extension': 'jpg'}, 1343164237: {'path': 'temp/1741717860_2322321_1343164237_84b43c286d7dc261dcd2532ee19552ce.jpg', 'extension': 'jpg'}, 1343164241: {'path': 'temp/1741717860_2322321_1343164241_2ffda24534960153b48528a25a62ab8a.jpg', 'extension': 'jpg'}, 1343164245: {'path': 'temp/1741717860_2322321_1343164245_5c00191116a209ab4d05e2a9a813ae71.jpg', 'extension': 'jpg'}, 1343164261: {'path': 'temp/1741717860_2322321_1343164261_1eafd437b5196c2f6d4ada3d86705f22.jpg', 'extension': 'jpg'}, 1343164281: {'path': 'temp/1741717860_2322321_1343164281_6c3d9147880e47ab482de19468dbdf3e.jpg', 'extension': 'jpg'}, 1343164396: {'path': 'temp/1741717860_2322321_1343164396_7a3b20509dee22e401ba8aa812a7caf2.jpg', 'extension': 'jpg'}, 1343164400: {'path': 'temp/1741717860_2322321_1343164400_8afc5d25695e40510bd6efc389547e45.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 = 21304387; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 21304387 group by h (('19', 67),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21304387 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 (21304387) 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 (21304387) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 11032025 21304387 Nombre de photos uploadées : 67 / 23040 (0%) 11032025 21304387 Nombre de photos taguées (types de déchets): 0 / 67 (0%) 11032025 21304387 Nombre de photos taguées (volume) : 0 / 67 (0%) [{'photo_id': 1343161127, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/01c8d7e3d06899ea1595f16a8f3af259.jpg', 'username': None, 'uploaded_at': 1741716999, 'text': 'image_11032025_19_15_03_009159m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1343161123, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/fac881d2056fd8b10b09d08bc893d227.jpg', 'username': None, 'uploaded_at': 1741716999, 'text': 'image_11032025_19_15_13_010139m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1343161118, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/66448d2fdc5931e158f8829c22b4c9e2.jpg', 'username': None, 'uploaded_at': 1741716999, 'text': 'image_11032025_19_15_23_010140m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1343161113, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/dd54f24580e718d89b67ba828f1e779f.jpg', 'username': None, 'uploaded_at': 1741716999, 'text': 'image_11032025_19_15_33_010136m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 6.9141387939453125e-06 elapsed_time : order_list_meta_photo_and_scores 2.0742416381835938e-05 ??????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0036389827728271484 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21304387, '2025-03-11' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1656727,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.0292971134185791 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= 1656727 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1656727, 'dashboard_run_id': 1667578, 'mtr_portfolio_id': 21302206, 'dashboard_result_id': 9358896, '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_P21302206_11-03-2025_18_49_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21302255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21302256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21302257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21302258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21302259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21302260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21302261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21302262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21302263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21302264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21302265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21302266, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1667578, 'mtr_portfolio_id': 21303075, 'dashboard_result_id': 9358897, '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_P21303075_11-03-2025_19_06_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21303190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21303194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21303195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21303196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21303197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21303198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21303199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21303200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21303201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21303202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21303204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21303209, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1667578, 'mtr_portfolio_id': 21304387, 'dashboard_result_id': 9358898, '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_P21304387_11-03-2025_19_20_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21304457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21304458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21304459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21304460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21304461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21304462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21304463, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21304464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21304465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21304466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21304467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21304468, '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 = 21302206 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': 2659191, 'mtr_portfolio_id': 21302206, 'created_at': datetime.datetime(2025, 3, 11, 19, 3, 59), 'result': '0.05414101871496152', 'result_long': None, 'result_double': None}] Qualite : 0.05414101871496152 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21302206 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21302206_11-03-2025_18_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21302206 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_P21302206_11-03-2025_18_49_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21302255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21302256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21302257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21302258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21302259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21302260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21302261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21302262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21302263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21302264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21302265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21302266, 'pht': 3726}}" where mtr_portfolio_id = 21302206 and dashboard_run_id = 1667578 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`=21302206 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9358896, 0.05414101871496152, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21302206_11-03-2025_18_49_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21302255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21302256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21302257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21302258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21302259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21302260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21302261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21302262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21302263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21302264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21302265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21302266, '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 = 21303075 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': 2659244, 'mtr_portfolio_id': 21303075, 'created_at': datetime.datetime(2025, 3, 11, 19, 17, 30), 'result': '0.07165204742663832', 'result_long': None, 'result_double': None}] Qualite : 0.07165204742663832 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21303075 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21303075_11-03-2025_19_06_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21303075 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_P21303075_11-03-2025_19_06_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21303190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21303194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21303195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21303196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21303197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21303198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21303199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21303200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21303201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21303202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21303204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21303209, 'pht': 3726}}" where mtr_portfolio_id = 21303075 and dashboard_run_id = 1667578 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`=21303075 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9358897, 0.07165204742663832, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21303075_11-03-2025_19_06_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21303190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21303194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21303195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21303196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21303197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21303198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21303199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21303200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21303201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21303202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21303204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21303209, '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 = 21304387 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': 2659294, 'mtr_portfolio_id': 21304387, 'created_at': datetime.datetime(2025, 3, 11, 19, 31), 'result': '0.04786195243582283', 'result_long': None, 'result_double': None}] Qualite : 0.04786195243582283 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21304387 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21304387_11-03-2025_19_20_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21304387 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_P21304387_11-03-2025_19_20_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21304457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21304458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21304459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21304460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21304461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21304462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21304463, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21304464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21304465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21304466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21304467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21304468, 'pht': 3726}}" where mtr_portfolio_id = 21304387 and dashboard_run_id = 1667578 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`=21304387 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9358898, 0.04786195243582283, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21304387_11-03-2025_19_20_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21304457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21304458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21304459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21304460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21304461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21304462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21304463, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21304464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21304465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21304466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21304467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21304468, '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 (21302206,21303075,21304387) result : ((1343145490,), (1343145499,), (1343145507,), (1343145512,), (1343145515,), (1343145720,), (1343145755,), (1343145800,), (1343146120,), (1343146145,), (1343146184,), (1343146207,), (1343146236,), (1343146262,), (1343146534,), (1343146573,), (1343146611,), (1343146639,), (1343146790,), (1343146828,), (1343146873,), (1343146924,), (1343147000,), (1343147048,), (1343147240,), (1343147246,), (1343147270,), (1343147280,), (1343147287,), (1343147449,), (1343147454,), (1343147486,), (1343147492,), (1343147513,), (1343147539,), (1343147912,), (1343147950,), (1343148005,), (1343148028,), (1343148422,), (1343148467,), (1343148517,), (1343148532,), (1343148541,), (1343148544,), (1343148728,), (1343148767,), (1343148781,), (1343148806,), (1343149719,), (1343149883,), (1343149986,), (1343150043,), (1343150078,), (1343150126,), (1343150611,), (1343150719,), (1343150782,), (1343150792,), (1343151360,), (1343151470,), (1343151543,), (1343151570,), (1343151601,), (1343151643,), (1343152369,), (1343152433,), (1343152507,), (1343152630,), (1343152665,), (1343152749,), (1343152781,), (1343152809,), (1343152843,), (1343153221,), (1343152970,), (1343153012,), (1343153026,), (1343153126,), (1343153161,), (1343153453,), (1343153516,), (1343153584,), (1343153645,), (1343153711,), (1343154149,), (1343154220,), (1343154299,), (1343154443,), (1343154479,), (1343154535,), (1343154852,), (1343155053,), (1343155112,), (1343155143,), (1343155171,), (1343155630,), (1343155707,), (1343155796,), (1343155827,), (1343155900,), (1343155937,), (1343156292,), (1343156322,), (1343156356,), (1343156905,), (1343156927,), (1343156975,), (1343156998,), (1343157016,), (1343157041,), (1343157243,), (1343157259,), (1343157295,), (1343157323,), (1343157783,), (1343157828,), (1343157879,), (1343157942,), (1343158005,), (1343158051,), (1343158490,), (1343158537,), (1343158583,), (1343158643,), (1343158700,), (1343158998,), (1343159046,), (1343159110,), (1343159160,), (1343159189,), (1343159218,), (1343159483,), (1343159536,), (1343159576,), (1343159601,), (1343159654,), (1343160061,), (1343160121,), (1343160170,), (1343160239,), (1343160444,), (1343160463,), (1343160487,), (1343160515,), (1343160558,), (1343160591,), (1343160796,), (1343160839,), (1343160893,), (1343160932,), (1343160959,), (1343161133,), (1343161109,), (1343161113,), (1343161118,), (1343161123,), (1343161127,), (1343161504,), (1343161577,), (1343161590,), (1343161599,), (1343161976,), (1343161986,), (1343162015,), (1343162025,), (1343162029,), (1343162105,), (1343162113,), (1343162126,), (1343162144,), (1343162149,), (1343162153,), (1343162274,), (1343162306,), (1343162322,), (1343162386,), (1343162404,), (1343162433,), (1343163147,), (1343163151,), (1343163636,), (1343163640,), (1343163645,), (1343163647,), (1343163650,), (1343163903,), (1343163909,), (1343163993,), (1343163996,), (1343164001,), (1343164006,), (1343164008,), (1343164012,), (1343164044,), (1343164049,), (1343164054,), (1343164057,), (1343164059,), (1343164090,), (1343164093,), (1343164095,), (1343164099,), (1343164103,), (1343164233,), (1343164237,), (1343164241,), (1343164245,), (1343164261,), (1343164281,), (1343164396,), (1343164400,), (1343164405,), (1343164410,), (1343164465,), (1343164476,), (1343164481,), (1343164485,), (1343164497,), (1343164506,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'11032025': {'nb_upload': 67, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21304387]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1343164506, 1343164497, 1343164485, 1343164481, 1343164476, 1343164465, 1343164410, 1343164405, 1343164400, 1343164396, 1343164281, 1343164261, 1343164245, 1343164241, 1343164237, 1343164233] map_info['map_portfolio_photo'] : {21304387: [1343164506, 1343164497, 1343164485, 1343164481, 1343164476, 1343164465, 1343164410, 1343164405, 1343164400, 1343164396, 1343164281, 1343164261, 1343164245, 1343164241, 1343164237, 1343164233, 1343164103, 1343164099, 1343164095, 1343164093, 1343164090, 1343164059, 1343164057, 1343164054, 1343164049, 1343164044, 1343164012, 1343164008, 1343164006, 1343164001, 1343163996, 1343163993, 1343163909, 1343163903, 1343163650, 1343163647, 1343163645, 1343163640, 1343163636, 1343163151, 1343163147, 1343162433, 1343162404, 1343162386, 1343162322, 1343162306, 1343162274, 1343162153, 1343162149, 1343162144, 1343162126, 1343162113, 1343162105, 1343162029, 1343162025, 1343162015, 1343161986, 1343161976, 1343161599, 1343161590, 1343161577, 1343161504, 1343161127, 1343161123, 1343161118, 1343161113, 1343161109]} final : True mtd_id 4302 list_pids : [1343164506, 1343164497, 1343164485, 1343164481, 1343164476, 1343164465, 1343164410, 1343164405, 1343164400, 1343164396, 1343164281, 1343164261, 1343164245, 1343164241, 1343164237, 1343164233] Looping around the photos to save general results len do output : 1 /21304387Didn'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, '2659294') ('4302', '21304387', '1343164506', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164497', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164485', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164481', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164476', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164465', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164410', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164405', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164400', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164396', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164281', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164261', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164245', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164241', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164237', None, None, None, None, None, '2659294') ('4302', None, None, None, None, None, None, None, '2659294') ('4302', '21304387', '1343164233', None, None, None, None, None, '2659294') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 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, '21304387', 'None', None, None, None, None, '2659294'), ('4302', '21304387', '1343164506', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164497', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164485', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164481', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164476', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164465', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164410', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164405', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164400', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164396', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164281', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164261', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164245', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164241', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164237', None, None, None, None, None, '2659294'), ('4302', '21304387', '1343164233', None, None, None, None, None, '2659294')] time used for this insertion : 0.019817352294921875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.30865001678466797 time spend to save output : 0.020314931869506836 total time spend for step 5 : 0.3289649486541748 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 (2659294) 2.48user 2.23system 0:10.54elapsed 44%CPU (0avgtext+0avgdata 146136maxresident)k 63160inputs+17592outputs (234major+73266minor)pagefaults 0swaps