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 : 1003891 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 (2618074) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2618074) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20860721 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2618074'] with mtr_portfolio_ids : ['20860721'] and first list_photo_ids : [] new path : /proc/1003891/ Name: python3 Umask: 0002 State: R (running) Tgid: 1003891 Ngid: 0 Pid: 1003891 PPid: 1003890 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1003891 NSpid: 1003891 NSpgid: 1001345 NSsid: 1001345 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98864 kB VmRSS: 98864 kB RssAnon: 59768 kB RssFile: 39096 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 596 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 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: 60 nonvoluntary_ctxt_switches: 102 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1003891', 'Ngid': '0', 'Pid': '1003891', 'PPid': '1003890', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1003891', 'NSpid': '1003891', 'NSpgid': '1001345', 'NSsid': '1001345', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98864 kB', 'VmRSS': '98864 kB', 'RssAnon': '59768 kB', 'RssFile': '39096 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '596 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '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': '60', 'nonvoluntary_ctxt_switches': '102'} ('datou_batch_current', '1003891', '1106844', '0', '1106844', '865592', '98864', b'', 'marlene', '2618074') 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 (20860721) 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 (2618074 ) ) 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 (20860721) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1339819093, 'portfolio_id': 20860721}, {'photo_id': 1339819090, 'portfolio_id': 20860721}, {'photo_id': 1339819087, 'portfolio_id': 20860721}, {'photo_id': 1339819047, 'portfolio_id': 20860721}, {'photo_id': 1339819044, 'portfolio_id': 20860721}, {'photo_id': 1339819041, 'portfolio_id': 20860721}, {'photo_id': 1339819026, 'portfolio_id': 20860721}, {'photo_id': 1339819023, 'portfolio_id': 20860721}, {'photo_id': 1339819017, 'portfolio_id': 20860721}, {'photo_id': 1339819000, 'portfolio_id': 20860721}, {'photo_id': 1339818998, 'portfolio_id': 20860721}, {'photo_id': 1339818995, 'portfolio_id': 20860721}, {'photo_id': 1339818993, 'portfolio_id': 20860721}, {'photo_id': 1339818968, 'portfolio_id': 20860721}, {'photo_id': 1339818758, 'portfolio_id': 20860721}, {'photo_id': 1339818757, 'portfolio_id': 20860721}, {'photo_id': 1339818756, 'portfolio_id': 20860721}, {'photo_id': 1339818699, 'portfolio_id': 20860721}, {'photo_id': 1339818453, 'portfolio_id': 20860721}, {'photo_id': 1339818136, 'portfolio_id': 20860721}, {'photo_id': 1339818135, 'portfolio_id': 20860721}, {'photo_id': 1339818134, 'portfolio_id': 20860721}, {'photo_id': 1339818133, 'portfolio_id': 20860721}, {'photo_id': 1339818132, 'portfolio_id': 20860721}, {'photo_id': 1339818130, 'portfolio_id': 20860721}, {'photo_id': 1339817969, 'portfolio_id': 20860721}, {'photo_id': 1339817968, 'portfolio_id': 20860721}, {'photo_id': 1339817965, 'portfolio_id': 20860721}, {'photo_id': 1339817955, 'portfolio_id': 20860721}, {'photo_id': 1339817923, 'portfolio_id': 20860721}, {'photo_id': 1339817920, 'portfolio_id': 20860721}, {'photo_id': 1339817910, 'portfolio_id': 20860721}, {'photo_id': 1339817899, 'portfolio_id': 20860721}, {'photo_id': 1339817884, 'portfolio_id': 20860721}] map_portfolio_id_photo_id: {20860721: [1339819093, 1339819090, 1339819087, 1339819047, 1339819044, 1339819041, 1339819026, 1339819023, 1339819017, 1339819000, 1339818998, 1339818995, 1339818993, 1339818968, 1339818758, 1339818757, 1339818756, 1339818699, 1339818453, 1339818136, 1339818135, 1339818134, 1339818133, 1339818132, 1339818130, 1339817969, 1339817968, 1339817965, 1339817955, 1339817923, 1339817920, 1339817910, 1339817899, 1339817884]} ##### 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.015296220779418945 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Feb 27 00:08:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20860721) 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 : 20860721 get user id for portfolio 20860721 get sub ptf for main ptf 20860721, type 3726 and hashtags ['Carton_brun', 'plastique', 'Carton_gris', 'cartonnette', 'environnement', 'papier', 'flou', 'autre_refus', 'kraft', 'metal', 'Teint_Dans_La_Masse', 'mal_croppe'] 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`=20860721 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','plastique','Carton_gris','cartonnette','environnement','papier','flou','autre_refus','kraft','metal','Teint_Dans_La_Masse','mal_croppe')) 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`=20860721 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','plastique','Carton_gris','cartonnette','environnement','papier','flou','autre_refus','kraft','metal','Teint_Dans_La_Masse','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 20860721, 'sub_port_id': 20860746, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492865, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 58)}, 'flou': {'main_port_id': 20860721, 'sub_port_id': 20860747, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492866, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 58)}, 'cartonnette': {'main_port_id': 20860721, 'sub_port_id': 20860748, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492867, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 58)}, 'plastique': {'main_port_id': 20860721, 'sub_port_id': 20860749, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492868, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 58)}, 'mal_croppe': {'main_port_id': 20860721, 'sub_port_id': 20860750, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492869, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 58)}, 'Carton_brun': {'main_port_id': 20860721, 'sub_port_id': 20860751, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492870, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 58)}, 'environnement': {'main_port_id': 20860721, 'sub_port_id': 20860752, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492871, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 58)}, 'autre_refus': {'main_port_id': 20860721, 'sub_port_id': 20860753, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492872, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 58)}, 'metal': {'main_port_id': 20860721, 'sub_port_id': 20860754, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492873, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20860721, 'sub_port_id': 20860755, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492874, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 58)}, 'kraft': {'main_port_id': 20860721, 'sub_port_id': 20860756, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492875, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 58)}, 'papier': {'main_port_id': 20860721, 'sub_port_id': 20860757, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492876, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20860746 , 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=20860721 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 (20860746) result : ((1339818442,), (1339818444,), (1339818769,), (1339819054,), (1339819055,), (1339819056,), (1339819069,), (1339819070,), (1339819071,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20860721) result : ((1339817884,), (1339817899,), (1339817910,), (1339817920,), (1339817923,), (1339817955,), (1339817965,), (1339817968,), (1339817969,), (1339818130,), (1339818132,), (1339818133,), (1339818134,), (1339818135,), (1339818136,), (1339818453,), (1339818699,), (1339818756,), (1339818757,), (1339818758,), (1339818968,), (1339818993,), (1339818995,), (1339818998,), (1339819000,), (1339819017,), (1339819023,), (1339819026,), (1339819041,), (1339819044,), (1339819047,), (1339819087,), (1339819090,), (1339819093,)) 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 (1339819000) 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 20860747 , 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=20860721 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 (20860747) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20860721) result : ((1339817884,), (1339817899,), (1339817910,), (1339817920,), (1339817923,), (1339817955,), (1339817965,), (1339817968,), (1339817969,), (1339818130,), (1339818132,), (1339818133,), (1339818134,), (1339818135,), (1339818136,), (1339818453,), (1339818699,), (1339818756,), (1339818757,), (1339818758,), (1339818968,), (1339818993,), (1339818995,), (1339818998,), (1339819000,), (1339819017,), (1339819023,), (1339819026,), (1339819041,), (1339819044,), (1339819047,), (1339819087,), (1339819090,), (1339819093,)) 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 (1339819000) 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 20860748 , 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=20860721 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 (20860748) result : ((1339818770,), (1339818771,), (1339818772,), (1339819057,), (1339819058,), (1339819072,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20860721) result : ((1339817884,), (1339817899,), (1339817910,), (1339817920,), (1339817923,), (1339817955,), (1339817965,), (1339817968,), (1339817969,), (1339818130,), (1339818132,), (1339818133,), (1339818134,), (1339818135,), (1339818136,), (1339818453,), (1339818699,), (1339818756,), (1339818757,), (1339818758,), (1339818968,), (1339818993,), (1339818995,), (1339818998,), (1339819000,), (1339819017,), (1339819023,), (1339819026,), (1339819041,), (1339819044,), (1339819047,), (1339819087,), (1339819090,), (1339819093,)) 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 (1339819000) 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 20860749 , 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=20860721 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 (20860749) result : ((1339818599,), (1339818779,), (1339818780,), (1339819064,), (1339819075,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20860721) result : ((1339817884,), (1339817899,), (1339817910,), (1339817920,), (1339817923,), (1339817955,), (1339817965,), (1339817968,), (1339817969,), (1339818130,), (1339818132,), (1339818133,), (1339818134,), (1339818135,), (1339818136,), (1339818453,), (1339818699,), (1339818756,), (1339818757,), (1339818758,), (1339818968,), (1339818993,), (1339818995,), (1339818998,), (1339819000,), (1339819017,), (1339819023,), (1339819026,), (1339819041,), (1339819044,), (1339819047,), (1339819087,), (1339819090,), (1339819093,)) 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 (1339819000) 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 20860750 , 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=20860721 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 (20860750) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20860721) result : ((1339817884,), (1339817899,), (1339817910,), (1339817920,), (1339817923,), (1339817955,), (1339817965,), (1339817968,), (1339817969,), (1339818130,), (1339818132,), (1339818133,), (1339818134,), (1339818135,), (1339818136,), (1339818453,), (1339818699,), (1339818756,), (1339818757,), (1339818758,), (1339818968,), (1339818993,), (1339818995,), (1339818998,), (1339819000,), (1339819017,), (1339819023,), (1339819026,), (1339819041,), (1339819044,), (1339819047,), (1339819087,), (1339819090,), (1339819093,)) 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 (1339819000) 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 20860751 , 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=20860721 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 (20860751) result : ((1339818551,), (1339818553,), (1339818555,), (1339818774,), (1339818775,), (1339818776,), (1339819060,), (1339819061,), (1339819062,), (1339819063,), (1339819073,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20860721) result : ((1339817884,), (1339817899,), (1339817910,), (1339817920,), (1339817923,), (1339817955,), (1339817965,), (1339817968,), (1339817969,), (1339818130,), (1339818132,), (1339818133,), (1339818134,), (1339818135,), (1339818136,), (1339818453,), (1339818699,), (1339818756,), (1339818757,), (1339818758,), (1339818968,), (1339818993,), (1339818995,), (1339818998,), (1339819000,), (1339819017,), (1339819023,), (1339819026,), (1339819041,), (1339819044,), (1339819047,), (1339819087,), (1339819090,), (1339819093,)) 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 (1339819000) 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 20860752 , 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=20860721 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 (20860752) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20860721) result : ((1339817884,), (1339817899,), (1339817910,), (1339817920,), (1339817923,), (1339817955,), (1339817965,), (1339817968,), (1339817969,), (1339818130,), (1339818132,), (1339818133,), (1339818134,), (1339818135,), (1339818136,), (1339818453,), (1339818699,), (1339818756,), (1339818757,), (1339818758,), (1339818968,), (1339818993,), (1339818995,), (1339818998,), (1339819000,), (1339819017,), (1339819023,), (1339819026,), (1339819041,), (1339819044,), (1339819047,), (1339819087,), (1339819090,), (1339819093,)) 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 (1339819000) 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 20860753 , 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=20860721 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 (20860753) result : ((1339819049,), (1339819050,), (1339819051,), (1339819052,), (1339819053,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20860721) result : ((1339817884,), (1339817899,), (1339817910,), (1339817920,), (1339817923,), (1339817955,), (1339817965,), (1339817968,), (1339817969,), (1339818130,), (1339818132,), (1339818133,), (1339818134,), (1339818135,), (1339818136,), (1339818453,), (1339818699,), (1339818756,), (1339818757,), (1339818758,), (1339818968,), (1339818993,), (1339818995,), (1339818998,), (1339819000,), (1339819017,), (1339819023,), (1339819026,), (1339819041,), (1339819044,), (1339819047,), (1339819087,), (1339819090,), (1339819093,)) 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 (1339819000) 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 20860754 , 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=20860721 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 (20860754) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20860721) result : ((1339817884,), (1339817899,), (1339817910,), (1339817920,), (1339817923,), (1339817955,), (1339817965,), (1339817968,), (1339817969,), (1339818130,), (1339818132,), (1339818133,), (1339818134,), (1339818135,), (1339818136,), (1339818453,), (1339818699,), (1339818756,), (1339818757,), (1339818758,), (1339818968,), (1339818993,), (1339818995,), (1339818998,), (1339819000,), (1339819017,), (1339819023,), (1339819026,), (1339819041,), (1339819044,), (1339819047,), (1339819087,), (1339819090,), (1339819093,)) 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 (1339819000) 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 20860755 , 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=20860721 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 (20860755) result : ((1339818366,), (1339818764,), (1339818765,), (1339818766,), (1339818767,), (1339819048,), (1339819066,), (1339819067,), (1339819123,), (1339819124,), (1339819125,), (1339819126,), (1339819127,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20860721) result : ((1339817884,), (1339817899,), (1339817910,), (1339817920,), (1339817923,), (1339817955,), (1339817965,), (1339817968,), (1339817969,), (1339818130,), (1339818132,), (1339818133,), (1339818134,), (1339818135,), (1339818136,), (1339818453,), (1339818699,), (1339818756,), (1339818757,), (1339818758,), (1339818968,), (1339818993,), (1339818995,), (1339818998,), (1339819000,), (1339819017,), (1339819023,), (1339819026,), (1339819041,), (1339819044,), (1339819047,), (1339819087,), (1339819090,), (1339819093,)) 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 (1339819000) 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 20860756 , 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=20860721 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 (20860756) result : ((1339818781,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20860721) result : ((1339817884,), (1339817899,), (1339817910,), (1339817920,), (1339817923,), (1339817955,), (1339817965,), (1339817968,), (1339817969,), (1339818130,), (1339818132,), (1339818133,), (1339818134,), (1339818135,), (1339818136,), (1339818453,), (1339818699,), (1339818756,), (1339818757,), (1339818758,), (1339818968,), (1339818993,), (1339818995,), (1339818998,), (1339819000,), (1339819017,), (1339819023,), (1339819026,), (1339819041,), (1339819044,), (1339819047,), (1339819087,), (1339819090,), (1339819093,)) 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 (1339819000) 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 20860757 , 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=20860721 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 (20860757) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20860721) result : ((1339817884,), (1339817899,), (1339817910,), (1339817920,), (1339817923,), (1339817955,), (1339817965,), (1339817968,), (1339817969,), (1339818130,), (1339818132,), (1339818133,), (1339818134,), (1339818135,), (1339818136,), (1339818453,), (1339818699,), (1339818756,), (1339818757,), (1339818758,), (1339818968,), (1339818993,), (1339818995,), (1339818998,), (1339819000,), (1339819017,), (1339819023,), (1339819026,), (1339819041,), (1339819044,), (1339819047,), (1339819087,), (1339819090,), (1339819093,)) 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 (1339819000) 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`=20860721 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','plastique','Carton_gris','cartonnette','environnement','papier','flou','autre_refus','kraft','metal','Teint_Dans_La_Masse','mal_croppe')) 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`=20860721 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','plastique','Carton_gris','cartonnette','environnement','papier','flou','autre_refus','kraft','metal','Teint_Dans_La_Masse','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 20860721, 'sub_port_id': 20860758, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492877, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 59)}, 'flou': {'main_port_id': 20860721, 'sub_port_id': 20860759, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492878, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 59)}, 'cartonnette': {'main_port_id': 20860721, 'sub_port_id': 20860760, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492879, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 59)}, 'plastique': {'main_port_id': 20860721, 'sub_port_id': 20860761, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492880, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 59)}, 'mal_croppe': {'main_port_id': 20860721, 'sub_port_id': 20860762, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492881, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 59)}, 'Carton_brun': {'main_port_id': 20860721, 'sub_port_id': 20860763, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492882, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 59)}, 'environnement': {'main_port_id': 20860721, 'sub_port_id': 20860764, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492883, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 59)}, 'autre_refus': {'main_port_id': 20860721, 'sub_port_id': 20860765, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492884, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 59)}, 'metal': {'main_port_id': 20860721, 'sub_port_id': 20860766, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492885, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 20860721, 'sub_port_id': 20860767, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492886, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 59)}, 'kraft': {'main_port_id': 20860721, 'sub_port_id': 20860768, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492887, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 59)}, 'papier': {'main_port_id': 20860721, 'sub_port_id': 20860769, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13492888, 'last_updated_at': datetime.datetime(2025, 2, 27, 0, 5), 'last_updated_at_desc': datetime.datetime(2025, 2, 27, 0, 5), 'last_updated_at_asc': datetime.datetime(2025, 2, 27, 0, 4, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20860758,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20860746 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20860759,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20860747 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20860760,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20860748 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20860761,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20860749 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20860762,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20860750 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20860763,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20860751 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20860764,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20860752 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20860765,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20860753 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20860766,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20860754 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20860767,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20860755 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20860768,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20860756 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20860769,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20860757 lien utilise dans velours : https://www.fotonower.com/velours/20860758,20860759,20860760,20860761,20860762,20860763,20860764,20860765,20860766,20860767,20860768,20860769?tags=Carton_gris,flou,cartonnette,plastique,mal_croppe,Carton_brun,environnement,autre_refus,metal,Teint_Dans_La_Masse,kraft,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20860721]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339819093, 1339819090, 1339819087, 1339819047, 1339819044, 1339819041, 1339819026, 1339819023, 1339819017, 1339819000, 1339818998, 1339818995, 1339818993, 1339818968, 1339818758, 1339818757, 1339818756, 1339818699, 1339818453] map_info['map_portfolio_photo'] : {20860721: [1339819093, 1339819090, 1339819087, 1339819047, 1339819044, 1339819041, 1339819026, 1339819023, 1339819017, 1339819000, 1339818998, 1339818995, 1339818993, 1339818968, 1339818758, 1339818757, 1339818756, 1339818699, 1339818453, 1339818136, 1339818135, 1339818134, 1339818133, 1339818132, 1339818130, 1339817969, 1339817968, 1339817965, 1339817955, 1339817923, 1339817920, 1339817910, 1339817899, 1339817884]} final : False mtd_id 4302 list_pids : [1339819093, 1339819090, 1339819087, 1339819047, 1339819044, 1339819041, 1339819026, 1339819023, 1339819017, 1339819000, 1339818998, 1339818995, 1339818993, 1339818968, 1339818758, 1339818757, 1339818756, 1339818699, 1339818453] Looping around the photos to save general results len do output : 1 /20860721. 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, '2618074') ('4302', '20860721', '1339819093', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819090', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819087', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819047', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819044', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819041', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819026', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819023', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819017', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819000', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818998', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818995', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818993', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818968', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818758', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818757', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818756', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818699', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818453', None, None, None, None, None, '2618074') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20860721', "{'Carton_gris': 20860746, 'flou': 20860747, 'cartonnette': 20860748, 'plastique': 20860749, 'mal_croppe': 20860750, 'Carton_brun': 20860751, 'environnement': 20860752, 'autre_refus': 20860753, 'metal': 20860754, 'Teint_Dans_La_Masse': 20860755, 'kraft': 20860756, 'papier': 20860757}", None, None, None, None, '2618074'), ('4302', '20860721', '1339819093', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339819090', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339819087', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339819047', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339819044', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339819041', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339819026', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339819023', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339819017', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339819000', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339818998', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339818995', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339818993', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339818968', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339818758', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339818757', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339818756', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339818699', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339818453', None, None, None, None, None, '2618074')] time used for this insertion : 0.6435210704803467 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6261308193206787 time spend to save output : 0.6438665390014648 total time spend for step 1 : 1.2699973583221436 step2:final Thu Feb 27 00:09:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (20860721) 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 20860721 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1339817923,1339817920,1339817910,1339817899,1339817884,1339817969,1339817968,1339817965,1339817955,1339818136,1339818135,1339818134,1339818133,1339818132,1339818758,1339818130,1339818757,1339818756,1339818699,1339818453,1339819000,1339818998,1339818995,1339818993,1339818968,1339819047,1339819044,1339819041,1339819026,1339819023,1339819017,1339819093,1339819090,1339819087); 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([20860721]) Inside saveOutput : final : False verbose : True original output for save of step final : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} new output for save of step final : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} [1339819093, 1339819090, 1339819087, 1339819047, 1339819044, 1339819041, 1339819026, 1339819023, 1339819017, 1339819000, 1339818998, 1339818995, 1339818993, 1339818968, 1339818758, 1339818757, 1339818756, 1339818699, 1339818453] map_info['map_portfolio_photo'] : {20860721: [1339819093, 1339819090, 1339819087, 1339819047, 1339819044, 1339819041, 1339819026, 1339819023, 1339819017, 1339819000, 1339818998, 1339818995, 1339818993, 1339818968, 1339818758, 1339818757, 1339818756, 1339818699, 1339818453, 1339818136, 1339818135, 1339818134, 1339818133, 1339818132, 1339818130, 1339817969, 1339817968, 1339817965, 1339817955, 1339817923, 1339817920, 1339817910, 1339817899, 1339817884]} final : False mtd_id 4302 list_pids : [1339819093, 1339819090, 1339819087, 1339819047, 1339819044, 1339819041, 1339819026, 1339819023, 1339819017, 1339819000, 1339818998, 1339818995, 1339818993, 1339818968, 1339818758, 1339818757, 1339818756, 1339818699, 1339818453] Looping around the photos to save general results len do output : 19 /1339819093.Didn't retrieve data . /1339819090.Didn't retrieve data . /1339819087.Didn't retrieve data . /1339819047.Didn't retrieve data . /1339819044.Didn't retrieve data . /1339819041.Didn't retrieve data . /1339819026.Didn't retrieve data . /1339819023.Didn't retrieve data . /1339819017.Didn't retrieve data . /1339819000.Didn't retrieve data . /1339818998.Didn't retrieve data . /1339818995.Didn't retrieve data . /1339818993.Didn't retrieve data . /1339818968.Didn't retrieve data . /1339818758.Didn't retrieve data . /1339818757.Didn't retrieve data . /1339818756.Didn't retrieve data . /1339818699.Didn't retrieve data . /1339818453.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, '2618074') ('4302', '20860721', '1339819093', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819090', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819087', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819047', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819044', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819041', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819026', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819023', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819017', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819000', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818998', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818995', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818993', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818968', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818758', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818757', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818756', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818699', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818453', None, None, None, None, None, '2618074') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 57 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20860721', '1339819093', '0.11442871919584055', None, None, None, None, '2618074'), ('4302', '20860721', '1339819090', '0.11442871919584055', None, None, None, None, '2618074'), ('4302', '20860721', '1339819087', '0.11442871919584055', None, None, None, None, '2618074'), ('4302', '20860721', '1339819047', '0.11442871919584055', None, None, None, None, '2618074'), ('4302', '20860721', '1339819044', '0.11442871919584055', None, None, None, None, '2618074'), ('4302', '20860721', '1339819041', '0.11442871919584055', None, None, None, None, '2618074'), ('4302', '20860721', '1339819026', '0.11442871919584055', None, None, None, None, '2618074'), ('4302', '20860721', '1339819023', '0.11442871919584055', None, None, None, None, '2618074'), ('4302', '20860721', '1339819017', '0.11442871919584055', None, None, None, None, '2618074'), ('4302', '20860721', '1339819000', '0.11442871919584055', None, None, None, None, '2618074'), ('4302', '20860721', '1339818998', '0.11442871919584055', None, None, None, None, '2618074'), ('4302', '20860721', '1339818995', '0.11442871919584055', None, None, None, None, '2618074'), ('4302', '20860721', '1339818993', '0.11442871919584055', None, None, None, None, '2618074'), ('4302', '20860721', '1339818968', '0.11442871919584055', None, None, None, None, '2618074'), ('4302', '20860721', '1339818758', '0.11442871919584055', None, None, None, None, '2618074'), ('4302', '20860721', '1339818757', '0.11442871919584055', None, None, None, None, '2618074'), ('4302', '20860721', '1339818756', '0.11442871919584055', None, None, None, None, '2618074'), ('4302', '20860721', '1339818699', '0.11442871919584055', None, None, None, None, '2618074'), ('4302', '20860721', '1339818453', '0.11442871919584055', None, None, None, None, '2618074')] time used for this insertion : 0.014252901077270508 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07087874412536621 time spend to save output : 0.015005350112915039 total time spend for step 2 : 0.08588409423828125 step3:velours_tree Thu Feb 27 00:09:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {20860721: [{'Carton_gris': 20860746, 'flou': 20860747, 'cartonnette': 20860748, 'plastique': 20860749, 'mal_croppe': 20860750, 'Carton_brun': 20860751, 'environnement': 20860752, 'autre_refus': 20860753, 'metal': 20860754, 'Teint_Dans_La_Masse': 20860755, 'kraft': 20860756, 'papier': 20860757}]} input_args_next_step : {20860721: ()} output_args : {20860721: [{'Carton_gris': 20860746, 'flou': 20860747, 'cartonnette': 20860748, 'plastique': 20860749, 'mal_croppe': 20860750, 'Carton_brun': 20860751, 'environnement': 20860752, 'autre_refus': 20860753, 'metal': 20860754, 'Teint_Dans_La_Masse': 20860755, 'kraft': 20860756, 'papier': 20860757}]} args : 20860721 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_gris': 20860746, 'flou': 20860747, 'cartonnette': 20860748, 'plastique': 20860749, 'mal_croppe': 20860750, 'Carton_brun': 20860751, 'environnement': 20860752, 'autre_refus': 20860753, 'metal': 20860754, 'Teint_Dans_La_Masse': 20860755, 'kraft': 20860756, 'papier': 20860757},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20860721) 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([20860721]) 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.42405200004577637 time spend to save output : 4.506111145019531e-05 total time spend for step 3 : 0.42409706115722656 step4:send_mail_cod Thu Feb 27 00:09:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} input_args_next_step : {1339819093: ()} output_args : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} args : 1339819093 depend.output_id : 0 input_args_next_step : {1339819093: ('0.11442871919584055',), 1339819090: ()} output_args : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} args : 1339819090 depend.output_id : 0 input_args_next_step : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ()} output_args : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} args : 1339819087 depend.output_id : 0 input_args_next_step : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ()} output_args : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} args : 1339819047 depend.output_id : 0 input_args_next_step : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ()} output_args : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} args : 1339819044 depend.output_id : 0 input_args_next_step : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ()} output_args : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} args : 1339819041 depend.output_id : 0 input_args_next_step : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ()} output_args : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} args : 1339819026 depend.output_id : 0 input_args_next_step : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ()} output_args : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} args : 1339819023 depend.output_id : 0 input_args_next_step : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ()} output_args : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} args : 1339819017 depend.output_id : 0 input_args_next_step : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ()} output_args : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} args : 1339819000 depend.output_id : 0 input_args_next_step : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ()} output_args : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} args : 1339818998 depend.output_id : 0 input_args_next_step : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ()} output_args : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} args : 1339818995 depend.output_id : 0 input_args_next_step : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ()} output_args : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} args : 1339818993 depend.output_id : 0 input_args_next_step : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ()} output_args : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} args : 1339818968 depend.output_id : 0 input_args_next_step : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ()} output_args : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} args : 1339818758 depend.output_id : 0 input_args_next_step : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ()} output_args : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} args : 1339818757 depend.output_id : 0 input_args_next_step : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ()} output_args : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} args : 1339818756 depend.output_id : 0 input_args_next_step : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ()} output_args : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} args : 1339818699 depend.output_id : 0 input_args_next_step : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ()} output_args : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',)} args : 1339818453 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 : {20860721: [{'Carton_gris': 20860746, 'flou': 20860747, 'cartonnette': 20860748, 'plastique': 20860749, 'mal_croppe': 20860750, 'Carton_brun': 20860751, 'environnement': 20860752, 'autre_refus': 20860753, 'metal': 20860754, 'Teint_Dans_La_Masse': 20860755, 'kraft': 20860756, 'papier': 20860757}]} input_args_next_step : {1339819093: ('0.11442871919584055',), 1339819090: ('0.11442871919584055',), 1339819087: ('0.11442871919584055',), 1339819047: ('0.11442871919584055',), 1339819044: ('0.11442871919584055',), 1339819041: ('0.11442871919584055',), 1339819026: ('0.11442871919584055',), 1339819023: ('0.11442871919584055',), 1339819017: ('0.11442871919584055',), 1339819000: ('0.11442871919584055',), 1339818998: ('0.11442871919584055',), 1339818995: ('0.11442871919584055',), 1339818993: ('0.11442871919584055',), 1339818968: ('0.11442871919584055',), 1339818758: ('0.11442871919584055',), 1339818757: ('0.11442871919584055',), 1339818756: ('0.11442871919584055',), 1339818699: ('0.11442871919584055',), 1339818453: ('0.11442871919584055',), 20860721: ()} output_args : {20860721: [{'Carton_gris': 20860746, 'flou': 20860747, 'cartonnette': 20860748, 'plastique': 20860749, 'mal_croppe': 20860750, 'Carton_brun': 20860751, 'environnement': 20860752, 'autre_refus': 20860753, 'metal': 20860754, 'Teint_Dans_La_Masse': 20860755, 'kraft': 20860756, 'papier': 20860757}]} args : 20860721 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :20, first value : ('0.11442871919584055',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20860721) 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 (1339819093,1339819090,1339819087,1339819047,1339819044,1339819041,1339819026,1339819023,1339819017,1339819000,1339818998,1339818995,1339818993,1339818968,1339818758,1339818757,1339818756,1339818699,1339818453) Found this number of photos: 19 ##### Call download_photos : nb_thread : 5 begin to download photo : 1339818453 begin to download photo : 1339818758 begin to download photo : 1339818998 begin to download photo : 1339819026 begin to download photo : 1339819087 download finish for photo 1339818453 begin to download photo : 1339818699 download finish for photo 1339819026 begin to download photo : 1339819041 download finish for photo 1339818758 begin to download photo : 1339818968 download finish for photo 1339818998 begin to download photo : 1339819000 download finish for photo 1339819087 begin to download photo : 1339819090 download finish for photo 1339818968 begin to download photo : 1339818993 download finish for photo 1339819041 begin to download photo : 1339819044 download finish for photo 1339818699 begin to download photo : 1339818756 download finish for photo 1339819090 begin to download photo : 1339819093 download finish for photo 1339819000 begin to download photo : 1339819017 download finish for photo 1339819044 begin to download photo : 1339819047 download finish for photo 1339818993 begin to download photo : 1339818995 download finish for photo 1339818756 begin to download photo : 1339818757 download finish for photo 1339819093 download finish for photo 1339819017 begin to download photo : 1339819023 download finish for photo 1339819047 download finish for photo 1339818757 download finish for photo 1339819023 download finish for photo 1339818995 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette208607471740611341/ length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 results_Auto_P20860721_27-02-2025_00_09_01.pdf 20860747 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=20860747 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208607471740611341 20860748 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=20860748 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339818770: '1740611052_251618_1339817923_a23a14575074ee1543b4b9c5b892df4b_rle_crop_3688071833_0.png', 1339818771: '1740611052_251618_1339817910_e0fd0e2bfe8366565ef0540ff6e49a6f_rle_crop_3688071873_0.png', 1339818772: '1740611052_251618_1339817899_29a81b211bb26292d1a00db2b28d8e9d_rle_crop_3688071895_0.png', 1339819057: '1740611152_253249_1339818135_7cb1f0ba1d083b78d312ad6af6a84804_rle_crop_3688072262_0.png', 1339819058: '1740611152_253249_1339818132_2ac45f0234efd50ae9ac1933a4723041_rle_crop_3688072311_0.png', 1339819072: '1740611174_253628_1339818453_695ac9126b534d00b501e9c10848ec53_rle_crop_3688072367_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/8d85206f311708a4dc41311bbcc51bb7_95021001.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/5eb5fb8a91dcd185a1321b87642efe6c_67140887.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/60228a169d2fa4792ea10d55bc3832cb_98504530.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/21fa88ed0e7d7608b3ebecdef1d098d5_14026523.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/4ec45678d9fb8fab61f2bae1876efad6_4261440.png change filename to text .imagette208607481740611341/ imagette208607481740611341/1740611174_253628_1339818453_695ac9126b534d00b501e9c10848ec53_rle_crop_3688072367_0.png.png imagette208607481740611341/1740611152_253249_1339818132_2ac45f0234efd50ae9ac1933a4723041_rle_crop_3688072311_0.png.png imagette208607481740611341/1740611052_251618_1339817899_29a81b211bb26292d1a00db2b28d8e9d_rle_crop_3688071895_0.png.png imagette208607481740611341/1740611152_253249_1339818135_7cb1f0ba1d083b78d312ad6af6a84804_rle_crop_3688072262_0.png.png imagette208607481740611341/1740611052_251618_1339817910_e0fd0e2bfe8366565ef0540ff6e49a6f_rle_crop_3688071873_0.png.png imagette208607481740611341/1740611052_251618_1339817923_a23a14575074ee1543b4b9c5b892df4b_rle_crop_3688071833_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/af212761ecb99d26793dcc0e2d3aa2aa_82297973.png imagette208607481740611341 20860749 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=20860749 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339818599: '1740611031_251200_1339817965_8c305f1663d9f3f32aa62abf083cd296_rle_crop_3688071590_0.png', 1339818779: '1740611052_251618_1339817923_a23a14575074ee1543b4b9c5b892df4b_rle_crop_3688071835_0.png', 1339818780: '1740611052_251618_1339817910_e0fd0e2bfe8366565ef0540ff6e49a6f_rle_crop_3688071868_0.png', 1339819064: '1740611152_253249_1339818134_d9158dde7804d1ccf8f12c5002ab7a29_rle_crop_3688072278_0.png', 1339819075: '1740611174_253628_1339818453_695ac9126b534d00b501e9c10848ec53_rle_crop_3688072380_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/ff2411beaef2956e56655bc524b80282_28137990.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/793b23dfbf515901989bc0997b06dd92_74639495.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/683eb6d930ec331a703224b21f058b60_10102974.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/2df0d2ee19e3c65dd6efa3da16e20fb4_45703719.png change filename to text .imagette208607491740611341/ imagette208607491740611341/1740611031_251200_1339817965_8c305f1663d9f3f32aa62abf083cd296_rle_crop_3688071590_0.png.png imagette208607491740611341/1740611052_251618_1339817923_a23a14575074ee1543b4b9c5b892df4b_rle_crop_3688071835_0.png.png imagette208607491740611341/1740611174_253628_1339818453_695ac9126b534d00b501e9c10848ec53_rle_crop_3688072380_0.png.png imagette208607491740611341/1740611052_251618_1339817910_e0fd0e2bfe8366565ef0540ff6e49a6f_rle_crop_3688071868_0.png.png imagette208607491740611341/1740611152_253249_1339818134_d9158dde7804d1ccf8f12c5002ab7a29_rle_crop_3688072278_0.png.png imagette208607501740611342/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/4928c52e457ab1c33f79e3b1a84a2b8c_3004138.png imagette208607491740611341 20860750 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=20860750 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208607501740611342 20860753 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=20860753 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339819049: '1740611152_253249_1339818758_058bb5e9083954eeb3f170cefb140da7_rle_crop_3688072247_0.png', 1339819050: '1740611152_253249_1339818135_7cb1f0ba1d083b78d312ad6af6a84804_rle_crop_3688072259_0.png', 1339819051: '1740611152_253249_1339818134_d9158dde7804d1ccf8f12c5002ab7a29_rle_crop_3688072280_0.png', 1339819052: '1740611152_253249_1339818134_d9158dde7804d1ccf8f12c5002ab7a29_rle_crop_3688072277_0.png', 1339819053: '1740611152_253249_1339818132_2ac45f0234efd50ae9ac1933a4723041_rle_crop_3688072309_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/244a4ab06c2c416d1f2fb49b1966cae8_17503293.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/ceeef43bad41468f245fbf6e197d74d3_50340632.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/d650d52db21e726051aef68820739d74_87928917.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/ada6d9564905cbb42b56c4c2b18e91f0_46140149.png change filename to text .imagette208607531740611342/ imagette208607531740611342/1740611152_253249_1339818134_d9158dde7804d1ccf8f12c5002ab7a29_rle_crop_3688072277_0.png.png imagette208607531740611342/1740611152_253249_1339818758_058bb5e9083954eeb3f170cefb140da7_rle_crop_3688072247_0.png.png imagette208607531740611342/1740611152_253249_1339818135_7cb1f0ba1d083b78d312ad6af6a84804_rle_crop_3688072259_0.png.png imagette208607531740611342/1740611152_253249_1339818132_2ac45f0234efd50ae9ac1933a4723041_rle_crop_3688072309_0.png.png imagette208607531740611342/1740611152_253249_1339818134_d9158dde7804d1ccf8f12c5002ab7a29_rle_crop_3688072280_0.png.png imagette208607541740611342/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/9a70f3f90f85511bf76d4906745b683e_6307877.png imagette208607531740611342 20860754 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=20860754 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208607541740611342 20860756 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=20860756 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339818781: '1740611052_251618_1339817920_ec21754b399acb227504d663346a4732_rle_crop_3688071849_0.png'} change filename to text .imagette208607561740611342/ imagette208607561740611342/1740611052_251618_1339817920_ec21754b399acb227504d663346a4732_rle_crop_3688071849_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/6cf4157e848478107f255605a066a132_9773200.png imagette208607561740611342 20860746 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=20860746 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339818442: '1740611031_251200_1339817955_8cb3fb12fcdab87f28e2da66789a0b64_rle_crop_3688071604_0.png', 1339818444: '1740611031_251200_1339817955_8cb3fb12fcdab87f28e2da66789a0b64_rle_crop_3688071607_0.png', 1339818769: '1740611052_251618_1339817920_ec21754b399acb227504d663346a4732_rle_crop_3688071846_0.png', 1339819054: '1740611152_253249_1339818135_7cb1f0ba1d083b78d312ad6af6a84804_rle_crop_3688072258_0.png', 1339819055: '1740611152_253249_1339818134_d9158dde7804d1ccf8f12c5002ab7a29_rle_crop_3688072274_0.png', 1339819056: '1740611152_253249_1339818132_2ac45f0234efd50ae9ac1933a4723041_rle_crop_3688072306_0.png', 1339819069: '1740611174_253628_1339818757_c21c189874b9e3208a7e433a9c2e7656_rle_crop_3688072322_0.png', 1339819070: '1740611174_253628_1339818699_715616705b00645bb17f91abdc07df11_rle_crop_3688072349_0.png', 1339819071: '1740611174_253628_1339818699_715616705b00645bb17f91abdc07df11_rle_crop_3688072346_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/370d58db70c2572e0f411717b870e857_59270443.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/407fbeb24f7d9e19066d6a2158c37ac7_58565411.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/d5b0d326dddf58d3a498668109e58dee_23170415.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/e5fc6a985477170ee4f1e5c5c7fcbf90_57524044.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/2064999270d25f7334b839fc43ca396e_17647928.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/7052c5d49e622fc363e9906f15b3a904_82384515.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/f1a8884f4be779eb21ed0cb9e0ee8256_70751621.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/734c18534910a72e494d0c3ecb0d0756_83670585.png change filename to text .imagette208607461740611342/ imagette208607461740611342/1740611174_253628_1339818699_715616705b00645bb17f91abdc07df11_rle_crop_3688072349_0.png.png imagette208607461740611342/1740611152_253249_1339818134_d9158dde7804d1ccf8f12c5002ab7a29_rle_crop_3688072274_0.png.png imagette208607461740611342/1740611052_251618_1339817920_ec21754b399acb227504d663346a4732_rle_crop_3688071846_0.png.png imagette208607461740611342/1740611174_253628_1339818757_c21c189874b9e3208a7e433a9c2e7656_rle_crop_3688072322_0.png.png imagette208607461740611342/1740611174_253628_1339818699_715616705b00645bb17f91abdc07df11_rle_crop_3688072346_0.png.png imagette208607461740611342/1740611031_251200_1339817955_8cb3fb12fcdab87f28e2da66789a0b64_rle_crop_3688071607_0.png.png imagette208607461740611342/1740611152_253249_1339818135_7cb1f0ba1d083b78d312ad6af6a84804_rle_crop_3688072258_0.png.png imagette208607461740611342/1740611152_253249_1339818132_2ac45f0234efd50ae9ac1933a4723041_rle_crop_3688072306_0.png.png imagette208607461740611342/1740611031_251200_1339817955_8cb3fb12fcdab87f28e2da66789a0b64_rle_crop_3688071604_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/6160d7de88d41a7682985992524cbb14_95300565.png imagette208607461740611342 20860751 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=20860751 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339818551: '1740611031_251200_1339817965_8c305f1663d9f3f32aa62abf083cd296_rle_crop_3688071591_0.png', 1339818553: '1740611031_251200_1339817965_8c305f1663d9f3f32aa62abf083cd296_rle_crop_3688071595_0.png', 1339818555: '1740611031_251200_1339817955_8cb3fb12fcdab87f28e2da66789a0b64_rle_crop_3688071610_0.png', 1339818774: '1740611052_251618_1339817910_e0fd0e2bfe8366565ef0540ff6e49a6f_rle_crop_3688071866_0.png', 1339818775: '1740611052_251618_1339817910_e0fd0e2bfe8366565ef0540ff6e49a6f_rle_crop_3688071865_0.png', 1339818776: '1740611052_251618_1339817899_29a81b211bb26292d1a00db2b28d8e9d_rle_crop_3688071891_0.png', 1339819060: '1740611152_253249_1339818135_7cb1f0ba1d083b78d312ad6af6a84804_rle_crop_3688072261_0.png', 1339819061: '1740611152_253249_1339818132_2ac45f0234efd50ae9ac1933a4723041_rle_crop_3688072312_0.png', 1339819062: '1740611152_253249_1339818132_2ac45f0234efd50ae9ac1933a4723041_rle_crop_3688072307_0.png', 1339819063: '1740611152_253249_1339818132_2ac45f0234efd50ae9ac1933a4723041_rle_crop_3688072304_0.png', 1339819073: '1740611174_253628_1339818756_9555049590b3d0fc1d25064e9907dde9_rle_crop_3688072335_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/c6e33f85a46304748b5b2b760be22865_58984453.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/c8f680baefd9f07fa9267290aac4faf9_2755808.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/8cb6f167f9ba9f314b8d0c087e8e0305_27029053.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/23ffa5d646d573538ab6323cc7188e18_87284035.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/c9589463530b55b73f06ea2dd0fe7a2a_3009159.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/ee99344c391e719c6aa4c7ff9e07bafd_9708744.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/2462485bf3c53c4d49732f75ab9feea9_61126864.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/f5d1f6fc25599a40277f948f836fead7_96951882.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/20dc4b56df4537a0df4877705aa7c40a_15182144.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/090583b8cc6b1b2a994a837a2de2a6eb_33367455.png change filename to text .imagette208607511740611342/ imagette208607511740611342/1740611152_253249_1339818132_2ac45f0234efd50ae9ac1933a4723041_rle_crop_3688072307_0.png.png imagette208607511740611342/1740611031_251200_1339817965_8c305f1663d9f3f32aa62abf083cd296_rle_crop_3688071591_0.png.png imagette208607511740611342/1740611152_253249_1339818132_2ac45f0234efd50ae9ac1933a4723041_rle_crop_3688072304_0.png.png imagette208607511740611342/1740611174_253628_1339818756_9555049590b3d0fc1d25064e9907dde9_rle_crop_3688072335_0.png.png imagette208607511740611342/1740611052_251618_1339817910_e0fd0e2bfe8366565ef0540ff6e49a6f_rle_crop_3688071865_0.png.png imagette208607511740611342/1740611031_251200_1339817965_8c305f1663d9f3f32aa62abf083cd296_rle_crop_3688071595_0.png.png imagette208607511740611342/1740611031_251200_1339817955_8cb3fb12fcdab87f28e2da66789a0b64_rle_crop_3688071610_0.png.png imagette208607511740611342/1740611052_251618_1339817910_e0fd0e2bfe8366565ef0540ff6e49a6f_rle_crop_3688071866_0.png.png imagette208607511740611342/1740611152_253249_1339818135_7cb1f0ba1d083b78d312ad6af6a84804_rle_crop_3688072261_0.png.png imagette208607511740611342/1740611052_251618_1339817899_29a81b211bb26292d1a00db2b28d8e9d_rle_crop_3688071891_0.png.png imagette208607511740611342/1740611152_253249_1339818132_2ac45f0234efd50ae9ac1933a4723041_rle_crop_3688072312_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/43e161eda2d1d35630492d400439c5d7_62634025.png imagette208607511740611342 20860755 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=20860755 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339818366: '1740611031_251200_1339817955_8cb3fb12fcdab87f28e2da66789a0b64_rle_crop_3688071611_0.png', 1339818764: '1740611052_251618_1339817923_a23a14575074ee1543b4b9c5b892df4b_rle_crop_3688071832_0.png', 1339818765: '1740611052_251618_1339817910_e0fd0e2bfe8366565ef0540ff6e49a6f_rle_crop_3688071867_0.png', 1339818766: '1740611052_251618_1339817884_86e8e3ba39efc7c278a6b419c152bf06_rle_crop_3688071910_0.png', 1339818767: '1740611052_251618_1339817884_86e8e3ba39efc7c278a6b419c152bf06_rle_crop_3688071909_0.png', 1339819048: '1740611152_253249_1339818133_548a19ab569e07d55afaa1fe258035c8_rle_crop_3688072289_0.png', 1339819066: '1740611174_253628_1339818756_9555049590b3d0fc1d25064e9907dde9_rle_crop_3688072338_0.png', 1339819067: '1740611174_253628_1339818756_9555049590b3d0fc1d25064e9907dde9_rle_crop_3688072336_0.png', 1339819123: '1740611272_255489_1339818998_cb81b754d7b01a107a75dcb976a8777e_rle_crop_3688073126_0.png', 1339819124: '1740611272_255489_1339818998_cb81b754d7b01a107a75dcb976a8777e_rle_crop_3688073130_0.png', 1339819125: '1740611272_255489_1339818995_32bcc75bf7e2e0d7a89305993ebe8cb9_rle_crop_3688073139_0.png', 1339819126: '1740611272_255489_1339818995_32bcc75bf7e2e0d7a89305993ebe8cb9_rle_crop_3688073147_0.png', 1339819127: '1740611272_255489_1339818995_32bcc75bf7e2e0d7a89305993ebe8cb9_rle_crop_3688073142_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/b2c4c8644c764596f5e2dd3da26af77a_1093560.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/d76582d92ed9ea536ab22b94510f0d46_68557579.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/6a8bd9504104cc5d3b81e34b6d6c901e_1654121.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/18afeea8640bc4265dc583826b2018c9_6044685.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/d3e8e8c88d00a880ed2933510cf80c72_54047673.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/4d0d9282c6cd9e85febf9dba14b76653_85612415.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/3b2657fd4121aaf9fed5a52b2b6b1af5_14400626.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/4676a4c1f4002a872c7648124042d7fd_72083989.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/2b564dd1c6e0041e20b709c31c05733b_9048218.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/f0f8b86cca7da1534360a63f24d88c03_12578773.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/88654c8a54b5a56acaf33154121fc128_63960906.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/38f0b76a9bb6cd5ad52c8672c0825f8a_1691132.png change filename to text .imagette208607551740611343/ imagette208607551740611343/1740611052_251618_1339817923_a23a14575074ee1543b4b9c5b892df4b_rle_crop_3688071832_0.png.png imagette208607551740611343/1740611174_253628_1339818756_9555049590b3d0fc1d25064e9907dde9_rle_crop_3688072338_0.png.png imagette208607551740611343/1740611052_251618_1339817884_86e8e3ba39efc7c278a6b419c152bf06_rle_crop_3688071910_0.png.png imagette208607551740611343/1740611272_255489_1339818995_32bcc75bf7e2e0d7a89305993ebe8cb9_rle_crop_3688073139_0.png.png imagette208607551740611343/1740611052_251618_1339817884_86e8e3ba39efc7c278a6b419c152bf06_rle_crop_3688071909_0.png.png imagette208607551740611343/1740611174_253628_1339818756_9555049590b3d0fc1d25064e9907dde9_rle_crop_3688072336_0.png.png imagette208607551740611343/1740611272_255489_1339818995_32bcc75bf7e2e0d7a89305993ebe8cb9_rle_crop_3688073147_0.png.png imagette208607551740611343/1740611272_255489_1339818995_32bcc75bf7e2e0d7a89305993ebe8cb9_rle_crop_3688073142_0.png.png imagette208607551740611343/1740611052_251618_1339817910_e0fd0e2bfe8366565ef0540ff6e49a6f_rle_crop_3688071867_0.png.png imagette208607551740611343/1740611152_253249_1339818133_548a19ab569e07d55afaa1fe258035c8_rle_crop_3688072289_0.png.png imagette208607551740611343/1740611031_251200_1339817955_8cb3fb12fcdab87f28e2da66789a0b64_rle_crop_3688071611_0.png.png imagette208607551740611343/1740611272_255489_1339818998_cb81b754d7b01a107a75dcb976a8777e_rle_crop_3688073130_0.png.png imagette208607551740611343/1740611272_255489_1339818998_cb81b754d7b01a107a75dcb976a8777e_rle_crop_3688073126_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/bb03e8b79dfb427c0f6824cf8f4c7ac2_24305551.png imagette208607551740611343 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20860721 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20860758,20860759,20860760,20860761,20860762,20860763,20860764,20860765,20860766,20860767,20860768,20860769?tags=Carton_gris,flou,cartonnette,plastique,mal_croppe,Carton_brun,environnement,autre_refus,metal,Teint_Dans_La_Masse,kraft,papier your option no_mail is active, we will not send the real mail to your client args[1339819093] : ('0.11442871919584055',) no score found for photo 1339819093 We are sending mail with results at report@fotonower.com args[1339819090] : ('0.11442871919584055',) no score found for photo 1339819090 We are sending mail with results at report@fotonower.com args[1339819087] : ('0.11442871919584055',) no score found for photo 1339819087 We are sending mail with results at report@fotonower.com args[1339819047] : ('0.11442871919584055',) no score found for photo 1339819047 We are sending mail with results at report@fotonower.com args[1339819044] : ('0.11442871919584055',) no score found for photo 1339819044 We are sending mail with results at report@fotonower.com args[1339819041] : ('0.11442871919584055',) no score found for photo 1339819041 We are sending mail with results at report@fotonower.com args[1339819026] : ('0.11442871919584055',) no score found for photo 1339819026 We are sending mail with results at report@fotonower.com args[1339819023] : ('0.11442871919584055',) no score found for photo 1339819023 We are sending mail with results at report@fotonower.com args[1339819017] : ('0.11442871919584055',) no score found for photo 1339819017 We are sending mail with results at report@fotonower.com args[1339819000] : ('0.11442871919584055',) no score found for photo 1339819000 We are sending mail with results at report@fotonower.com args[1339818998] : ('0.11442871919584055',) no score found for photo 1339818998 We are sending mail with results at report@fotonower.com args[1339818995] : ('0.11442871919584055',) no score found for photo 1339818995 We are sending mail with results at report@fotonower.com args[1339818993] : ('0.11442871919584055',) no score found for photo 1339818993 We are sending mail with results at report@fotonower.com args[1339818968] : ('0.11442871919584055',) no score found for photo 1339818968 We are sending mail with results at report@fotonower.com args[1339818758] : ('0.11442871919584055',) no score found for photo 1339818758 We are sending mail with results at report@fotonower.com args[1339818757] : ('0.11442871919584055',) no score found for photo 1339818757 We are sending mail with results at report@fotonower.com args[1339818756] : ('0.11442871919584055',) no score found for photo 1339818756 We are sending mail with results at report@fotonower.com args[1339818699] : ('0.11442871919584055',) no score found for photo 1339818699 We are sending mail with results at report@fotonower.com args[1339818453] : ('0.11442871919584055',) no score found for photo 1339818453 We are sending mail with results at report@fotonower.com refus_total : 0.11442871919584055 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=20860721 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_P20860721_27-02-2025_00_09_01.pdf results_Auto_P20860721_27-02-2025_00_09_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860721_27-02-2025_00_09_01.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','20860721','results_Auto_P20860721_27-02-2025_00_09_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860721_27-02-2025_00_09_01.pdf','pdf','','0.32','0.11442871919584055') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20860721]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339819093, 1339819090, 1339819087, 1339819047, 1339819044, 1339819041, 1339819026, 1339819023, 1339819017, 1339819000, 1339818998, 1339818995, 1339818993, 1339818968, 1339818758, 1339818757, 1339818756, 1339818699, 1339818453] map_info['map_portfolio_photo'] : {20860721: [1339819093, 1339819090, 1339819087, 1339819047, 1339819044, 1339819041, 1339819026, 1339819023, 1339819017, 1339819000, 1339818998, 1339818995, 1339818993, 1339818968, 1339818758, 1339818757, 1339818756, 1339818699, 1339818453, 1339818136, 1339818135, 1339818134, 1339818133, 1339818132, 1339818130, 1339817969, 1339817968, 1339817965, 1339817955, 1339817923, 1339817920, 1339817910, 1339817899, 1339817884]} final : False mtd_id 4302 list_pids : [1339819093, 1339819090, 1339819087, 1339819047, 1339819044, 1339819041, 1339819026, 1339819023, 1339819017, 1339819000, 1339818998, 1339818995, 1339818993, 1339818968, 1339818758, 1339818757, 1339818756, 1339818699, 1339818453] 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, '2618074') ('4302', '20860721', '1339819093', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819090', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819087', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819047', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819044', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819041', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819026', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819023', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819017', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339819000', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818998', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818995', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818993', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818968', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818758', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818757', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818756', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818699', None, None, None, None, None, '2618074') ('4302', None, None, None, None, None, None, None, '2618074') ('4302', '20860721', '1339818453', None, None, None, None, None, '2618074') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20860721', '1339819093', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339819090', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339819087', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339819047', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339819044', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339819041', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339819026', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339819023', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339819017', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339819000', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339818998', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339818995', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339818993', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339818968', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339818758', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339818757', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339818756', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339818699', None, None, None, None, None, '2618074'), ('4302', '20860721', '1339818453', None, None, None, None, None, '2618074')] time used for this insertion : 0.2277381420135498 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.797602891921997 time spend to save output : 0.22800946235656738 total time spend for step 4 : 5.0256123542785645 step5:split_time_score Thu Feb 27 00:09:05 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 : ['20860721'] 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 : [('20860721',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20860721) new photo added, this last batch is non a complet batch, should exit and reload photo caffe_path_current : About to save ! 2 After save, about to update current ! 2.50user 2.36system 0:10.90elapsed 44%CPU (0avgtext+0avgdata 161920maxresident)k 55912inputs+19280outputs (196major+75199minor)pagefaults 0swaps