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 : 369116 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 (2614611) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2614611) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20823244 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2614611'] with mtr_portfolio_ids : ['20823244'] and first list_photo_ids : [] new path : /proc/369116/ Name: python3 Umask: 0002 State: R (running) Tgid: 369116 Ngid: 0 Pid: 369116 PPid: 369115 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 369116 NSpid: 369116 NSpgid: 366503 NSsid: 366503 VmPeak: 1106848 kB VmSize: 1106848 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98644 kB VmRSS: 98644 kB RssAnon: 59760 kB RssFile: 38884 kB RssShmem: 0 kB VmData: 865596 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 608 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 3/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: 53 nonvoluntary_ctxt_switches: 91 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '369116', 'Ngid': '0', 'Pid': '369116', 'PPid': '369115', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '369116', 'NSpid': '369116', 'NSpgid': '366503', 'NSsid': '366503', 'VmPeak': '1106848 kB', 'VmSize': '1106848 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98644 kB', 'VmRSS': '98644 kB', 'RssAnon': '59760 kB', 'RssFile': '38884 kB', 'RssShmem': '0 kB', 'VmData': '865596 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '608 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '3/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': '53', 'nonvoluntary_ctxt_switches': '91'} ('datou_batch_current', '369116', '1106848', '0', '1106848', '865596', '98644', b'', 'marlene', '2614611') 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 (20823244) 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 (2614611 ) ) 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 (20823244) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1339670438, 'portfolio_id': 20823244}, {'photo_id': 1339670435, 'portfolio_id': 20823244}, {'photo_id': 1339670432, 'portfolio_id': 20823244}, {'photo_id': 1339670430, 'portfolio_id': 20823244}, {'photo_id': 1339670427, 'portfolio_id': 20823244}, {'photo_id': 1339670388, 'portfolio_id': 20823244}, {'photo_id': 1339670324, 'portfolio_id': 20823244}, {'photo_id': 1339670300, 'portfolio_id': 20823244}, {'photo_id': 1339670293, 'portfolio_id': 20823244}, {'photo_id': 1339670291, 'portfolio_id': 20823244}, {'photo_id': 1339670289, 'portfolio_id': 20823244}, {'photo_id': 1339670207, 'portfolio_id': 20823244}, {'photo_id': 1339670203, 'portfolio_id': 20823244}, {'photo_id': 1339670197, 'portfolio_id': 20823244}, {'photo_id': 1339670180, 'portfolio_id': 20823244}, {'photo_id': 1339670162, 'portfolio_id': 20823244}, {'photo_id': 1339670160, 'portfolio_id': 20823244}, {'photo_id': 1339670157, 'portfolio_id': 20823244}, {'photo_id': 1339670151, 'portfolio_id': 20823244}, {'photo_id': 1339670133, 'portfolio_id': 20823244}, {'photo_id': 1339670131, 'portfolio_id': 20823244}, {'photo_id': 1339670121, 'portfolio_id': 20823244}, {'photo_id': 1339670118, 'portfolio_id': 20823244}, {'photo_id': 1339670115, 'portfolio_id': 20823244}, {'photo_id': 1339670108, 'portfolio_id': 20823244}, {'photo_id': 1339670106, 'portfolio_id': 20823244}, {'photo_id': 1339670102, 'portfolio_id': 20823244}, {'photo_id': 1339670097, 'portfolio_id': 20823244}, {'photo_id': 1339670094, 'portfolio_id': 20823244}, {'photo_id': 1339670091, 'portfolio_id': 20823244}, {'photo_id': 1339670080, 'portfolio_id': 20823244}, {'photo_id': 1339670078, 'portfolio_id': 20823244}, {'photo_id': 1339670074, 'portfolio_id': 20823244}, {'photo_id': 1339670070, 'portfolio_id': 20823244}, {'photo_id': 1339669998, 'portfolio_id': 20823244}, {'photo_id': 1339669782, 'portfolio_id': 20823244}] map_portfolio_id_photo_id: {20823244: [1339670438, 1339670435, 1339670432, 1339670430, 1339670427, 1339670388, 1339670324, 1339670300, 1339670293, 1339670291, 1339670289, 1339670207, 1339670203, 1339670197, 1339670180, 1339670162, 1339670160, 1339670157, 1339670151, 1339670133, 1339670131, 1339670121, 1339670118, 1339670115, 1339670108, 1339670106, 1339670102, 1339670097, 1339670094, 1339670091, 1339670080, 1339670078, 1339670074, 1339670070, 1339669998, 1339669782]} ##### 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.017333030700683594 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Feb 26 05:24:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20823244) 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 : 20823244 get user id for portfolio 20823244 get sub ptf for main ptf 20823244, type 3726 and hashtags ['Carton_gris', 'metal', 'kraft', 'mal_croppe', 'papier', 'Teint_Dans_La_Masse', 'cartonnette', 'autre_refus', 'flou', 'Carton_brun', 'plastique', 'environnement'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20823244 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','metal','kraft','mal_croppe','papier','Teint_Dans_La_Masse','cartonnette','autre_refus','flou','Carton_brun','plastique','environnement')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20823244 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','metal','kraft','mal_croppe','papier','Teint_Dans_La_Masse','cartonnette','autre_refus','flou','Carton_brun','plastique','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 20823244, 'sub_port_id': 20823269, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459343, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 57)}, 'autre_refus': {'main_port_id': 20823244, 'sub_port_id': 20823270, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459344, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 57)}, 'Carton_brun': {'main_port_id': 20823244, 'sub_port_id': 20823271, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459345, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 57)}, 'kraft': {'main_port_id': 20823244, 'sub_port_id': 20823272, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459346, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 57)}, 'environnement': {'main_port_id': 20823244, 'sub_port_id': 20823273, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459347, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 57)}, 'flou': {'main_port_id': 20823244, 'sub_port_id': 20823274, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459348, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 57)}, 'cartonnette': {'main_port_id': 20823244, 'sub_port_id': 20823275, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459349, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 57)}, 'plastique': {'main_port_id': 20823244, 'sub_port_id': 20823276, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459350, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 20823244, 'sub_port_id': 20823277, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459351, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 57)}, 'papier': {'main_port_id': 20823244, 'sub_port_id': 20823278, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459352, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 57)}, 'metal': {'main_port_id': 20823244, 'sub_port_id': 20823279, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459353, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 57)}, 'Carton_gris': {'main_port_id': 20823244, 'sub_port_id': 20823280, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459354, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20823269 , 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=20823244 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 (20823269) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20823244) result : ((1339669782,), (1339669998,), (1339670070,), (1339670074,), (1339670078,), (1339670080,), (1339670091,), (1339670094,), (1339670097,), (1339670102,), (1339670106,), (1339670108,), (1339670115,), (1339670118,), (1339670121,), (1339670131,), (1339670133,), (1339670151,), (1339670157,), (1339670160,), (1339670162,), (1339670180,), (1339670197,), (1339670203,), (1339670207,), (1339670289,), (1339670291,), (1339670293,), (1339670300,), (1339670324,), (1339670388,), (1339670427,), (1339670430,), (1339670432,), (1339670435,), (1339670438,)) 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 (1339670300) 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 20823270 , 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=20823244 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 (20823270) result : ((1339670082,), (1339670146,), (1339670166,), (1339670167,), (1339670168,), (1339670455,), (1339670473,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20823244) result : ((1339669782,), (1339669998,), (1339670070,), (1339670074,), (1339670078,), (1339670080,), (1339670091,), (1339670094,), (1339670097,), (1339670102,), (1339670106,), (1339670108,), (1339670115,), (1339670118,), (1339670121,), (1339670131,), (1339670133,), (1339670151,), (1339670157,), (1339670160,), (1339670162,), (1339670180,), (1339670197,), (1339670203,), (1339670207,), (1339670289,), (1339670291,), (1339670293,), (1339670300,), (1339670324,), (1339670388,), (1339670427,), (1339670430,), (1339670432,), (1339670435,), (1339670438,)) 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 (1339670300) 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 20823271 , 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=20823244 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 (20823271) result : ((1339670083,), (1339670084,), (1339670144,), (1339670153,), (1339670154,), (1339670171,), (1339670172,), (1339670173,), (1339670323,), (1339670460,), (1339670461,), (1339670462,), (1339670463,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20823244) result : ((1339669782,), (1339669998,), (1339670070,), (1339670074,), (1339670078,), (1339670080,), (1339670091,), (1339670094,), (1339670097,), (1339670102,), (1339670106,), (1339670108,), (1339670115,), (1339670118,), (1339670121,), (1339670131,), (1339670133,), (1339670151,), (1339670157,), (1339670160,), (1339670162,), (1339670180,), (1339670197,), (1339670203,), (1339670207,), (1339670289,), (1339670291,), (1339670293,), (1339670300,), (1339670324,), (1339670388,), (1339670427,), (1339670430,), (1339670432,), (1339670435,), (1339670438,)) 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 (1339670300) 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 20823272 , 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=20823244 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 (20823272) result : ((1339670464,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20823244) result : ((1339669782,), (1339669998,), (1339670070,), (1339670074,), (1339670078,), (1339670080,), (1339670091,), (1339670094,), (1339670097,), (1339670102,), (1339670106,), (1339670108,), (1339670115,), (1339670118,), (1339670121,), (1339670131,), (1339670133,), (1339670151,), (1339670157,), (1339670160,), (1339670162,), (1339670180,), (1339670197,), (1339670203,), (1339670207,), (1339670289,), (1339670291,), (1339670293,), (1339670300,), (1339670324,), (1339670388,), (1339670427,), (1339670430,), (1339670432,), (1339670435,), (1339670438,)) 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 (1339670300) 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 20823273 , 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=20823244 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 (20823273) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20823244) result : ((1339669782,), (1339669998,), (1339670070,), (1339670074,), (1339670078,), (1339670080,), (1339670091,), (1339670094,), (1339670097,), (1339670102,), (1339670106,), (1339670108,), (1339670115,), (1339670118,), (1339670121,), (1339670131,), (1339670133,), (1339670151,), (1339670157,), (1339670160,), (1339670162,), (1339670180,), (1339670197,), (1339670203,), (1339670207,), (1339670289,), (1339670291,), (1339670293,), (1339670300,), (1339670324,), (1339670388,), (1339670427,), (1339670430,), (1339670432,), (1339670435,), (1339670438,)) 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 (1339670300) 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 20823274 , 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=20823244 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 (20823274) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20823244) result : ((1339669782,), (1339669998,), (1339670070,), (1339670074,), (1339670078,), (1339670080,), (1339670091,), (1339670094,), (1339670097,), (1339670102,), (1339670106,), (1339670108,), (1339670115,), (1339670118,), (1339670121,), (1339670131,), (1339670133,), (1339670151,), (1339670157,), (1339670160,), (1339670162,), (1339670180,), (1339670197,), (1339670203,), (1339670207,), (1339670289,), (1339670291,), (1339670293,), (1339670300,), (1339670324,), (1339670388,), (1339670427,), (1339670430,), (1339670432,), (1339670435,), (1339670438,)) 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 (1339670300) 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 20823275 , 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=20823244 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 (20823275) result : ((1339670148,), (1339670149,), (1339670150,), (1339670322,), (1339670457,), (1339670458,), (1339670474,), (1339670475,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20823244) result : ((1339669782,), (1339669998,), (1339670070,), (1339670074,), (1339670078,), (1339670080,), (1339670091,), (1339670094,), (1339670097,), (1339670102,), (1339670106,), (1339670108,), (1339670115,), (1339670118,), (1339670121,), (1339670131,), (1339670133,), (1339670151,), (1339670157,), (1339670160,), (1339670162,), (1339670180,), (1339670197,), (1339670203,), (1339670207,), (1339670289,), (1339670291,), (1339670293,), (1339670300,), (1339670324,), (1339670388,), (1339670427,), (1339670430,), (1339670432,), (1339670435,), (1339670438,)) 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 (1339670300) 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 20823276 , 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=20823244 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 (20823276) result : ((1339670085,), (1339670145,), (1339670155,), (1339670303,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20823244) result : ((1339669782,), (1339669998,), (1339670070,), (1339670074,), (1339670078,), (1339670080,), (1339670091,), (1339670094,), (1339670097,), (1339670102,), (1339670106,), (1339670108,), (1339670115,), (1339670118,), (1339670121,), (1339670131,), (1339670133,), (1339670151,), (1339670157,), (1339670160,), (1339670162,), (1339670180,), (1339670197,), (1339670203,), (1339670207,), (1339670289,), (1339670291,), (1339670293,), (1339670300,), (1339670324,), (1339670388,), (1339670427,), (1339670430,), (1339670432,), (1339670435,), (1339670438,)) 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 (1339670300) 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 20823277 , 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=20823244 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 (20823277) result : ((1339670135,), (1339670136,), (1339670137,), (1339670138,), (1339670139,), (1339670140,), (1339670141,), (1339670142,), (1339670143,), (1339670297,), (1339670298,), (1339670299,), (1339670304,), (1339670305,), (1339670306,), (1339670307,), (1339670308,), (1339670309,), (1339670310,), (1339670311,), (1339670312,), (1339670313,), (1339670314,), (1339670315,), (1339670316,), (1339670317,), (1339670319,), (1339670320,), (1339670321,), (1339670448,), (1339670449,), (1339670450,), (1339670451,), (1339670452,), (1339670453,), (1339670454,), (1339670470,), (1339670471,), (1339670472,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20823244) result : ((1339669782,), (1339669998,), (1339670070,), (1339670074,), (1339670078,), (1339670080,), (1339670091,), (1339670094,), (1339670097,), (1339670102,), (1339670106,), (1339670108,), (1339670115,), (1339670118,), (1339670121,), (1339670131,), (1339670133,), (1339670151,), (1339670157,), (1339670160,), (1339670162,), (1339670180,), (1339670197,), (1339670203,), (1339670207,), (1339670289,), (1339670291,), (1339670293,), (1339670300,), (1339670324,), (1339670388,), (1339670427,), (1339670430,), (1339670432,), (1339670435,), (1339670438,)) 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 (1339670300) 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 20823278 , 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=20823244 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 (20823278) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20823244) result : ((1339669782,), (1339669998,), (1339670070,), (1339670074,), (1339670078,), (1339670080,), (1339670091,), (1339670094,), (1339670097,), (1339670102,), (1339670106,), (1339670108,), (1339670115,), (1339670118,), (1339670121,), (1339670131,), (1339670133,), (1339670151,), (1339670157,), (1339670160,), (1339670162,), (1339670180,), (1339670197,), (1339670203,), (1339670207,), (1339670289,), (1339670291,), (1339670293,), (1339670300,), (1339670324,), (1339670388,), (1339670427,), (1339670430,), (1339670432,), (1339670435,), (1339670438,)) 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 (1339670300) 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 20823279 , 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=20823244 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 (20823279) result : ((1339670466,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20823244) result : ((1339669782,), (1339669998,), (1339670070,), (1339670074,), (1339670078,), (1339670080,), (1339670091,), (1339670094,), (1339670097,), (1339670102,), (1339670106,), (1339670108,), (1339670115,), (1339670118,), (1339670121,), (1339670131,), (1339670133,), (1339670151,), (1339670157,), (1339670160,), (1339670162,), (1339670180,), (1339670197,), (1339670203,), (1339670207,), (1339670289,), (1339670291,), (1339670293,), (1339670300,), (1339670324,), (1339670388,), (1339670427,), (1339670430,), (1339670432,), (1339670435,), (1339670438,)) 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 (1339670300) 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 20823280 , 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=20823244 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 (20823280) result : ((1339670169,), (1339670301,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20823244) result : ((1339669782,), (1339669998,), (1339670070,), (1339670074,), (1339670078,), (1339670080,), (1339670091,), (1339670094,), (1339670097,), (1339670102,), (1339670106,), (1339670108,), (1339670115,), (1339670118,), (1339670121,), (1339670131,), (1339670133,), (1339670151,), (1339670157,), (1339670160,), (1339670162,), (1339670180,), (1339670197,), (1339670203,), (1339670207,), (1339670289,), (1339670291,), (1339670293,), (1339670300,), (1339670324,), (1339670388,), (1339670427,), (1339670430,), (1339670432,), (1339670435,), (1339670438,)) 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 (1339670300) 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`=20823244 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','metal','kraft','mal_croppe','papier','Teint_Dans_La_Masse','cartonnette','autre_refus','flou','Carton_brun','plastique','environnement')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20823244 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','metal','kraft','mal_croppe','papier','Teint_Dans_La_Masse','cartonnette','autre_refus','flou','Carton_brun','plastique','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 20823244, 'sub_port_id': 20823281, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459355, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 58)}, 'autre_refus': {'main_port_id': 20823244, 'sub_port_id': 20823282, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459356, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 58)}, 'Carton_brun': {'main_port_id': 20823244, 'sub_port_id': 20823283, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459357, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 58)}, 'kraft': {'main_port_id': 20823244, 'sub_port_id': 20823284, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459358, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 58)}, 'environnement': {'main_port_id': 20823244, 'sub_port_id': 20823285, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459359, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 58)}, 'flou': {'main_port_id': 20823244, 'sub_port_id': 20823286, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459360, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 58)}, 'cartonnette': {'main_port_id': 20823244, 'sub_port_id': 20823287, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459361, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 58)}, 'plastique': {'main_port_id': 20823244, 'sub_port_id': 20823288, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459362, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20823244, 'sub_port_id': 20823289, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459363, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 58)}, 'papier': {'main_port_id': 20823244, 'sub_port_id': 20823290, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459364, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 58)}, 'metal': {'main_port_id': 20823244, 'sub_port_id': 20823291, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459365, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 58)}, 'Carton_gris': {'main_port_id': 20823244, 'sub_port_id': 20823292, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13459366, 'last_updated_at': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 5, 20, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 5, 20, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20823281,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20823269 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20823282,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20823270 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20823283,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20823271 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20823284,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20823272 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20823285,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20823273 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20823286,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20823274 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20823287,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20823275 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20823288,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20823276 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20823289,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20823277 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20823290,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20823278 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20823291,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20823279 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20823292,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20823280 lien utilise dans velours : https://www.fotonower.com/velours/20823281,20823282,20823283,20823284,20823285,20823286,20823287,20823288,20823289,20823290,20823291,20823292?tags=mal_croppe,autre_refus,Carton_brun,kraft,environnement,flou,cartonnette,plastique,Teint_Dans_La_Masse,papier,metal,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20823244]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339670438, 1339670435, 1339670432, 1339670430, 1339670427, 1339670388, 1339670324, 1339670300, 1339670293, 1339670291, 1339670289, 1339670207, 1339670203, 1339670197, 1339670180, 1339670162, 1339670160, 1339670157, 1339670151, 1339670133, 1339670131] map_info['map_portfolio_photo'] : {20823244: [1339670438, 1339670435, 1339670432, 1339670430, 1339670427, 1339670388, 1339670324, 1339670300, 1339670293, 1339670291, 1339670289, 1339670207, 1339670203, 1339670197, 1339670180, 1339670162, 1339670160, 1339670157, 1339670151, 1339670133, 1339670131, 1339670121, 1339670118, 1339670115, 1339670108, 1339670106, 1339670102, 1339670097, 1339670094, 1339670091, 1339670080, 1339670078, 1339670074, 1339670070, 1339669998, 1339669782]} final : False mtd_id 4302 list_pids : [1339670438, 1339670435, 1339670432, 1339670430, 1339670427, 1339670388, 1339670324, 1339670300, 1339670293, 1339670291, 1339670289, 1339670207, 1339670203, 1339670197, 1339670180, 1339670162, 1339670160, 1339670157, 1339670151, 1339670133, 1339670131] Looping around the photos to save general results len do output : 1 /20823244. 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, '2614611') ('4302', '20823244', '1339670438', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670435', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670432', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670430', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670427', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670388', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670324', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670300', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670293', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670291', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670289', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670207', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670203', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670197', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670180', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670162', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670160', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670157', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670151', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670133', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670131', None, None, None, None, None, '2614611') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 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, '20823244', "{'mal_croppe': 20823269, 'autre_refus': 20823270, 'Carton_brun': 20823271, 'kraft': 20823272, 'environnement': 20823273, 'flou': 20823274, 'cartonnette': 20823275, 'plastique': 20823276, 'Teint_Dans_La_Masse': 20823277, 'papier': 20823278, 'metal': 20823279, 'Carton_gris': 20823280}", None, None, None, None, '2614611'), ('4302', '20823244', '1339670438', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670435', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670432', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670430', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670427', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670388', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670324', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670300', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670293', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670291', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670289', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670207', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670203', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670197', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670180', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670162', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670160', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670157', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670151', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670133', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670131', None, None, None, None, None, '2614611')] time used for this insertion : 0.018758535385131836 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5263702869415283 time spend to save output : 0.0191957950592041 total time spend for step 1 : 0.5455660820007324 step2:final Wed Feb 26 05:24: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 (20823244) 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 20823244 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1339669998,1339669782,1339670080,1339670078,1339670074,1339670070,1339670108,1339670106,1339670102,1339670097,1339670094,1339670091,1339670121,1339670118,1339670115,1339670162,1339670160,1339670157,1339670151,1339670133,1339670131,1339670207,1339670203,1339670197,1339670180,1339670388,1339670324,1339670300,1339670293,1339670291,1339670289,1339670438,1339670435,1339670432,1339670430,1339670427); 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([20823244]) Inside saveOutput : final : False verbose : True original output for save of step final : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} new output for save of step final : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} [1339670438, 1339670435, 1339670432, 1339670430, 1339670427, 1339670388, 1339670324, 1339670300, 1339670293, 1339670291, 1339670289, 1339670207, 1339670203, 1339670197, 1339670180, 1339670162, 1339670160, 1339670157, 1339670151, 1339670133, 1339670131] map_info['map_portfolio_photo'] : {20823244: [1339670438, 1339670435, 1339670432, 1339670430, 1339670427, 1339670388, 1339670324, 1339670300, 1339670293, 1339670291, 1339670289, 1339670207, 1339670203, 1339670197, 1339670180, 1339670162, 1339670160, 1339670157, 1339670151, 1339670133, 1339670131, 1339670121, 1339670118, 1339670115, 1339670108, 1339670106, 1339670102, 1339670097, 1339670094, 1339670091, 1339670080, 1339670078, 1339670074, 1339670070, 1339669998, 1339669782]} final : False mtd_id 4302 list_pids : [1339670438, 1339670435, 1339670432, 1339670430, 1339670427, 1339670388, 1339670324, 1339670300, 1339670293, 1339670291, 1339670289, 1339670207, 1339670203, 1339670197, 1339670180, 1339670162, 1339670160, 1339670157, 1339670151, 1339670133, 1339670131] Looping around the photos to save general results len do output : 21 /1339670438.Didn't retrieve data . /1339670435.Didn't retrieve data . /1339670432.Didn't retrieve data . /1339670430.Didn't retrieve data . /1339670427.Didn't retrieve data . /1339670388.Didn't retrieve data . /1339670324.Didn't retrieve data . /1339670300.Didn't retrieve data . /1339670293.Didn't retrieve data . /1339670291.Didn't retrieve data . /1339670289.Didn't retrieve data . /1339670207.Didn't retrieve data . /1339670203.Didn't retrieve data . /1339670197.Didn't retrieve data . /1339670180.Didn't retrieve data . /1339670162.Didn't retrieve data . /1339670160.Didn't retrieve data . /1339670157.Didn't retrieve data . /1339670151.Didn't retrieve data . /1339670133.Didn't retrieve data . /1339670131.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, '2614611') ('4302', '20823244', '1339670438', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670435', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670432', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670430', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670427', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670388', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670324', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670300', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670293', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670291', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670289', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670207', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670203', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670197', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670180', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670162', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670160', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670157', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670151', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670133', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670131', None, None, None, None, None, '2614611') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 63 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', '20823244', '1339670438', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670435', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670432', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670430', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670427', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670388', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670324', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670300', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670293', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670291', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670289', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670207', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670203', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670197', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670180', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670162', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670160', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670157', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670151', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670133', '0.09997299074976061', None, None, None, None, '2614611'), ('4302', '20823244', '1339670131', '0.09997299074976061', None, None, None, None, '2614611')] time used for this insertion : 0.019280433654785156 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06779026985168457 time spend to save output : 0.02017974853515625 total time spend for step 2 : 0.08797001838684082 step3:velours_tree Wed Feb 26 05:24: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 : {20823244: [{'mal_croppe': 20823269, 'autre_refus': 20823270, 'Carton_brun': 20823271, 'kraft': 20823272, 'environnement': 20823273, 'flou': 20823274, 'cartonnette': 20823275, 'plastique': 20823276, 'Teint_Dans_La_Masse': 20823277, 'papier': 20823278, 'metal': 20823279, 'Carton_gris': 20823280}]} input_args_next_step : {20823244: ()} output_args : {20823244: [{'mal_croppe': 20823269, 'autre_refus': 20823270, 'Carton_brun': 20823271, 'kraft': 20823272, 'environnement': 20823273, 'flou': 20823274, 'cartonnette': 20823275, 'plastique': 20823276, 'Teint_Dans_La_Masse': 20823277, 'papier': 20823278, 'metal': 20823279, 'Carton_gris': 20823280}]} args : 20823244 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': 20823269, 'autre_refus': 20823270, 'Carton_brun': 20823271, 'kraft': 20823272, 'environnement': 20823273, 'flou': 20823274, 'cartonnette': 20823275, 'plastique': 20823276, 'Teint_Dans_La_Masse': 20823277, 'papier': 20823278, 'metal': 20823279, 'Carton_gris': 20823280},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20823244) 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([20823244]) 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.34084606170654297 time spend to save output : 6.0558319091796875e-05 total time spend for step 3 : 0.34090662002563477 step4:send_mail_cod Wed Feb 26 05:24:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} input_args_next_step : {1339670438: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670438 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670435 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670432 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670430 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670427 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670388 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670324 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670300 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670293 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670291 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670289 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670207 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670203 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670197 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670180 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670162 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670160 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670157 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670151 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670133 depend.output_id : 0 input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ()} output_args : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',)} args : 1339670131 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 : {20823244: [{'mal_croppe': 20823269, 'autre_refus': 20823270, 'Carton_brun': 20823271, 'kraft': 20823272, 'environnement': 20823273, 'flou': 20823274, 'cartonnette': 20823275, 'plastique': 20823276, 'Teint_Dans_La_Masse': 20823277, 'papier': 20823278, 'metal': 20823279, 'Carton_gris': 20823280}]} input_args_next_step : {1339670438: ('0.09997299074976061',), 1339670435: ('0.09997299074976061',), 1339670432: ('0.09997299074976061',), 1339670430: ('0.09997299074976061',), 1339670427: ('0.09997299074976061',), 1339670388: ('0.09997299074976061',), 1339670324: ('0.09997299074976061',), 1339670300: ('0.09997299074976061',), 1339670293: ('0.09997299074976061',), 1339670291: ('0.09997299074976061',), 1339670289: ('0.09997299074976061',), 1339670207: ('0.09997299074976061',), 1339670203: ('0.09997299074976061',), 1339670197: ('0.09997299074976061',), 1339670180: ('0.09997299074976061',), 1339670162: ('0.09997299074976061',), 1339670160: ('0.09997299074976061',), 1339670157: ('0.09997299074976061',), 1339670151: ('0.09997299074976061',), 1339670133: ('0.09997299074976061',), 1339670131: ('0.09997299074976061',), 20823244: ()} output_args : {20823244: [{'mal_croppe': 20823269, 'autre_refus': 20823270, 'Carton_brun': 20823271, 'kraft': 20823272, 'environnement': 20823273, 'flou': 20823274, 'cartonnette': 20823275, 'plastique': 20823276, 'Teint_Dans_La_Masse': 20823277, 'papier': 20823278, 'metal': 20823279, 'Carton_gris': 20823280}]} args : 20823244 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 :22, first value : ('0.09997299074976061',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20823244) 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 (1339670438,1339670435,1339670432,1339670430,1339670427,1339670388,1339670324,1339670300,1339670293,1339670291,1339670289,1339670207,1339670203,1339670197,1339670180,1339670162,1339670160,1339670157,1339670151,1339670133,1339670131) Found this number of photos: 21 ##### Call download_photos : nb_thread : 5 begin to download photo : 1339670131 begin to download photo : 1339670162 begin to download photo : 1339670289 begin to download photo : 1339670388 begin to download photo : 1339670438 download finish for photo 1339670289 begin to download photo : 1339670291 download finish for photo 1339670131 begin to download photo : 1339670133 download finish for photo 1339670162 begin to download photo : 1339670180 download finish for photo 1339670388 begin to download photo : 1339670427 download finish for photo 1339670438 download finish for photo 1339670291 begin to download photo : 1339670293 download finish for photo 1339670133 begin to download photo : 1339670151 download finish for photo 1339670180 begin to download photo : 1339670197 download finish for photo 1339670427 begin to download photo : 1339670430 download finish for photo 1339670197 begin to download photo : 1339670203 download finish for photo 1339670293 begin to download photo : 1339670300 download finish for photo 1339670430 begin to download photo : 1339670432 download finish for photo 1339670151 begin to download photo : 1339670157 download finish for photo 1339670203 begin to download photo : 1339670207 download finish for photo 1339670300 begin to download photo : 1339670324 download finish for photo 1339670157 begin to download photo : 1339670160 download finish for photo 1339670432 begin to download photo : 1339670435 download finish for photo 1339670207 download finish for photo 1339670324 download finish for photo 1339670160 download finish for photo 1339670435 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette208232691740543900/ length of list_filenames : 21 ; length of list_pids : 21 ; length of list_args : 21 results_Auto_P20823244_26-02-2025_05_25_00.pdf 20823269 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=20823269 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208232691740543900 20823270 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=20823270 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339670082: '1740543452_2302082_1339669998_546f2434126748992881a1cdd9858d1a_rle_crop_3687125110_0.png', 1339670146: '1740543591_2303762_1339670102_70cb58c430d797bcc116e57c9ee6d4f2_rle_crop_3687125840_0.png', 1339670166: '1740543632_2304330_1339670078_332cfa9c93205f2589389eb6d72a2806_rle_crop_3687126184_0.png', 1339670167: '1740543632_2304330_1339670074_b9797a75687c93b3f14b5dac3ab6d518_rle_crop_3687126227_0.png', 1339670168: '1740543632_2304330_1339670070_8031badc0b5d5cd7e2d8ad74705efdf8_rle_crop_3687126779_0.png', 1339670455: '1740543830_2306326_1339670291_9aa41c25647785202a58305dd5e1aa7d_rle_crop_3687127544_0.png', 1339670473: '1740543851_2306622_1339670388_bf71e40d7a5b4384da8a8f8529e65fef_rle_crop_3687127571_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ff4a6d189942939a184cc4e7985f4ce6_34776757.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/06e60ddcd2e0129b9a75c63409b149da_4390583.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/01da5abee8ac78842ac19f8a855407a6_35159833.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/415d071cb09ea000f475de808caf05df_35313791.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/2c5c44fde8733aec6e98b38eefa72960_99548276.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c65a04ae35438f44fdd53f36624fbc17_11200841.png change filename to text .imagette208232701740543900/ imagette208232701740543900/1740543452_2302082_1339669998_546f2434126748992881a1cdd9858d1a_rle_crop_3687125110_0.png.png imagette208232701740543900/1740543830_2306326_1339670291_9aa41c25647785202a58305dd5e1aa7d_rle_crop_3687127544_0.png.png imagette208232701740543900/1740543851_2306622_1339670388_bf71e40d7a5b4384da8a8f8529e65fef_rle_crop_3687127571_0.png.png imagette208232701740543900/1740543632_2304330_1339670070_8031badc0b5d5cd7e2d8ad74705efdf8_rle_crop_3687126779_0.png.png imagette208232701740543900/1740543632_2304330_1339670074_b9797a75687c93b3f14b5dac3ab6d518_rle_crop_3687126227_0.png.png imagette208232701740543900/1740543591_2303762_1339670102_70cb58c430d797bcc116e57c9ee6d4f2_rle_crop_3687125840_0.png.png imagette208232701740543900/1740543632_2304330_1339670078_332cfa9c93205f2589389eb6d72a2806_rle_crop_3687126184_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/27c61dbd13694fc5c9f1259b5c5e22d7_81428498.png imagette208232701740543900 20823272 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=20823272 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339670464: '1740543830_2306326_1339670324_fe3058d7ef8ac98b227cbe49dce7d53c_rle_crop_3687127399_0.png'} change filename to text .imagette208232721740543900/ imagette208232721740543900/1740543830_2306326_1339670324_fe3058d7ef8ac98b227cbe49dce7d53c_rle_crop_3687127399_0.png.png imagette208232741740543900/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a95f6f6efbcea50c37f58e8227b4ec02_838105.png imagette208232721740543900 20823274 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=20823274 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208232741740543900 20823275 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=20823275 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339670148: '1740543591_2303762_1339670102_70cb58c430d797bcc116e57c9ee6d4f2_rle_crop_3687125841_0.png', 1339670149: '1740543591_2303762_1339670102_70cb58c430d797bcc116e57c9ee6d4f2_rle_crop_3687125845_0.png', 1339670150: '1740543591_2303762_1339670097_20b74f11fbc1f19cb86eda3bb1701c14_rle_crop_3687125863_0.png', 1339670322: '1740543712_2305188_1339670131_75cfe5183e92e1ceeeaf881601ee89e8_rle_crop_3687127157_0.png', 1339670457: '1740543830_2306326_1339670324_fe3058d7ef8ac98b227cbe49dce7d53c_rle_crop_3687127398_0.png', 1339670458: '1740543830_2306326_1339670324_fe3058d7ef8ac98b227cbe49dce7d53c_rle_crop_3687127397_0.png', 1339670474: '1740543851_2306622_1339670388_bf71e40d7a5b4384da8a8f8529e65fef_rle_crop_3687127579_0.png', 1339670475: '1740543851_2306622_1339670180_010676820e9b4c719a0aa9d3c5e06c1b_rle_crop_3687127682_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/fea49eaec09ab62943d6e6be899b2360_83390204.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/00b8724f516a5bd12e66b7f78ac00125_88660204.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/960cce7f227d702cddf3263b42eb8f37_36195230.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/6c57ee78ad43f2b9c344392bad9e14fd_98754653.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/b8c8ec6beeebeb55c6d703f903707984_50033752.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/cd87739eda8ec9376472e96ef00d4139_72337185.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/de8966e9b532e1ac36db0bff5e61e185_6155669.png change filename to text .imagette208232751740543900/ imagette208232751740543900/1740543830_2306326_1339670324_fe3058d7ef8ac98b227cbe49dce7d53c_rle_crop_3687127397_0.png.png imagette208232751740543900/1740543851_2306622_1339670180_010676820e9b4c719a0aa9d3c5e06c1b_rle_crop_3687127682_0.png.png imagette208232751740543900/1740543830_2306326_1339670324_fe3058d7ef8ac98b227cbe49dce7d53c_rle_crop_3687127398_0.png.png imagette208232751740543900/1740543591_2303762_1339670102_70cb58c430d797bcc116e57c9ee6d4f2_rle_crop_3687125841_0.png.png imagette208232751740543900/1740543712_2305188_1339670131_75cfe5183e92e1ceeeaf881601ee89e8_rle_crop_3687127157_0.png.png imagette208232751740543900/1740543851_2306622_1339670388_bf71e40d7a5b4384da8a8f8529e65fef_rle_crop_3687127579_0.png.png imagette208232751740543900/1740543591_2303762_1339670097_20b74f11fbc1f19cb86eda3bb1701c14_rle_crop_3687125863_0.png.png imagette208232751740543900/1740543591_2303762_1339670102_70cb58c430d797bcc116e57c9ee6d4f2_rle_crop_3687125845_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/55942a6bee8f59a914dbf44acbd97585_94338833.png imagette208232751740543900 20823276 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=20823276 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339670085: '1740543452_2302082_1339669782_15ed52602eb34d296ae428aa6df51d0d_rle_crop_3687125128_0.png', 1339670145: '1740543613_2304059_1339670080_9e3252ba77d050cfa84e90855eba0e84_rle_crop_3687125922_0.png', 1339670155: '1740543591_2303762_1339670091_d7f60c42bed71f85dd76308c66956177_rle_crop_3687125909_0.png', 1339670303: '1740543730_2305419_1339670115_16cf44aad3438c6408e0ddad513b5052_rle_crop_3687127203_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/56e40f1d16119e5850efaec043e4714e_79487334.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/cf3834d6a2d7ffd7c9c17b5add98244b_20045017.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/47e859f9000cffee28192aa08eaa9e1b_98247358.png change filename to text .imagette208232761740543901/ imagette208232761740543901/1740543591_2303762_1339670091_d7f60c42bed71f85dd76308c66956177_rle_crop_3687125909_0.png.png imagette208232761740543901/1740543452_2302082_1339669782_15ed52602eb34d296ae428aa6df51d0d_rle_crop_3687125128_0.png.png imagette208232761740543901/1740543613_2304059_1339670080_9e3252ba77d050cfa84e90855eba0e84_rle_crop_3687125922_0.png.png imagette208232761740543901/1740543730_2305419_1339670115_16cf44aad3438c6408e0ddad513b5052_rle_crop_3687127203_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3a0f60e60055aa6dec522193e8ed8b1c_38568280.png imagette208232761740543901 20823279 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=20823279 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339670466: '1740543830_2306326_1339670293_bceba271b8d296c9f810e29667045798_rle_crop_3687127520_0.png'} change filename to text .imagette208232791740543901/ imagette208232791740543901/1740543830_2306326_1339670293_bceba271b8d296c9f810e29667045798_rle_crop_3687127520_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/461d519ce9343d6c56604827ba20cb2f_75214877.png imagette208232791740543901 20823271 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=20823271 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339670083: '1740543452_2302082_1339669998_546f2434126748992881a1cdd9858d1a_rle_crop_3687125112_0.png', 1339670084: '1740543452_2302082_1339669782_15ed52602eb34d296ae428aa6df51d0d_rle_crop_3687125135_0.png', 1339670144: '1740543613_2304059_1339670080_9e3252ba77d050cfa84e90855eba0e84_rle_crop_3687125927_0.png', 1339670153: '1740543591_2303762_1339670097_20b74f11fbc1f19cb86eda3bb1701c14_rle_crop_3687125859_0.png', 1339670154: '1740543591_2303762_1339670094_e4c8323f9d9994156cc9e8d34586ff68_rle_crop_3687125886_0.png', 1339670171: '1740543632_2304330_1339670078_332cfa9c93205f2589389eb6d72a2806_rle_crop_3687126188_0.png', 1339670172: '1740543632_2304330_1339670078_332cfa9c93205f2589389eb6d72a2806_rle_crop_3687126189_0.png', 1339670173: '1740543632_2304330_1339670074_b9797a75687c93b3f14b5dac3ab6d518_rle_crop_3687126232_0.png', 1339670323: '1740543712_2305188_1339670157_2d83cf1a7560b7b8d82ca5cfc8d3020e_rle_crop_3687127104_0.png', 1339670460: '1740543830_2306326_1339670324_fe3058d7ef8ac98b227cbe49dce7d53c_rle_crop_3687127396_0.png', 1339670461: '1740543830_2306326_1339670300_ccf78f20c00942a32cd6d9ef4551a9ab_rle_crop_3687127506_0.png', 1339670462: '1740543830_2306326_1339670293_bceba271b8d296c9f810e29667045798_rle_crop_3687127523_0.png', 1339670463: '1740543830_2306326_1339670291_9aa41c25647785202a58305dd5e1aa7d_rle_crop_3687127543_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ccd01c82cac9243d150269ffe4c1c1ea_2619944.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/6776663d91d672cf28031a35d6d02ca1_52991309.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f12d94c91bbb8f88c0e401bdfd139fea_54171097.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3dbee0814b8c167f52872006dcbee486_13793680.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/bed95ddc731c32a1753672dfcac17766_39195202.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/233a487dad6fa58adbb87ec1093a954e_82208873.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/139162bf4d581ef6bec736e7361f3244_79069381.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a8ccc8b268d9f4b7469ce83588b2ded7_63845684.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/472b9cec76c2c107c201731b908d551e_45372250.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/cbe19481edf991b7e74fdb7ff6588c54_98777954.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/5a9c4a05b70bd0d124479d05b6416fa0_50565374.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/5ccfb1f0d1f5a12c9083ac0bc3fab185_70373716.png change filename to text .imagette208232711740543901/ imagette208232711740543901/1740543613_2304059_1339670080_9e3252ba77d050cfa84e90855eba0e84_rle_crop_3687125927_0.png.png imagette208232711740543901/1740543830_2306326_1339670291_9aa41c25647785202a58305dd5e1aa7d_rle_crop_3687127543_0.png.png imagette208232711740543901/1740543830_2306326_1339670324_fe3058d7ef8ac98b227cbe49dce7d53c_rle_crop_3687127396_0.png.png imagette208232711740543901/1740543632_2304330_1339670074_b9797a75687c93b3f14b5dac3ab6d518_rle_crop_3687126232_0.png.png imagette208232711740543901/1740543452_2302082_1339669782_15ed52602eb34d296ae428aa6df51d0d_rle_crop_3687125135_0.png.png imagette208232711740543901/1740543591_2303762_1339670097_20b74f11fbc1f19cb86eda3bb1701c14_rle_crop_3687125859_0.png.png imagette208232711740543901/1740543632_2304330_1339670078_332cfa9c93205f2589389eb6d72a2806_rle_crop_3687126189_0.png.png imagette208232711740543901/1740543712_2305188_1339670157_2d83cf1a7560b7b8d82ca5cfc8d3020e_rle_crop_3687127104_0.png.png imagette208232711740543901/1740543591_2303762_1339670094_e4c8323f9d9994156cc9e8d34586ff68_rle_crop_3687125886_0.png.png imagette208232711740543901/1740543632_2304330_1339670078_332cfa9c93205f2589389eb6d72a2806_rle_crop_3687126188_0.png.png imagette208232711740543901/1740543452_2302082_1339669998_546f2434126748992881a1cdd9858d1a_rle_crop_3687125112_0.png.png imagette208232711740543901/1740543830_2306326_1339670293_bceba271b8d296c9f810e29667045798_rle_crop_3687127523_0.png.png imagette208232711740543901/1740543830_2306326_1339670300_ccf78f20c00942a32cd6d9ef4551a9ab_rle_crop_3687127506_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e1ceeb6292c28b298d0f17f0384bd6c6_6576954.png imagette208232711740543901 20823277 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=20823277 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339670448: '1740543830_2306326_1339670324_fe3058d7ef8ac98b227cbe49dce7d53c_rle_crop_3687127401_0.png', 1339670312: '1740543712_2305188_1339670157_2d83cf1a7560b7b8d82ca5cfc8d3020e_rle_crop_3687127114_0.png', 1339670313: '1740543712_2305188_1339670151_f3bb2c9d893714b39c39e976eb40ad6d_rle_crop_3687127126_0.png', 1339670314: '1740543712_2305188_1339670151_f3bb2c9d893714b39c39e976eb40ad6d_rle_crop_3687127130_0.png', 1339670315: '1740543712_2305188_1339670151_f3bb2c9d893714b39c39e976eb40ad6d_rle_crop_3687127131_0.png', 1339670316: '1740543712_2305188_1339670151_f3bb2c9d893714b39c39e976eb40ad6d_rle_crop_3687127133_0.png', 1339670317: '1740543712_2305188_1339670151_f3bb2c9d893714b39c39e976eb40ad6d_rle_crop_3687127124_0.png', 1339670319: '1740543712_2305188_1339670133_57ab962342004e3f5707c9695090291c_rle_crop_3687127148_0.png', 1339670320: '1740543712_2305188_1339670131_75cfe5183e92e1ceeeaf881601ee89e8_rle_crop_3687127162_0.png', 1339670321: '1740543712_2305188_1339670131_75cfe5183e92e1ceeeaf881601ee89e8_rle_crop_3687127160_0.png', 1339670311: '1740543712_2305188_1339670157_2d83cf1a7560b7b8d82ca5cfc8d3020e_rle_crop_3687127110_0.png', 1339670449: '1740543830_2306326_1339670324_fe3058d7ef8ac98b227cbe49dce7d53c_rle_crop_3687127406_0.png', 1339670450: '1740543830_2306326_1339670324_fe3058d7ef8ac98b227cbe49dce7d53c_rle_crop_3687127404_0.png', 1339670451: '1740543830_2306326_1339670300_ccf78f20c00942a32cd6d9ef4551a9ab_rle_crop_3687127508_0.png', 1339670452: '1740543830_2306326_1339670293_bceba271b8d296c9f810e29667045798_rle_crop_3687127532_0.png', 1339670453: '1740543830_2306326_1339670293_bceba271b8d296c9f810e29667045798_rle_crop_3687127527_0.png', 1339670454: '1740543830_2306326_1339670291_9aa41c25647785202a58305dd5e1aa7d_rle_crop_3687127547_0.png', 1339670470: '1740543851_2306622_1339670388_bf71e40d7a5b4384da8a8f8529e65fef_rle_crop_3687127578_0.png', 1339670471: '1740543851_2306622_1339670388_bf71e40d7a5b4384da8a8f8529e65fef_rle_crop_3687127580_0.png', 1339670472: '1740543851_2306622_1339670388_bf71e40d7a5b4384da8a8f8529e65fef_rle_crop_3687127574_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/a9281f44b7ef9a6abdb66630c85b7854_42859431.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/66a54105aaf0f78f1ca6c978d4c1b470_97985075.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/12ff645046f71081f2340c8647e2aacd_77500849.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/d2874f4c7f46fd6a077f4129481b03f8_43905265.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ca0b6d68ff6e9e274cc356030fe64829_79954467.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3cd7a8b0ff94aa3d0b9ff9d945eb2a5d_2611366.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/32de44712d28d2f43d569d55981d605a_83191623.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/277ea959f5bbe16e3aba6f44afc525e8_45939812.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/d743bbd310dd8b4aa4b7ff2e55b3f6ab_97142682.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e46384def9ebbfa661b9d16c7c008cf6_95336321.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/d2eed19712a4d223aab2dd122d2c00ff_52238482.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/4c6ba687e389c39d0bc2c85cf27655b9_88632931.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f89c23cc5ccaf7147a6cf4e066cb6800_4378830.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/0482a626bb8725f343a4c31befe2b6f5_15189342.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/fe132792e600c1c14c0857b70ff1c15a_70476599.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ce9978a9180afef056f06768b2c0b736_64763905.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/2b06db25c620da1c14c22ff7b97eda38_48933698.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3e6208f9c31227f0f84a1fd4b34f7d08_48603658.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/25935ae4d6a52f9f686ef25f711c2244_45205929.png change filename to text .imagette208232771740543902/ imagette208232771740543902/1740543851_2306622_1339670388_bf71e40d7a5b4384da8a8f8529e65fef_rle_crop_3687127580_0.png.png imagette208232771740543902/1740543830_2306326_1339670293_bceba271b8d296c9f810e29667045798_rle_crop_3687127527_0.png.png imagette208232771740543902/1740543712_2305188_1339670133_57ab962342004e3f5707c9695090291c_rle_crop_3687127148_0.png.png imagette208232771740543902/1740543712_2305188_1339670151_f3bb2c9d893714b39c39e976eb40ad6d_rle_crop_3687127124_0.png.png imagette208232771740543902/1740543851_2306622_1339670388_bf71e40d7a5b4384da8a8f8529e65fef_rle_crop_3687127574_0.png.png imagette208232771740543902/1740543712_2305188_1339670131_75cfe5183e92e1ceeeaf881601ee89e8_rle_crop_3687127162_0.png.png imagette208232771740543902/1740543712_2305188_1339670157_2d83cf1a7560b7b8d82ca5cfc8d3020e_rle_crop_3687127114_0.png.png imagette208232771740543902/1740543712_2305188_1339670151_f3bb2c9d893714b39c39e976eb40ad6d_rle_crop_3687127130_0.png.png imagette208232771740543902/1740543830_2306326_1339670324_fe3058d7ef8ac98b227cbe49dce7d53c_rle_crop_3687127406_0.png.png imagette208232771740543902/1740543712_2305188_1339670151_f3bb2c9d893714b39c39e976eb40ad6d_rle_crop_3687127133_0.png.png imagette208232771740543902/1740543712_2305188_1339670157_2d83cf1a7560b7b8d82ca5cfc8d3020e_rle_crop_3687127110_0.png.png imagette208232771740543902/1740543851_2306622_1339670388_bf71e40d7a5b4384da8a8f8529e65fef_rle_crop_3687127578_0.png.png imagette208232771740543902/1740543830_2306326_1339670300_ccf78f20c00942a32cd6d9ef4551a9ab_rle_crop_3687127508_0.png.png imagette208232771740543902/1740543712_2305188_1339670131_75cfe5183e92e1ceeeaf881601ee89e8_rle_crop_3687127160_0.png.png imagette208232771740543902/1740543830_2306326_1339670293_bceba271b8d296c9f810e29667045798_rle_crop_3687127532_0.png.png imagette208232771740543902/1740543830_2306326_1339670324_fe3058d7ef8ac98b227cbe49dce7d53c_rle_crop_3687127404_0.png.png imagette208232771740543902/1740543830_2306326_1339670324_fe3058d7ef8ac98b227cbe49dce7d53c_rle_crop_3687127401_0.png.png imagette208232771740543902/1740543712_2305188_1339670151_f3bb2c9d893714b39c39e976eb40ad6d_rle_crop_3687127131_0.png.png imagette208232771740543902/1740543712_2305188_1339670151_f3bb2c9d893714b39c39e976eb40ad6d_rle_crop_3687127126_0.png.png imagette208232771740543902/1740543830_2306326_1339670291_9aa41c25647785202a58305dd5e1aa7d_rle_crop_3687127547_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/8c0e5016ec78f752316b49b5f79f617e_76882289.png imagette208232771740543902 20823280 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=20823280 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339670169: '1740543632_2304330_1339670070_8031badc0b5d5cd7e2d8ad74705efdf8_rle_crop_3687126782_0.png', 1339670301: '1740543730_2305419_1339670162_90901ec88e089a0fef64dd715349a743_rle_crop_3687127172_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/91290dcdefb6d7d341c74a6d5b85c391_98357742.png change filename to text .imagette208232801740543903/ imagette208232801740543903/1740543632_2304330_1339670070_8031badc0b5d5cd7e2d8ad74705efdf8_rle_crop_3687126782_0.png.png imagette208232801740543903/1740543730_2305419_1339670162_90901ec88e089a0fef64dd715349a743_rle_crop_3687127172_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/b32c719603adb64b99dfc8e4d14b2df1_29124940.png imagette208232801740543903 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20823244 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20823281,20823282,20823283,20823284,20823285,20823286,20823287,20823288,20823289,20823290,20823291,20823292?tags=mal_croppe,autre_refus,Carton_brun,kraft,environnement,flou,cartonnette,plastique,Teint_Dans_La_Masse,papier,metal,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1339670438] : ('0.09997299074976061',) no score found for photo 1339670438 We are sending mail with results at report@fotonower.com args[1339670435] : ('0.09997299074976061',) no score found for photo 1339670435 We are sending mail with results at report@fotonower.com args[1339670432] : ('0.09997299074976061',) no score found for photo 1339670432 We are sending mail with results at report@fotonower.com args[1339670430] : ('0.09997299074976061',) no score found for photo 1339670430 We are sending mail with results at report@fotonower.com args[1339670427] : ('0.09997299074976061',) no score found for photo 1339670427 We are sending mail with results at report@fotonower.com args[1339670388] : ('0.09997299074976061',) no score found for photo 1339670388 We are sending mail with results at report@fotonower.com args[1339670324] : ('0.09997299074976061',) no score found for photo 1339670324 We are sending mail with results at report@fotonower.com args[1339670300] : ('0.09997299074976061',) no score found for photo 1339670300 We are sending mail with results at report@fotonower.com args[1339670293] : ('0.09997299074976061',) no score found for photo 1339670293 We are sending mail with results at report@fotonower.com args[1339670291] : ('0.09997299074976061',) no score found for photo 1339670291 We are sending mail with results at report@fotonower.com args[1339670289] : ('0.09997299074976061',) no score found for photo 1339670289 We are sending mail with results at report@fotonower.com args[1339670207] : ('0.09997299074976061',) no score found for photo 1339670207 We are sending mail with results at report@fotonower.com args[1339670203] : ('0.09997299074976061',) no score found for photo 1339670203 We are sending mail with results at report@fotonower.com args[1339670197] : ('0.09997299074976061',) no score found for photo 1339670197 We are sending mail with results at report@fotonower.com args[1339670180] : ('0.09997299074976061',) no score found for photo 1339670180 We are sending mail with results at report@fotonower.com args[1339670162] : ('0.09997299074976061',) no score found for photo 1339670162 We are sending mail with results at report@fotonower.com args[1339670160] : ('0.09997299074976061',) no score found for photo 1339670160 We are sending mail with results at report@fotonower.com args[1339670157] : ('0.09997299074976061',) no score found for photo 1339670157 We are sending mail with results at report@fotonower.com args[1339670151] : ('0.09997299074976061',) no score found for photo 1339670151 We are sending mail with results at report@fotonower.com args[1339670133] : ('0.09997299074976061',) no score found for photo 1339670133 We are sending mail with results at report@fotonower.com args[1339670131] : ('0.09997299074976061',) no score found for photo 1339670131 We are sending mail with results at report@fotonower.com refus_total : 0.09997299074976061 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=20823244 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_P20823244_26-02-2025_05_25_00.pdf results_Auto_P20823244_26-02-2025_05_25_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823244_26-02-2025_05_25_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','20823244','results_Auto_P20823244_26-02-2025_05_25_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823244_26-02-2025_05_25_00.pdf','pdf','','0.36','0.09997299074976061') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20823244]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339670438, 1339670435, 1339670432, 1339670430, 1339670427, 1339670388, 1339670324, 1339670300, 1339670293, 1339670291, 1339670289, 1339670207, 1339670203, 1339670197, 1339670180, 1339670162, 1339670160, 1339670157, 1339670151, 1339670133, 1339670131] map_info['map_portfolio_photo'] : {20823244: [1339670438, 1339670435, 1339670432, 1339670430, 1339670427, 1339670388, 1339670324, 1339670300, 1339670293, 1339670291, 1339670289, 1339670207, 1339670203, 1339670197, 1339670180, 1339670162, 1339670160, 1339670157, 1339670151, 1339670133, 1339670131, 1339670121, 1339670118, 1339670115, 1339670108, 1339670106, 1339670102, 1339670097, 1339670094, 1339670091, 1339670080, 1339670078, 1339670074, 1339670070, 1339669998, 1339669782]} final : False mtd_id 4302 list_pids : [1339670438, 1339670435, 1339670432, 1339670430, 1339670427, 1339670388, 1339670324, 1339670300, 1339670293, 1339670291, 1339670289, 1339670207, 1339670203, 1339670197, 1339670180, 1339670162, 1339670160, 1339670157, 1339670151, 1339670133, 1339670131] 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, '2614611') ('4302', '20823244', '1339670438', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670435', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670432', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670430', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670427', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670388', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670324', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670300', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670293', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670291', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670289', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670207', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670203', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670197', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670180', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670162', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670160', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670157', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670151', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670133', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670131', None, None, None, None, None, '2614611') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 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', '20823244', '1339670438', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670435', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670432', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670430', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670427', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670388', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670324', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670300', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670293', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670291', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670289', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670207', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670203', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670197', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670180', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670162', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670160', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670157', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670151', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670133', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670131', None, None, None, None, None, '2614611')] time used for this insertion : 0.02169203758239746 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.2339560985565186 time spend to save output : 0.021990537643432617 total time spend for step 4 : 5.255946636199951 step5:split_time_score Wed Feb 26 05:25:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['20823244'] 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 : [('20823244',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20823244) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1339670438: {'path': 'temp/1740543899_369116_1339670438_8f6072460a3dcebb295f6a3a671d6b3b.jpg', 'extension': 'jpg'}, 1339670162: {'path': 'temp/1740543899_369116_1339670162_90901ec88e089a0fef64dd715349a743.jpg', 'extension': 'jpg'}, 1339670180: {'path': 'temp/1740543899_369116_1339670180_010676820e9b4c719a0aa9d3c5e06c1b.jpg', 'extension': 'jpg'}, 1339670197: {'path': 'temp/1740543899_369116_1339670197_175f798d3dd4cef163ee54a5e52a54d3.jpg', 'extension': 'jpg'}, 1339670203: {'path': 'temp/1740543899_369116_1339670203_26883f48a49c51e3186a2d0b5dbbdfb6.jpg', 'extension': 'jpg'}, 1339670207: {'path': 'temp/1740543899_369116_1339670207_2664d4e9baaa6aba41781a4ac1a22713.jpg', 'extension': 'jpg'}, 1339670289: {'path': 'temp/1740543899_369116_1339670289_9436166abd4d922dbfee28ade50c5259.jpg', 'extension': 'jpg'}, 1339670291: {'path': 'temp/1740543899_369116_1339670291_9aa41c25647785202a58305dd5e1aa7d.jpg', 'extension': 'jpg'}, 1339670293: {'path': 'temp/1740543899_369116_1339670293_bceba271b8d296c9f810e29667045798.jpg', 'extension': 'jpg'}, 1339670300: {'path': 'temp/1740543899_369116_1339670300_ccf78f20c00942a32cd6d9ef4551a9ab.jpg', 'extension': 'jpg'}, 1339670324: {'path': 'temp/1740543899_369116_1339670324_fe3058d7ef8ac98b227cbe49dce7d53c.jpg', 'extension': 'jpg'}, 1339670131: {'path': 'temp/1740543899_369116_1339670131_75cfe5183e92e1ceeeaf881601ee89e8.jpg', 'extension': 'jpg'}, 1339670133: {'path': 'temp/1740543899_369116_1339670133_57ab962342004e3f5707c9695090291c.jpg', 'extension': 'jpg'}, 1339670151: {'path': 'temp/1740543899_369116_1339670151_f3bb2c9d893714b39c39e976eb40ad6d.jpg', 'extension': 'jpg'}, 1339670157: {'path': 'temp/1740543899_369116_1339670157_2d83cf1a7560b7b8d82ca5cfc8d3020e.jpg', 'extension': 'jpg'}, 1339670160: {'path': 'temp/1740543899_369116_1339670160_3bf798433dfbc6607479ccf78f077b4a.jpg', 'extension': 'jpg'}, 1339670388: {'path': 'temp/1740543899_369116_1339670388_bf71e40d7a5b4384da8a8f8529e65fef.jpg', 'extension': 'jpg'}, 1339670427: {'path': 'temp/1740543899_369116_1339670427_6037386029267284ce7a147db432979d.jpg', 'extension': 'jpg'}, 1339670430: {'path': 'temp/1740543899_369116_1339670430_d4a8a29f754915f693bdd8b719af2af6.jpg', 'extension': 'jpg'}, 1339670432: {'path': 'temp/1740543899_369116_1339670432_38dc510604565474f042386f9f1ac803.jpg', 'extension': 'jpg'}, 1339670435: {'path': 'temp/1740543899_369116_1339670435_32766ebfa68fe2ef6adbd4a0185198d1.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 = 20823244; (('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 = 20823244 group by h (('05', 36),) 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=20823244 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 (20823244) 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 (20823244) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26022025 20823244 Nombre de photos uploadées : 36 / 23040 (0%) 26022025 20823244 Nombre de photos taguées (types de déchets): 0 / 36 (0%) 26022025 20823244 Nombre de photos taguées (volume) : 0 / 36 (0%) [{'photo_id': 1339669998, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/546f2434126748992881a1cdd9858d1a.jpg', 'username': None, 'uploaded_at': 1740543405, 'text': 'image_26022025_05_15_34_010146m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1339669782, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/15ed52602eb34d296ae428aa6df51d0d.jpg', 'username': None, 'uploaded_at': 1740543390, 'text': 'image_26022025_05_15_43_009130m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339670080, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/9e3252ba77d050cfa84e90855eba0e84.jpg', 'username': None, 'uploaded_at': 1740543460, 'text': 'image_26022025_05_15_53_010135m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339670078, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/332cfa9c93205f2589389eb6d72a2806.jpg', 'username': None, 'uploaded_at': 1740543460, 'text': 'image_26022025_05_16_03_010165m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ???????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001617431640625 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20823244, '2025-02-26' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1624425,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.024334430694580078 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= 1624425 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1624425, 'dashboard_run_id': 1632364, 'mtr_portfolio_id': 20822915, 'dashboard_result_id': 9062516, '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_P20822915_26-02-2025_05_18_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20822942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20822943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20822944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20822945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20822946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20822947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20822948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20822949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20822950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20822951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20822952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20822953, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1632364, 'mtr_portfolio_id': 20823244, 'dashboard_result_id': 9062517, '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_P20823244_26-02-2025_05_20_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823280, '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 = 20822915 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': 2614592, 'mtr_portfolio_id': 20822915, 'created_at': datetime.datetime(2025, 2, 26, 5, 18, 30), 'result': '0.07938640687762687', 'result_long': None, 'result_double': None}] Qualite : 0.07938640687762687 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20822915 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20822915_26-02-2025_05_18_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20822915 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_P20822915_26-02-2025_05_18_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20822942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20822943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20822944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20822945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20822946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20822947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20822948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20822949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20822950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20822951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20822952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20822953, 'pht': 3726}}" where mtr_portfolio_id = 20822915 and dashboard_run_id = 1632364 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`=20822915 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9062516, 0.07938640687762687, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20822915_26-02-2025_05_18_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20822942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20822943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20822944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20822945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20822946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20822947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20822948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20822949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20822950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20822951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20822952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20822953, '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 = 20823244 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': 2614611, 'mtr_portfolio_id': 20823244, 'created_at': datetime.datetime(2025, 2, 26, 5, 24, 59), 'result': '0.09997299074976061', 'result_long': None, 'result_double': None}] Qualite : 0.09997299074976061 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20823244 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823244_26-02-2025_05_25_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20823244 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_P20823244_26-02-2025_05_25_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823280, 'pht': 3726}}" where mtr_portfolio_id = 20823244 and dashboard_run_id = 1632364 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`=20823244 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9062517, 0.09997299074976061, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823244_26-02-2025_05_25_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823280, '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 (20822915,20823244) result : ((1339668466,), (1339668468,), (1339668482,), (1339668497,), (1339668499,), (1339668500,), (1339668510,), (1339668516,), (1339668519,), (1339668522,), (1339668531,), (1339668533,), (1339668536,), (1339668546,), (1339668549,), (1339668569,), (1339668697,), (1339668700,), (1339668947,), (1339668950,), (1339669239,), (1339669304,), (1339669649,), (1339669651,), (1339669676,), (1339669682,), (1339669685,), (1339670001,), (1339669782,), (1339669998,), (1339670070,), (1339670074,), (1339670078,), (1339670080,), (1339670091,), (1339670094,), (1339670097,), (1339670102,), (1339670106,), (1339670108,), (1339670115,), (1339670118,), (1339670121,), (1339670131,), (1339670133,), (1339670151,), (1339670157,), (1339670160,), (1339670162,), (1339670180,), (1339670197,), (1339670203,), (1339670207,), (1339670289,), (1339670291,), (1339670293,), (1339670300,), (1339670324,), (1339670388,), (1339670427,), (1339670430,), (1339670432,), (1339670435,), (1339670438,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26022025': {'nb_upload': 36, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20823244]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1339670438, 1339670435, 1339670432, 1339670430, 1339670427, 1339670388, 1339670324, 1339670300, 1339670293, 1339670291, 1339670289, 1339670207, 1339670203, 1339670197, 1339670180, 1339670162, 1339670160, 1339670157, 1339670151, 1339670133, 1339670131] map_info['map_portfolio_photo'] : {20823244: [1339670438, 1339670435, 1339670432, 1339670430, 1339670427, 1339670388, 1339670324, 1339670300, 1339670293, 1339670291, 1339670289, 1339670207, 1339670203, 1339670197, 1339670180, 1339670162, 1339670160, 1339670157, 1339670151, 1339670133, 1339670131, 1339670121, 1339670118, 1339670115, 1339670108, 1339670106, 1339670102, 1339670097, 1339670094, 1339670091, 1339670080, 1339670078, 1339670074, 1339670070, 1339669998, 1339669782]} final : True mtd_id 4302 list_pids : [1339670438, 1339670435, 1339670432, 1339670430, 1339670427, 1339670388, 1339670324, 1339670300, 1339670293, 1339670291, 1339670289, 1339670207, 1339670203, 1339670197, 1339670180, 1339670162, 1339670160, 1339670157, 1339670151, 1339670133, 1339670131] Looping around the photos to save general results len do output : 1 /20823244Didn'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, '2614611') ('4302', '20823244', '1339670438', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670435', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670432', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670430', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670427', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670388', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670324', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670300', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670293', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670291', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670289', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670207', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670203', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670197', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670180', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670162', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670160', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670157', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670151', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670133', None, None, None, None, None, '2614611') ('4302', None, None, None, None, None, None, None, '2614611') ('4302', '20823244', '1339670131', None, None, None, None, None, '2614611') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 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, '20823244', 'None', None, None, None, None, '2614611'), ('4302', '20823244', '1339670438', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670435', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670432', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670430', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670427', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670388', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670324', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670300', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670293', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670291', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670289', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670207', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670203', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670197', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670180', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670162', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670160', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670157', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670151', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670133', None, None, None, None, None, '2614611'), ('4302', '20823244', '1339670131', None, None, None, None, None, '2614611')] time used for this insertion : 0.022390365600585938 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.23335003852844238 time spend to save output : 0.022677898406982422 total time spend for step 5 : 0.2560279369354248 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 (2614611) 2.42user 2.33system 0:09.62elapsed 49%CPU (0avgtext+0avgdata 159964maxresident)k 14936inputs+21072outputs (161major+74978minor)pagefaults 0swaps