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 : 2316860 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 (2719657) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2719657) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22012957 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2719657'] with mtr_portfolio_ids : ['22012957'] and first list_photo_ids : [] new path : /proc/2316860/ Name: python3 Umask: 0002 State: R (running) Tgid: 2316860 Ngid: 0 Pid: 2316860 PPid: 2316859 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2316860 NSpid: 2316860 NSpgid: 2306419 NSsid: 2306419 VmPeak: 1106928 kB VmSize: 1106928 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97648 kB VmRSS: 97648 kB RssAnon: 59800 kB RssFile: 37848 kB RssShmem: 0 kB VmData: 865676 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 596 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: 61 nonvoluntary_ctxt_switches: 105 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2316860', 'Ngid': '0', 'Pid': '2316860', 'PPid': '2316859', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2316860', 'NSpid': '2316860', 'NSpgid': '2306419', 'NSsid': '2306419', 'VmPeak': '1106928 kB', 'VmSize': '1106928 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97648 kB', 'VmRSS': '97648 kB', 'RssAnon': '59800 kB', 'RssFile': '37848 kB', 'RssShmem': '0 kB', 'VmData': '865676 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '596 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': '61', 'nonvoluntary_ctxt_switches': '105'} ('datou_batch_current', '2316860', '1106928', '0', '1106928', '865676', '97648', b'', 'marlene', '2719657') 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 (22012957) 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 (2719657 ) ) 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 (22012957) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1349750025, 'portfolio_id': 22012957}, {'photo_id': 1349750022, 'portfolio_id': 22012957}, {'photo_id': 1349750019, 'portfolio_id': 22012957}, {'photo_id': 1349750015, 'portfolio_id': 22012957}, {'photo_id': 1349749984, 'portfolio_id': 22012957}, {'photo_id': 1349749979, 'portfolio_id': 22012957}, {'photo_id': 1349749976, 'portfolio_id': 22012957}, {'photo_id': 1349749964, 'portfolio_id': 22012957}, {'photo_id': 1349749952, 'portfolio_id': 22012957}, {'photo_id': 1349749916, 'portfolio_id': 22012957}, {'photo_id': 1349749911, 'portfolio_id': 22012957}, {'photo_id': 1349749907, 'portfolio_id': 22012957}, {'photo_id': 1349749899, 'portfolio_id': 22012957}, {'photo_id': 1349749891, 'portfolio_id': 22012957}, {'photo_id': 1349749854, 'portfolio_id': 22012957}, {'photo_id': 1349749848, 'portfolio_id': 22012957}, {'photo_id': 1349749841, 'portfolio_id': 22012957}, {'photo_id': 1349749839, 'portfolio_id': 22012957}, {'photo_id': 1349749828, 'portfolio_id': 22012957}, {'photo_id': 1349749790, 'portfolio_id': 22012957}, {'photo_id': 1349749784, 'portfolio_id': 22012957}, {'photo_id': 1349749779, 'portfolio_id': 22012957}, {'photo_id': 1349749760, 'portfolio_id': 22012957}, {'photo_id': 1349749754, 'portfolio_id': 22012957}, {'photo_id': 1349749679, 'portfolio_id': 22012957}, {'photo_id': 1349749673, 'portfolio_id': 22012957}, {'photo_id': 1349749670, 'portfolio_id': 22012957}, {'photo_id': 1349749666, 'portfolio_id': 22012957}, {'photo_id': 1349749661, 'portfolio_id': 22012957}, {'photo_id': 1349749600, 'portfolio_id': 22012957}, {'photo_id': 1349749595, 'portfolio_id': 22012957}, {'photo_id': 1349749590, 'portfolio_id': 22012957}, {'photo_id': 1349749585, 'portfolio_id': 22012957}, {'photo_id': 1349749581, 'portfolio_id': 22012957}, {'photo_id': 1349749554, 'portfolio_id': 22012957}, {'photo_id': 1349749435, 'portfolio_id': 22012957}, {'photo_id': 1349749425, 'portfolio_id': 22012957}, {'photo_id': 1349749419, 'portfolio_id': 22012957}, {'photo_id': 1349749413, 'portfolio_id': 22012957}, {'photo_id': 1349749305, 'portfolio_id': 22012957}, {'photo_id': 1349749283, 'portfolio_id': 22012957}, {'photo_id': 1349749267, 'portfolio_id': 22012957}, {'photo_id': 1349749210, 'portfolio_id': 22012957}, {'photo_id': 1349749206, 'portfolio_id': 22012957}, {'photo_id': 1349749203, 'portfolio_id': 22012957}, {'photo_id': 1349749121, 'portfolio_id': 22012957}, {'photo_id': 1349749117, 'portfolio_id': 22012957}, {'photo_id': 1349749106, 'portfolio_id': 22012957}, {'photo_id': 1349749098, 'portfolio_id': 22012957}, {'photo_id': 1349748956, 'portfolio_id': 22012957}, {'photo_id': 1349748942, 'portfolio_id': 22012957}, {'photo_id': 1349748934, 'portfolio_id': 22012957}, {'photo_id': 1349748920, 'portfolio_id': 22012957}, {'photo_id': 1349748914, 'portfolio_id': 22012957}, {'photo_id': 1349748908, 'portfolio_id': 22012957}, {'photo_id': 1349748788, 'portfolio_id': 22012957}, {'photo_id': 1349748690, 'portfolio_id': 22012957}, {'photo_id': 1349748604, 'portfolio_id': 22012957}] map_portfolio_id_photo_id: {22012957: [1349750025, 1349750022, 1349750019, 1349750015, 1349749984, 1349749979, 1349749976, 1349749964, 1349749952, 1349749916, 1349749911, 1349749907, 1349749899, 1349749891, 1349749854, 1349749848, 1349749841, 1349749839, 1349749828, 1349749790, 1349749784, 1349749779, 1349749760, 1349749754, 1349749679, 1349749673, 1349749670, 1349749666, 1349749661, 1349749600, 1349749595, 1349749590, 1349749585, 1349749581, 1349749554, 1349749435, 1349749425, 1349749419, 1349749413, 1349749305, 1349749283, 1349749267, 1349749210, 1349749206, 1349749203, 1349749121, 1349749117, 1349749106, 1349749098, 1349748956, 1349748942, 1349748934, 1349748920, 1349748914, 1349748908, 1349748788, 1349748690, 1349748604]} ##### 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.014727354049682617 #### 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 Thu Apr 3 08:28: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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22012957) 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 : 22012957 get user id for portfolio 22012957 get sub ptf for main ptf 22012957, type 3726 and hashtags ['papier', 'kraft', 'plastique', 'cartonnette', 'metal', 'flou', 'Teint_Dans_La_Masse', 'mal_croppe', 'environnement', 'Carton_brun', 'Carton_gris', 'autre_refus'] 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`=22012957 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','kraft','plastique','cartonnette','metal','flou','Teint_Dans_La_Masse','mal_croppe','environnement','Carton_brun','Carton_gris','autre_refus')) 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`=22012957 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','kraft','plastique','cartonnette','metal','flou','Teint_Dans_La_Masse','mal_croppe','environnement','Carton_brun','Carton_gris','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 22012957, 'sub_port_id': 22012985, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508061, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 57)}, 'metal': {'main_port_id': 22012957, 'sub_port_id': 22012986, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508062, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 57)}, 'Carton_brun': {'main_port_id': 22012957, 'sub_port_id': 22012987, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508063, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 57)}, 'environnement': {'main_port_id': 22012957, 'sub_port_id': 22012988, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508064, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 57)}, 'cartonnette': {'main_port_id': 22012957, 'sub_port_id': 22012989, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508065, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 57)}, 'plastique': {'main_port_id': 22012957, 'sub_port_id': 22012990, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508066, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 57)}, 'Carton_gris': {'main_port_id': 22012957, 'sub_port_id': 22012991, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508067, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 57)}, 'papier': {'main_port_id': 22012957, 'sub_port_id': 22012992, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508068, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 57)}, 'autre_refus': {'main_port_id': 22012957, 'sub_port_id': 22012993, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508069, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 57)}, 'flou': {'main_port_id': 22012957, 'sub_port_id': 22012994, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508070, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 57)}, 'kraft': {'main_port_id': 22012957, 'sub_port_id': 22012995, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508071, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 22012957, 'sub_port_id': 22012996, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508072, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22012985 , 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=22012957 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 (22012985) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22012957) result : ((1349748604,), (1349748690,), (1349748788,), (1349748908,), (1349748914,), (1349748920,), (1349748934,), (1349748942,), (1349748956,), (1349749098,), (1349749106,), (1349749117,), (1349749121,), (1349749203,), (1349749206,), (1349749210,), (1349749267,), (1349749283,), (1349749305,), (1349749413,), (1349749419,), (1349749425,), (1349749435,), (1349749554,), (1349749581,), (1349749585,), (1349749590,), (1349749595,), (1349749600,), (1349749661,), (1349749666,), (1349749670,), (1349749673,), (1349749679,), (1349749754,), (1349749760,), (1349749779,), (1349749784,), (1349749790,), (1349749828,), (1349749839,), (1349749841,), (1349749848,), (1349749854,), (1349749891,), (1349749899,), (1349749907,), (1349749911,), (1349749916,), (1349749952,), (1349749964,), (1349749976,), (1349749979,), (1349749984,), (1349750015,), (1349750019,), (1349750022,), (1349750025,)) 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 (1349749600) 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 22012986 , 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=22012957 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 (22012986) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22012957) result : ((1349748604,), (1349748690,), (1349748788,), (1349748908,), (1349748914,), (1349748920,), (1349748934,), (1349748942,), (1349748956,), (1349749098,), (1349749106,), (1349749117,), (1349749121,), (1349749203,), (1349749206,), (1349749210,), (1349749267,), (1349749283,), (1349749305,), (1349749413,), (1349749419,), (1349749425,), (1349749435,), (1349749554,), (1349749581,), (1349749585,), (1349749590,), (1349749595,), (1349749600,), (1349749661,), (1349749666,), (1349749670,), (1349749673,), (1349749679,), (1349749754,), (1349749760,), (1349749779,), (1349749784,), (1349749790,), (1349749828,), (1349749839,), (1349749841,), (1349749848,), (1349749854,), (1349749891,), (1349749899,), (1349749907,), (1349749911,), (1349749916,), (1349749952,), (1349749964,), (1349749976,), (1349749979,), (1349749984,), (1349750015,), (1349750019,), (1349750022,), (1349750025,)) 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 (1349749600) 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 22012987 , 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=22012957 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 (22012987) result : ((1349749422,), (1349749439,), (1349749440,), (1349749656,), (1349749657,), (1349749697,), (1349749699,), (1349749734,), (1349749735,), (1349749831,), (1349749832,), (1349750093,), (1349750094,), (1349750095,), (1349750096,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22012957) result : ((1349748604,), (1349748690,), (1349748788,), (1349748908,), (1349748914,), (1349748920,), (1349748934,), (1349748942,), (1349748956,), (1349749098,), (1349749106,), (1349749117,), (1349749121,), (1349749203,), (1349749206,), (1349749210,), (1349749267,), (1349749283,), (1349749305,), (1349749413,), (1349749419,), (1349749425,), (1349749435,), (1349749554,), (1349749581,), (1349749585,), (1349749590,), (1349749595,), (1349749600,), (1349749661,), (1349749666,), (1349749670,), (1349749673,), (1349749679,), (1349749754,), (1349749760,), (1349749779,), (1349749784,), (1349749790,), (1349749828,), (1349749839,), (1349749841,), (1349749848,), (1349749854,), (1349749891,), (1349749899,), (1349749907,), (1349749911,), (1349749916,), (1349749952,), (1349749964,), (1349749976,), (1349749979,), (1349749984,), (1349750015,), (1349750019,), (1349750022,), (1349750025,)) 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 (1349749600) 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 22012988 , 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=22012957 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 (22012988) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22012957) result : ((1349748604,), (1349748690,), (1349748788,), (1349748908,), (1349748914,), (1349748920,), (1349748934,), (1349748942,), (1349748956,), (1349749098,), (1349749106,), (1349749117,), (1349749121,), (1349749203,), (1349749206,), (1349749210,), (1349749267,), (1349749283,), (1349749305,), (1349749413,), (1349749419,), (1349749425,), (1349749435,), (1349749554,), (1349749581,), (1349749585,), (1349749590,), (1349749595,), (1349749600,), (1349749661,), (1349749666,), (1349749670,), (1349749673,), (1349749679,), (1349749754,), (1349749760,), (1349749779,), (1349749784,), (1349749790,), (1349749828,), (1349749839,), (1349749841,), (1349749848,), (1349749854,), (1349749891,), (1349749899,), (1349749907,), (1349749911,), (1349749916,), (1349749952,), (1349749964,), (1349749976,), (1349749979,), (1349749984,), (1349750015,), (1349750019,), (1349750022,), (1349750025,)) 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 (1349749600) 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 22012989 , 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=22012957 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 (22012989) result : ((1349749437,), (1349749438,), (1349749721,), (1349749821,), (1349749822,), (1349749823,), (1349749824,), (1349749825,), (1349749826,), (1349749827,), (1349750091,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22012957) result : ((1349748604,), (1349748690,), (1349748788,), (1349748908,), (1349748914,), (1349748920,), (1349748934,), (1349748942,), (1349748956,), (1349749098,), (1349749106,), (1349749117,), (1349749121,), (1349749203,), (1349749206,), (1349749210,), (1349749267,), (1349749283,), (1349749305,), (1349749413,), (1349749419,), (1349749425,), (1349749435,), (1349749554,), (1349749581,), (1349749585,), (1349749590,), (1349749595,), (1349749600,), (1349749661,), (1349749666,), (1349749670,), (1349749673,), (1349749679,), (1349749754,), (1349749760,), (1349749779,), (1349749784,), (1349749790,), (1349749828,), (1349749839,), (1349749841,), (1349749848,), (1349749854,), (1349749891,), (1349749899,), (1349749907,), (1349749911,), (1349749916,), (1349749952,), (1349749964,), (1349749976,), (1349749979,), (1349749984,), (1349750015,), (1349750019,), (1349750022,), (1349750025,)) 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 (1349749600) 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 22012990 , 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=22012957 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 (22012990) result : ((1349749443,), (1349749444,), (1349749702,), (1349749737,), (1349749835,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22012957) result : ((1349748604,), (1349748690,), (1349748788,), (1349748908,), (1349748914,), (1349748920,), (1349748934,), (1349748942,), (1349748956,), (1349749098,), (1349749106,), (1349749117,), (1349749121,), (1349749203,), (1349749206,), (1349749210,), (1349749267,), (1349749283,), (1349749305,), (1349749413,), (1349749419,), (1349749425,), (1349749435,), (1349749554,), (1349749581,), (1349749585,), (1349749590,), (1349749595,), (1349749600,), (1349749661,), (1349749666,), (1349749670,), (1349749673,), (1349749679,), (1349749754,), (1349749760,), (1349749779,), (1349749784,), (1349749790,), (1349749828,), (1349749839,), (1349749841,), (1349749848,), (1349749854,), (1349749891,), (1349749899,), (1349749907,), (1349749911,), (1349749916,), (1349749952,), (1349749964,), (1349749976,), (1349749979,), (1349749984,), (1349750015,), (1349750019,), (1349750022,), (1349750025,)) 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 (1349749600) 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 22012991 , 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=22012957 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 (22012991) result : ((1349749433,), (1349749434,), (1349749692,), (1349749715,), (1349749716,), (1349749717,), (1349749813,), (1349749814,), (1349749815,), (1349749816,), (1349749817,), (1349750089,), (1349750090,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22012957) result : ((1349748604,), (1349748690,), (1349748788,), (1349748908,), (1349748914,), (1349748920,), (1349748934,), (1349748942,), (1349748956,), (1349749098,), (1349749106,), (1349749117,), (1349749121,), (1349749203,), (1349749206,), (1349749210,), (1349749267,), (1349749283,), (1349749305,), (1349749413,), (1349749419,), (1349749425,), (1349749435,), (1349749554,), (1349749581,), (1349749585,), (1349749590,), (1349749595,), (1349749600,), (1349749661,), (1349749666,), (1349749670,), (1349749673,), (1349749679,), (1349749754,), (1349749760,), (1349749779,), (1349749784,), (1349749790,), (1349749828,), (1349749839,), (1349749841,), (1349749848,), (1349749854,), (1349749891,), (1349749899,), (1349749907,), (1349749911,), (1349749916,), (1349749952,), (1349749964,), (1349749976,), (1349749979,), (1349749984,), (1349750015,), (1349750019,), (1349750022,), (1349750025,)) 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 (1349749600) 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 22012992 , 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=22012957 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 (22012992) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22012957) result : ((1349748604,), (1349748690,), (1349748788,), (1349748908,), (1349748914,), (1349748920,), (1349748934,), (1349748942,), (1349748956,), (1349749098,), (1349749106,), (1349749117,), (1349749121,), (1349749203,), (1349749206,), (1349749210,), (1349749267,), (1349749283,), (1349749305,), (1349749413,), (1349749419,), (1349749425,), (1349749435,), (1349749554,), (1349749581,), (1349749585,), (1349749590,), (1349749595,), (1349749600,), (1349749661,), (1349749666,), (1349749670,), (1349749673,), (1349749679,), (1349749754,), (1349749760,), (1349749779,), (1349749784,), (1349749790,), (1349749828,), (1349749839,), (1349749841,), (1349749848,), (1349749854,), (1349749891,), (1349749899,), (1349749907,), (1349749911,), (1349749916,), (1349749952,), (1349749964,), (1349749976,), (1349749979,), (1349749984,), (1349750015,), (1349750019,), (1349750022,), (1349750025,)) 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 (1349749600) 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 22012993 , 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=22012957 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 (22012993) result : ((1349749420,), (1349749430,), (1349749431,), (1349749654,), (1349749689,), (1349749690,), (1349749712,), (1349749713,), (1349750085,), (1349750086,), (1349750087,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22012957) result : ((1349748604,), (1349748690,), (1349748788,), (1349748908,), (1349748914,), (1349748920,), (1349748934,), (1349748942,), (1349748956,), (1349749098,), (1349749106,), (1349749117,), (1349749121,), (1349749203,), (1349749206,), (1349749210,), (1349749267,), (1349749283,), (1349749305,), (1349749413,), (1349749419,), (1349749425,), (1349749435,), (1349749554,), (1349749581,), (1349749585,), (1349749590,), (1349749595,), (1349749600,), (1349749661,), (1349749666,), (1349749670,), (1349749673,), (1349749679,), (1349749754,), (1349749760,), (1349749779,), (1349749784,), (1349749790,), (1349749828,), (1349749839,), (1349749841,), (1349749848,), (1349749854,), (1349749891,), (1349749899,), (1349749907,), (1349749911,), (1349749916,), (1349749952,), (1349749964,), (1349749976,), (1349749979,), (1349749984,), (1349750015,), (1349750019,), (1349750022,), (1349750025,)) 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 (1349749600) 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 22012994 , 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=22012957 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 (22012994) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22012957) result : ((1349748604,), (1349748690,), (1349748788,), (1349748908,), (1349748914,), (1349748920,), (1349748934,), (1349748942,), (1349748956,), (1349749098,), (1349749106,), (1349749117,), (1349749121,), (1349749203,), (1349749206,), (1349749210,), (1349749267,), (1349749283,), (1349749305,), (1349749413,), (1349749419,), (1349749425,), (1349749435,), (1349749554,), (1349749581,), (1349749585,), (1349749590,), (1349749595,), (1349749600,), (1349749661,), (1349749666,), (1349749670,), (1349749673,), (1349749679,), (1349749754,), (1349749760,), (1349749779,), (1349749784,), (1349749790,), (1349749828,), (1349749839,), (1349749841,), (1349749848,), (1349749854,), (1349749891,), (1349749899,), (1349749907,), (1349749911,), (1349749916,), (1349749952,), (1349749964,), (1349749976,), (1349749979,), (1349749984,), (1349750015,), (1349750019,), (1349750022,), (1349750025,)) 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 (1349749600) 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 22012995 , 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=22012957 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 (22012995) result : ((1349749738,), (1349749836,), (1349749837,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22012957) result : ((1349748604,), (1349748690,), (1349748788,), (1349748908,), (1349748914,), (1349748920,), (1349748934,), (1349748942,), (1349748956,), (1349749098,), (1349749106,), (1349749117,), (1349749121,), (1349749203,), (1349749206,), (1349749210,), (1349749267,), (1349749283,), (1349749305,), (1349749413,), (1349749419,), (1349749425,), (1349749435,), (1349749554,), (1349749581,), (1349749585,), (1349749590,), (1349749595,), (1349749600,), (1349749661,), (1349749666,), (1349749670,), (1349749673,), (1349749679,), (1349749754,), (1349749760,), (1349749779,), (1349749784,), (1349749790,), (1349749828,), (1349749839,), (1349749841,), (1349749848,), (1349749854,), (1349749891,), (1349749899,), (1349749907,), (1349749911,), (1349749916,), (1349749952,), (1349749964,), (1349749976,), (1349749979,), (1349749984,), (1349750015,), (1349750019,), (1349750022,), (1349750025,)) 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 (1349749600) 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 22012996 , 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=22012957 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 (22012996) result : ((1349749426,), (1349749427,), (1349749428,), (1349749429,), (1349749687,), (1349749708,), (1349749810,), (1349750084,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22012957) result : ((1349748604,), (1349748690,), (1349748788,), (1349748908,), (1349748914,), (1349748920,), (1349748934,), (1349748942,), (1349748956,), (1349749098,), (1349749106,), (1349749117,), (1349749121,), (1349749203,), (1349749206,), (1349749210,), (1349749267,), (1349749283,), (1349749305,), (1349749413,), (1349749419,), (1349749425,), (1349749435,), (1349749554,), (1349749581,), (1349749585,), (1349749590,), (1349749595,), (1349749600,), (1349749661,), (1349749666,), (1349749670,), (1349749673,), (1349749679,), (1349749754,), (1349749760,), (1349749779,), (1349749784,), (1349749790,), (1349749828,), (1349749839,), (1349749841,), (1349749848,), (1349749854,), (1349749891,), (1349749899,), (1349749907,), (1349749911,), (1349749916,), (1349749952,), (1349749964,), (1349749976,), (1349749979,), (1349749984,), (1349750015,), (1349750019,), (1349750022,), (1349750025,)) 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 (1349749600) 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`=22012957 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','kraft','plastique','cartonnette','metal','flou','Teint_Dans_La_Masse','mal_croppe','environnement','Carton_brun','Carton_gris','autre_refus')) 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`=22012957 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','kraft','plastique','cartonnette','metal','flou','Teint_Dans_La_Masse','mal_croppe','environnement','Carton_brun','Carton_gris','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 22012957, 'sub_port_id': 22012997, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508073, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 58)}, 'metal': {'main_port_id': 22012957, 'sub_port_id': 22012998, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508074, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 58)}, 'Carton_brun': {'main_port_id': 22012957, 'sub_port_id': 22012999, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508075, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 58)}, 'environnement': {'main_port_id': 22012957, 'sub_port_id': 22013000, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508076, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 58)}, 'cartonnette': {'main_port_id': 22012957, 'sub_port_id': 22013001, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508077, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 58)}, 'plastique': {'main_port_id': 22012957, 'sub_port_id': 22013002, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508078, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 58)}, 'Carton_gris': {'main_port_id': 22012957, 'sub_port_id': 22013003, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508079, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 58)}, 'papier': {'main_port_id': 22012957, 'sub_port_id': 22013004, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508080, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 58)}, 'autre_refus': {'main_port_id': 22012957, 'sub_port_id': 22013005, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508081, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 58)}, 'flou': {'main_port_id': 22012957, 'sub_port_id': 22013006, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508082, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 58)}, 'kraft': {'main_port_id': 22012957, 'sub_port_id': 22013007, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508083, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 22012957, 'sub_port_id': 22013008, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14508084, 'last_updated_at': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_desc': datetime.datetime(2025, 4, 3, 8, 25, 3), 'last_updated_at_asc': datetime.datetime(2025, 4, 3, 8, 18, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22012997,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22012985 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22012998,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22012986 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22012999,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22012987 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22013000,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22012988 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22013001,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22012989 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22013002,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22012990 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22013003,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22012991 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22013004,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22012992 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22013005,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22012993 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22013006,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22012994 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22013007,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22012995 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22013008,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22012996 lien utilise dans velours : https://www.fotonower.com/velours/22012997,22012998,22012999,22013000,22013001,22013002,22013003,22013004,22013005,22013006,22013007,22013008?tags=mal_croppe,metal,Carton_brun,environnement,cartonnette,plastique,Carton_gris,papier,autre_refus,flou,kraft,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22012957]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1349750025, 1349750022, 1349750019, 1349750015, 1349749984, 1349749979, 1349749976, 1349749964, 1349749952, 1349749916, 1349749911, 1349749907, 1349749899, 1349749891, 1349749854, 1349749848, 1349749841, 1349749839, 1349749828] map_info['map_portfolio_photo'] : {22012957: [1349750025, 1349750022, 1349750019, 1349750015, 1349749984, 1349749979, 1349749976, 1349749964, 1349749952, 1349749916, 1349749911, 1349749907, 1349749899, 1349749891, 1349749854, 1349749848, 1349749841, 1349749839, 1349749828, 1349749790, 1349749784, 1349749779, 1349749760, 1349749754, 1349749679, 1349749673, 1349749670, 1349749666, 1349749661, 1349749600, 1349749595, 1349749590, 1349749585, 1349749581, 1349749554, 1349749435, 1349749425, 1349749419, 1349749413, 1349749305, 1349749283, 1349749267, 1349749210, 1349749206, 1349749203, 1349749121, 1349749117, 1349749106, 1349749098, 1349748956, 1349748942, 1349748934, 1349748920, 1349748914, 1349748908, 1349748788, 1349748690, 1349748604]} final : False mtd_id 4302 list_pids : [1349750025, 1349750022, 1349750019, 1349750015, 1349749984, 1349749979, 1349749976, 1349749964, 1349749952, 1349749916, 1349749911, 1349749907, 1349749899, 1349749891, 1349749854, 1349749848, 1349749841, 1349749839, 1349749828] Looping around the photos to save general results len do output : 1 /22012957. 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, '2719657') ('4302', '22012957', '1349750025', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349750022', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349750019', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349750015', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749984', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749979', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749976', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749964', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749952', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749916', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749911', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749907', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749899', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749891', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749854', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749848', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749841', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749839', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749828', None, None, None, None, None, '2719657') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 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, '22012957', "{'mal_croppe': 22012985, 'metal': 22012986, 'Carton_brun': 22012987, 'environnement': 22012988, 'cartonnette': 22012989, 'plastique': 22012990, 'Carton_gris': 22012991, 'papier': 22012992, 'autre_refus': 22012993, 'flou': 22012994, 'kraft': 22012995, 'Teint_Dans_La_Masse': 22012996}", None, None, None, None, '2719657'), ('4302', '22012957', '1349750025', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349750022', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349750019', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349750015', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749984', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749979', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749976', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749964', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749952', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749916', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749911', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749907', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749899', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749891', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749854', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749848', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749841', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749839', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749828', None, None, None, None, None, '2719657')] time used for this insertion : 0.014751672744750977 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.46328234672546387 time spend to save output : 0.015060901641845703 total time spend for step 1 : 0.47834324836730957 step2:final Thu Apr 3 08:28: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 (22012957) 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 22012957 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1349748788,1349748690,1349748604,1349748956,1349748942,1349748934,1349748920,1349748914,1349748908,1349749121,1349749117,1349749106,1349749098,1349749305,1349749283,1349749267,1349749210,1349749206,1349749203,1349749435,1349749425,1349749419,1349749413,1349749600,1349749595,1349749590,1349749585,1349749581,1349749679,1349749554,1349749673,1349749670,1349749666,1349749661,1349749790,1349749784,1349749779,1349749760,1349749754,1349749854,1349749848,1349749841,1349749839,1349749828,1349749916,1349749911,1349749907,1349749899,1349749891,1349749984,1349749979,1349749976,1349749964,1349749952,1349750025,1349750022,1349750019,1349750015); 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([22012957]) Inside saveOutput : final : False verbose : True original output for save of step final : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} new output for save of step final : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} [1349750025, 1349750022, 1349750019, 1349750015, 1349749984, 1349749979, 1349749976, 1349749964, 1349749952, 1349749916, 1349749911, 1349749907, 1349749899, 1349749891, 1349749854, 1349749848, 1349749841, 1349749839, 1349749828] map_info['map_portfolio_photo'] : {22012957: [1349750025, 1349750022, 1349750019, 1349750015, 1349749984, 1349749979, 1349749976, 1349749964, 1349749952, 1349749916, 1349749911, 1349749907, 1349749899, 1349749891, 1349749854, 1349749848, 1349749841, 1349749839, 1349749828, 1349749790, 1349749784, 1349749779, 1349749760, 1349749754, 1349749679, 1349749673, 1349749670, 1349749666, 1349749661, 1349749600, 1349749595, 1349749590, 1349749585, 1349749581, 1349749554, 1349749435, 1349749425, 1349749419, 1349749413, 1349749305, 1349749283, 1349749267, 1349749210, 1349749206, 1349749203, 1349749121, 1349749117, 1349749106, 1349749098, 1349748956, 1349748942, 1349748934, 1349748920, 1349748914, 1349748908, 1349748788, 1349748690, 1349748604]} final : False mtd_id 4302 list_pids : [1349750025, 1349750022, 1349750019, 1349750015, 1349749984, 1349749979, 1349749976, 1349749964, 1349749952, 1349749916, 1349749911, 1349749907, 1349749899, 1349749891, 1349749854, 1349749848, 1349749841, 1349749839, 1349749828] Looping around the photos to save general results len do output : 19 /1349750025.Didn't retrieve data . /1349750022.Didn't retrieve data . /1349750019.Didn't retrieve data . /1349750015.Didn't retrieve data . /1349749984.Didn't retrieve data . /1349749979.Didn't retrieve data . /1349749976.Didn't retrieve data . /1349749964.Didn't retrieve data . /1349749952.Didn't retrieve data . /1349749916.Didn't retrieve data . /1349749911.Didn't retrieve data . /1349749907.Didn't retrieve data . /1349749899.Didn't retrieve data . /1349749891.Didn't retrieve data . /1349749854.Didn't retrieve data . /1349749848.Didn't retrieve data . /1349749841.Didn't retrieve data . /1349749839.Didn't retrieve data . /1349749828.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, '2719657') ('4302', '22012957', '1349750025', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349750022', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349750019', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349750015', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749984', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749979', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749976', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749964', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749952', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749916', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749911', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749907', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749899', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749891', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749854', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749848', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749841', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749839', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749828', None, None, None, None, None, '2719657') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 57 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', '22012957', '1349750025', '0.0783326828057875', None, None, None, None, '2719657'), ('4302', '22012957', '1349750022', '0.0783326828057875', None, None, None, None, '2719657'), ('4302', '22012957', '1349750019', '0.0783326828057875', None, None, None, None, '2719657'), ('4302', '22012957', '1349750015', '0.0783326828057875', None, None, None, None, '2719657'), ('4302', '22012957', '1349749984', '0.0783326828057875', None, None, None, None, '2719657'), ('4302', '22012957', '1349749979', '0.0783326828057875', None, None, None, None, '2719657'), ('4302', '22012957', '1349749976', '0.0783326828057875', None, None, None, None, '2719657'), ('4302', '22012957', '1349749964', '0.0783326828057875', None, None, None, None, '2719657'), ('4302', '22012957', '1349749952', '0.0783326828057875', None, None, None, None, '2719657'), ('4302', '22012957', '1349749916', '0.0783326828057875', None, None, None, None, '2719657'), ('4302', '22012957', '1349749911', '0.0783326828057875', None, None, None, None, '2719657'), ('4302', '22012957', '1349749907', '0.0783326828057875', None, None, None, None, '2719657'), ('4302', '22012957', '1349749899', '0.0783326828057875', None, None, None, None, '2719657'), ('4302', '22012957', '1349749891', '0.0783326828057875', None, None, None, None, '2719657'), ('4302', '22012957', '1349749854', '0.0783326828057875', None, None, None, None, '2719657'), ('4302', '22012957', '1349749848', '0.0783326828057875', None, None, None, None, '2719657'), ('4302', '22012957', '1349749841', '0.0783326828057875', None, None, None, None, '2719657'), ('4302', '22012957', '1349749839', '0.0783326828057875', None, None, None, None, '2719657'), ('4302', '22012957', '1349749828', '0.0783326828057875', None, None, None, None, '2719657')] time used for this insertion : 0.014509201049804688 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06696510314941406 time spend to save output : 0.015316486358642578 total time spend for step 2 : 0.08228158950805664 step3:velours_tree Thu Apr 3 08:28:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {22012957: [{'mal_croppe': 22012985, 'metal': 22012986, 'Carton_brun': 22012987, 'environnement': 22012988, 'cartonnette': 22012989, 'plastique': 22012990, 'Carton_gris': 22012991, 'papier': 22012992, 'autre_refus': 22012993, 'flou': 22012994, 'kraft': 22012995, 'Teint_Dans_La_Masse': 22012996}]} input_args_next_step : {22012957: ()} output_args : {22012957: [{'mal_croppe': 22012985, 'metal': 22012986, 'Carton_brun': 22012987, 'environnement': 22012988, 'cartonnette': 22012989, 'plastique': 22012990, 'Carton_gris': 22012991, 'papier': 22012992, 'autre_refus': 22012993, 'flou': 22012994, 'kraft': 22012995, 'Teint_Dans_La_Masse': 22012996}]} args : 22012957 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': 22012985, 'metal': 22012986, 'Carton_brun': 22012987, 'environnement': 22012988, 'cartonnette': 22012989, 'plastique': 22012990, 'Carton_gris': 22012991, 'papier': 22012992, 'autre_refus': 22012993, 'flou': 22012994, 'kraft': 22012995, 'Teint_Dans_La_Masse': 22012996},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22012957) 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([22012957]) 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.43665480613708496 time spend to save output : 5.364418029785156e-05 total time spend for step 3 : 0.4367084503173828 step4:send_mail_cod Thu Apr 3 08:29: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 : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} input_args_next_step : {1349750025: ()} output_args : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} args : 1349750025 depend.output_id : 0 input_args_next_step : {1349750025: ('0.0783326828057875',), 1349750022: ()} output_args : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} args : 1349750022 depend.output_id : 0 input_args_next_step : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ()} output_args : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} args : 1349750019 depend.output_id : 0 input_args_next_step : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ()} output_args : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} args : 1349750015 depend.output_id : 0 input_args_next_step : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ()} output_args : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} args : 1349749984 depend.output_id : 0 input_args_next_step : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ()} output_args : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} args : 1349749979 depend.output_id : 0 input_args_next_step : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ()} output_args : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} args : 1349749976 depend.output_id : 0 input_args_next_step : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ()} output_args : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} args : 1349749964 depend.output_id : 0 input_args_next_step : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ()} output_args : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} args : 1349749952 depend.output_id : 0 input_args_next_step : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ()} output_args : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} args : 1349749916 depend.output_id : 0 input_args_next_step : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ()} output_args : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} args : 1349749911 depend.output_id : 0 input_args_next_step : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ()} output_args : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} args : 1349749907 depend.output_id : 0 input_args_next_step : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ()} output_args : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} args : 1349749899 depend.output_id : 0 input_args_next_step : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ()} output_args : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} args : 1349749891 depend.output_id : 0 input_args_next_step : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ()} output_args : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} args : 1349749854 depend.output_id : 0 input_args_next_step : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ()} output_args : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} args : 1349749848 depend.output_id : 0 input_args_next_step : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ()} output_args : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} args : 1349749841 depend.output_id : 0 input_args_next_step : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ()} output_args : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} args : 1349749839 depend.output_id : 0 input_args_next_step : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ()} output_args : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',)} args : 1349749828 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 : {22012957: [{'mal_croppe': 22012985, 'metal': 22012986, 'Carton_brun': 22012987, 'environnement': 22012988, 'cartonnette': 22012989, 'plastique': 22012990, 'Carton_gris': 22012991, 'papier': 22012992, 'autre_refus': 22012993, 'flou': 22012994, 'kraft': 22012995, 'Teint_Dans_La_Masse': 22012996}]} input_args_next_step : {1349750025: ('0.0783326828057875',), 1349750022: ('0.0783326828057875',), 1349750019: ('0.0783326828057875',), 1349750015: ('0.0783326828057875',), 1349749984: ('0.0783326828057875',), 1349749979: ('0.0783326828057875',), 1349749976: ('0.0783326828057875',), 1349749964: ('0.0783326828057875',), 1349749952: ('0.0783326828057875',), 1349749916: ('0.0783326828057875',), 1349749911: ('0.0783326828057875',), 1349749907: ('0.0783326828057875',), 1349749899: ('0.0783326828057875',), 1349749891: ('0.0783326828057875',), 1349749854: ('0.0783326828057875',), 1349749848: ('0.0783326828057875',), 1349749841: ('0.0783326828057875',), 1349749839: ('0.0783326828057875',), 1349749828: ('0.0783326828057875',), 22012957: ()} output_args : {22012957: [{'mal_croppe': 22012985, 'metal': 22012986, 'Carton_brun': 22012987, 'environnement': 22012988, 'cartonnette': 22012989, 'plastique': 22012990, 'Carton_gris': 22012991, 'papier': 22012992, 'autre_refus': 22012993, 'flou': 22012994, 'kraft': 22012995, 'Teint_Dans_La_Masse': 22012996}]} args : 22012957 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 :20, first value : ('0.0783326828057875',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22012957) 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 (1349750025,1349750022,1349750019,1349750015,1349749984,1349749979,1349749976,1349749964,1349749952,1349749916,1349749911,1349749907,1349749899,1349749891,1349749854,1349749848,1349749841,1349749839,1349749828) Found this number of photos: 19 ##### Call download_photos : nb_thread : 5 begin to download photo : 1349749828 begin to download photo : 1349749854 begin to download photo : 1349749911 begin to download photo : 1349749976 begin to download photo : 1349750019 download finish for photo 1349749854 begin to download photo : 1349749891 download finish for photo 1349749976 begin to download photo : 1349749979 download finish for photo 1349750019 begin to download photo : 1349750022 download finish for photo 1349749828 begin to download photo : 1349749839 download finish for photo 1349749911 begin to download photo : 1349749916 download finish for photo 1349749916 begin to download photo : 1349749952 download finish for photo 1349749839 begin to download photo : 1349749841 download finish for photo 1349749979 begin to download photo : 1349749984 download finish for photo 1349749891 begin to download photo : 1349749899 download finish for photo 1349750022 begin to download photo : 1349750025 download finish for photo 1349749952 begin to download photo : 1349749964 download finish for photo 1349749899 begin to download photo : 1349749907 download finish for photo 1349749841 begin to download photo : 1349749848 download finish for photo 1349750025 download finish for photo 1349749984 begin to download photo : 1349750015 download finish for photo 1349749907 download finish for photo 1349749964 download finish for photo 1349749848 download finish for photo 1349750015 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette220129851743661740/ imagette220129861743661740/ length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 results_Auto_P22012957_03-04-2025_08_29_00.pdf 22012985 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=22012985 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220129851743661740 22012986 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=22012986 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220129861743661740 22012989 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=22012989 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349749437: '1743661167_411132_1349748956_b1743ec4633f193769483c0d71da7a75_rle_crop_3745845591_0.png', 1349749438: '1743661167_411132_1349748604_3beb5cdb9cace06b2d775cb0ef2526f5_rle_crop_3745846937_0.png', 1349749721: '1743661290_2036903_1349748942_fdb55ee5b05472cf2041798069731ed4_rle_crop_3745847460_0.png', 1349749821: '1743661391_2037845_1349749595_0244057cefbda1bb4161e621eeefdea2_rle_crop_3745848453_0.png', 1349749822: '1743661391_2037845_1349749595_0244057cefbda1bb4161e621eeefdea2_rle_crop_3745848456_0.png', 1349749823: '1743661391_2037845_1349749585_35245f5a59bc8d5f0d7ab5a2bea2a6fc_rle_crop_3745848492_0.png', 1349749824: '1743661391_2037845_1349749585_35245f5a59bc8d5f0d7ab5a2bea2a6fc_rle_crop_3745848487_0.png', 1349749825: '1743661391_2037845_1349749581_623d0e195655b9291cfdc6b512089c7a_rle_crop_3745848502_0.png', 1349749826: '1743661391_2037845_1349749554_14541e4d90b37a79c99a2c9e691f9c3c_rle_crop_3745848514_0.png', 1349749827: '1743661391_2037845_1349749554_14541e4d90b37a79c99a2c9e691f9c3c_rle_crop_3745848518_0.png', 1349750091: '1743661673_2040033_1349749899_552ddffc890282dde0729b16cd915a5a_rle_crop_3745849162_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/7c9da00cc08dc58425c12916fa5c9ef3_48504448.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/a940b862820d1c4f14ae8273763a5850_67262258.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/95d6249ef4c622649ed1447be9ab57cb_92543616.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/cf3d369e21f2c9db087d3672844462b5_76945727.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/48b6c433f7d4970253ae9a89a8e9fc8c_72454820.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/ca24828832300df51a72bbdba0751a32_62320098.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/fe62b49a3aae12fae6bb9d32f6e8ba45_2589009.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/4746032e66b7ff4cfe8381f40edca6aa_2050698.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/38d7823d3882932cb9bec9ccf39ec39f_97956055.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/6b8aaa02d985f1174fc35b130afc6c81_89811426.png change filename to text .imagette220129891743661740/ imagette220129891743661740/1743661673_2040033_1349749899_552ddffc890282dde0729b16cd915a5a_rle_crop_3745849162_0.png.png imagette220129891743661740/1743661391_2037845_1349749581_623d0e195655b9291cfdc6b512089c7a_rle_crop_3745848502_0.png.png imagette220129891743661740/1743661391_2037845_1349749554_14541e4d90b37a79c99a2c9e691f9c3c_rle_crop_3745848518_0.png.png imagette220129891743661740/1743661167_411132_1349748604_3beb5cdb9cace06b2d775cb0ef2526f5_rle_crop_3745846937_0.png.png imagette220129891743661740/1743661167_411132_1349748956_b1743ec4633f193769483c0d71da7a75_rle_crop_3745845591_0.png.png imagette220129891743661740/1743661391_2037845_1349749585_35245f5a59bc8d5f0d7ab5a2bea2a6fc_rle_crop_3745848487_0.png.png imagette220129891743661740/1743661391_2037845_1349749585_35245f5a59bc8d5f0d7ab5a2bea2a6fc_rle_crop_3745848492_0.png.png imagette220129891743661740/1743661391_2037845_1349749554_14541e4d90b37a79c99a2c9e691f9c3c_rle_crop_3745848514_0.png.png imagette220129891743661740/1743661391_2037845_1349749595_0244057cefbda1bb4161e621eeefdea2_rle_crop_3745848453_0.png.png imagette220129891743661740/1743661391_2037845_1349749595_0244057cefbda1bb4161e621eeefdea2_rle_crop_3745848456_0.png.png imagette220129891743661740/1743661290_2036903_1349748942_fdb55ee5b05472cf2041798069731ed4_rle_crop_3745847460_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/a5f3bb6b99033790d0b621dbb09355c0_75667367.png imagette220129891743661740 22012990 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=22012990 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349749443: '1743661167_411132_1349748690_466f8a02cdb3d11c18dd51d1905291ae_rle_crop_3745846116_0.png', 1349749444: '1743661167_411132_1349748690_466f8a02cdb3d11c18dd51d1905291ae_rle_crop_3745846118_0.png', 1349749702: '1743661287_413985_1349749210_ffe7666cc58e435d019cc57d5cab28ef_rle_crop_3745848079_0.png', 1349749737: '1743661290_2036903_1349748942_fdb55ee5b05472cf2041798069731ed4_rle_crop_3745847465_0.png', 1349749835: '1743661391_2037845_1349749590_762641ff5557373447256c572e57fd0f_rle_crop_3745848481_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/e6507bf2854a21284245975a57dd96ed_6177029.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/b19d3d9bd63ea3073fc7e768dc3448b5_42580225.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/b884a7e799533a6e18c543a6549ead52_19086824.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/1bd7eb0a0d2656d73d6d8858e9f8fd57_27151599.png change filename to text .imagette220129901743661742/ imagette220129901743661742/1743661287_413985_1349749210_ffe7666cc58e435d019cc57d5cab28ef_rle_crop_3745848079_0.png.png imagette220129901743661742/1743661391_2037845_1349749590_762641ff5557373447256c572e57fd0f_rle_crop_3745848481_0.png.png imagette220129901743661742/1743661167_411132_1349748690_466f8a02cdb3d11c18dd51d1905291ae_rle_crop_3745846118_0.png.png imagette220129901743661742/1743661290_2036903_1349748942_fdb55ee5b05472cf2041798069731ed4_rle_crop_3745847465_0.png.png imagette220129901743661742/1743661167_411132_1349748690_466f8a02cdb3d11c18dd51d1905291ae_rle_crop_3745846116_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/72ab30119e42c51c52a9124456c2ec60_17043112.png imagette220129901743661742 22012993 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=22012993 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349749420: '1743661171_2035426_1349749098_fb01ea679545d5fafb9f105b50598e0f_rle_crop_3745847100_0.png', 1349749430: '1743661167_411132_1349748690_466f8a02cdb3d11c18dd51d1905291ae_rle_crop_3745846117_0.png', 1349749431: '1743661167_411132_1349748690_466f8a02cdb3d11c18dd51d1905291ae_rle_crop_3745846121_0.png', 1349749654: '1743661272_2036586_1349749419_eb927af9fe46e044f895cc60cc3270bf_rle_crop_3745847996_0.png', 1349749689: '1743661287_413985_1349749283_f36913d2366db7e83ff056983d1eb9d6_rle_crop_3745848029_0.png', 1349749690: '1743661287_413985_1349749203_53efd110258a6efd014ecbc9f2b23043_rle_crop_3745848122_0.png', 1349749712: '1743661290_2036903_1349748934_0953004951d6cd7e11cd583fcff8e61d_rle_crop_3745847470_0.png', 1349749713: '1743661290_2036903_1349748908_109db887da621f3ed1e7eee330b1892b_rle_crop_3745847526_0.png', 1349750085: '1743661673_2040033_1349749911_83fb1eb6408f83b47b60bfcf48e857e4_rle_crop_3745849000_0.png', 1349750086: '1743661673_2040033_1349749907_bf628a7403a36bc6bcfefa1c3825e5e7_rle_crop_3745849011_0.png', 1349750087: '1743661673_2040033_1349749899_552ddffc890282dde0729b16cd915a5a_rle_crop_3745849163_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/fc53d33c73ed52e6eaf9a0ad70d6bfb9_70272562.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/0d3c359aa7e405204f53da6bab11dbd1_78046774.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/23d68e29f204c11533f528629a39f285_85867809.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/18680e74b13b31742b62c02f2da75d0f_39208671.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/2654b2ea68172d95a56b6f6906961f82_70791354.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/2fdc930cf380d643f5ac63d0e61dcd85_3440276.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/ae0eb92eafdf1d567e4c1761148b7e29_96471161.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/2bd454cc17961c2d80700e59eadba243_47797303.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/568e4c68e88ee331b4e4ad2ed7a61eec_34574737.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/33fe8e84e187b708b88a046916f27240_68153043.png change filename to text .imagette220129931743661742/ imagette220129931743661742/1743661287_413985_1349749283_f36913d2366db7e83ff056983d1eb9d6_rle_crop_3745848029_0.png.png imagette220129931743661742/1743661167_411132_1349748690_466f8a02cdb3d11c18dd51d1905291ae_rle_crop_3745846117_0.png.png imagette220129931743661742/1743661167_411132_1349748690_466f8a02cdb3d11c18dd51d1905291ae_rle_crop_3745846121_0.png.png imagette220129931743661742/1743661287_413985_1349749203_53efd110258a6efd014ecbc9f2b23043_rle_crop_3745848122_0.png.png imagette220129931743661742/1743661290_2036903_1349748934_0953004951d6cd7e11cd583fcff8e61d_rle_crop_3745847470_0.png.png imagette220129931743661742/1743661272_2036586_1349749419_eb927af9fe46e044f895cc60cc3270bf_rle_crop_3745847996_0.png.png imagette220129931743661742/1743661673_2040033_1349749899_552ddffc890282dde0729b16cd915a5a_rle_crop_3745849163_0.png.png imagette220129931743661742/1743661290_2036903_1349748908_109db887da621f3ed1e7eee330b1892b_rle_crop_3745847526_0.png.png imagette220129931743661742/1743661673_2040033_1349749907_bf628a7403a36bc6bcfefa1c3825e5e7_rle_crop_3745849011_0.png.png imagette220129931743661742/1743661171_2035426_1349749098_fb01ea679545d5fafb9f105b50598e0f_rle_crop_3745847100_0.png.png imagette220129931743661742/1743661673_2040033_1349749911_83fb1eb6408f83b47b60bfcf48e857e4_rle_crop_3745849000_0.png.png imagette220129941743661743/ wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/d365da6a61b9048034f668318bb22ac7_58230959.png imagette220129931743661742 22012994 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=22012994 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220129941743661743 22012995 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=22012995 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349749738: '1743661290_2036903_1349748914_d02683e00b91592ac79652181a7a0c8d_rle_crop_3745847514_0.png', 1349749836: '1743661391_2037845_1349749585_35245f5a59bc8d5f0d7ab5a2bea2a6fc_rle_crop_3745848490_0.png', 1349749837: '1743661391_2037845_1349749581_623d0e195655b9291cfdc6b512089c7a_rle_crop_3745848505_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/c339253241c8ca6725e2f352936c3204_77111116.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/9125155b903a05744b1bd0820d9ca73f_37245097.png change filename to text .imagette220129951743661743/ imagette220129951743661743/1743661290_2036903_1349748914_d02683e00b91592ac79652181a7a0c8d_rle_crop_3745847514_0.png.png imagette220129951743661743/1743661391_2037845_1349749581_623d0e195655b9291cfdc6b512089c7a_rle_crop_3745848505_0.png.png imagette220129951743661743/1743661391_2037845_1349749585_35245f5a59bc8d5f0d7ab5a2bea2a6fc_rle_crop_3745848490_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/1b569a6a6e11020cea0265eb7dac734b_35380724.png imagette220129951743661743 22012987 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=22012987 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349749422: '1743661171_2035426_1349749098_fb01ea679545d5fafb9f105b50598e0f_rle_crop_3745847101_0.png', 1349749439: '1743661167_411132_1349748604_3beb5cdb9cace06b2d775cb0ef2526f5_rle_crop_3745846938_0.png', 1349749440: '1743661167_411132_1349748604_3beb5cdb9cace06b2d775cb0ef2526f5_rle_crop_3745846935_0.png', 1349749656: '1743661272_2036586_1349749419_eb927af9fe46e044f895cc60cc3270bf_rle_crop_3745847993_0.png', 1349749657: '1743661272_2036586_1349749413_ea44d05603f93a59ce53c508f9c99e65_rle_crop_3745848009_0.png', 1349749697: '1743661287_413985_1349749210_ffe7666cc58e435d019cc57d5cab28ef_rle_crop_3745848072_0.png', 1349749699: '1743661287_413985_1349749206_510a807efc90c7783a4824a6b8fb8734_rle_crop_3745848107_0.png', 1349749734: '1743661290_2036903_1349748920_0277e70f465d6d0808736b0ff3d9ec04_rle_crop_3745847483_0.png', 1349749735: '1743661290_2036903_1349748908_109db887da621f3ed1e7eee330b1892b_rle_crop_3745847528_0.png', 1349749831: '1743661391_2037845_1349749554_14541e4d90b37a79c99a2c9e691f9c3c_rle_crop_3745848517_0.png', 1349749832: '1743661391_2037845_1349749554_14541e4d90b37a79c99a2c9e691f9c3c_rle_crop_3745848525_0.png', 1349750093: '1743661673_2040033_1349749911_83fb1eb6408f83b47b60bfcf48e857e4_rle_crop_3745849002_0.png', 1349750094: '1743661673_2040033_1349749911_83fb1eb6408f83b47b60bfcf48e857e4_rle_crop_3745849001_0.png', 1349750095: '1743661673_2040033_1349749907_bf628a7403a36bc6bcfefa1c3825e5e7_rle_crop_3745849017_0.png', 1349750096: '1743661673_2040033_1349749899_552ddffc890282dde0729b16cd915a5a_rle_crop_3745849167_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/49614b4893a43cefec5421990426b266_32139826.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/091607447e60406ab2459bfbe564d936_83709813.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/9ca3bcadef417501aad396c94ee89f70_55994403.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/cb86fe7e644fc4f3ef6b51692d83e684_44546412.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/694975e4162c35444822d8ddedcc37de_32236004.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/f674bf866143918e5b72247e48e7b149_73497324.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/4e2fe35de1b9cb15970864148bc39c11_96891898.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/02bd0f0c4eb5d46565e2f9f6fb1d412d_41183633.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/76cd687447430a0f3d333d5bf6eec962_52498487.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/27e1b790c8152235dcdff4dfd5881b51_30427188.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/7d832a92e4403d022ecb0877b0163ff7_25991192.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/bb6fa435725d1d20484276ed2670ed0e_50842025.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/118f450a024112d228a0d933d7cd99a3_4045039.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/79109d74ded3d6add971dbf06a3091d6_16704027.png change filename to text .imagette220129871743661743/ imagette220129871743661743/1743661391_2037845_1349749554_14541e4d90b37a79c99a2c9e691f9c3c_rle_crop_3745848517_0.png.png imagette220129871743661743/1743661290_2036903_1349748920_0277e70f465d6d0808736b0ff3d9ec04_rle_crop_3745847483_0.png.png imagette220129871743661743/1743661171_2035426_1349749098_fb01ea679545d5fafb9f105b50598e0f_rle_crop_3745847101_0.png.png imagette220129871743661743/1743661167_411132_1349748604_3beb5cdb9cace06b2d775cb0ef2526f5_rle_crop_3745846938_0.png.png imagette220129871743661743/1743661673_2040033_1349749911_83fb1eb6408f83b47b60bfcf48e857e4_rle_crop_3745849001_0.png.png imagette220129871743661743/1743661272_2036586_1349749413_ea44d05603f93a59ce53c508f9c99e65_rle_crop_3745848009_0.png.png imagette220129871743661743/1743661673_2040033_1349749911_83fb1eb6408f83b47b60bfcf48e857e4_rle_crop_3745849002_0.png.png imagette220129871743661743/1743661272_2036586_1349749419_eb927af9fe46e044f895cc60cc3270bf_rle_crop_3745847993_0.png.png imagette220129871743661743/1743661290_2036903_1349748908_109db887da621f3ed1e7eee330b1892b_rle_crop_3745847528_0.png.png imagette220129871743661743/1743661167_411132_1349748604_3beb5cdb9cace06b2d775cb0ef2526f5_rle_crop_3745846935_0.png.png imagette220129871743661743/1743661391_2037845_1349749554_14541e4d90b37a79c99a2c9e691f9c3c_rle_crop_3745848525_0.png.png imagette220129871743661743/1743661287_413985_1349749210_ffe7666cc58e435d019cc57d5cab28ef_rle_crop_3745848072_0.png.png imagette220129871743661743/1743661673_2040033_1349749907_bf628a7403a36bc6bcfefa1c3825e5e7_rle_crop_3745849017_0.png.png imagette220129871743661743/1743661673_2040033_1349749899_552ddffc890282dde0729b16cd915a5a_rle_crop_3745849167_0.png.png imagette220129871743661743/1743661287_413985_1349749206_510a807efc90c7783a4824a6b8fb8734_rle_crop_3745848107_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/a322d027996d3e1f9e997738bd4fecec_51535300.png imagette220129871743661743 22012991 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=22012991 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349749433: '1743661167_411132_1349748604_3beb5cdb9cace06b2d775cb0ef2526f5_rle_crop_3745846939_0.png', 1349749434: '1743661167_411132_1349748604_3beb5cdb9cace06b2d775cb0ef2526f5_rle_crop_3745846940_0.png', 1349749692: '1743661287_413985_1349749206_510a807efc90c7783a4824a6b8fb8734_rle_crop_3745848105_0.png', 1349749715: '1743661290_2036903_1349748914_d02683e00b91592ac79652181a7a0c8d_rle_crop_3745848171_0.png', 1349749716: '1743661290_2036903_1349748914_d02683e00b91592ac79652181a7a0c8d_bib_crop_3745847507_0.jpg', 1349749717: '1743661290_2036903_1349748908_109db887da621f3ed1e7eee330b1892b_rle_crop_3745847529_0.png', 1349749813: '1743661391_2037845_1349749595_0244057cefbda1bb4161e621eeefdea2_rle_crop_3745848455_0.png', 1349749814: '1743661391_2037845_1349749590_762641ff5557373447256c572e57fd0f_rle_crop_3745848473_0.png', 1349749815: '1743661391_2037845_1349749554_14541e4d90b37a79c99a2c9e691f9c3c_rle_crop_3745848522_0.png', 1349749816: '1743661391_2037845_1349749554_14541e4d90b37a79c99a2c9e691f9c3c_rle_crop_3745848521_0.png', 1349749817: '1743661391_2037845_1349749554_14541e4d90b37a79c99a2c9e691f9c3c_rle_crop_3745848513_0.png', 1349750089: '1743661673_2040033_1349749911_83fb1eb6408f83b47b60bfcf48e857e4_rle_crop_3745849003_0.png', 1349750090: '1743661673_2040033_1349749899_552ddffc890282dde0729b16cd915a5a_rle_crop_3745849170_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/95fed96503e09e1bf0eb7209a39fbdcb_40459334.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/25795ef701893a51fc9e5a012a60bee9_46647795.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/57cac6daeaf1f733f76ddc8216b2d6a2_65887961.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/44e82f93377a620a36cd2f269a159f96_81864225.png change filename to text .wget -O 5.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/2bb4de7f3dd698363da40869cdf4b614_45462831.jpg change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/bb5988dae91b50ed5d324b7b443f88fd_59809767.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/b3f8958eeaca180796ee0cc56a407ba9_13494826.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/2db1be3ba9ce23fa58093710b64a1ed6_36804767.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/59e180904b94fd6814364b43ba7301f1_71765714.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/bc0118747d08f69a5bd9ad22ae7e0361_91323809.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/9bd94c47e5e8244ea21408de31e9e51e_48234976.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/b54f21a838695eaf1bec954e79a040d6_77880219.png change filename to text .imagette220129911743661744/ imagette220129911743661744/1743661391_2037845_1349749554_14541e4d90b37a79c99a2c9e691f9c3c_rle_crop_3745848513_0.png.png imagette220129911743661744/1743661673_2040033_1349749899_552ddffc890282dde0729b16cd915a5a_rle_crop_3745849170_0.png.png imagette220129911743661744/1743661391_2037845_1349749595_0244057cefbda1bb4161e621eeefdea2_rle_crop_3745848455_0.png.png imagette220129911743661744/1743661167_411132_1349748604_3beb5cdb9cace06b2d775cb0ef2526f5_rle_crop_3745846939_0.png.png imagette220129911743661744/1743661391_2037845_1349749554_14541e4d90b37a79c99a2c9e691f9c3c_rle_crop_3745848521_0.png.png imagette220129911743661744/1743661287_413985_1349749206_510a807efc90c7783a4824a6b8fb8734_rle_crop_3745848105_0.png.png imagette220129911743661744/1743661167_411132_1349748604_3beb5cdb9cace06b2d775cb0ef2526f5_rle_crop_3745846940_0.png.png imagette220129911743661744/1743661290_2036903_1349748914_d02683e00b91592ac79652181a7a0c8d_bib_crop_3745847507_0.jpg.jpg imagette220129911743661744/1743661290_2036903_1349748908_109db887da621f3ed1e7eee330b1892b_rle_crop_3745847529_0.png.png imagette220129911743661744/1743661290_2036903_1349748914_d02683e00b91592ac79652181a7a0c8d_rle_crop_3745848171_0.png.png imagette220129911743661744/1743661673_2040033_1349749911_83fb1eb6408f83b47b60bfcf48e857e4_rle_crop_3745849003_0.png.png imagette220129911743661744/1743661391_2037845_1349749554_14541e4d90b37a79c99a2c9e691f9c3c_rle_crop_3745848522_0.png.png imagette220129911743661744/1743661391_2037845_1349749590_762641ff5557373447256c572e57fd0f_rle_crop_3745848473_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/55e53fcefcd2d9db9eaada9039f39157_35886313.png imagette220129911743661744 22012996 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=22012996 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349749426: '1743661167_411132_1349748956_b1743ec4633f193769483c0d71da7a75_rle_crop_3745845592_0.png', 1349749427: '1743661167_411132_1349748788_e041df7da2c0d8ea4cb0e0604c925ff3_rle_crop_3745845607_0.png', 1349749428: '1743661167_411132_1349748690_466f8a02cdb3d11c18dd51d1905291ae_rle_crop_3745846128_0.png', 1349749429: '1743661167_411132_1349748690_466f8a02cdb3d11c18dd51d1905291ae_rle_crop_3745846120_0.png', 1349749687: '1743661287_413985_1349749210_ffe7666cc58e435d019cc57d5cab28ef_rle_crop_3745848073_0.png', 1349749708: '1743661290_2036903_1349748914_d02683e00b91592ac79652181a7a0c8d_rle_crop_3745847510_0.png', 1349749810: '1743661391_2037845_1349749585_35245f5a59bc8d5f0d7ab5a2bea2a6fc_rle_crop_3745848491_0.png', 1349750084: '1743661673_2040033_1349749899_552ddffc890282dde0729b16cd915a5a_rle_crop_3745849171_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/00d4af8da1eac19fb843d204665a00d7_97912085.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/fe3cb223daf46e98f6fb0d126ad3f5a7_40121965.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/2d42a753b1381e3f20edb1942070ad33_27906045.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/56695dd9b1945176edacf60183329187_12973208.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/78576eb5af48801227bfc00bd1323b3e_9301680.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/fe0e3f234203fd6ebe10805fe655bf7b_80937534.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/85f7b92f2320f9694151fe5fc40d7a4e_23836808.png change filename to text .imagette220129961743661745/ imagette220129961743661745/1743661287_413985_1349749210_ffe7666cc58e435d019cc57d5cab28ef_rle_crop_3745848073_0.png.png imagette220129961743661745/1743661673_2040033_1349749899_552ddffc890282dde0729b16cd915a5a_rle_crop_3745849171_0.png.png imagette220129961743661745/1743661391_2037845_1349749585_35245f5a59bc8d5f0d7ab5a2bea2a6fc_rle_crop_3745848491_0.png.png imagette220129961743661745/1743661167_411132_1349748788_e041df7da2c0d8ea4cb0e0604c925ff3_rle_crop_3745845607_0.png.png imagette220129961743661745/1743661167_411132_1349748690_466f8a02cdb3d11c18dd51d1905291ae_rle_crop_3745846120_0.png.png imagette220129961743661745/1743661290_2036903_1349748914_d02683e00b91592ac79652181a7a0c8d_rle_crop_3745847510_0.png.png imagette220129961743661745/1743661167_411132_1349748956_b1743ec4633f193769483c0d71da7a75_rle_crop_3745845592_0.png.png imagette220129961743661745/1743661167_411132_1349748690_466f8a02cdb3d11c18dd51d1905291ae_rle_crop_3745846128_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/e60b626285be30da149dc20879b6f60a_82525801.png imagette220129961743661745 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22012957 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22012997,22012998,22012999,22013000,22013001,22013002,22013003,22013004,22013005,22013006,22013007,22013008?tags=mal_croppe,metal,Carton_brun,environnement,cartonnette,plastique,Carton_gris,papier,autre_refus,flou,kraft,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1349750025] : ('0.0783326828057875',) no score found for photo 1349750025 We are sending mail with results at report@fotonower.com args[1349750022] : ('0.0783326828057875',) no score found for photo 1349750022 We are sending mail with results at report@fotonower.com args[1349750019] : ('0.0783326828057875',) no score found for photo 1349750019 We are sending mail with results at report@fotonower.com args[1349750015] : ('0.0783326828057875',) no score found for photo 1349750015 We are sending mail with results at report@fotonower.com args[1349749984] : ('0.0783326828057875',) no score found for photo 1349749984 We are sending mail with results at report@fotonower.com args[1349749979] : ('0.0783326828057875',) no score found for photo 1349749979 We are sending mail with results at report@fotonower.com args[1349749976] : ('0.0783326828057875',) no score found for photo 1349749976 We are sending mail with results at report@fotonower.com args[1349749964] : ('0.0783326828057875',) no score found for photo 1349749964 We are sending mail with results at report@fotonower.com args[1349749952] : ('0.0783326828057875',) no score found for photo 1349749952 We are sending mail with results at report@fotonower.com args[1349749916] : ('0.0783326828057875',) no score found for photo 1349749916 We are sending mail with results at report@fotonower.com args[1349749911] : ('0.0783326828057875',) no score found for photo 1349749911 We are sending mail with results at report@fotonower.com args[1349749907] : ('0.0783326828057875',) no score found for photo 1349749907 We are sending mail with results at report@fotonower.com args[1349749899] : ('0.0783326828057875',) no score found for photo 1349749899 We are sending mail with results at report@fotonower.com args[1349749891] : ('0.0783326828057875',) no score found for photo 1349749891 We are sending mail with results at report@fotonower.com args[1349749854] : ('0.0783326828057875',) no score found for photo 1349749854 We are sending mail with results at report@fotonower.com args[1349749848] : ('0.0783326828057875',) no score found for photo 1349749848 We are sending mail with results at report@fotonower.com args[1349749841] : ('0.0783326828057875',) no score found for photo 1349749841 We are sending mail with results at report@fotonower.com args[1349749839] : ('0.0783326828057875',) no score found for photo 1349749839 We are sending mail with results at report@fotonower.com args[1349749828] : ('0.0783326828057875',) no score found for photo 1349749828 We are sending mail with results at report@fotonower.com refus_total : 0.0783326828057875 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=22012957 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22012957_03-04-2025_08_29_00.pdf results_Auto_P22012957_03-04-2025_08_29_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22012957_03-04-2025_08_29_00.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','22012957','results_Auto_P22012957_03-04-2025_08_29_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22012957_03-04-2025_08_29_00.pdf','pdf','','0.33','0.0783326828057875') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22012957]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1349750025, 1349750022, 1349750019, 1349750015, 1349749984, 1349749979, 1349749976, 1349749964, 1349749952, 1349749916, 1349749911, 1349749907, 1349749899, 1349749891, 1349749854, 1349749848, 1349749841, 1349749839, 1349749828] map_info['map_portfolio_photo'] : {22012957: [1349750025, 1349750022, 1349750019, 1349750015, 1349749984, 1349749979, 1349749976, 1349749964, 1349749952, 1349749916, 1349749911, 1349749907, 1349749899, 1349749891, 1349749854, 1349749848, 1349749841, 1349749839, 1349749828, 1349749790, 1349749784, 1349749779, 1349749760, 1349749754, 1349749679, 1349749673, 1349749670, 1349749666, 1349749661, 1349749600, 1349749595, 1349749590, 1349749585, 1349749581, 1349749554, 1349749435, 1349749425, 1349749419, 1349749413, 1349749305, 1349749283, 1349749267, 1349749210, 1349749206, 1349749203, 1349749121, 1349749117, 1349749106, 1349749098, 1349748956, 1349748942, 1349748934, 1349748920, 1349748914, 1349748908, 1349748788, 1349748690, 1349748604]} final : False mtd_id 4302 list_pids : [1349750025, 1349750022, 1349750019, 1349750015, 1349749984, 1349749979, 1349749976, 1349749964, 1349749952, 1349749916, 1349749911, 1349749907, 1349749899, 1349749891, 1349749854, 1349749848, 1349749841, 1349749839, 1349749828] 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, '2719657') ('4302', '22012957', '1349750025', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349750022', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349750019', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349750015', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749984', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749979', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749976', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749964', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749952', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749916', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749911', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749907', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749899', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749891', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749854', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749848', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749841', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749839', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749828', None, None, None, None, None, '2719657') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22012957', '1349750025', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349750022', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349750019', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349750015', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749984', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749979', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749976', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749964', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749952', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749916', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749911', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749907', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749899', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749891', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749854', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749848', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749841', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749839', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749828', None, None, None, None, None, '2719657')] time used for this insertion : 0.014647960662841797 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.6202733516693115 time spend to save output : 0.015126228332519531 total time spend for step 4 : 7.635399580001831 step5:split_time_score Thu Apr 3 08:29:07 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['22012957'] 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 : [('22012957',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22012957) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1349750019: {'path': 'temp/1743661740_2316860_1349750019_34c8d27f3be94a3a31ef0b7f5f269df7.jpg', 'extension': 'jpg'}, 1349750022: {'path': 'temp/1743661740_2316860_1349750022_6c3d1469b03819faedf10237f5ab57fb.jpg', 'extension': 'jpg'}, 1349750025: {'path': 'temp/1743661740_2316860_1349750025_200301416218e70ede68e51d2802e85b.jpg', 'extension': 'jpg'}, 1349749854: {'path': 'temp/1743661740_2316860_1349749854_ba7935df9e36cd30d7224de16bf72bd8.jpg', 'extension': 'jpg'}, 1349749891: {'path': 'temp/1743661740_2316860_1349749891_249b4cea25575520ab8613a06a0fda42.jpg', 'extension': 'jpg'}, 1349749899: {'path': 'temp/1743661740_2316860_1349749899_552ddffc890282dde0729b16cd915a5a.jpg', 'extension': 'jpg'}, 1349749907: {'path': 'temp/1743661740_2316860_1349749907_bf628a7403a36bc6bcfefa1c3825e5e7.jpg', 'extension': 'jpg'}, 1349749911: {'path': 'temp/1743661740_2316860_1349749911_83fb1eb6408f83b47b60bfcf48e857e4.jpg', 'extension': 'jpg'}, 1349749916: {'path': 'temp/1743661740_2316860_1349749916_476f31878b181cccd63ce4841bf1a373.jpg', 'extension': 'jpg'}, 1349749952: {'path': 'temp/1743661740_2316860_1349749952_14842c6c392af66e35fcbe03b65e85fd.jpg', 'extension': 'jpg'}, 1349749964: {'path': 'temp/1743661740_2316860_1349749964_53716a99be3f3648363a8879b2d38822.jpg', 'extension': 'jpg'}, 1349749828: {'path': 'temp/1743661740_2316860_1349749828_a36e543a7ef45b9a4106a8a4eeee6498.jpg', 'extension': 'jpg'}, 1349749839: {'path': 'temp/1743661740_2316860_1349749839_d9217ef26785d6c3732621be2f7ee572.jpg', 'extension': 'jpg'}, 1349749841: {'path': 'temp/1743661740_2316860_1349749841_80f8393402b0afac13d30ca54a093081.jpg', 'extension': 'jpg'}, 1349749848: {'path': 'temp/1743661740_2316860_1349749848_881f5da7870f8bb70358986f117c0989.jpg', 'extension': 'jpg'}, 1349749976: {'path': 'temp/1743661740_2316860_1349749976_609ea0c5e3d1ea0f1942f2c31b2c0ab6.jpg', 'extension': 'jpg'}, 1349749979: {'path': 'temp/1743661740_2316860_1349749979_b5fbe28c86bb0d189f65855fccf9d3b7.jpg', 'extension': 'jpg'}, 1349749984: {'path': 'temp/1743661740_2316860_1349749984_d8ae03f15f4897e2495681c39d3e932e.jpg', 'extension': 'jpg'}, 1349750015: {'path': 'temp/1743661740_2316860_1349750015_b434fc787b643fd568d570b803952fd8.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 = 22012957; (('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 = 22012957 group by h (('08', 58),) 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=22012957 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 (22012957) 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 (22012957) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 03042025 22012957 Nombre de photos uploadées : 58 / 23040 (0%) 03042025 22012957 Nombre de photos taguées (types de déchets): 0 / 58 (0%) 03042025 22012957 Nombre de photos taguées (volume) : 0 / 58 (0%) [{'photo_id': 1349748788, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/e041df7da2c0d8ea4cb0e0604c925ff3.jpg', 'username': None, 'uploaded_at': 1743660967, 'text': 'image_03042025_08_15_24_010133m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1349748690, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/466f8a02cdb3d11c18dd51d1905291ae.jpg', 'username': None, 'uploaded_at': 1743660967, 'text': 'image_03042025_08_15_35_010132m0.jpg 2e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1349748604, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/3beb5cdb9cace06b2d775cb0ef2526f5.jpg', 'username': None, 'uploaded_at': 1743660967, 'text': 'image_03042025_08_15_45_010136m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1349748956, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/b1743ec4633f193769483c0d71da7a75.jpg', 'username': None, 'uploaded_at': 1743661027, 'text': 'image_03042025_08_15_54_009136m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 7.62939453125e-06 ?????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0019903182983398438 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22012957, '2025-04-03' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1712161,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02301311492919922 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= 1712161 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1712161, 'dashboard_run_id': 1720873, 'mtr_portfolio_id': 22010987, 'dashboard_result_id': 9840049, '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_P22010987_03-04-2025_07_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22011012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22011013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22011014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22011015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22011016, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22011017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22011018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22011019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22011020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22011021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22011022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22011023, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1720873, 'mtr_portfolio_id': 22011757, 'dashboard_result_id': 9840050, '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_P22011757_03-04-2025_08_03_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22011759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22011760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22011761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22011762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22011763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22011764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22011765, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22011766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22011767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22011768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22011769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22011770, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1720873, 'mtr_portfolio_id': 22012336, 'dashboard_result_id': 9840051, '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_P22012336_03-04-2025_08_16_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22012339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22012340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22012341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22012342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22012343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22012344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22012345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22012346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22012347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22012348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22012349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22012350, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1720873, 'mtr_portfolio_id': 22012957, 'dashboard_result_id': 9840052, '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_P22012957_03-04-2025_08_25_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22012985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22012986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22012987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22012988, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22012989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22012990, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22012991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22012992, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22012993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22012994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22012995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22012996, '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 = 22010987 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': 2719497, 'mtr_portfolio_id': 22010987, 'created_at': datetime.datetime(2025, 4, 3, 7, 46, 59), 'result': '0.04079066086446344', 'result_long': None, 'result_double': None}] Qualite : 0.04079066086446344 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22010987 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22010987_03-04-2025_07_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22010987 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_P22010987_03-04-2025_07_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22011012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22011013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22011014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22011015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22011016, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22011017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22011018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22011019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22011020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22011021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22011022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22011023, 'pht': 3726}}" where mtr_portfolio_id = 22010987 and dashboard_run_id = 1720873 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`=22010987 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9840049, 0.04079066086446344, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22010987_03-04-2025_07_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22011012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22011013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22011014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22011015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22011016, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22011017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22011018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22011019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22011020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22011021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22011022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22011023, '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 = 22011757 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': 2719549, 'mtr_portfolio_id': 22011757, 'created_at': datetime.datetime(2025, 4, 3, 8, 3, 3), 'result': '0.05864467544110678', 'result_long': None, 'result_double': None}] Qualite : 0.05864467544110678 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22011757 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22011757_03-04-2025_08_03_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22011757 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_P22011757_03-04-2025_08_03_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22011759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22011760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22011761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22011762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22011763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22011764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22011765, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22011766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22011767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22011768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22011769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22011770, 'pht': 3726}}" where mtr_portfolio_id = 22011757 and dashboard_run_id = 1720873 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`=22011757 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9840050, 0.05864467544110678, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22011757_03-04-2025_08_03_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22011759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22011760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22011761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22011762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22011763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22011764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22011765, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22011766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22011767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22011768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22011769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22011770, '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 = 22012336 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': 2719611, 'mtr_portfolio_id': 22012336, 'created_at': datetime.datetime(2025, 4, 3, 8, 16, 59), 'result': '0.0442518499933343', 'result_long': None, 'result_double': None}] Qualite : 0.0442518499933343 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22012336 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22012336_03-04-2025_08_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22012336 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_P22012336_03-04-2025_08_16_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22012339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22012340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22012341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22012342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22012343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22012344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22012345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22012346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22012347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22012348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22012349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22012350, 'pht': 3726}}" where mtr_portfolio_id = 22012336 and dashboard_run_id = 1720873 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`=22012336 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9840051, 0.0442518499933343, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22012336_03-04-2025_08_16_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22012339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22012340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22012341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22012342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22012343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22012344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22012345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22012346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22012347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22012348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22012349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22012350, '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 = 22012957 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': 2719657, 'mtr_portfolio_id': 22012957, 'created_at': datetime.datetime(2025, 4, 3, 8, 28, 59), 'result': '0.0783326828057875', 'result_long': None, 'result_double': None}] Qualite : 0.0783326828057875 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22012957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22012957_03-04-2025_08_29_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22012957 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_P22012957_03-04-2025_08_29_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22012985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22012986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22012987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22012988, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22012989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22012990, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22012991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22012992, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22012993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22012994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22012995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22012996, 'pht': 3726}}" where mtr_portfolio_id = 22012957 and dashboard_run_id = 1720873 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`=22012957 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9840052, 0.0783326828057875, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22012957_03-04-2025_08_29_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22012985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22012986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22012987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22012988, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22012989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22012990, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22012991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22012992, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22012993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22012994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22012995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22012996, '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 (22010987,22011757,22012336,22012957) result : ((1349739056,), (1349739229,), (1349739233,), (1349739239,), (1349739243,), (1349739248,), (1349739295,), (1349739302,), (1349739313,), (1349739321,), (1349739375,), (1349739558,), (1349739599,), (1349739672,), (1349739687,), (1349739699,), (1349739705,), (1349739710,), (1349739770,), (1349739784,), (1349739789,), (1349739796,), (1349739813,), (1349739846,), (1349739850,), (1349739857,), (1349739873,), (1349739890,), (1349739919,), (1349739981,), (1349739987,), (1349739992,), (1349740057,), (1349740218,), (1349740242,), (1349740251,), (1349740255,), (1349740266,), (1349740408,), (1349740431,), (1349740436,), (1349740442,), (1349740448,), (1349740611,), (1349740617,), (1349740622,), (1349740626,), (1349740675,), (1349740683,), (1349740694,), (1349740703,), (1349740709,), (1349740715,), (1349740797,), (1349740808,), (1349740819,), (1349740822,), (1349740891,), (1349740904,), (1349740908,), (1349740912,), (1349740918,), (1349741033,), (1349741015,), (1349741029,), (1349741121,), (1349741128,), (1349741135,), (1349741139,), (1349741155,), (1349741163,), (1349741354,), (1349741403,), (1349741473,), (1349741545,), (1349741719,), (1349741740,), (1349741764,), (1349741768,), (1349741793,), (1349741811,), (1349741884,), (1349741891,), (1349741947,), (1349741971,), (1349741989,), (1349742303,), (1349742365,), (1349742369,), (1349742372,), (1349742377,), (1349742381,), (1349742410,), (1349742413,), (1349742416,), (1349742420,), (1349742441,), (1349742542,), (1349742565,), (1349742591,), (1349742637,), (1349742659,), (1349742686,), (1349743204,), (1349743238,), (1349743267,), (1349743318,), (1349743335,), (1349743518,), (1349743520,), (1349743535,), (1349743541,), (1349743547,), (1349743681,), (1349743701,), (1349743705,), (1349743709,), (1349743713,), (1349743718,), (1349743739,), (1349743742,), (1349743745,), (1349743748,), (1349744152,), (1349744201,), (1349744252,), (1349744295,), (1349744345,), (1349744392,), (1349744831,), (1349744856,), (1349744882,), (1349744914,), (1349745273,), (1349745162,), (1349745190,), (1349745217,), (1349745245,), (1349745473,), (1349745479,), (1349745492,), (1349745498,), (1349745502,), (1349745557,), (1349745649,), (1349745679,), (1349745705,), (1349745733,), (1349745755,), (1349746365,), (1349746608,), (1349746665,), (1349746669,), (1349746708,), (1349746933,), (1349747116,), (1349747179,), (1349747207,), (1349747228,), (1349747299,), (1349747452,), (1349747467,), (1349747473,), (1349747525,), (1349747531,), (1349747537,), (1349747541,), (1349747543,), (1349747606,), (1349747632,), (1349747646,), (1349747679,), (1349747709,), (1349747786,), (1349747789,), (1349747792,), (1349747794,), (1349747801,), (1349747897,), (1349747908,), (1349747920,), (1349747924,), (1349747929,), (1349748035,), (1349748039,), (1349748059,), (1349748064,), (1349748068,), (1349748073,), (1349748096,), (1349748106,), (1349748112,), (1349748116,), (1349748120,), (1349748183,), (1349748187,), (1349748192,), (1349748198,), (1349748203,), (1349748209,), (1349748262,), (1349748268,), (1349748272,), (1349748277,), (1349748462,), (1349748469,), (1349748472,), (1349748476,), (1349748481,), (1349748487,), (1349748814,), (1349748604,), (1349748690,), (1349748788,), (1349748908,), (1349748914,), (1349748920,), (1349748934,), (1349748942,), (1349748956,), (1349749098,), (1349749106,), (1349749117,), (1349749121,), (1349749203,), (1349749206,), (1349749210,), (1349749267,), (1349749283,), (1349749305,), (1349749413,), (1349749419,), (1349749425,), (1349749435,), (1349749554,), (1349749581,), (1349749585,), (1349749590,), (1349749595,), (1349749600,), (1349749661,), (1349749666,), (1349749670,), (1349749673,), (1349749679,), (1349749754,), (1349749760,), (1349749779,), (1349749784,), (1349749790,), (1349749828,), (1349749839,), (1349749841,), (1349749848,), (1349749854,), (1349749891,), (1349749899,), (1349749907,), (1349749911,), (1349749916,), (1349749952,), (1349749964,), (1349749976,), (1349749979,), (1349749984,), (1349750015,), (1349750019,), (1349750022,), (1349750025,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03042025': {'nb_upload': 58, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22012957]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1349750025, 1349750022, 1349750019, 1349750015, 1349749984, 1349749979, 1349749976, 1349749964, 1349749952, 1349749916, 1349749911, 1349749907, 1349749899, 1349749891, 1349749854, 1349749848, 1349749841, 1349749839, 1349749828] map_info['map_portfolio_photo'] : {22012957: [1349750025, 1349750022, 1349750019, 1349750015, 1349749984, 1349749979, 1349749976, 1349749964, 1349749952, 1349749916, 1349749911, 1349749907, 1349749899, 1349749891, 1349749854, 1349749848, 1349749841, 1349749839, 1349749828, 1349749790, 1349749784, 1349749779, 1349749760, 1349749754, 1349749679, 1349749673, 1349749670, 1349749666, 1349749661, 1349749600, 1349749595, 1349749590, 1349749585, 1349749581, 1349749554, 1349749435, 1349749425, 1349749419, 1349749413, 1349749305, 1349749283, 1349749267, 1349749210, 1349749206, 1349749203, 1349749121, 1349749117, 1349749106, 1349749098, 1349748956, 1349748942, 1349748934, 1349748920, 1349748914, 1349748908, 1349748788, 1349748690, 1349748604]} final : True mtd_id 4302 list_pids : [1349750025, 1349750022, 1349750019, 1349750015, 1349749984, 1349749979, 1349749976, 1349749964, 1349749952, 1349749916, 1349749911, 1349749907, 1349749899, 1349749891, 1349749854, 1349749848, 1349749841, 1349749839, 1349749828] Looping around the photos to save general results len do output : 1 /22012957Didn'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, '2719657') ('4302', '22012957', '1349750025', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349750022', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349750019', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349750015', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749984', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749979', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749976', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749964', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749952', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749916', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749911', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749907', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749899', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749891', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749854', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749848', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749841', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749839', None, None, None, None, None, '2719657') ('4302', None, None, None, None, None, None, None, '2719657') ('4302', '22012957', '1349749828', None, None, None, None, None, '2719657') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 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, '22012957', 'None', None, None, None, None, '2719657'), ('4302', '22012957', '1349750025', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349750022', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349750019', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349750015', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749984', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749979', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749976', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749964', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749952', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749916', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749911', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749907', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749899', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749891', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749854', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749848', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749841', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749839', None, None, None, None, None, '2719657'), ('4302', '22012957', '1349749828', None, None, None, None, None, '2719657')] time used for this insertion : 0.014003515243530273 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3356049060821533 time spend to save output : 0.014228105545043945 total time spend for step 5 : 0.34983301162719727 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 (2719657) 2.59user 2.09system 0:12.76elapsed 36%CPU (0avgtext+0avgdata 161288maxresident)k 53184inputs+18336outputs (211major+77110minor)pagefaults 0swaps